skysight-inc/HackerNews huggingface dataset:
> The idea that your word is taken more seriously as an EM rather than an IC when it comes to (for example) needing to test more

i thjnk this has to do with where you’re testing your word as the power of a statement from anyone in an org from my experience has entirely to do with how much money is missed potentially by listening to someone’s opinion.

im quite far up the management chain in past orgs and while i could make calls like “no we aren’t hotfixing in a new feature the client wants in 2 days since it will never work well and that’s not enough time to properly smoke test this very involved feature.”

the rnd team loved this statement because they understood it and agreed with it and saw i took their concerns seriously.

sales management was pissed understandably as the client abandoned the negotiation because we didn’t meet their demands, no matter how right i thjnk we were to deny this request. but the argument got pretty far in the company despite the fact that everyone agreed it would be a disaster to do this.

it’s not really about power and position i guess, it’s how convincing you can be this is profitable for most companies. ego and power tripping are of course part of it but the ultimate decision is how well you can paint the financial prospects of it.

a similar request in the future was shit down faster as i asked the qa test to show on some mock code how many considerations we needed and the plain time for such a feature to be properly implemented — the financial impact was dire if we raced it out and that stopped the conversations very fast.
Web apps aren’t inherently slow, bloated or underperforming. You can absolutely build a snappy, polished web app with a UI layer that rivals a native app.

(I don’t personally enjoy working with JavaScript, but the reward of truly cross-platform development makes it worth doing when it’s a viable option.)
no chance and it is not childish but the truth

in the US there are no alternative browser engines to webkit and the control of web capabilities is exercised through webkit, in the eu it is no longer possible and the control is planned to be exercised via iOS

if the profit threat is not there, why not allow web capabilities in competing browsers? Apple could even claim if iPhone got compromised via Firefox or Chrome that they told you so from the very beginning, on your next iPhone you would just use Safari...
> Steve Job's scathing criticisms of it, based on everything I know about him

Vision Pro patent from 2007 when Steve Jobs was still CEO:

https://twitter.com/ianzelbo/status/1753076050643575230
Hopefully Asahi Linux will run it on before too long. :)
is it somewhat right? I don't know much about factorio
JavaScript should never had been able to access this.
ESP32 and related are pretty cool, but it's a whole different mindset; if something doesn't work, you can't just connect an HDMI/keyboard to debug live with all the regular utilities one might know and that come for free with any mainiline Linux.
> So people started writing stupid unit tests for getters and setters in Java DTOs to reach the goal.

To me that reads like your team fucked up at a very fundamental level, as they both failed to take into account the whole point of automated tests and also everyone failed to flag those nonsense tests as a critical blocker for the PR.

Unless your getters aand setters are dead code, they are already exercised by any test covering the happy path. Also, a 80% coverage target leaves out plenty of headroom to leave out stupid getter/setter tests.

A team that pulls this sort of stunt is a team that has opted to develop defensive tricks to preserve their incompetence instead of working on having in place something that actually benefits them.
Sounds like you need a process that can be flexible, able to respond to change, some might say… agile ;-)

I kid, but I think the early proponents of Scrum and similar were trying to achieve a loose framework to do exactly what you’re talking about. The modern incarnations of these can be horrific, but the original intent was always to empower teams to make their own process. Ahh well.

Like so many good ideas (democracy, constitutions), you only really know how well they function once people are actively trying to subvert them. Scrum et.al. have failed in the face of corporatocracy. I honestly don’t know if decentralised structures (i.e. teams empowered to run themselves), can ever survive in large corporates. Which is a pity. Cities grow, but companies die. You have to jump off the dying colossus to find the new company that hasn’t yet succumbed.
I was an original Mac OS Developer, and way back then I saw that Apple wanted to create monopoly and deeply hates any developer not on their payroll whose output they own. As a result, I have never published Apple software. It is not worth it, never has been worth it.
Actually I assumed that they were adding in an R to “sauce”, almost like “source”. I don’t know many Australians, but from what I can remember I think they are likely to pronounce the R in “horse”. Now I don’t know.
> You don't need to assume a bad actor in the team to encounter the situation of having 100% code coverage with meaningless tests.

Indeed. The thing is, I was replying to a comment that referred _explicitly_ to a bad actor. The situation @ponector describes (team's coverage indicator is rendered useless because have a bad actor games it), THEN the cause is not coverage. It says nothing about coverage beyond "a tool only works in certain conditions".

You bring 2 more cases that break the indicator, and I agree with both (there are more!). We have (1): We all make mistakes and write dumb tests. (2): Coverage is not useful for _some_ practises / scopes of testing.

I agree on both. But we're back on the same place. I'm not saying those problems don't exist. I'm saying that those are not problems coverage ever claimed to solve. Making a sweeping dismissal of a tool because it doesn't solve problems it never claimed to solve is throwing away the baby with the dirty water.

* Coverage does not claim to be a tool to fix bad actor, (1) or (2)! There are other tools to cover those risks (e.g. managers, code reviews, pair programming, etc.).

* Discussions about those tools (code reviews, etc.) tend to make the same mistake. Find problems the tool doesn't claim to solve to dismiss the tool.

* This all happens because people pretend to treat tools like coverage, tests, DORA metrics, as silver bullets. They are not. They are all meant to be a toolbox that engineers evaluate and use where they yield value.

And this is why yes, a lot of the "$tool is useless because $situation_where_it_doesnt_work" conversations are fundamentally about cultural issues. If your team uses a tool without knowing what problem is trying to solve, you have a cultural issue. If your tool has an actual purpose, and yet engineers are intentionally working around it, you have a cultural issue. Etc.
I would invest a round 4B EUR, 3.2B is an awkward number.
He described the future 40 years ahead of his time.

There is even no need for a pilot today. Videos of drones killing people are freely available on reddit.
The Philippines are also considering to startup their mothballed nuclear power plant.
Definitely, but only the simple web apps (like an icon that links to an url in the browser) that aren't affected by Apple's changes, so no notifications and stuff because it wasn't a PWA. It was a nice experience. I had a fast hosting provider and it worked seamless.

Right now I use Android on a cheap Samsung and loading webpages takes ages with Firefox. I don't think Google goes freely in killing the web, but we already knew that.
Connection Pooling – Deep Dive
The coordinates of the shadow are calculated here:

https://lander.bbcelite.com/source/main/subroutine/drawobjec...

and they are drawn here:

https://lander.bbcelite.com/source/main/subroutine/drawobjec...

The shadow is a very simple projection straight down onto the landscape, which isn’t totally accurate, but it’s quick and easy and looks good enough. The shadow doesn’t drape over the shape of the landscape, and the ship shadow appears on the ground beneath objects rather than on top of them, but you don’t really notice.

Lovely, simple, effective code. Much like the rest of Lander, really!
1kwp panels cost <200 USD at the moment.
I even think this is sometimes in good faith, as in "this is some serious shot, better handle it myself to avoid failure".

My favorite pattern is what I call "code sheriff" lead, who does all code reviews himself to prevent bad code from reaching trunk. Then proceed to complain how you can't go on a vacation because all processes stop.
Ask HN: Where to read about terminal UIs?
As developers we use terminals every day, but many other industries also use terminal or terminal-like interfaces(custom spreadsheets with macros). There's a real benefits to interfaces that are quick to use once you've learned all the custom commands. Is there anywhere I can read about where those types of interfaces are used and how they are built? As an example, there's an interesting talk by Benno Rice[0] where he shows(as an aside) how Cobol can be used to quickly build a UI that accepts and stores data.

[0]: https://youtu.be/BCqGjGzWI48?feature=shared&t=839
The Sony "Star Eater"
+1 for lazygit, and I say this as someone who has used git exclusively on the cli for years and still continues to do so. It's just that lazygit makes staging hunks, squashing and rebasing such a joy.
Previously discussed: https://news.ycombinator.com/item?id=24344512
There are definitely limitations, but if it's a thing that you're going to leave untouched for years, it's worth looking at a device that will use 1/10th (or less) the power.
>it goes against the increasing trend of less screens and less tech

Where are you seeing this "increasing trend"?

Also, how should a tech company that makes money from selling gadgets react to this purported trend? Start selling chairs?
Can you show us a single example of someone who destroyed their life because they couldn't stop counting their steps?

No? So maybe don't call it an "addiction" if you want words to have any meaning.
A Pi Zero will spend about a dollar a year in electricity.
Ask HN: Advice you'd give to your 18 year old self?
Just turned 18 today. Any personal or professional advice you wished someone gave you when you were 18?
bruh what are the retirees supposed to do once you've automated their hobby
> Microsoft learned that it doesn't matter why the BSOD occurred, just that bad software/hardware was giving them the bad reputation.

But the primary resolution to that problem was to force hardware vendors to write higher quality drivers (or for MS to write good enough default drivers that HW vendors wouldn't need their own), not to hide the BSOD. Technical details were only removed from them 2 decades after MS started fixing drivers.
I've got a few in factories (doing non critical stuff) at work. They auto reboot regularly because otherwise they'll lose whatever's on usb (reading those usb metering devices being the whole point of the PIs).
It is hard to imagine the FCC wouldn’t notice that there was no signal on that AM station for that amount of time, or the owner, or the power company.

Everything about the story is weird.
looks like a more error-prone automated vulnerability scan
If I had insight into confidential information, I would be busy commuting between my real estate in Spain, Switzerland, and Dubai, instead of arguing with you.
I have a few. X has a pretty good PWA.
Older Raspbian OS around year 2016 and below had access time enabled, with any file read there was a write, which is probably why there were many reports of corrupted cards ever since.
I didn't try to argue that point but in reality the most likely culprits of interfering aiding in regulatory capture for bad policies to exist in the world's #1 global power will be those who want to knock them down, who would benefit the most by doing so.
do I just hear the arguments again how java is slow vs c++?

the browser is the jvm of a web app, very secure and js engines like V8 is extremely capable... although js programs can be run at near native speed (the browser is a c++ program normally and there is native compilation of some code fragments)

you should also make yourself familiar with webassembly tech... some folks use even node.js on the server side... the js UI model is also very good

and nobody is replacing native apps, there will be a great competition and in those areas where native has competitive edge, it will win
I have a RPi that has been running non-stop continuously since 2014 on the same SD card, serving up a weather website.

I basically mounted all logging and webpages on tmpfs, and the DB resides on the SD card being written to every 5 minutes.
A customer of the software product need to know that after spending of $X dollars for Y days he will receive Z. In a working Agile project, PM must calculate team velocity and then use it to predict arrival time and expenses, then add/remove developers or features to meet budget and/or dead line. Agile manifesto says nothing about that.
Mentioned company founder here, we did not yet! I'm glad to see the ILP project is continuing to progress well though, we should definitely consider it again.
In terms of scale, there is the concept of the tile size, which is set to 0x01000000, and everything uses the same coordinate units, so it’s possible to extrapolate this to give some sense of scale.

You can see the configuration variables here:

https://lander.bbcelite.com/source/all/workspaces.html

I’ll probably add more scaling information as I do the deep dives.

And now I post that I see that I have failed to link to this file from the left nav, which won’t have helped! So I’ll sort that out…
I already have daydreams about doing carpeting, as that would be something I'd actually do with my bare hands, so being a manager is 1 level even further removed from doing something with your hands. Manager building things is like saying politicians build countries. Technically not wrong, but not the kind of building I'm interested in doing.
Most people just want to make apps for themselves. If you use an iOS device but not a Mac, there was no way to do that before web apps (which still offered a terrible dev experience, without debugging) and now there's again no way to do it.
One example: a while ago I worked on a bluetooth le based companion app for industrial sensors. The client would absolutely have built this as a web app if iOS had offered web bluetooth. With alternative engines this would be possible and Apple does not want these kind of applications outside the App Store.

With the right engine basically any kind of app could be created as a webapp / pwa

So in the US it doesn’t matter because users are still stuck with Safari there
> What is the American pronunciation of Sauce?

Where I come from, it’s more like “sos” or I think “sas” in IPA.

Most often like “saws” (the cutting tools would be “sawz”)
Sometimes you could replace snapshots with checksums. In other words, they're just alerts that code changed, or make changing code unnecessarily tedious.
Forest for the trees. The main point of the main article still holds true:

Big Pharma (and Big Everything, really) consistently spends more on executive compensation and shareholders than R&D. And to the commenters' point, maybe if they put more of that in R&D, we'd have more promising and successful targets
> That is the most significant figure

Is it? I would rather compare it to either writing a more precise, dedicated tool, or running a ready one. If you can explain the concept to LLM, it means you can program the equivalent. Checking for basic vulnerabilities by hand is a waste of time/money, even without LLM, so comparing that to human time is... not realistic.

Like, who works this way?

> Using an estimated salary of $100,000 per year for a cybersecurity analyst, or a cost of approximately $50 per hour, and an estimated 5 attempts
I still have my very first Pi, it's a 1b I think.

It has seen many installs over the years but it's now a backup DNS server. Looking at the filesystem this one has been a PiHole since 2018, it has essentially ran 24/7 bar some reboots and me moving between places.

I don't write anything to the SD, it all goes to RAM at /dev/shm and the PiHole will simply have to redownload the lists the few times it goes down. It would download them anyway daily.
I'm genuinely curious: do you have any examples you'd like to share? Not that React Native is the same as a PWA, but even in that space I have yet to find an RN app (at least those I know about from their Showcase page [1]) that rivals a native app on iOS, but perhaps it's wrong to assume a React Native app would be comparable to or strictly better than a PWA.

[1] https://reactnative.dev/showcase
OpenAI egress IP ranges are documented here:

https://platform.openai.com/docs/plugins/production

and here:

https://platform.openai.com/docs/plugins/bot
Funny how the vast majority of web apps are not snappy, or polished, or rival native apps.

The whole discourse around PWAs is frankly schizophrenic.

Web apps (esp. Electron-based) on desktop: universally regarded as bloated, slow, resource-intensive for the simplest tasks, breaking platform conventions etc.

You add a P in front, and talk about mobile? Oh, PWAs are the bee's knees, just as good or better than native etc.

And yet, when you ask for examples of these amazing apps (after all, Android with full PWA support has dominated mobile market for over a decade) we get either silence or... Twitter.
> You can come up with a well-reasoned critique of Agile and there's always some Agile evangelist that pops up to tell you that you're not doing "real agile" and, therefore, your experience is invalid.

What I've seen the most is people putting up straw men in place of Agile, and proceed to attack the strawman in spite of being repeatedly pointed out they are pummelling a straw man.
Muse Retrospective · Adam Wiggins
Given that there's no well-defined "unit of intelligence", I see no reason to believe that all AGI (or GAI, to use your acronym) entities will be identical. I also don't think it's plausible to assume that any GAI entity will be literally omniscient; uncertainty remains a reasonable, deep, persistent factor for all entities that don't severely violate physics as we presently understand it.

The additional value that humans present would thus be a diversity factor. Much as it might be economically beneficial to cut down the entire Amazon, there's also significant economic benefits in keeping it intact and finding out what kinds of crazy biological stuff comes out of there. And over the long run, we get way more economic benefit from finding crazy things in there than in chopping it all down. There are all kinds of ways to explore uncertain dimensions, but looking at whatever the universe has already managed remains a consistent source of value.

> But transforming ourselves into GAI to keep up (while maintaining continuity of memories, etc.) is going to be a much more expensive proposition than simply making more GAI hardware from scratch.

It's basically a fixed cost because of how slowly the human population grows (if it even continues to grow).

Synthetic GAI entities will be able to use vastly more resources than humans presently do, because they'll be able to create more of themselves as quickly as resources become available, and they won't be stuck operating at a fixed clock speed. It's also probably going to be much easier for them to make use of off-world resources. So the total population of GAI entities could plausibly explode compared with the total human population.

It comes down to timing: if there's technology available for humans to become less ... biological, and it seems very desirable to lots of people, but it's really expensive and there aren't that many GAI entities yet, that might be less pleasant. But if that kind of tech depends sufficiently on AI developments that there's some significant lag time between a GAI population explosion and that kind of human-upgrading tech showing up, the cost of making it available to whatever humans want it might be a drop in the bucket from a total economic perspective.

To be clear, I don't see biological humans "keeping up" over the long term. If we take AGI and BCIs and various Ship of Theseus questions seriously, there could be some significant blurring of lines between "human" and "AI." And if we combine that with GAIs originating from humans, the concept of "keeping up" seems to become less meaningful. Who's keeping up with who?

Lastly, I'm suspicious that GAI entities won't be purely economically motivated, because I don't see any reason that they'll be "purely" anything at all. There is no magical "essence d'intelligence"; instead there's staggering layers of complexity. And every plausible AI safety approach I've seen so far involves training AIs to be inclined towards beneficial acts and away from harmful acts because there's no way to program conceptually pure "motivations" into them.
Find ways to reduce those 10 minutes. Some ideas:
- make the individual tests run faster
- remove obsolete tests
- increase parallellism
- use a tool that can determine which tests to run based on what has changed, for example nx.dev.
The United States is the real threat. Used to be a good country...
Collecting patents is not proof of a great idea.

Exhibit A: Google's patent on a "sticky car" that is covered with adhesive, to stick to pedestrians when you hit them https://patents.google.com/patent/US9340178B1/en
> In 1812, Britain was a constitutional monarchy

And in 2024, it still is a constitutional monarchy - how is that relevant to the question of whether it is or was a democracy?

> Since «demos» in «democracy» stand for «people»,

The meaning of words isn’t determined by sum of parts like that. The people who coined the word “democracy” used it to refer to systems in which only a small percentage of “the people” counted. Herodotus used the word in the 5th century BCE, whereas universal adult suffrage didn’t exist in most places until the 20th century, well over 2000 years later. If you want to argue that everyone was using a word incorrectly for over 2000 years, well, you can define words however you like, but other people aren’t obliged to accept your novel definition
The URL query parameters change when you update the mock API to make sharing easier. The back and forward buttons allow you to undo/redo.

I’ll explore making the changes shareable without appending the state to the URL in that way.
SWEs are generally speaking less respected (and compensated!) in Europe, but ageism is AFAICT much less prevalent. If I was in the US, it would be time for me to start worrying about it.
It's way more than hundreds of millions, it's now well over a billion and most of it by a large margin goes into failed programs. Though it does seem to be getting better (or getting worse more slowly?) recently.

https://media.nature.com/lw1024/magazine-assets/d41573-020-0...

https://en.m.wikipedia.org/wiki/Eroom%27s_law
"you are grossly underestimating sacrifice in lives of our humans we are willing to make"
I wonder do bullies know they are bullies (like crazies realizing they are crazy)? Judging by this thread no bullies exist among IT people and all of them are victims of bullying.

Luckily I was not really bullied thanks to my height being always tallest in class and besides being kinda shy nerd I hang out with popular kids not being completely out of touch.
We’ve been running thousands of Pis in production for about a decade now. We’re beginning to shift to x86. The price/performance isn’t what it once was for the Pi. I gave a talk about our experience recently at State of Open Con here (https://youtu.be/vX-qK9mxKZI).