skysight-inc/HackerNews huggingface dataset:
What if we don't need anything fancy? We can reduce our fossil fuel dependency by more than 90% if we switch to renewables, and just use natural gas plants when they don't produce enough energy. No need for any new storage. The current natural gas storage will be many times more than enough.

But isn't natural gas bad? Doesn't it mean we still emit CO2? We can offset that with trees. And even if we don't, I don't think there's any climate scientist who will say if you reduce emissions by 100% by 2050 we'll all be fine, but if we reduce by 90% we'll be doomed.
Modern Day Slaves of Thailand – Open Secrets [video]
Cool design, good UI, stats look good. The album art is big and cluttered for my taste, I'd prefer a list view.

Don't want to get too negative, but I don't think this can seriously compete with spotify's built-in song discovery. They have tons of advantages in that respect, some moats (can only play 30s with API, integrated playlists), and some by virtue of scale (can compare with other people's listens to find new tracks).

The only way I can see this working is with features that spotify doesn't provide, like social recommendations or shared listening. Still a good showcase of your programming + design skills though!

I made a jukebox prototype for spotify a while back (http://spotifight.herokuapp.com/, click spotify authorization at the bottom), and got around the 30s limit by playing the songs over users' spotify instead.
Git Source Walkthrough: How Git init is implemented
A while ago I realized that a very fast way to multiply or divide a 32-bit float by 2^n is to simply reinterpret it as int and add/subtract n<<23. Plus some checks if you care about overflow. Obvious in retrospect, and may not be worth it on modern desktop hardware, but still a nice trick. (This was in the context of optimizing a texture sampler for power-of-two textures.)
I remember those, and the 'Rural Revolution' that preceded it. Lots of shows in the 1960s like The Real McCoys, The Beverly Hillbillies, Green Acres, Petticoat Junction, Andy Griffith, Gomer Pyle, Lassie, and Hee Haw, until the 'Rural Purge' of the early 1970s.

Then in the mid-late 1970s came those shows and movies you mention, less comedy and more drama, more a sort of glorified frontier days theme. I think some of that might've come out of the 1960s hippie/naturalist trend, although it's a bit different.

I watched them all in the 80s, in syndication on the local channels, and my parents' VHS tapes had a lot (all recorded from TV). But in retrospect there were at least two related but different trends there.
A lot of people don't realize how risky staff aug can be.

A good and properly managed customer relationship it is fine. But even then expectations can rapidly get misaligned.
I launched my first macOS app
Hey, Hacker News

I released my first macOS app and I thought I was going to be an indie developer. That's so cool!

I'm very excited to share with you, It's a window management app, and you know, Mac window management sucks

I know there are a lot of window management tools, But I think they are not good enough. So I developed Wins. The following are the features of Wins

1. Great Animations

Animations is the soul of a software.

2. Quick Split Window

Drag the window to the edge of the screen to split a window.

3. Floating Split Window

Drag to see the floating split window and drag on to quick split.

4. Dark Mode

Perfect look in both Dark and Light modes.

5. System Level Integration

No need for a separate window, dock or menu bar. Wins is integrated directly into System Preferences, providing a pure user experience.

6. High Efficiency

Memory usage is less than 30MB, CPU usage is less than 10% and in most cases it about 0.1%

7. Native M1 and Intel

It runs perfectly on Apple silicon and Intel chips

I am so excited to share my first App with the Hacker News and offer a 25% discount specifically for Hacker News.

off coupon: HackerNews
Code following this style (e.g. lots of code following GSG or GSG-derived styles), tends to have large amounts of

void func(ParamType* param) {
assert(param != nullptr);
...
}

because passing via pointer introduced undesired nullability. And if that null pointer check isn't present, or is done wrong, you've easily introduced the potential for undefined behavior into the codebase. C++ specifically gives you mutable references to express the desired behavior in these cases, and using a nullable (and memory-unsafe nullable at that) pointer is actively less clear (you now need to document the non-null precondition separately, rather than in the signature itself).
Show HN: As your priorities change, your Google calendar gets rearranged by AI
I’m saying there will be no requirement for ASICS in Ethereum. There may be L2s to scale Ethereum that require ASICS but that would be a voluntary decision by users who want to use said L2.
UTF-32 performance woes are exaggerated. UTF-8 decoding requires branching whereas UTF-32 does not and in terms of storage real world text does not consume much space.
> it is an excellent way to make modules, well, modular

Strongly disagree. It is perfectly possible to do that without adding anything into __init__. I prefer explicit imports and any other logic declared directly into the module(s) that are the places where one would expect to find those.

I see code in __init__ as a convenient hack, but a hack nonetheless.
Time to support Haiku and bringing back the BeOS experience!
How I Cured My RSI Pain (2010)
The original purpose of copyright was to incentivize artists to create more art. The question is, in a post-DALL-E world, is art still incentivized by said laws? Arguably not if any art can just be generated in a fraction of the time it would take to create it by hand.
Yes. Based on conversations I’ve had with OpenAI staff, Davinci started unexpectedly developing the ability to answer longer questions as they scaled up normal InstructGPT fine-tuning some time in the past year. They don’t take down old models when the default one updates so you can see the version history implicitly in the availability of old models.
Your experience brings up an interesting concept: the general idea that certain songs/pieces of music will only sound amazing under certain circumstances.

That is, a piece of music won’t “hit you” if the conditions aren’t right (you can’t hear the words, you’re not doing something that matches the song, you’re just not in the mood).
Doesn't actually need the miner's consent, only needs the market to agree. Problem is there isn't really any entity with sufficient authority for the market to follow, so it will tent to bias towards the status quo, and miners tend to have a lot of money and so influence in the market (both hard and soft).
> There are simply a lot of people out there who can’t live alone without lots of help. To think otherwise is insanity.

> housing first simply doesn’t work, (...) implementation is much more complicated than that.

Thanks for sharing your experiences as well which helps understanding your position. However by your comment you seem to be arguing with yourself. I totally agree that they need support that's what I'm advocating for. You are the one in our discussion advocating against (or, at least, pointing out fairly hypothetical and broad-scoped reasons for possible failure) any advancement on giving that "lots of help" (eg. basic human decency). Surely you can't mean that leaving these poor people on the street, or moving them to an island for some zoning law schenanigans or just general sociopathic disregard (if they need it -- shouldn't they be consulted what is that they need?) looking through them or commenting here how giving them housing won't work, is a way towards giving them that?

Just for the fun of it you might try to imagine a situation where your home gets broken into you are robbed of your posessions, your sense of security but worse follows, a misinterpreted word on your interview with the kind insurance guy, or a mail never delivered makes them mark you suspicious and stall on paying you. You have no friends or ones you have are out of town, your parents can't pay for your accomodation, you spend a few nights at a hotel but then you might not have more cash, you are out of options and spend a few nights strolling or staring in a McDo, stressed out and tired. US has this stupid no-notice firing thing, so let's say after a week of no-show you get to charge your laptop to see you have been terminated. Now imagine how would you like others and the society to handle you and your situation. In one world you are now described as an addict, homeless person that might be unable to live alone on some webforums.
That page was a super-fascinating read, thank you!
Can they be bought online?
Very cool! Will spend some time with this!

I've been disenfranchised with algorithmic recommendations. It's lead me down the RNG path of music discovery.

I built Audile to simulate the old feeling of walking into someone's basement, thumbing through their vinyl collection, and finding all sorts of weird and interesting music: http://audile.app/
Creedence Clearwater Revival may never be endlessly talked about like Hendrix or the Beatles or the Stones but their music will probably outlive most of their 60s contemporaries.

First, everyone loves Creedence and their music crosses the political spectrum big time. Fogerty might be a liberal Democrat but his music hits big with conservatives. This is where the more conservative approach in lyric writing the article points out works in their favor. CCR never really wrote a drug song except for maybe "Lookin Out My Back Door" and that is hardly explicit. "Fortunate Son" isn't anti-war by being against the war, its anti-war by pointing out the injustice of the elite, the powerful, and the decision makers of America not having to put their own children on the line and deal with the consequences of their decision to go to war with Vietnam. The love for CCR is so widespread that Donald Trump used "Fortunate Son" in a campaign rally, unaware of the irony considering he got out of the draft.

Second, most of their songs are pretty easy to pick up and play. And because of the first point, they're all crowd pleasers. I'm in my mid-20s and when I picked up the guitar some of the first songs I learned once I got my chords down were "Have You Ever Seen The Rain" and "Bad Moon Rising". Why? Because everyone knows those songs and my dad get a kick out of it.

Maybe Creedence Clearwater Revival will never hit the philosophical or virtuoso depths of some of its contemporaries, but there is enough substance there to not just be a generic commercial pop song. Yet they are simple and universal enough to enmesh themselves into our American culture.
In a previous presentation I think he mentions they are still aiming at something like 2025.
Everyone's interpreting this as AWS is zipping every customer's S3 data and improved storage of their data with ztsd.
That's now what Adrian said, and this is not an announcement - this was a "by-the-way" from a retired Amazonian.

AWS switched our own service's log storage (in S3) from gzip to ztsd a bunch of years ago -and reduced storage costs by 30%.

This is AWS's service data (which is still exabytes) and AWS realized the efficiency.

So all the comments of "where is my 30% discount" are offbase.

Source: I've worked on AWS for a bunch of years.
It is oddly pleasing to look at.

There is something special about flawless results of considerable time investment and discipline.

I get a similar feeling from looking at mistake-free notes taken in neat handwriting with precise illustrations.

The kid in me just wants to run around and over those shapes though.
This is what I come here for. Thank you.
https://earth.google.com/
This article is giving me a headache. I understand the narrator's frustration but wonder why they have to write in such an animated and confusing way. Seems like they think they're making a script for a tiktok instead of an article.
> After 30 years, actually writing code is perhaps the easiest part of my job. The mechanics is the easy part.

Actually Copilot can really help people like you.

Even if the mechanics is the easy part, knowing how to touch type and knowing an editor like vim, can help you get your thoughts from your mind into code faster.

Copilot can do the same thing. It can act as a super powerful text editor augmentor to get your thoughts into code faster.

Just because the straight ways of a racing course aren’t the most challenging, doesn’t mean that going faster on them won’t improve your racing performance.
Do you find that this kind of optimization hurts retention? I'd expect that a decrease in retention rates would decrease long-term revenue - but that an A/B test would show a revenue increase as measuring retention will never hit statistical significance relative to revenue on a 2 week test.
Yes, if the price goes sufficiently low, the problem with solve itself, though probably somewhat abruptly once really bad positive feedback effects kick in, especially if there's a sufficiently fast and large drop. But bitcoin hasn't really hit anything big enough yet: it would take something like a 90% drop from the current price to see much of this start to kick in: bitcoin mining is still very profitable.
Alan Weiss's Million Dollar Consulting sounds dodgy but it's a popular book among consultants.
FTX grew revenue 1,000% during the crypto craze: Leaked financials
Music Butler focuses on either artists you follow on Spotify (just like Spotify itself), or your Spotify Library. Brew.fm shows you new releases per playlist.

Here's a demo of how I use Brew.fm to keep my 2 most used playlists up to date: https://www.youtube.com/watch?v=Nh2Ognb4PgU.

I have no plans to monetize the tool. I'm scratching my own itch here and am very much at the mercy of Spotify. I'm hoping to keep this one a hobby project.
Nobody wants to take the blame. But since we don't know for sure, everybody should, and we should regulate the sh*t out of special interests creating dangerous viruses, whether they do it on a wet market, or in laboratory.
Pypy is mostly written in a restricted dialect of Python (rpython), not pure python. They're substantively different.
https://developer.apple.com/documentation/swift/float16

https://scicomp.stackexchange.com/questions/35187/is-half-pr...
As I get old to start thinking about exactly how long I want my career to be, this is inspiring. He is coming up on 80 and he's still coding.
Uhh. How is that even possible? I thought I had a basic understanding of Neural Networks and inuput-, hidden- and output layers and those things. So how can it possibly backreference to it's own previous answers and then follow another prompt based on this?
Mind = Blown
About 8 to 9 years ago I asked Michael Nielsen (one of the authors of this PDF) by email what he thinks about interactive theorem proving. He was kind enough to answer, and replied something along the lines of that he doesn't believe mechanised logic will change how mathematicians work (if I remember correctly).

I think interactive theorem proving (ITP) is the ultimate tool of thought, though.

Although as a field it exists for quite some time, I think it is only now starting to show its full potential, as everybody starts to realise what powerful AI can do for ITP automation. Things like Mathematica and AutoCad should really be just special apps running on top of an ITP operating system.
Snapify? Pretty bad deal for the artist making $0.004 per play . Love the idea though
Awesome

If crypto wasn't contributing causing a crash in the GPU market and contributing even more to climate change, I don't think it would have nearly as much hate as it does. Sure it's largely used for scams and money laundering, but at least it's used for scams and money laundering in a way I can ignore.

Right now Bitcoin and Etherium, the leading cryptocoins, are absurdly slow and expensive, on top of causing all sorts of issues. Maybe blockchain is the technology of the future, maybe there are smaller coins, but right not whenever I hear "crypto" it's always something bad. Actually carrying this out and switching to a system which doesn't lead to absurd amounts of wasted computation is a great start to actual crypto usefulness.
gopro will unpredictably overheat, crash, refuse to record, stop record at random etc.
Get involved in local government and get your friends to do the same. State and municipal governments do most of the actual investment in infrastructure, even if the money might in part be federal, and that’s where the decisions get made. Your vote and voice matter, and the players involved eat at the same restaurants you do, go to the same gyms, and live in the same parts of town, for the most part. If you show up to city council meetings you’ll get to know people.
> I doubt I'm its intended audience. After 30 years, actually writing code is perhaps the easiest part of my job.

I think that’s exactly the intended audience. Copilot just cannot write code for me, but it’s really good at inferring patterns and giving me the next step.

All the boring repetitive coding has disappeared.
You would be right if it continues to be proof of work. More miners would mine more ETH.

But this is not the case, the 'mined' ETH will come from proof of stake. Some people with more than 32 ETH and an online server will keep the engines rolling and get 5% in return for their service.

The less power is because the electricity is used for serving instead of mining.
MikTeX also does this: https://docs.miktex.org/manual/autoinstall.html. As far as I’m aware, TeX Live is unique in forcing the user to install all packages at once.

[EDIT: And in fact, if a cousin comment is to be believed, TeX Live also allows this kind of installation! https://news.ycombinator.com/item?id=32535521]
DIY electric pump fed LOX/Ethanol rocket engine
Make it into a product, put someone elses name on it then promote it with the employer with straight face. Could even include an email exchange where you list the missing features and respond with willingness to implement them.
I am not familiar with the capabilities of the compiler but is there any optimization reason to prefer references as well? Like the compiler may be able to figure out an efficient way to keep a referenced object ‘nearby’ for subsequent function calls that also refer to the object, maybe in some register or reordering which code gets run when. Whereas sometimes the compiler might not be able to do something like that with a pointer, incurring mem access costs.

Hm slightly tangential but could you install some kind of page-fault handler on a reference such that the control flow jumps on write back to the last place it was accessed? Not that you’d want to do that in the real world, but it would be an interesting “pub-sub” type control flow..
> that helpful "&arg" goes away and it's just "arg".

You still get a reminder it's a pointer by the * and -> notation.
It doesn't have to be populism.

It could be a toddler or child near dangerous equipment, it could be a primitive society, or an arrogant colonialising force ignoring local wisdom. It could be management interfering with engineers, or engineers with management. It could be the general public trying to address complex topics. It could be specialists presuming greater understanding over complex issues. It could be an individual or group blinded by panic, confusion, injury, or disease. It could be technologists attempting social fixes, or social practitioners addressing scientific ones.

The common thread is that it is the ignorance itself, and the stupidity (perhaps domain-specific, temporary, contextual, or emergent) which matters.

The essay is exceptionally insightful.
HN used to show points of comments, and the API still show the score for those old comments, but not for new ones. It's not a bug in the search nor API, but rather data that used to have more datapoints but now has less.

Seems it was changed in 2011 specifically: https://news.ycombinator.com/item?id=2434975
Because at every pos in existence, I have the option of using my phone, my watch, or a card.

I am not exclusively tied to any of those devices (or their camera, which is a relative weakpoint in a smartphone).

I am also able to trust that the payment medium is so complex that there's a very low chance of phishing (i.e. pretty easy to print out a QR code to a malicious domain, hard to do that over ApplePay).
For a somewhat less "for dummies" treatment of the C++ memory model, see Herb Sutter's classic talk "atomic<> Weapons" [1].

[1] https://www.youtube.com/watch?v=A8eCGOqgvH4
Original title is "Almost EVERYONE is Wasting Money on Dash Cams."

let me fix is for you: "something something clickbait, here is our mile long list of amazon affiliated links"
What’s the incentive to be a validator?
Very cool. But it just goes to show the impact of human creativity. The conceptual aspect.
Is there a way to generate industry standard 3D models from NeRF? Say something that unity or unreal can use?
There’s certainly a comparison aspect to this…I’m 6 feet (183cm) tall and 155lbs (71kg). My family in the American midwest comment consistently about how “skinny” I look, but I’ve never had any similar conversations in NYC where I live, or Europe where the other side of my family is from.
Renewables plus storage are incredibly expensive. There is zero grid running on renewables (besides hydro) for base loads today.
> If they're over 6' tall,

My understanding is that having a significant portion of humans over 6’ tall was a relatively recent phenomenon.

So I agree with the gp post, having humans weight 200 pounds was not common in evolution.
As someone who has excelled in non credentialled industries and seen enough credentialed proffessionals coast by,
I much prefer that companies do their diligence in hiring and firing, rather than ousourcing it to central regulatory body destined to ossify.
I'll be bluntly honest: instead of writing yet another virtualization thingy that nobody asked for, how about fixing long standing issues with the existing ones? Example I recently hit with virt-manager: external snapshots are not supported but UEFI is not supported with internal snapshots. The worst part? You'll find 5 year old SO posts about this...
Ukraine was connected to the Russian grid up until around March(?) this year, definitely still at the start of the invasion, so presumably the Ukrainians haven't had time to tear down all the existing transmission lines.
Yeah, but my point is that it was never explained as being inaccurate, or that there were other projections.
Current day descendent of the transputer is the (AI themed) IPU from Graphcore.

I think they're approximately publically accessible now in ssh to someone's server fashion with a proprietary toolchain. Some talks by the CTO online and some machine documentation on their GitHub.
No, I am saying that current worldwide emissions are not accelerating.
That sounds an awful lot like fraud. You’re promoting a product to your employer while actively hiding your financial stake in it.
A condescending article in Esquire ca. late 1930s about Pennsylvania Dutch cooking described the local gentry as weighing eight to the ton. I no longer know where I read this.

I would add the current Americans on the average are not only heavier but taller. I and some of my cousins have sons considerably taller than we are. (I--a boomer--am 6', my son is 6'4"; a cousin is perhaps 5'10" with one son 6'4", and another who at last viewing seemed to be on the way to that height.)
I'd argue virt-manager's UX is a little clunky, but that doesn't justify going that far.