skysight-inc/HackerNews huggingface dataset:
The goal should be to single out and avoid the most damaging ones, not an effectively random bunch because they were in the news.
I like the subtle editor. What did you use to build the editor? Lexical or TipTap?

Also you might want to limit the AI generation (Cost wise) in some way before posting on hacker news, maybe only authenticated user can generate content.
The author makes a great case for machine-interpretable standards but there is an enormous amount of work out there devoted to this, it’s been a topic of interest for decades. There’s so much in the field that a real problem is figuring out what solutions match the requirements of the various stakeholders, more than identifying the opportunities.
Ultimately, Indiana Jones does not exist. Only collectors.
Well it hasn’t happened yet at least (unemployment is near historic lows). How much better does AI need to get? And do we actually expect it to happen? Improving on random benchmarks is not necessarily evidence of being able to do a specific job.
Iterating over an array in Rust does not involve bounds checking every access since Rust guarantees immutability to the container over the course of the iteration. Hence all that's needed is to access the size of the array at the start of the iteration and then it is safe to iterate over the entire array.

Note that this is not something C++ is able to do, and C++ has notoriously subtle iterator invalidation rules as a consequence.
I wonder how they are going to prevent abuse-theft, assuming the products are free or under the market's cost. There will always be someone wiping it all (to sell or whatever), and the vending machines will be always empty. Or, if there's some measure (e.g. limiting supply per person via biometrics), it may turn to be a disincentive for some people that need it.
Kudos for one of the most relatable descriptions of C++ I've read.

I did a couple years writing C/C++ professionally, and I hope to not go back to that. Too many hours debugging other people's code, suffering vague integration issues, and just trying to get the build system spaghetti to run.
No, you need to create a checklist.
Counter point the number of supposedly educated people falling into social media echo chambers parroting partisan views, sharing on ramps, recommending supplements. They obviously do not see the harm, if fact they feel superior, feeling the need to educate and lecture. The vector here was social media, the vector here is reliance on chatbots. I mildly trust the big player like Anthropic and even OpenAI, but imagine the talking head influencers/supplement peddlers making and promoting a un-woke chatbot. People are already relying on chatgpt to navigate medical conditions, personal/relationship issues
> No one wins in the long run by creating technical solutions to human incentive problems. It is just a prolonged arms race

But maybe this time the naive technical solution will work
It's even easier than that. You can get a 43-inch LCD for 300$. CRTs, with their inherent complexity, can NEVER compete on price.
> This ∞-shaped curve is called a 'leminscate', and ϖ is called the 'lemniscate constant'. I'll show you the leminiscate in my next post.

Two of these...do not belong?
That seems like something research could look at.

The problem is context. Lack of it. Good research contextualizes its findings.
Ukrainians and Russians use 7" drones for dropping grenades and suicide charges. This does not seem too far off?
Yes you did and I literally quoted it, here it is, your words:

"I don't think this is true. I don't think it has anything to do with null pointers, it is a standard way to return a type that might not be constructed/valid."

This was in response to:

"It was originally discussed as a way of avoid null pointers,"

I have provided you with the actual papers that proposed std::optional<T> and they clearly specify that a use case is to eliminate the use of null pointers as sentinel values.
“One of these” $40,000 tvs, sure
You’re shitting on blue collar people. It isn’t a good thing.
The New Rules of Media: 20 lessons for digital media's present and future
I am not trying to sell anyone on debugging, but honestly if you have a good debugger and it's easy to drop into, you'll find it way easier and faster than print debugging. I don't know why people put themselves through the pain of writing print all over the place when you can just, pause the program and see literally everything, all the way up the stack.
I don't understand your point here. A (logical) relation is, by definition, a more general way of describing relations than a function, and it is telling that we still suck at using and developing truly relational models that are not univalent (i.e. functions). Only a few old logicians really took the calculus of relations proper seriously (Pierce, for one). We use functions precisely because they are less general, they are rigid, and simpler to work with. I do not think anyone is working under the impression that a function is a high fidelity means to model the world as it is experienced and actually exists. It is necessarily reductionistic (and abstract). Any truth we achieve through functional models is necessarily a general, abstracted, truth, which in many ways proves to be extremely useful but in others (e.g. when an essential piece of information in the particular is not accounted for in the general reductive model) can be disastrous.
I played with €25 foldable wifi drone from Lidl until EU started requiring €30 fee annual for a camera drone.

I cannot think much practical use for drone without a camera. Fly-fishing might be one, but I need to program it so that it drops the line and returns home the moment it feels fish yanking.
>We are in the middle of a monopoly squeeze by NVidia on the most innovative part of the economy right now.

I am not sure which part of Nvidia is monopoly. That is like suggesting TSMC has a monopoly.
Even the word has evil twins
I think using TipTap would have been the best option but I decided to build my own editor using contenteditable with the diff-dom library to maximize my learnings.

The editor keeps track of the original text and the modified text (not yet accepted text). The rendering starts by calculating the diff between the two texts and building a virtual DOM tree with special markers for changes. Then, cursors and selections are inserted into the virtual DOM, after which the DOM is processed by the markdown parser. The parser converts markdown syntax into formatted DOM elements. Finally, the virtual DOM is diffed against the contenteditable DOM, and the minimal updates are applied. There is some additional logic to handle cursor positioning between the updates and to manage the history.
hey could you let me know which part you found confusing specifically, so that I can rephrase it? Thanks!
> I expect people to look at the thing in front of them and think, “wait what is this made of? It looks like plastic, maybe I should be skeptical.”

They’ve done that in this case, and have reasonably concluded that the tea bags are made of paper and are therefore safe. Fuck them for being wrong I guess?
I learned to code in a c64 and still sort of program in the same way. I sometimes print (in paper) code to better understand it. Also, I code on plain Vim with no plugins or custom config. *shrugs*
More cynical take: Trying to get acquired by nvidia
Excessive positivity in art/game/movie/book/music reviews is an issue even with non-compromised actual-customer reviews. If giving a quantifiable rating (rather than binary), very few people are willing to give a score that's even 50% of the total even if their written review totally pans the piece. Positivity-bloat also occurs with binary yes/no reviewing, but to a much lesser degree.

For some reason this doesn't apply to eg. non-book/movie/music/etc. Amazon purchases though - people are willing to call garbage garbage there. Perhaps the greater the real-world utility of a purchase, the more picky people are about it? Or that only fans are willing to purchase art in the first place, much less review it at all, and so fewer who are likely to criticize ever encounter it?
John Carmack: It still boggles my mind how hostile to debuggers and IDEs Silicon Valley VC- backed companies are

https://youtu.be/tzr7hRXcwkw?si=LX7LhGYUHmPAWVNJ
I turn off autocomplete everywhere I can. Whether web searches, composing code, or anything else, I do not want the computer anticipating what I am about to type. I find it is often wrong, and always distracting.

Yes, I try to learn the language well enough that I know the parameters of common functions. If I don't, I consult the docs. If I need to find the definition of a function in another file, I use grep.
If Butterfield was calling the product “Slack” from the beginning, I wonder why their iOS app’s bundle ID is com.tinyspeck.chatlyio.
i do search with rg its good enough most of the time, i rarely need to use lsp.
I also do it in emacs which kind of abstracts these things away from me it almost looks like lsp.
I do use autocomplete but its on opened files/buffers its not projectwide works fine.
I don't use co-pilot but heavily use ai so most of my programming these days is editing instruction to ai. Fix this ui, create this method, make it modular, give me skeleton flow, lets debug this, etc.
When I went into this I was thinking we will have a concept of calculated columns and a calculated row (like option of "sums/avg/...") row at the end.

Now the default mode of operation is spreadsheet as immutable data. So it's not really reactive, but it's still declarable. I am open to renaming it to "table", but I also want to first see where the mutable (spreadsheet as state holding structure) part brings me. Thanks (and also to the similar sibling comment).
It seems like people think dereferencing an unengaged optional results in a crash or exception, but ironically you are actually less likely to get a crash from an optional than you would from dereferencing an invalid pointer. This snippet of code, for example, is not going to cause a crash in most cases, it will simply return a garbage and unpredictable value:

auto v = std::optional<int>();
std::cout << *v << std::endl;

While both are undefined behavior, you are actually more likely to get a predictable crash from the below code than the above:

int* v = nullptr;
std::cout << *v << std::endl;

I leave it to the reader to reflect on the absurdity of this.
NORAD National Air Defense UFO Alert, Sept. 20, 1957
The FDA is about 5 decades behind the curve here. Seriously? “Healthy foods” now just need to:

- Contain a certain amount of food (food group equivalent) from at least one of the food groups or subgroups (such as fruits, vegetables, fat-free and low-fat dairy etc.) recommended by the Dietary Guidelines.
- Adhere to specified limits for the following nutrients: saturated fat, sodium, and added sugars.

Manufacturers who choose to use the “healthy” claim have three years to conform but can use the new criteria sooner.

Does this help anyone at all, other than the big food companies who can now advertise ultra-processed junk as “healthy”?
I'd like to, but the cost of losing out on a year of money/experience/retirement is awful. Compound interest is important. If we lived in the federation of Star Trek, we wouldn't be having this conversation for many reasons (not just the no money part). I really wish I was independently wealthy or won the lottery or something like that. It would be so cool to just go to a coffee shop and work on some cool project for me.
I'm saying that under any political ideology or philosophy, those things would be illegal and effectively enforced. So this is not a failing of any particular ideology, this is just a human failing showing how it's difficult to enforce complex laws in a complex world.

I think what you're promoting is anti-capitalism, meaning believing that imposing heavy restrictions beyond simply laws against dumping on the commons is going to make us better off, when it totally discounts the enormous positive effect that private enterprise has on society and the incredible harm that can be done through crude attempts to regiment human behavior and the corruption that it can breed in the government bureaucracy.

See, "everything I want to do is illegal" for the flip side of this, where attempts to stop private sector abuse lead to tyranny:

https://web.archive.org/web/20120402151729/http://www.mindfu...

As for the company mask policies, those began to change in 2021 mostly, not 2020.
I have the luxury of only writing software for myself, which is almost always Python, but after reading this ill go back and have another look at C++. Did one big project in C++ after uni but then never touched it again.
We're All Bozos on This Bus: Eliza and the Firesign Theater
Jeremy Braddock just (well, in October) published a scholarly yet extremely enjoyable book about The Firesign Theater, the brilliant 1970s-ERA audio improve group. Firesign often rolled technologies into their humor. In particular, the album "We're All Bozos on this Bus" has a long intricate piece that spins in and out of Lisp and ELIZA jokes (among many many others). The Firesign folks had had a demo of ELIZA, probably on a PDP-10. That would almost certainly have been Bernie Cosell's Lisp ELIZA, and we (ElizaGen.org) provided an image of the listing of that ELIZA, which appears as a figure in the book! (I'd tell you which figure and the page, but I loaned my copy of the book out. But if you are a Firesign fan, the book is, IMHO, fantastic throughout!)
Some AI based Web3 trading bot list
Then why do you follow him?
Yeah, I left out the price aspect. Forget a 43-inch CRT: how about a 85-inch CRT? You can get an LCD (or better yet, OLED) TV this size easily for not that much money. But it's basically impossible to even make a CRT this size, and even if you could, it would be so expensive, heavy, and large it would be completely impractical. Lots of people now have 50-85" TVs in their living rooms, but those are all impossible for CRT technology.

However, the OP was trying to claim CRTs are superior because of latency and refresh rate for gaming applications, specifically, so I was just focusing on those aspects. The refresh rate part is silly; high-refresh-rate LCDs and OLEDs are common now. The latency part might have some validity, but compared to all the other factors it's really not that important.
Well I can't say I've known any crack addicts really, only met a couple people who have tried it. I've known some people who got into cocaine and were never quite the same, though. Also some people who started out fairly respectable, got into opiates, may or may not have robbed people and betrayed friends and family in service of the addiction, and then died to it.

But my criticism of the 'crack is scary' meme isn't coming from personal experience, really. From what I've read and from what I understand of the chemistry, and having lived through the era where crack was all over the news, and where possession of the drug got the harshest sentences... I do believe it was relatively over-hyped, and that a big part of what made crack scary is that it was something poor black people in cities did.
Reversing Anti-Cheat's Detection-Generation Cycle with Hallucinations
>And you’ll learn that the speed of typing, even long method names, is not the limiting factor of your productivity.

This is the fundamental truth that those pushing AI as a replacement for programmers miss (intentionally or not).
Sure, but isn’t this just “why don’t you use the backup camera that all cars have had for a decade or more” / “I learned to drive without one, and you could too”?
love everything here but I'm skeptical of real time control via wifi. for me there's always been a noticeable delay in video streaming and receiving control signal so I'm curious how this works?
in this case its more like rebol and factor had a baby. both of which are evolutions of tcl and forth I guess.
And to your point "past performance is not indicative of future results". The extrapolate to infinity approach is the mindfever of this field.
> 6 months is a long time

Wondering how old you are. 6 months, to me, seems like nothing. I'm in my late 50s.
There's nothing more annoying than putting my cursor on text, and then having a pop-up block that text.
At some point in time I wrote vue.js in vim without syntax highlight. For a few months. I had to eventually configure it, once somebody asked me if I'm color blind (I'm not).

>So to the devs who don't use these tools, how do you do it? Do you just remember every type and field in a codebase? What does your flow look like?

You don't have to remember every field and type, because you don't work with all the types at the same time. Ones that you work with more often, you remember.

Workflow is something like this: open the file, split to left and right to see two stack frames of the same code path, open another terminal tab, start test watcher. Make changes and see tests fail. If tests don't fail -- write more tests. Then write more code. The usual TDD struggle. In case of CSS, just change it in the browser, then copy back to editor and refactor a but, then check again.

When in doubt about spelling, press shift 8.

>What do you do if you need to look up the definition/implementation of some function which is in some other file?

:open another file and search through it, quote simple. How do I know which file to open? I know and when I don't git grep goes brrr. In theory you can jump to definition even in vim, use fzf to open files faster, in practice, none of that is not the limiting factor.

The limiting factor is iteration cost and the size of your context window.

That all being said, I use vs code now (at work) and use jump to definition all the time, because typescript support is just better in vs code. I think I started using it the moment I had to open more than one repo and switching between them on a regular basis.

Then I get back to my own fun stuff and there I use vim.
Wait, are they losing money on every one in the sense that they haven't broken even on research and development yet? Or in the sense that they cost more to manufacture than they're sold at? Because one is much worse than the other.
> 4 times the bandwidth you would get from a PCIe Gen 7 x16 link

So you have a full terabyte per second of bandwidth? What GPU is that?

(The 64GB/s number is an x4 link. If you meant you have over four times that, then it sounds like CXL would be pretty competitive.)
https://buildingslack.com/we-cant-call-it-slack/

> We made up some goofy ones, including chatly.io – a gentle joke at the expense of startups using alternative TLDs at the time under the .ly and .io suffixes. We even registered our iOS app under the name com.tinyspeck.chatlyio because we hadn’t settled on a name by the time we needed to make it available for our alpha users to download from the App Store. Slack's iOS app is, in fact, still registered under that name; by the time we secured slack.com in June of 2013, we had thousands of users on iOS and didn't want to make them download a new app. We also weren't confident that they would come back.
Thank you for those, the Logic through Python one looks interesting at first glance. I've discovered a peculiarity about my own learning style with maths. If I can implement a concept in code, I can remember and understand it better!
There is one thing that came from it: since /r/piracy shut down and spez personally ensured it was reopened, he might now be personally liable for contributory copyright infringement.
Looking at their demos immediately brought back the memories of parsing TUI's using ad-hoc "expect" rules.

I honestly don't get the point of TUIs...

A real command-line interface is extremely useful - it's trivially scriptable, works direct or with ssh, scroll-back buffer logs what happened, commands stay in my shell history, I can copy-paste commands to a friend over chat system, or into shell script, and it's easy for app authors too. Its my first choice for my apps.

If low-color fixed-width character grid is not cutting it, then native app or web app is a great second step, or even intermediate solutions, like generating HTML files from CLI tool and opening them in default browser. You have to invest some effort, but you have infinite ways to design your interface, and it's still in user's familiar environment.

But those charm.sh TUI applications seem utterly useless and highly annoying. They give up all of the terminal advantages: my shell's history is useless, my favorite ways to edit commands does not apply (as they have their own editor), I cannot scroll back and see what the program just printed, I cannot script it, I cannot log it, I cannot search it, I cannot redo the previous action, the color scheme is not the one I've picked... At least with web apps I can parse html and/or hit underlying API directly - no such luck with TUI apps.

At least the good news is that TUI apps are not getting any traction, and I can completely understand why.
This was about mathematics.
Honestly, it's really not that difficult if you give it a try. I grew up in a era where autocomplete was complete garbage and sometimes it would even cause issues (slowness, crashes) in the IDE.

Give it a few weeks (or even a few months, I don't know). You quickly learn the "rhythm" of codebases -- and then eventually you've seen it all to the finest details.

Then it's "ezmode." And it's not just for one codebase, you become better and better at realizing the way a code base is architected (code base being anything from an actual application, to an SDK, etc).
Just starting it now. After very stressful 5 years in a big tech, saved more than enough to allow me to take a year long "break" to work on my own startup that I'm really passionate about.

I'm also quite confident in my ability to find a regular job when needed even if I have a few years gap in my resume
I took a gap, not to hack specifically though. planned for 6 months, then all the layoffs happened, 6 month break turned to 18 in the end.

I think because of the layoffs recruiters just stopped reaching out in general. Now that Im working at a household name company with linked in updated they still don't reach out.

The recruiters I talked to though were almost all on auto pilot. Theyd ask "why are you leaving your current job" and variations and I'd be like, well I haven't worked in a year. Or just ask me about my last job and I wouldn't bring it up that I wasn't working.

Not working felt amazing, the interview process made me hate working all over again and I didn't even have a job.
Show HN: Chrome Split Screen
> ...perhaps by people like yourself who have the gall to compare 100% legal businesses to Nazi concentration camps.

At the time of Nazi rulership in Germany concentration camps were 100% legal.

See also https://en.wikipedia.org/wiki/Filbinger_affair
I worked for a stereo store in San Francisco in the late-90s. We didn't have to deliver these, but we did have to deliver the 36" Sony XBRs, which weighed over 200 lbs and were just a delight to drag up 4 flights of stairs with two people.
They started doing adult movies, then realized what their customer base liked to do besides multimedia consumption.
MLID on Intel is starting to become the same as UserBenchmark on AMD (except for the generally reputable sources)... he's beginning to sound like he simply wants Intel to fail, to my insider-info-lacking ears. For competition's sake I really hope that MLID has it wrong (at least the opining about the imminent failure of Intel's GPU division), and that the B series will encourage Intel to push farther to spark more competition in the GPU space.