skysight-inc/HackerNews huggingface dataset:
It somewhat depends on what you mean by "manual memory management", I am not sure it has a definition beyond garbage collectors being outside it -- gray areas exist. Using that tool requires some mastery of its idioms and rules regardless. Memory management is much more complicated than safely acquiring and releasing memory for object instantiation, or even accessing it safely. At least in C++, you can build safe memory abstractions for almost any resource model, including some pretty unusual ones that show up in performance-sensitive applications. In C it is significantly more difficult.

If you are building large-scale, high-performance infrastructure, manual memory management is to some extent unavoidable. In many database engines, for example, memory lifetimes and object lifetimes are distinct and independent concepts. There are classes of algorithm optimization that require strict and explicit understanding of the address space your process claims to own. The silicon does not respect the object model of your programming language, but you still need the silicon to manipulate memory directly (as it understands it) for performance reasons. This seems complicated but understanding it well enough to leverage it has significant performance implications.

That said, I don't see a lot of heap allocation in things like database engines. Almost all the memory used is allocated and deployed at bootstrap, and most of the remainder is on the stack. Not a lot of attack surface for memory management problems to show up. Other applications may be different.
I keep this app on my phone for that occasion every year or two where I need a knot; it's the perfect type of approach for those skills where you aren't going to practice often enough for it to stay in your memory.
And discussed fairly recently!

Minimodem – general-purpose software audio FSK modem

https://news.ycombinator.com/item?id=30888879

152 points | by marcodiego | 55 days ago | 38 comments
What we really need is the backend of Matrix with the frontend UI of Zulip.

I've heard so many people rave about Zulip but it doesn't do e2ee nor have federation, which these days makes it a non-starter for me.
Minimize left turns? :D
People don't say "serverless" to mean "there are no servers involved." They say "serverless" to mean that the data architecture is such that:

1. scaling does not require thinking about servers; and

2. you don't have to pay for committed capacity measured in servers.
Completely agree. Thanks for writing this up. Specifically because I've always thought this, but also don't value my opinion on the topic. I was first exposed to devops a few years ago, and as a result was learning docker, k8s, terraform, salt, &c. at the same time. (I hated it, and now I'm happy writing C++ again)

What I could never wrap my head around was why the heck the tools had to expose so much complexity. I want the description of my infrastructure to be a single, or set of text files, written preferably in JSON or YAML like everything else, and I want to run a command that behaves in the same way as GNU make.
because i can make my choice now and just wait for it to come in the mail

as is, Sony has been doing a "sign up to be notified" thing where by the time I see the notification they're sold out again. Just let me put in my order and get it to me when you can.

if enough people take that deal, scalpers have a smaller and smaller market
No, I'm not mistaking stocks for flows. I'm not sure where you got the idea that I'm mixing up interest with the loan principal.

I'm sorry but your long-winded explanation (as this topic always produces for reasons I never understand) just isn't something I can make sense of. You're pointing out loops in the payment graph. Sure there are, nobody claimed the graph is loopless. But that obviously doesn't imply 100% of the flow is going through a closed loop. The more you increase the outward flow the more you need to increase the inward flow, and the extent to which you can do the latter is not limitless. This seems too obvious to me to convince myself it can be just hand-waved away with a complicated explanation.

> There is no need for government to pay interest at all. It's entirely a policy choice.

I don't know why you purchase (say) bonds, but most people I know purchase them for the interest, not out of some sense of patriotic goodwill. You'd think if the government could get the same loans with the same terms without paying interest, then they would avoid paying interest...

Nobody's explanation of this ever makes sense to me, like you can see above. Half of it always seems overcomplicated (missing half the issue) and the other half just seems outright wrong. (This is precisely why I said someone needs to write a convincing & comprehensible blog post on this.)
AWS aurora serverless says:

> You pay only for the capacity your application consumes.

> Scales down to 0.5

But it actually can't scale down to 0.5 or the DB falls over just existing.. auto scaling won't let you go down that low unless you set 0.5 as the max, which literally makes it not scale up, and it's dead, because the DB can't run with that little CPU.

So it's fair to ask if neon can scale to 0, both in marketing, and in practice.
OSMand can run entirely offline with OpenStreetMap data files. It downloads a base (country-wide-ish), state/region map, and then optionally smaller delta updates published between more significant updates.
When was Terraform stateless? I've been using it since 2015 and it has had state files since then. Must have been a very brief period!
You should check out https://sowilodesign.com/blogs/blog/how-to-use-bifrost-with-...

They offer a high current adapter for the Phillips Hue Light Strip so you can have large and bright light strip installations. Their LEDs are also top notch. I installed some as my pandemic lighting and it's been great.
Fair question. Noting that I am a Python person who has only tooled around with Rust a bit, a few packages I think warrant inclusion because the base options are too anemic:

- Command line parsing (more feature rich the manually iterating over args)
- (De)Compression: tar, zip, gzip, bzip2
- CSV parser
- Date time
- Hashing: md5, sha1, sha256
- HTTP requests
- Logging
- Random generation: ints, floats, sampling, uuids
- Regex
- SQLite bindings
- (De)serialization: json, ini, toml, yaml
- System niceties: where is user home?, # of cpus?

Appreciating some of these are quite complex, and probably best left to a crate that has more leeway in experimentation/breaking APIs.

Edit: tried to make the formatting less bad
If you are playing it in your browser then it is being distributed, unless you have some sort of stadia, play via video type service, then, to get all sorts of pedantic "this is technically legal" the owner would have to have to make sure no more than then the number of legal copies of the game were played at once.

Personally I don't worry too much about a bit of copyright infringement, especially in cases like this where there are no plans to ever publish the title again.
Just don't use devices you can't configure?
> Git is now using SHA256

Not by default, and I don't think it's officially stable yet (but I haven't checked the status in a while). I'm not even sure github supports SHA256 repos.
It's great because you don't want to understand it? That's echoing the same argument that people have against studying science--nature is beautiful, and somehow understanding nature makes it less so.

To be honest I don't think you'll get as much out of theory if you don't personally write songs. Despite what so many people say about music theory (they say "it explains music, it's not a set of rules to follow"), music theory is a fantastic tool to help write songs, kind of like how perspective is a fantastic tool for drawing pictures. Not a tool anyone is forcing you to use, but a tool nonetheless.

I'm no expert, but I've dissected a few songs. There are some songs that you might think, "Oh, damn, that's cool!" So you transcribe it or get a transcription or even just a chord chart, try to figure out what you liked about it or explain what you heard. And then, down the line, when you're writing a song, you might try to use one of these devices you found in a song you analyzed. At some point, the things that you hear in your favorite songs become a part of your repertoire for making your own songs, something you can build upon, and analysis is not strictly necessary but it sure as hell facilitates things.
"I'm having a gay old time"

Words adopt new meaning over time. They might still retain the old meaning in the dictionary, but if everyone reads a sentence and goes to the latest, most common usage then it's likely the author intented to invoke those comparisons.
I don't think I quite understand these projects. Will they be able to match Linux's battery life and software support? What can these do that Linux can't?

It would be interested to see a list of use cases that would benefit from FORTH.
(op here) I actually completely agree - you're right: "simple outperformed smart" doesn't point to a useful, nuanced solution. I wrote more in-depth here about slightly-more-specifically where there are problems, curious your thoughts, feel free to DM me or comment on the blog (this thread is kinda dead)! https://kenkantzer.com/5-software-engineering-foot-guns/.
I'd guess no. The neighborhoods west of Twin Peaks and south of the Mission are dominated by single family homes.
They meant Foveon was never widely adopted...
I am trying to understand how it works without digging into the code. It sounds like the disk-backed storage here uses S3 which would introduce some severe latency as well as orders of magnitude more access errors (S3 is not going to be more reliable than EBS, let alone physical disk arrays on a day to day basis). Also how do they mitigate latency from their network to mine? In other words why would I run this over a local install if performance mattered at all to me?
The white and color ambience bulbs, whatever CRI those are (2019).
You can use terraform in a "stateless" manner!

Define everything in like cdk (... I use ruby to generate the tf.json), generate the code, import everything you can without error, and apply the rest.

Performance will be _bad_ but that will completely eliminate state problems.
i'd say i'm quite the opposite!

i can find myself listening to a part of song or a tone over and over again until i can tell what's going on and reproduce it

i'll go as far as downloading original stems on pirate sites just so i could hear each track isolated

this is a bit like when i was a kid i used to play with Dev Tools in the browser
This is sad reality that web scraping is quickly becoming only accessible to people who can afford the captcha/computing/dev resources.

Identifying scrapers is actually really easy but it's not a binary decision. Anti scraping systems usually keep score that is compiled of few measurements so just applying some commonly known patches can improve your trust score significantly!

We recently published a blog series on all things that can be done to avoid blocking [1] request headers, proxies, TLS fingerprint, JS fingerprint etc but it's quite a bit of work to get there if you're new to web scraping - there's just so much information to get through and it's growing every day.

1 - https://scrapfly.io/blog/how-to-scrape-without-getting-block...
I have no knowledge of how Facebook or anybody else does their backup deletion - but one way to accomplish this is to encrypt parts of the backups with a per user key, and delete the key when deletion is requested - tapes (or whatever) stay in cold storage but the data is irretrievable.
https://www.playstation.com/en-us/ps5/register-to-buy/

where the buy button should be, they instead invite you to sign up for email notifications for when it's in stock
Really interesting to see a bioinformatics tool be proposed. I've worked in bioinformatics for over 20 years, written several workflow system for execution on compute clusters, used several other people's and been underwhelmed by most. I was hoping that AirFlow might be better, since it was written by real software engineers rather than people who do systems design as a means to their ends, but AirFlow was completely underwhelming.

The other orchestrator besides Toil to check out is Cromwell, but that uses WDL instead of Python for defining the DAG, and it's not a super powerful language, even if it hits exactly the needs for 99% of uses and does exactly the right sort of environment containment.

I'm also hugely underwhelmed by k8s and Mesos and all those "cloud" allocation schemes. I think that a big, dynamically sized Slurm cluster would probably serve a lot of people far better.
Nvidia are already moving to a world where the Linux kernel driver is GPLed and in Linux mainline and only the firmware and userspace parts would be proprietary. So that potential GPL violation is in the process of being resolved. Eventually the signed proprietary firmware and the upstream Linux kernel driver would be shared between the proprietary nvidia driver and the open source nouveau driver. Of course they shoved parts of the Linux kernel driver into the proprietary firmware as part of the process, so....

https://developer.nvidia.com/blog/nvidia-releases-open-sourc...
https://blogs.gnome.org/uraeus/2022/05/11/why-is-the-open-so...
https://news.ycombinator.com/item?id=31345835
Are we Human, or are we Danza?
Yes, just buy the led strips & diffusers & other hardware, plus a power supply, and wire them to light switches.
> But who the hell wants Luna?

In theory, people would want Luna to get the 20% returns through Anchor.

Of course, that assumes the 20% returns would continue forever (which a bunch of crypto people foolishly believed) ...
Absolutely. I have a bunch of waveform light strips (the highest CRI) which I use for specific lighting conditions (e.g. taking photos) and it's the difference between literally night and day. I'm also using them for plants and they love it!

The only downside is their rather expensive cost so I'm yet to replace all my lighting with it, but it's a great investment given that it'll probably outlast me and so won't need to change them.
For what it's worth, you don't need coins to use payphones. You can usually just call collect. I've done it once about a decade ago, before I had a cell phone.
Rio airport screens show porn movies in apparent hack
>A compelling reason for people to adopt it.

I could imagine that security conscious products (medical, automotive, network applications) would feel more comfortable if there was a definitive release that could be cited as the basis for the work. Hardly absolves the requirements that would go into a regulated product, but it could be a minor step in the right direction.

>Don't just re-export existing crates but lay things out in a natural, discoverable way.

Complete agreement there. If there were ever to be a sanctioned "batteries crate" it needs to be more than slapping together a meta directory and calling it a day. I think the Lua Penlight project stands as an example of this.
I def think 90% of the value in code review is knowledge sharing and general coding practice discussion in good eng cultures. Tests should really catch glaring mistakes and it's fairly rare that someone will be like this absolutely won't work for these reasons which you didn't catch.

If anything I think code review as a "nothing bad will happen" check gives a really false sense of security unless you have a super strict bus factor crazy smart kinda asshole engineer on the team who is probably going to piss everyone off with strict code reviews that most of the time are about personal preference but sometimes actually do catch the edge cases.
OP says "they have a store", they're saying with that store they could implement a queue where i can buy now knowing it may be some months before i see it in the mail. as it is they have a mailing list you sign up to be notified when consoles are in stock

https://www.playstation.com/en-us/ps5/register-to-buy/
Story seems to be more about people being jerks and not letting someone use a phone to make a quick call. Obviously there were tons of phones around but no one would let him use one.

It's rare but I have had someone ask to use my phone and I let them without any question
My eyes are getting worse every year, knees, ears, hair, memory. All the senses. Pretty much everything getting worse and worse.

Only choice is to keep reminding myself, it's better than the alternative.
> “It follows easily that” does not mean (...)

>this shouldn’t take more than two minutes,

>but a person who doesn’t know the lingo might interpret the phrase in the wrong way, and feel frustrated.

I would have liked to know this before I started my master, not now that I'm finishing it. That's a weird bit of lingo, or is that just me? I've seen this expressed more fully like "result follows easily but tediously" or something to that effect. The second statement does not follow from the first, so leaving it out doesn't imply it in my reading.

Perhaps it's usually left out to not discourage students/readers from working it out themselves?
I think the reason why terraform did this is that if you have a medium-large deployment that you plan/run often you'll probably run face first into cloud management api limits, it's not just bad performance.
If the internet was “supposed to be for” anything, it was for exchanging and linking documents (hypertext) and enabling communication between computers, and between people.

You’re talking about social media. Whatever that was supposed to be for originally, it’s been about collecting personal information and selling ads for some time now. Fortunately you can take advantage of the useful aspects of the internet and ignore social media. Whatever you are interpreting as popularity is just an illusion intended to manipulate you. Opt out.
>... want the description of my infrastructure to be a single, or set of text files, written preferably in JSON or YAML

That's CloudFormation, there is a reason that people migrated away from it.
State or Idempotency. Pick one.

If you want stateless, then you can use Ansible and use their providers. Enjoy spawning new instances everytime you change your infrastructure, rather than having existing ones change.
No, because I don’t use cryptocurrency, and my life is much better for it.
Can vouch for the book, and while I haven’t finished it yet - it is well written.
at least no one is buying PS5s to mine crypto
Chinese Researchers Publish Strategy to Destroy Elon Musk's Starlink
i've studied piano for 5 years and i didn’t write songs

but i think understanding how the song is made will makes you appreciate the song on a much much deeper level than just hearing and forgetting it

dissecting the songs like Rick Beato does, shows you how the work is made down to every note

Rick feeds my curiosity and explains how things are done in a way even a baby can understand
There is a way that Oracle could solve the ZFS situation; release a CDDLv2 that is compatible with the GPL, then the CDDLv1 auto-upgrade clause would mean that all CDDLv1 software that hasn't opted out of the upgrade clause would now be GPL compatible. Some parts of OpenZFS would need to be relicensed or reimplemented, but that job would be much smaller than reimplementing ZFS for GPL compatibility. More discussion here:

https://lwn.net/Articles/894901/
Also LIFX bulbs (a competitor to Phillips Hue) you can control by sending them UDP packets over your wlan.

https://lan.developer.lifx.com/docs

But the API provided by the Phillips Hue bridge is maybe more high level.

https://developers.meethue.com/develop/get-started-2/
Ask HN: What should I do next?
I went to a bootcamp after teaching art for 6 years. The bootcamp hired me to teach / write software a oittle sfrer graduating. Ive been there for two years. I love them but they (intentionally?) don't pay enough to stay forever. I'm bored / tired etc and thinking about quitting randomly and applying to recurse center.
Exploring Architectural Concepts Building a Card Game
> Cheap drugs.

I feel like I've watched way too much TV to even consider buying/using drugs other than pot (which I don't use) in Mexico.
it works as a market differentiator - if target is the only one that implements a purchase-before-restock queue, they get guaranteed purchases from people who are price sensitive and not time sensitive

that no one is doing this... maybe it has something to do with the fact that it would show up as a liability in accounting until they deliver the product
Art is so much better when you understand it.

I don’t have much music knowledge, but I’d imagine the same is true for music as well.

What I do suspect will happen is that a lot of music you currently enjoy, because it’s played in our environments all the time, or is popular, will start sounding terrible once you start realizing how uninteresting and/or derivative many of the popular songs are.
Have you tried Pulumi? You can use TypeScript, Python, C#, Go, Java, YAML etc to define your infrastructure.

Almost all Terraform providers are ported to Pulumi or have Pulumi-native alternatives.
You're absolutely right. I started using Terraform around 2016 and it was pretty common to get barked at by the AWS API if you were repeatedly running plans, even with state. I bet the cloud providers have had to make significant infra changes to support the growing number of customers using TF.
The site just invite to trial run. Any basic doc, tutorial etc. come from db2 …
I think the only point Gladwell is making is that the Harvard test scores are higher. I.e. 50th percentile of SAT scores of Harvard students is equal to the 90th percentile at state schools and such
This hasn’t really been my experience at all. I find students at my university (an ivy) to be pretty reasonable and only complain if there is a mistake during grading. In that case they are absolutely entitled to do so. They also seem to really enjoy challenging classes.
Been wanting to do similar but stopped once I saw just how much data hosting the entire world map takes.
Nice to say, but the other side in this case would likely be the inside of a third-party library. If it was in-repo code, it could have just been fixed to not require a stopPropagation workaround!
Oh yeah, I have to give props to Professor Cecil Lytle, without a doubt, the nicest prof I ever met at UCSD. I asked to meet with him because I was struggling with the class. We sat and talked in his office for 3 hours. He asked me all about my family, told me about his, and even played stuff for me on his piano. It was surreal how nice and sincere he was. Truly a great human.

https://music-cms.ucsd.edu/people/faculty/emeritus_faculty/c...

https://www.youtube.com/watch?v=ZbEje902h-Q
I didn't love the author's suggestion of Edison bulbs, but maybe I am missing something amazing about them that makes up for the fact that they use ~10x the energy of low color temperature (e.g. 2500K) LEDs? I guess it seems online that "Edison bulb" can refer to form factor rather than incandescent?
Backordering, when the supplier can't/won't give you a reliable restock date is a recipe for burning customer goodwill.
There is no world in which robotaxis exist that would inhibit robobuses and robobikes from also existing and being integrated into one coherent transportation network. The existing toolkit of pricing controls makes it easy to pull a lever to get more people onto the smaller or shared vehicles as needed, and with roughly linear ability to expand the fleet in any of these axes, the roads they're running on already built and paid for, and the cost of deployment rapidly dropping, nothing will stop them from taking over in a span of 5-10 years.

It'll be the biggest boon to urban transit we've ever seen, because what self-driving actually does is make modality, routing and scheduling less important to individual trip planning.