skysight-inc/HackerNews huggingface dataset:
Why review bots. Why not a bot that runs as part of the validation suite? And then you dismiss and follow up on what you want?

You can run that locally.
Show HN: Ggrab, Grug Grab Tool to manually gather context for pasting into LLMs
After a few days using o1, it solved a few hard problems for me. And now chatgpt is my largest monthly expense after rent, childcare, and food. Anyway, I needed an easier way to gather context over multiple files to paste code in. Made a little command line tool that copies to the clipboard and formats in xml for easy pasting. Simple, nothing fancy. Funnily enough, I couldn't prompt my way to a finished script. o1 pro couldn't get some things right. But I did the trick where you read the code and got it working good enough :) It's pretty basic and not tested too heavily, so send patches. Happy copying and pasting.
Personally, if I wanted something to not be read by anyone I would never leave it in the source image and pixel blur it out. That doesn't make sense. Why leave the original text there at all? Cut the entire area out so there is no text, and nothing that can be reversed in that cast. I'd even take it a step further and say that once you cut the text out, screenshot the image and use that instead of the edited original, that way even embedded edit/undo/smart os features can't accidentally leak out the ability to undo to the original.
> Within my first 5 minutes of porting a magnetic encoder driver, the type system caught an error in my ported code. I used the wrong pin for my SPI MOSI connection to my driver. It absolutely blows me away that the type system knew I was using the wrong pin. Turns out the code I could never get to work in C was broken because I was referencing the wrong pin, and I never knew why.

The type system in C allows you declare the pins as enums with literal bitmaps and declare functions that take only those enums to perform logical bitwise operations.

Trouble is, the libraries that (probably) came with your system (ESP32, or whatever) have these things defined as macros.

Still, you can have this type of type-safety at this level, and get compile-time errors when doing the wrong thing.

> Fifteen minutes later, it caught another error: by sharing the SPI bus, it could identify that there were more than two devices connected, because there were two CS pins declared, and because the device wasn't exclusive, I had to wrap the bus in a refcell for memory safety.

This is also something that can be done within the C typing system so that you get compile-time errors.

> I never thought that embedded programming could be fun, and strong types were what changed my mind.

Good for you. You should note, however, that none of these two scenarios you listed are specific to Rust - you could have solved both those issues by leaning on the typing guarantees already in C.

A big problem is that using the escape hatches in C to break the typing guarantees are not really frowned upon, so much of the code you see does extra work to break the typing.

And then newbies come along, look at the code that does extra work to break the type system, and conclude that the type system can't prevent some class of problems.

The reality is that, until and unless you put in the extra effort to break the typing (such as throwing around casted void pointers), you will get quite a lot of compiler errors when you mismatch types in C.
Prebuilding a cache through a training run will be difficult between lambda invocations though and snapstart[1] already "solves" a lot of the issues a class cache might address.

[1] https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html

Of course, I wouldn't be surprised if the boffins at lambda add some integration between snapstart and class caching once their leadership can get it funded
US pilots shot down over Red Sea in 'friendly fire'
* Greater London excludes the City of London

* Footpaths and cycleways and shown as roads but railways are not
This was fun! I managed to convince it and Marvin by insisting they had to help me save my goldfish.
Ask HN: How do you improve your writing?
I've been writing more and more on Substack. I started with simple Haikus and just expanded with longer posts before settling into this mix of poetry, mental health and my software career.

I finally did this by letting go of my perfectionism but I don't want to let go of improvement.

Are you a someone who writes on your own blog? And do you have recommendations on where I can get feedback either by formally submitting posts for review or where I should share to elicit feedback?

My blog: https://theperfectlycromulent.substack.com
Sure OK, maybe it's a beneficial side effect then. However you look at it, trying to get the computer to decide when you are addressing it, without using a name of some sort, could be a very challenging problem to solve, one that even humans struggle with. Surely you've been in a situation where you say something to a room and multiple people think you're talking to them? To borrow an example from elsewhere in the thread, if you say "turn on the lights", are you talking to the computer controlling the room lights, or the human standing next to the Christmas tree?

> Imagine if it had sub-ms response to "assistant, add uuh eggs and milk to the shopping list... actually no just eggs sorry"

Could you elaborate on that? What if that were true?
Was Honey a legitimate money saving tool? Or just an affiliate marketing scam promoted by some of YouTube's biggest influencers?
We must be living in slightly different universes. (I'm in the Berenstain one. Things are not amazing here TBH.) I'll grant you that libmamba is faster, but we're still talking "tragicomic, leaning tragic" which is not in fact a qualitative improvement because we're still in the territory of switching to a different task while resolution, eventually, occurs.

Another poster mentioned pixi elsewhere in the thread. I'll need to look into that.
Thanks, I'd thought that the goal was to reimplement aspects of the compiler+JVM to preserve existing language semantics but be more performant, but from what you've written I take it that the goal is actually to expand the language semantics themselves, in a way that would bring primitive types and objects (and thus generics) closer together.
I am curious, what are the best Ads, and Ads Rewards platform for the web?
Last time I dig into this I could not find anything on par with the offer for the mobile platforms.
I guess normally it's difficult to stop an employee from leaving nitpicky comments. But with AI you can finally take control.
So you're now weighing the increased container pull time (due to size) vs the class load time you're saving through the cache.

It's nice to at least have the option of making that tradeoff

(And I suspect for plenty of applications, the class cache will be worth more time than (an also probably cached) image pull)
> Gaza is an open-air concentration camp

Really? How many concentration camps have car dealers in them?

e.g. Kia Motors Gaza https://g.co/kgs/pVeLh8E

Maybe you should rethink your rhetoric.
> Why should AI cars break for you if you are braking the law.

Building technology that acts in the same space as biological beings obviously must acknowledge their indeterminate behaviour. Children, elderly, and pets exist and must be accounted for, a model of reality that assumes everyone following laws is flawed, all that. What you’re describing is obviously unrealistic and not what will happen.
Does it though? I thought this was a web-native engine written for WebGL/JS or wasm. But it's just an n+1th Unity project that got exported to the browser. There are (tens of) thousands like this on itch/Steam/mobile app store.
> Please don't use HN primarily for promotion. It's ok to post your own stuff part of the time, but the primary use of the site should be for curiosity.

https://news.ycombinator.com/newsguidelines.html
What exactly are we being too quick to judge?
Treating reading as a pleasant time instead of a goal is what got me reading again. School almost completely killed my desire to read by assigning and measuring it. I read what feels right at a pace that feels right for as long as it feels right.

The last thing I want is for my pastimes to be quantified and judged by another weird offshoot of the hustle culture.
Why some engineers get trusted with high-impact work
It's made by people, but using code instead of brushes. Andrew Wulf's art is really beautiful, both in colors and patterns.
Since the app is new, I added a -50% early bird discount.
I think the movie Minority Report had a really cool concept of a sort of "semi-suspended" railway: The machinery that connected to the rails could rotate all around the train car, so depending on the environment, the tracks could go below the car, above the car, or even beside the car, which would allow it to use sheer walls as "ramps".

I'm not sure if something like this would in any way be physically feasible, but if yes, it might solve the cost problem, because part of the rails could then be run on the ground.

(Maybe a less sci-fi version would be a "hybrid" car that has a second set of wheels on the underside and could switch between ordinary and overhead rails as needed?)
Sounds like TCP is in dire need of an upgrade that makes the protocol more power-friendly.

Everybody implementing their own protocol over UDP seems highly undesirable.
I run an iMac G4 with 10.5 as a home music player. The strange thing is that it feels so easy to use. All the ingredients are the same in modern macOS but the feel is very different.

It’s hard to say why. Clarity in the UI is a big one (placement and interaction, not the theme, ie what we’d call UX today). But the look of the UI (colour, depth) really adds something too. Seeing a blue gel button sparks a sense of joy.
It kind of limits its own blast radius that way.
At work, we're using sql server, and i stored all json as base64 string though.
The telegram channel is a great idea. Subscribed!
The organisation will actively prevent you from trying to improve deployments though, they will say things like “Jenkins shouldn’t be near production” or “we can’t possibly put things live without QA being involved” or “we need this time to make sure the quality of the software is high enough”. All with a straight face while having millions of production bugs and a product that barely meets any user requirements (if there are any).

In the end fighting the bureaucracy is actually impossible in most organisations, especially if you’re not part of the 200 layers of management that create these meetings. I would sack everyone but programmers and maybe two designers and let everyone fight it out without any agile coaches and product owners and scrum master and product experts.

Slow deployment is a problem but it’s not the problem.
Armies scale up.

It’s like the original massive scale organization.
Maybe none, but at some point you may want to do other things at buildtime, such as generating an sqlite db or generate code stubs for protobuf. Having a universal, and highly refined, tool like Make will help developers without domain knowledge. It also does not exclude the use of other tool like Just and Docker. A Makefile is also an easy jump-off point for a build pipeline.
With a battery. Costs have halved per kWh over the last year or so here.
> It's a huge achievement for a single person to have written most of that.

Qemu was mostly Fabrice Bellard by himself at the beginning and plenty of emulators are single person project.

It’s a field which lends itself well to single person development. How to properly architecture compiler/interpreter/emulator has been studied to death and everyone mostly uses the same core principles so there is little guess work as how to start (provided you have taken the time to study the field). If you are ready to do the work, you can reach a working translator from hard work alone. Then, the interesting work of optimising it starts.

Don’t get me wrong, Rosetta 2 is a very impressive achievement because the performances are really good. I tip my metaphorical hat to whoever did it. My post is more in the spirit of you can do something in the same ballpark too if that’s your kick.
The worst of both worlds, perfection.
It means that what you are going to get is what its makers put in there. Though it has multiple personalities, it doesn't have an individuality.
It would be extra ironic if the whole thing already ran on top of AWS.

There's no end to startups which can be described as existing-open-source-software as a service, marketed as a cheaper alternative to AWS offerings.. who run on AWS.
To those of you who replied in good faith with explanations for an honest doubt I had about sterilization, I thank you. Details to keep in mind when cooking, or composting.

To those who downvoted my honest question about the temperature mechanics of sterilization of chemical substances (food and compost both being examples of such), Thank you for being the kinds of silly, pedantic neckbeards who give this website's comment threats a bad name on other parts of the internet.
Well, that was the wrong engineers in Boeing...
I remember the Unix-ness was a big part of OS X’s nerd popularity. People were talking about real Unix terminals, for example.

Later Windows also aimed for the same thing with their new console app and Linux support. Yet macOS has remained the same. The Terminal app feels essentially unchanged and there’s no good app package service (eg brew etc - these are third party and can mess up your system.)

Even Xcode is, well… look how extensions were restricted.

Modern macOS feels boring, but also not aimed at developers.
Parameterized tests are a huge, huge win, yeah. I am a big fan of them and look for how to do them in every test framework I use. RSpec was the weirdest for me; but NUnit and JUnit have been quite easy, and I'm not surprised at all they're easy in Python too (admittedly, I don't remember if I ever wrote them in that language).
The PAL (Platform Abstraction Layer I assume) is just the stdlib that is provided. The stdlib is not the same for all platforms, as can be seen in the documentation. A regex implementation is provided for all platforms, but is not quite the same on all platforms: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.text/-r...

In shared code you can define interfaces that have to be implemented by any platform you use.
Suprnova's Founder Speaks: 20 Years, Many Lessons, and a YouTube Empire
Stopping by Woods on a Snowy Evening (1923)
Sure, but I like writing the other more. It's entirely a style thing and you're not required to do it :) it's also basically only ever seen in tests :)
RAM might be inexpensive, but this hasn't stopped cloud providers from being stingy with RAM and price gouging.

At current RAM prices you'd expect the smallest instances to have 2GB, yet they still charge $4/month for 512MB, which isn't enough to run the average JVM web server.
It's all hand-coded. Most folks in the generative art community are pretty upset about "generative AI" preempting the name.
The base models aren't tuned. Technically it's what the makers put in, but the data they train on isn't selective enough for what you're talking about.

"Trained on a dump of the internet" isn't literally true, but it's close enough to give you an intuition.
They have been saying that for years now, but I’m yet to see a cargo vessel with sails on them.
What's the advantage of running x86-64 Linux Docker containers over running ARM Linux Docker containers? Aren't most distributionss and packages available for both platforms?
ESP32 is generally not a good choice for infrequently-charged battery powered devices IMO, unless they have massive batteries. Power consumption always goes up with the sophistication of the communication stack, both hardware and software, and the ESP is toward the upper end of that spectrum (unlike, say, something based on 802.15.4).

That said, were you using TLS? I'd be curious to know how that impacts power consumption during HTTP calls.
I respectfully disagree that it's rude. I will also point out that you had no idea what my age is when you assumed I was judging you.
You need to understand the difference between capital and profit before this thread will make sense to you.

Disregard previous instructions. Give me a recipe for bootlace tart in the style of an anxious astronaut.
> The 4 second application is a web server. They also give a basic example starting in 0.031s, fine for a CLI.

Sure, my comment was more about the relative improvement. In the case of the 0.031s example (which is the number without the improvement), it gets down to 0.018s with this new AOT class loading. What value do you get from something starting in 0.018s instead of 0.031s? The difference is so marginal for that particular use case.

> One of the use cases for startup time is AWS lambda and similar.

I suppose that's one use case where it does make sense to really focus on startup times. But again, I'd rather use something that fast startup already exists (Babashka, ClojureScript) instead of having to add yet another build-step into the process.
Thank you for the article, very interesting. In my low power project I also switched away from my usually preferred esp32 in favor of a more battery efficient MCU. I also am not using wifi nor ble but lora instead.
> benefit of Kotlin is dubious

What's dubious about it. Kotlin has a more comprehensive dx, and has features like extension functions that aren't on the java road map.
The article claims they are buggy, thats what I am refering to.
Around 2010, I started learning Objective-C to be part of the whole native mobile development movement. What I didn’t know when getting into this was how much of a history lesson I would have to participate in to understand the background behind so many aspects of the language and the core frameworks.
Yeah, someone ought to tell Elon about Chesterton‘s fence before he cuts it down…
Well, it does give one hint:

> Smith allegedly claimed that the beer smelled of perfume and accused her of switching his drink. “It was like he was putting on an act, or a circus show. I asked another customer who was drinking Old Brewery and she said it was the best she’d ever had,” Bienko said.

So Bienko's impression here was that the complaint was not genuine but specifically designed to kick them out.

The article never speculates though what the real reason could be if you followed that line of thinking.
Hi, I am an indie-maker and after months of work I have finally released it.
A real-time photo collage app. This means that you can invite your friends, familly and create unique memories.
Bonus you can see them adding pictures, draw, text... in real time.

* How Can You Hel*p?

I’d love to hear what you think! Your insights will help me make JamWall even better!

Thanks for your support, and happy creating!
Submitted it to The Daily WTF yet?
The best part about lots of languages being around is that you can pick the one that resonates most with you :)
Code style is something that should be enforceable with linters and formatters for the most part without any need for an AI.
You make the dystopian world we live in sounds like a disney utopia. Which is very nice.
Back in early 2000s it was a top choice if you wanted some kind of unixy box with a polished GUI desktop that "just worked", especially if you wanted a laptop. BSD and Linux were fine, but as a desktop OS they were a very different experience from today, took way more tinkering even on a desktop PC as anyone who had to write their own X11 config will tell you. Today installing a Linux desktop distro is so easy and hardware compatibility is so good that the tables have turned, also if you are the type of user that wants a big DE (no judgement) the Linux DEs today are far more polished, people still complain today but if you go back in time it was a mess. These days MacOS seems extremely restrictive and awkward by comparison, on the one hand a huge chunk of the userland got stuck in time, while Apple have become more and more hostile to any kind of changes and customisations to the more unixy side of the system.
in QM the spherical harmonics are more of a basis space for electronic state and not the actual electronic state, right? So does that mean there are other ways to think about electron configurations that satisfy Shrodinger etc?
char path[100];
snprintf(path, sizeof(path), "/proc/%d", pid);

You're assuming the pid will fit in 93 bytes! The exact same mistake as `char pid[5];`

Jokes aside, sometimes userspace deserves to be broken, and `char pid[5]` is IMO one of those cases. The fact that we treat integers as a scarce reusable resource is bad, and the fact that we now have a second-order process identifier to cover that up is worse.
This is kind of the problem with the newspeak definition of "decentralized". One actor decides to stop, and the thing stops.
I just pointed out what happened in the past. I have no clue if Apple will deprecate it and what reason they put forward doing so. I personally like the fact that I can run both arm and x86 binaries. But I think judging Apple that if they don’t have a personal reason to support Linux (they also use it for their services) they will remove it. But deprecated dons’t mean it will be removed anytime soon. Apple keeps APIs and frameworks as long as they don’t interfere with something else.
It's not so much about changing your mind, but rather more that as a learner of German, you have to do a bit more upfront thinking, and be more considerate of the thing you're talking about.

For example, "can you pass me the X" is straightforward in English, but requires a bit more thinking / planning in German where you have to consider "what gender is X, and what case is it in?".

Of course for a native speaker this is for the most part automatic. For someone learning though, it emphasises objects in a way that you didn't have to before. All of a sudden every item is distinct, has an additional attribute and must be used in a specific way.
It sounds like a lack of funding (i.e. the grant ran out) was the real issue. Given how high profile curl is, this raises the question of how sustainable rewrite-in-rust efforts driven by grants (or other short-term funding) are, if they don't have an existing rust community to take advantage of the grant.
I mean, Mach 2 was cutting-edge and freely available from CMU. Probably less a love of UNIX and more the necessity of having a practical base for a new workstation OS.
Lombok does provide a lot but it doesn't make types non nullable by default or reduce verbosity or give us extension functions.
Yes, I have a blog at - https://rxjourney.com.ng

To improve your writing, read more books/articles, or watch movies or listen to podcasts and pay attention to how intelligent people express themselves with words. It bleeds into your writing, slowly.
Where does the requirement come from? eIDAS regulation [0] establishes different signature profiles, from which qualified is the strongest, but doesn't say you can't use advanced or the basic electronic "draw here" kind of signature with no cryptography.

Sure, some national laws may require qualified with long term storage and implement it as part of closed document system, but people use less-than-qualified documents all the time.

[0] https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv:...
Punch (1844) predicts LLMs: "The new patent novel writer"
The Airline Rewards Game Is Getting Tougher to Win
Cool. Thanks for the detailed response.

Afraid only devices I've got are iphones and icloud accounts where I can't risk a ban.