skysight-inc/HackerNews huggingface dataset:
The other thing about public transport is that it is, generally speaking, more practical to switch to renewable power. Yes there's plenty of red tape to wade through to get any kind of infrastructure work done, but even factoring that in, a project like converting a commuter rail network to solar-powered electric is achievable on a dramatically shorter timetable than elimination of fossil-fueled cars and trucks.

So while the impact of a public transport user is higher than someone staying at home, it's still smaller than that of someone driving to work each day and has greater potential for being shrunk in short order.
I worked at a place that bought 5.25 inch floppy drives on ebay since they can't be bought new any more. Seems like a huge supply chain risk.
yeah, definitely not advocating keeping plain text passwords, ever. But previous history of hashes is bad too if the database is leaked.
Yes, that's entirely why they've gone into mostly developing countries (I'd think it'd be easier for a startup to pull of a global launch focusing on more developed countries, for a variety of reasons) offering people almost a week's salary to have their eyeball scanned (Kenya's average monthly salary is USD$420, and Worldcoin was offering effectively $70 to sign up).
I could. But I 100% take full advantage of Qt's signal and slot mechanism.

Also, in many ways, GUI applications written in Python are not so much CPU bound, but Python GIL bound. If you're writing a Python/Qt application, you have to take great care to ensure your GUI doesn't freeze when your program is performing, say, many database inserts; if you have some naive loop which performs some given operation, your nice Qt GUI will freeze right up until that operation is complete. Right now the solution is to perform such operations in, say, a QThread, and use Qt's signal/slot feature to blat a progress "report" to a handler in the `main` Python loop.

So back to what I said - no-GIL is looking quite interesting to me. Whether or not Qt can take advantage of such will be a different matter.
I'm not convinced, although I like working from home. I think human impact on the environment isn't as big deal. The doomers have been calling for the end of the climate for decades and been wrong everytime but they don't change their outlook they just move the clock forward another 5-10 years.
Anyone else notice a startling similarity between these products and midjourney renderings? It's like the designer intentionally finds people with odd proportions and then places clothing on them at strange jaunty angles and sizing which leaves people looking out of proportion to the clothing. Just like a lot of AI creation.
Boycott Systemd (2014)
Ask HK: How would a world where AI is able to write any software be?
I was just wondering, I always have a lot of ideas to write software, but never had any skills beyond writing some simple scripts in python. And I was wondering how would a world where you can just say to GPT 20 or so "Hey, port this software to linux" or "Hey write me a whole new OS in the style of Windows 7 but with dark mode"

I have no idea about how hard would this be, or even if we would need an AGI to achieve this sort of capability, maybe it would be something so hard that, if we have such skill, the perspective of porting a little software to other OS would be child's play compared to what we would be able to do with that AI which is able to really understand human language and create any software just following a prompt.

Anyway, I was just curious about your thoughts on this, how such scenario would look like?
This is a really, really misguided take on C and C++...

They don't prioritize anything. They are just bad languages with a random assortment of features mostly reflecting how people thought about computers in the 70's.

Just think about this: vectorization is one of the obvious ways to get better performance in a wide range of situations. Neither C nor C++ have any support for that. Parallelism -- C++ kinda has something... C has zilch. Memory locality anyone?

I mean, Common Lisp has a bunch of tools to aid compiler in optimizing code in the language itself, whereas C has like... "inline" and the ability to mess with alignment in structs, and I cannot really think about anything else. Stuff like UB isn't making the language perform better or easier to optimize. It's more of a gimmick that compiler authors for C and C++ found to produce more efficient code. It's a misfeature, or a lack of feature, that allowed for accidental beneficial side-effects. Intentional optimization devices in a language are tools that prove the code to be intentionally correct first, and that proof allows the compiler to elide some checks or to generate a more efficient equivalent code, based on the knowledge of the correctness of the proof (or, at least, upon explicit instructions from the code author to generate "unsafe" code).
Wild idea: what if we evaluated research on its merits, looking at things like methodology, controls, and reproducibility?
Obnoxious intro to the article and not in the spirit of transparent journalism whatsoever. The linked GitHub profile has over 300 repositories, many of which are related to Twitter but none that contain the phrase “musk”.

None of the “twitter” ones have direct correlation with this article either.

In other words, Mashable is stuffing the source because it thinks it now has the rights to the story. But yes.. I apologize for being so petty.
It's not insane, it's my expectation for a tool. My hammer still works perfectly well with nails I bought 30 years ago.

It's impossible to build on shifting foundations that are constantly breaking backward compatibility. You eventually spend all your time maintaining instead of creating.

Then you have to go reinvent your wheel, and in my experience as a user your shiny new one isn't necessarily better.

Most of the software I use is more than 10 years old. Some is still updated, some is not (or went cloud and left me happily behind).
Where did you go to school? It's ROYGBIV you monster!
What percentage od the total workforce can actually work from home? Construction workers, doctors, nurses, teachers, shop salespersons, waiters… I expect these jobs are the majority od the workforce? Not everyone is in IT so that it is easy to transfer to WFH
My psych seems to worry way more about sugar, caffeine, and blue light than she worries about harmful thoughts and habits. I managed to please her by switching to cases and cases of flavored sparkling water. It tastes pretty good.

I don't enjoy drinking a lot of soda, but god, it's so ubiquitous, it's not easy to drink anything else. I mean, I usually choose iced tea instead, but a lot of times, if I go to a restaurant, I have a menu of crap where I choose the least harmful thing possible.
Any better source than a Youtube short?

iFixit tested already what you can and cannot replace on an iPhone 14 here:

https://www.ifixit.com/News/66879/iphone-14-parts-pairing-re...

Maybe the person in the video missed something?
> No. This is what I call the "portable assembler"-understanding of undefined behavior and it is entirely false. Clang does not need to pretend that i is initialized with a value larger than 10, there is no requirement in the C standard that undefined behavior has to be explainable by looking at it like a portable assembler. Clang is free to produce whatever output it wants because the behavior of that code is literally _undefined_.

You're kind of lawyering this. Sure, it's "undefined", but is that useful to anyone outside of compiler writers? How useful is it to have a program that's very fast but entirely wrong? If the behavior is undefined, I want an error, not a free license for the compiler to do whatever the hell it wants.
My point was more towards the 2-in-1s and tablet PCs, not really phone or 'true' tablets. Devices that have been pretty popular over the last decade, like Surface Pros (I had used a Pro 2 and Pro 3 during my experiment) or Lenovo Yogas.

----

Didn't really consider postmarketOS. I haven't played with installing mobile operating systems on desktop hardware in a long time.

----

Yeah I think what screwed my testing was applications that were using xwayland without me noticing. The stable firefox snap at the time (which is preinstalled on Ubuntu), uses it apparently. I have only used Xorg before, as I've never felt the need or desire to step into the tarpit that's migrating to Wayland.

----

Neat workaround for your tablet, glad it works well for you.

----

End of the day, I'm sure that I could have puttered on it and eventually got it all working (aside from the hardware on the surface that appears to be completely locked down), but it's a pretty poor showing out of the box. YMMV and all that, and I hope that more investment in the space makes it a better experience in the future.
I think you should realize is theres a mindset in go. They're highly opinionated about how you structure code, how you format your code (capitalization on all functions as a means to express public/private, tabs, etc), and how they want it to look. It's also designed to be basically a toy language to "make programming easier". They don't want language improvements like this for the most part.

The creator made it because:
"The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They’re not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt. – Rob Pike 1"
Video with seekable interface: https://www.youtube.com/embed/fLEOiQdDkzk (at least on desktop; YMMV)

Geez, TikTok (basically) content on HN...
I don't see how this particular case could ever be hard to deal with.

Using uninitialized memory is UB, so initialize every byte of memory allocated to NULL. Dereference NULL pointers as-is. Done.

I'd be quite happy with a best effort approach. If you can't be perfect in every case, at least handle the low handling fruit.
Perhaps they're barking (sic) up the wrong tree.

The every-other-line-is-180 degrees thing could be explained by two people (such as a parent and child, a couple, or two chiefs or priests) sitting facing one another and working on the workpiece together. It could therefore have ritual semantics rather than merely literary. A test might be to look for alternative micro-stylistic signatures on alternate lines which could suggest dual authors.

The quote "According to oral tradition, knowledge of rongorongo was restricted to a class of priests known as tangata rongorongo" might support this thesis.

LibGen's latest paper on the subject dates from 2020 and summarizes: "among the many published proposals, the only
one for which there is more than a modicum of scholarly agreement is the 'Lunar Calendar' on tablet 'Mamari' (Barthel 1958; cf. Guy 1990)."
Do they though? If it’s hot, sure, but they seem able to tolerate temperatures of -50 centigrade, and sleep outside at the South Pole.
Just be candid in your conversations with them. Tell them that you're relatively low-yeared in industry but offset that by emphasizing the mentoring you've done your current/previous jobs. I've had employers change the job description based on who they meet in interviews in order to justify bringing me in.

Collaboration: you should know what your coworkers are doing (more or less). Easy "I can prove I did this" mentoring can be something like a Lunch & Learn (teaching about advanced topics in C# or perhaps language features that would benefit the company if they would adopt it). The trendy term "thought leader" is what a mentor does but in a one-to-many instead of one-on-one.
Yeah your ID in Latvia has an electronic certificate for governments, banks, etc
Most software used not to be connected to the outside world. It wasn't vulnerable at all unless the attacker already had control of the host.

In the thirty years I spent developing software I spent hardly any time on anything that was accessible through the network and I'm confident that I'm not the only one. The embedded control software that I wrote for 6502s would still work today and would be completely invulnerable to attacks other than from someone standing right in front of the machine pushing buttons.

Of course now that everything has to be networked so that your fridge can advertise special offers to you the situation is changing for the worse.
My example is incorrect because it doesn’t cover all the edge cases but you can desugar es6 to es5, except in es5 you can’t subclass builtins.
https://en.wikipedia.org/wiki/Tipping_points_in_the_climate_...
You should never keep plain text passwords. bcrypt it at the very least. I'm referring to keeping a history of those hashes around to compare against other leaked databases one would find on the dark web. Having a history of the last password hashes are n+1 as bad as storing a password hash.
Is all UB silly? E.g., wouldn't fully defining what happens when one goes beyond the end of an array impose a non-trivial performance hit for at least some code?
I can't tell if this is sarcasm.

Personally, I've been using mutt in the terminal as my primary email client for several years, and I absolutely prefer plaintext email.

But this isn't about me. Nor is it about any other computer nerd here clutching their pearls over HTML email. The reality is that users of web applications — the kind that probably a significant proportion of HN readers develop to earn a living — expect HTML transactional email.

It's table stakes. That's just the reality.
Related?

>Can you only see ~70 or so of a person's followers / followings now? Just noticed this happening today, a couple weeks ago it would still show everyone if you kept scrolling down.

https://twitter.com/AricToler/status/1692222416024449426
I guess you've only worked for big companies. Smaller ones only have one office.
> Cupertino is ...

a lot of hour drives away from everything? London or Tokyo it is not.

> Maybe they live in a "shitbox fixer", maybe they don't.

I was being rather generous at $2M on a $300k salary. Let's just assume the spouse makes that much too. Where do you place the odds of getting a nice house at, in that area? Of a similar quality that would run around $200-400k in the rest of the country. It's the suburbs. You're going to be inside your home more than you would in a city.

> You might consider that people like and care about those other properties though.

The point is $300k in SV isn't living large. You save more for retirement or to move out. Great. But you still have to leave to realize that benefit. You're just planning for some tomorrow that usually never comes for most people.
Hackernews actually throws out many Unicode characters, such as emoji. But it renders the ones I used, in order U+2283 SUPERSET OF, U+222A UNION, U+2229 INTERSECTION, and U+2208 ELEMENT OF.
An open-source and Python-based platform for the 2D simulation of Robocup soccer
So to save environment we should ban pets
i should have added /s

apologies if you are joking too
Absolutely. I built my own DIY thermostat and was spending weeks of free time working on the configuration system for it so that it could do the things I wanted. I thought I had a decent system for it, and then I realized it's a pain in the ass to work with in its JSON format. Rather than find a language that would make the configuration model easier to work with or building an entire UI for it, I finally realized it would be way easier to just do it as code, and there was no better choice than Lua.

Add a few helper functions, and the configuration that dynamically changes the target temps throughout the day is a 12 line Lua function that determines what the HVAC system should do based on the current state, current time, and the current temperature.
To be clear, since "can be used in function contexts without referencing the specific method name" might be ambiguous to some- in Java you still call the "function" as if it was a class implementing the interface. IE: `interface Foo { String bar(); }` is still called as foo.bar().

It's just that there's now syntactic sugar for creating anonymous classes: `Foo foo = () -> "baz"` that automatically expands to an anonymous class that conforms to `Foo`. The compiler automatically assigns the method name for you.
Public funding of religious indoctrination is bothersome.
Max Tegmark Warns That Humanity Is Failing the New Technology’s Challenge
To be honest I feel like biometric app unlock has largely made the need for the short tokens banking experience obsolete. I don’t want to change my credential ever 15 minutes, I just want my bank app to verify my biometrics on sensitive operations. The only real reason for short lived bearer “tokens” these days is so you can deploy them in scenarios without revocation lists.
Ah thanks, I was not aware that these compile-time checks are only done when it is evaluated in a compile-time evaluating context.

To add to your list, using C++20 consteval instead of constexpr also triggers the error.
right...so is there a way of taking a sample from the recipient and have dna show up from the donor in a way that would confuse a police inquiry?
This is the case for most everything though. The squeaky wheel gets the grease. It plays out in larger society as well, on both ends. You have a few billionaires doing outsized damage destroying society through marketing / antisocial business practices and on the other end you have the 1000 people that commit 40% of crime in Atlanta.
https://www.11alive.com/article/news/crime/1000-crime-atlant...
https://news.ycombinator.com/item?id=37122796
s/embed/v

https://www.youtube.com/v/fLEOiQdDkzk

this gives you a normal looking youtube page
> So, breaking the law in and of itself doesn't accelerate change?

Not really, no. The part of civil disobedience that accelerates change is when people are seen to be punished for the laws.

I don't know about the history of corn laws, but with both alcohol and marijuana, it wasn't the breaking of the laws itself that caused the laws to be changed, it was people getting punished for engaging in activities that others thought should not be illegal. If nobody is seen as being punished by the law, then most people won't be energized to change them because it looks like nobody's being unjustly harmed.

> how can you square that with obeying laws that bring misery to others?

I don't know that I bring misery to others in the laws that I follow. But your question is impossible to answer as stated -- what about laws that bring misery to some but justice to others? The world isn't usually black and white, and that includes laws.

My only point in this discussion is that there may be a moral high ground in breaking some laws under some circumstances. But making a profit is never such a moral high ground.

Companies that break laws to increase their profits are simply criminals, not bringers of justice.
With giving up I meant giving up portability by targeting a particular implementation of C or C++ in a particular compiler. The standard is what it is and discussing a hypothetical standard is moot.
> I don’t know one way or the other, likely neither do you.

Basic physics shows that energy = force * distance = mass * acceleration * distance.

So moving more mass, further distances uses more energy than not, especially via the personal cars that are used in the US.
Hey, find me a college with a good CS program that isn't just half-assed IT is disguise, that's accessible to a low class white guy, and I'll ace that Bachelor's program.

There are many others like me who would and could do it, but lack the financial or social resources to put it into action. If I lived in Europe I could have my education paid for.
Yesterday's New York Times article about this: https://www.nytimes.com/2023/08/17/well/live/blue-light-glas...
Careful, if tethering is too easy, the addictive behavior creeps in again ...
Elon Musk promises to kill block function on X (Twitter)
I'm not seeing conclusions, let alone confident conclusions. An interesting paper was linked to that apparently showed some survival benefit from A-bomb survivors. By all means, challenge the paper, but it's certainly interesting. It might not be radiation exposure that led to the increased survival rates but it could plausible be.
Preach!

Living in the country you see all these, but you’re right that prices for cured meat end up pricing everyone out except rich folks
What was old is new again: https://en.wikipedia.org/wiki/Pick_operating_system
I won't be enabling it. And frankly I'm glad for one less wolf at the door of my attention.
>Thiel removed Gawker’s ability to be scum. Thus, by logic, the world was improved.

I mean, this is just textbook ends justifying the means right? It doesn't matter what someone does if you like the outcome?
Wow, don’t get so invested in hating a technology, it’s just a tool.
Right, that is why C code was polluted with inline Assembly until optimizers started taking advantage of UB.

Inline Assembly isn't C.
Was it The Bridge? That's one that's still on my mind to this day.

https://www.rogerebert.com/reviews/the-bridge-2006
It's conjecture, but the fact that a powerful senator like Chuck Schumer fears going against them is enough to convince me that they need to be severely reigned in.
That's the most frustrating part for me with Tiktok, Youtube shorts, instagram etc.

I wish you could scrobble through a video - it's more frustrating on Youtube because you always could and now all of a sudden you can't, and now videos 60 seconds or less get auto-converted into shorts (from what I've understood). Very annoying.

Whoever designed this knew what they were doing on an addictions/product/customer retainment level because it sure wasn't a usability/UI engineer that made this decision.
No profit in 30 years? You know people can count?

Are you one of these people who believe contracts/loans are subsidies?
The article links to a vulfmon track with audio and a still photo, but the video for same track on the vulf channel proper shows the instrument actually being played[1]. When I saw this a couple of months ago I had a bit of work to convince myself it was a real instrument - Stratton makes it look just too easy!

Coincidentally, I found a 1976 video[2] of David Vorhaus playing his Kaleidophon around the same time which gave me the same skeptical vibe.

1: https://www.youtube.com/watch?v=R-ROpRnmmKE

2: https://www.youtube.com/watch?v=4rRNM5n3jjQ
> It would certainly not hurt performance to emit a compiler warning about deleting the if statement testing for signed overflow, or about optimizing away the possible null pointer dereference in Do().

I think that the nature of Clang and LLVM makes this kind of reporting non-trivial / non-obvious. Deletions of this form may manifest as a result of multiple independent optimizations being brought to bear, culminating in noticing a trivially always-taken, or never-taken branch. Thus, deletion is the just the last step of a process, and at that step, the original intent of the code (e.g. an overflow check) has been lost to time.

Attempts to recover that original intent are likely to fail. LLVM instructions may have source location information, but these are just file:line:column triples, not pointers to AST nodes, and so they lack actionability: you can't reliably go from a source location to an AST node. In general though, LLVM's modular architecture means that you can't assume the presence of an AST in the first place, as the optimization may be executed independent of Clang, e.g. via the `opt` command-line tool. This further implies that the pass may operate on a separate machine than the original LLVM IR was produced, meaning you can't trust that a referenced source file even exists. There's also the DWARF metadata, but that's just another minefield.

Perhaps there's a middle ground with `switch`, `select`, or `br` instructions in LLVM operating on `undef` values, though.