skysight-inc/HackerNews huggingface dataset:
Perhaps it's not technically 100% correct to describe it as specifically "overreach", but a two-year jail term for forgetting an obscure piece of paperwork is not reasonable, and is guaranteed to be abused.

In making such nitpicky technical complaints, are we not throwing out the baby with the libertarian bathwater?
https://archive.ph/n7Ol0
I can think of one such example where the populace emphatically said retail investors were getting screwed, and AFAIK, conclusive proof was never found.

The claim was that Citadel was frontrunning Robinhood's retail investor order flow, which Citadel's market making arm paid for. The masses claimed that this was an extreme conflict of interest, and Citadel "must" be scalping the retail investors. However, the suspected reality is that Citadel was merely providing a market making service that (a) Robinhood couldn't do as well as a non-core activity and (b) for cheaper. Here's a Matt Levine overview [0] from 2021.

[0] https://www.bloomberg.com/news/newsletters/2021-08-31/what-h...
What you are saying is a large part of creativity. Well, that's an open question.
Not really, as I have API keys and other stuff in it unprotected. However, I used this as a base (https://github.com/ayamir/nvimdots) and heavily modified it. There is a user directory (lookup the user_template) where you can config everything out of the base.
It makes me think of this clip from The Simpsons, aired in 1992.

https://m.youtube.com/watch?v=8J7GhK3XXJ0
I switched a couple years ago because the masked emails and i was tired of histing anonaddy and i couldnt be happier myself. Easily the best mail provider i have used and i have used a bunch of them (including all the big guys, a provider using zimbra,protonmail, etc)
And then you'll turn it back on and feel the lifting of a significant mental burden.

Autocomplete has never been about the speed of typing things, and always about finding and recalling abstractions that you sort of know but haven't committed to strong memory yet.
Auto-closing tags. hate them. I go to encapsulate something in quotes and it just tosses a closed quote right next to it, incorrectly. They perpetually make the wrong move.

All the "smart systems" are equally annoying. The auto-comment generators are just trash. They just add noise like this:

# Object receives something
object.receive(something)

I see this stuff in code review, just did today, I just ignore it now. Garbage added by the IDE, whatever.

And then there is the "smart indent" systems that seem to always guess incorrectly.

These systems are like a 4 year old trying to help you wash the dishes. I don't know how you people deal with it.

I coded for years on a line editor (ed). It was probably faster coding then whatever I'm using today. That thing was basically gestures moving at the speed of thought.

grumble grumble, kids these days.
Lots of people get scammed. Bitcoin scamming will only increase as it gains value.
One day, I happened to watch a Starbucks worker make my iced Americano.

Imagine my surprise after a decade of feeling safe from microplastics by ordering iced, when they dripped 93C coffee straight into the venti plastic cup. Ice and water were then added, resulting in the perfect crime– an ice cold drink with no sign that it was made with hot water in disposable plastic.

Suffice it to say, my trust in corporations regarding our health is not high anymore. When ordering, I now ask for water before espresso.
I prefer autosuggest to autocomplete. And I didn't like copilot, doesn't seem to work very well for embedded code, though it's been a while since I've tried it. LSPs are useful.
I am going to be somewhat blunt, but if you're not familiar with how some of the use cases for std::optional is as a replacement for using raw pointers

I never said there wasn't a use case, I said it wasn't specifically about protecting you from them. If you put a null pointer in and reference the value directly, it doesn't save you.

If you don't understand the context of the thread start arguments over other people's simplified examples. I'm not going to write huge paragraphs to try to avoid someone's off topic criticisms, I'm just telling someone their problems can be avoided.
Hi, I'm the author of the article. I agree with your point. The model from https://www.mixedbread.ai/blog/mxbai-embed-xsmall-v1 also looks great, though I haven’t had the chance to try it yet.
If you browse through the doc, you will find yourself reading the doc.

If your code editor looks up the doc, you find yourself reading what the code editor shows you.

Wikipedia, (real) historians have some aversion to using it. No argument, it is convenient.
I usually code with VIM. I work in many different languages and repos simultaneously. Python, TypeScript, C++, Kotlin, etc. Sometimes I need to ssh into a server and code there because I can't build AOSP on my Mac laptop. I sometimes find autocomplete helpful, but I can't be bothered to keep it working across all of these environments.
In the age of AI, captchas are mostly a burden to humans
Symbolic Execution by Overloading __bool__
You are correct wrt to iostream, it's bad. I stick to studio.h.
I've found cursor tends to muck up system internals and such when I use shells in it. There is a lot going on under that hood -- would prefer it work as a VS Code extension so it has some guardrails.
I don't really care what you believe.

Everyone whose dug deep into what AMD is doing has left in disgust if they are lucky and bankruptcy if they are not.

If I can save someone else from wasting $100,000 on hardware and six months of their life then my post has done more good than the AMD marketing department ever will.
FWIW my understanding is that the policies against incest you mention actually have much less to do with controlling genetic reproduction and are more directed at combating familial rape/grooming/etc.

Not a fun thing to discuss, but apparently a significant issue, which I guess should be unsurprising given some of the laws allowing underage marriage if the family signs off.

Mentioning only to draw attention to the fact that theoretical policy is often undeniable in a vacuum, but runs aground when faced with real world conditions.
So You Want to Be a Game Dev in Japan
Hi, I'm the author of the article. The sequential access pattern of IVF makes prefetching and large block sequential reads much easier, whereas it's almost impossible for HNSW to achieve efficient prefetching.
PyTorch is a project by Linux foundation. The about page with the mission of the foundation contains phrases like “empowering generations of open source innovators”, “democratize code”, and “removing barriers to adoption”.

I would argue running local inference with batch size=1 is more useful for empowering innovators compared to running production loads on shared servers owned by companies. Local inference increases count of potential innovators by orders of magnitude.

BTW, in the long run it may also benefit these companies because in theory, an easy migration path from CUDA puts a downward pressure on nVidia’s prices.
I’ve been doing this a looooooong time. And that’s really about it.

Every time a popup or tooltip covers code around my cursor I groan in agony.

I’d probably use it if the tool tips just updated in the bottom right of my screen while I typed or something.
I find myself going back and forth about whether I want all of that stuff. Not having to look up a function template is handy. On the other hand, having my code bouncing all around, and obscured by random pop-ups, is distracting and eyestrain inducing. None of it is touch-screen friendly, though I admit that it's reasonably well designed for keyboard shortcuts.

I'm on the fence about copilot. It's like today's story of Julius, an assistant who is beloved by management, but whose work demands attention and must be corrected. Doing a Google search for something is less "efficient" but I need to take frequent little mental and physical breaks anyway.
Strings!

Strings in Rust aren't that great, because there are some details you must keep track. But when I was first learning it, I eventually had some desire to rewrite stuff in C++, and always stopped at the first thought of dealing with strings.
Open AI and Microsoft could work together to create a new personal device paradigm either a branded GPT Phone or a branded GPT Phone operating system.
And that high frequency whine that many people (myself included) can hear, that gets infuriating after a few hours of a TV remaining on.
I've learned two languages using just a text editor (VI or Notepad) and found that it really helped me spot typos and syntax issues early on. I keep a browser open with tabs loaded for referencing language/package docs and referencing examples. Compiler errors literally tell you where your mistakes are, which is great for learning a new language.

I definitely recommend IDEs for navigating large codebases at work, but I feel like autocomplete has gotten much worse over the past ten years, as it tends to be slower and less concise.
I didn't notice that this was AI myself. I tend to start skimming when the interesting bits are spread out.

There's two variations of this that are very common:

* Watering down - the interesting details are spread apart by lots of flowery language, lots of backstory, rehashing and retelling already established points. It's a way of spreading an cup of content into a gallon of text, the same way a cup of oatmeal can be thinned.

* High fiber - Lots of long-form essays are like this. They start with describing the person being interviewed or the place visited as though the article were a novel and the author is paid by the word. Every person has some backstory that takes a few paragraphs. There is some philosophizing at some point. The essay is effectively the story of how the essay was written and all the backstory interviews rather than a treatise on the supposed topic. It's basically loading up your beef stew with cabbage; it is nutritive but not particularly dense or enjoyable.

Both are pretty tedious. AI can produce either one, but it can only hallucinate or fluff to produce more content than its inputs. As such, AI writing is a bit like a reverse-compression algorithm.
The problem will also be getting gasoline, if just 90% of the cars on the road are electric, a lot of the gasoline infrastructure will go away.
The app keeps logging me out after first click. The tech seems to be intriguiging for me as a software engineer looking to get into custom llm stuff
Alt + Backslash , YAS, etc. Emacs
Before switching to neovim, I used a split terminal with vim in one split and the other split for running `rg`, `make`, tests, etc. It's amazing what you can achieve with grep especially if you use something like ctrl+p in vim which can use ripgrep for fuzzy finding.
Ask HN: Snapdragon X Elite Laptop with Linux?
Anyone daily driving any of the Snapdragon elite laptops with Linux ? Please share your experience
> What do you do if you need to look up the definition/implementation of some function which is in some other file?

Code search (ripgrep, GitHub search, Sourcegraph, git grep, or even just plain grep). You can use VS Code search but I prefer CLI tools so I can filter the output of my search with more searches—VS Code makes it hard to post-process/filter project-wide search results.

Filename search (fzf, fd, or just find).

There are cases where LSP-powered Go to Def is faster, but there are also cases where it’s less accurate. I’m talking:

- Untyped code in a graduate typed language

- References of a method name in a YAML file pulled out with reflection

- References of that method in a comment of some other method, where that method is actually the method I’m looking for.

- A one-to-one mapping of method names with some enum somewhere else, but lowercase in one spot, and all caps in the other spot.

So yes, sometimes go to def will be faster, but you’ll lose out on so many other possible references.

Another case: repos where the codebase is so large that the editor tooling is slow. Repos where I’m brand new to it, because I just need to check why some code in a third-party library is going haywire.

Grep (code search) is just so powerful.

I have a post about how to do large-scale code migrations/codemods. Everyone assumes the post is going to be about how to use high-powered, language-aware AST-based static analysis tooling. But half the post is talking about the unreasonable effectiveness of regular expressions.
Yeah, no.

We are in the middle of a monopoly squeeze by NVidia on the most innovative part of the economy right now. I expect the DOJ to hit them harder than they did MS in the 90s given the bullshit they are pulling and the drag on the economy they are causing.

By comparison if AMD could write a driver that didn't shit itself when it had to multiply more than two matrices in a row they'd be selling cards faster than they can make them. You don't need to sell the best shovels in a gold rush to make mountains of money, but you can't sell teaspoons as premium shovels and expect people to come back.
“Help us now please, don’t worry our children will pay your children”
Most of these tools are distractions. I don't want suggestions or needling warnings sliding around on my screen while I compose and examine programs; I want a quiet space to write and think. Focus is essential.

I organize notes and action items in a paper notebook in front of me or a text file in another editor pane. I read the code. I search and diff with standard POSIX utilities that are available in every environment. In the languages which support it, I try ideas and answer my own questions in a REPL.

Practice leaning on tooling all day and living without it will feel unthinkable. Practice doing without, and you'll find you need very little.
I was eeading an article on this a while ago tgat i sadly cant find but you should expect these threads to be wildly incorrect because people can read everyone elses predictiobs and be swayed by them. The wisdom of the crowd only appears to work when nobody gets to see otger results first and then the median position is wgat is usually most accurate.
Thanks!

Those were wild times. I remember they also had a similar scheme in Germany. Absolute madness (and that's even if you ignore the useless damage to old cars.)

They should have just printed more money to juice the economy, instead of these wild schemes to give subsidies to specific industries.
the point of "related threads" is not "this is a redundant post and should not have been made", it's more "other discussions have happened around the same general topic; if you are interested in this post you can go check out the older ones too"
I've never used an IDE, perhaps it doesn't matter because I don't write Java. I actually find auto complete annoying in places where it can't be turned off like Google Apps Script or the BigQuery console.

Over the past few years I rarely write code anyway I just use ChatGPT and then edit the code.

I tried using the new canvas/project features last night and I think it slowed me down versus a copy/paste workflow. I think those formats could be good but they're not fast and polished enough and I've gotten used to tricks and hacks for working in chat style.

I've never used a LLM that has actual access to the codebase, so I kind of take chunks of code and put them where they need to be. Even if I have like 6 lines of code and I want to change the logic I past that into ChatGPT and say "change this to do XYZ". Even though that sounds dumb I actually gain massive advantage in concurrency. I can be working on lots of tasks at once because ChatGPT kind of toils away and I'll then jump over to something else and come back 90 seconds later and the code is there, I read it over, maybe diff it from a previous version, then I run that to test it and maybe while that's running I go to a different chat and issue another instruction.

Before LLMs I used vim. When I want to find a function definition I ctrl+z find . -name ".whatever" | xargs grep "function whateverThisIs" and things like that.

grep -d skip "thing"

I copy and paste a lot if I'm using function names, I use a clipboard manager I guess as a sort of pseudo auto complete.

"Then why don't you just use an IDE?" I hear you ask!

It's because I write lots of what you might call "glue code" or "microservices". Lots of snippets of SQL and JavaScript functions that are executed on a queue, and API calls to integrate with things and code that runs on different platforms.

I'm almost never working on what you would call "an app" these days, so that's probably why I've never gravitated towards an IDE. Even when I was working on more monolithic web apps I never used anything other than vim with "set nocompatible" turned on so it wouldn't try to do anything IDE like.

I think what I liked about it then was that I could be just as productive using putty from an internet cafe as I could be on my own computer. Like a doomsdray prepper version of coding.
Autocomplete in code is the single most annoying thing I've ever experienced. While I do have a fantastic memory, I don't feel like it makes a huge difference? I don't quite understand the workflow using autocomplete, I suppose. If I'm typing something I know what I'm trying to achieve (with or without a more concrete implementation plan), the general context of the code I'm working with, and it is quicker and far more enjoyable for me to just type instead of dealing with a minefield of never ending pop ups from autocomplete. I know the types/fields/classes/language features/whatever because I have to in order to do whatever I'm doing. I reference the relevant code, open in other tabs in my editor. I also reference documentation. I don't really find myself wanting for more. I don't understand how using auto completion would impact needing to know that stuff anyway? I get that it's annoying and maybe less efficient to have to type out all the params and types and other predictable stuff by hand but you have to know it to make sure the option you've chosen from the potential many options suggested is correct anyway, right? It feels like less mental and physical effort to me to just type exactly what I mean instead of having to review options and double check I've chosen the right one, but I can kinda understand why that's a minority opinion. I still fuck it up or end up changing my implementation and having to revise it anyway but I definitely prefer to type.

Before I figured out how to configure Sublime Text (I used Atom until it was killed) to have JUST go-to-definition and no other LSP features enabled, I'd just do a quick couple of searches across a code base or file. It was fine tbh. Yes, a single key press is much nicer but it really wasn't that annoying to not have it. I got just go-to-definition working and was able to turn literally everything else off and I'm really happy with it.

For context, I've worked in all kinds of code bases with all kinds of quality and organisation (including lack thereof) in a variety of languages and frameworks, and I've not really felt the NEED to change. I do try VSCode and/or using more of these typical IDE features maybe once a year in an attempt to leverage these features that seemingly every other programmer feels they gain a lot from but I just HATE it. I can't stand it. I really have tried! I do assume I'm leaving some quality of life and productivity gains on the table but I've never been able to make it work for me.
Maybe some European fairy-tales have much deeper roots in history than we think? Perhaps the original sleeping beauty was a Neanderthal lady kidnapped as a bride while in torpor, by an invading Sapiens group. Things like that happening back in the ice age could help explain both the remnants of Neanderthal DNA in our genomes and provide an foundation to the folk tale.
Intriguing insights on data workflow management! Dive into the detailed comparison of #DolphinScheduler and #SeaTunnel against #AirFlow and #NiFi. Find out the best fit for your big data challenges. Full article: https://dev.to/chen_debra_3060b21d12b1b0/dolphinscheduler-an... #DataEngineering #opensource
Agreed. I don't need my code to turn red just because I haven't finished writing the entire line. I'm aware this isn't valid code, I'm not done.
There are 2 hard problems in ruby: cache invalidation and magic.
The world is bigger than AMD and Nvidia. Plenty of interesting new AI-tuned non-GPU accelerators coming online.
More cynical take: this would be a bad strategy, because Intel hasn't shown much competence in its leadership for a long time, especially in regards to GPUs.
> Now most will just use some AI.

Do people with PhD in math really ask AI to explain math concepts to them?
That is probably the same phenomenon that makes the most sketchy papers on nutrition science to appear on popular news.

Sketchy things have the most interesting results. People that want entertaining news select for interesting results, and the sketchy ones get over-represented.
Or scraped inaccurately. It seems like you could have some fun with this if you were so inclined...
> However, note that syntax disappears when the program is compiled. The literal itself does not!!!

I would term this a "value". The word "literal" is inherently lexical, dealing with letters (ie a signifier) from an etymological standpoint as opposed to the value (the signified).

Or to further clarify my confusion, a symbol is a value that can be evaluated to a different value at runtime but I wouldn't call it a "literal" outside the context of a legible source file.

Perhaps the one exception I can think of is the use of macros, but macros are distinguished from other list transformations by being specifically applied to source code (and also runtime values, but at LEAST source code). So it makes sense that they have some value-form of literals—ie signified signifiers that are not themselves symbols or quoted values.

I don't want to argue, I'm just pointing out the diction here is super confusing at the very least to me. A literal is just that-a lexical object that makes up part of a source

> Yet the string literal object at run time

I would again term this a "value" that the literal evaluates to at compile-time, or alternatively a "value" that the literal signifies to the reader. Even homoiconic languages like lisp differentiate between source and runtime forms. In the context of c I would consider the concept of a "runtime literal" to be a contradictory/paradoxical/incoherent/nonsensical one.

That said, what you were showcasing remains very cool regardless of how we refer to the forms. A great demonstration on how there's only really one difficult problem—naming shit! Basically all other problems follow from this original one (yes, even cache invalidation and coloring and off-by-one errors).
> I don't need a physical store to compare two different 6-foot USB cables.

i’ve had the opposite experience. the number of times i’ve received knockoff usb cables is crazy. or misleading specs from their amazon “store” pages, cables that just die in a week, usb charging bricks that don’t have the charging power they claim, etc…

sure, amazon exchanged them, but at that point the convenience of ordering online has gone up in smoke.

haven’t had the same problem if i just buy a cable from the local camera shops where they’ve vetted which cables they carry. buy it and it just works.
Extra DRY with Literate Programming
I've been using DuckDB similarly and loving the simplicity. What sort of latency are you seeing with your setup? I'm hitting 300ms to query against 10M vectors and could see that becoming a bottleneck if going into the hundreds of millions.
Or https://en.m.wikipedia.org/wiki/Asian_long-horned_beetle
It is remarkable how much easier it is to acquire and recall relevant information while programming if you don't have an IDE constantly spraying distractions in your face and breaking up your train of thought.
Everyone with a browser will use https://histre.com/ :-p