HN user

yashap

3,954 karma
Posts3
Comments655
View on HN

Hmm really? Even on the Wikipedia page for 7 (https://en.m.wikipedia.org/wiki/7), one of the first things it says is “7 is often considered lucky in Western culture and is often seen as highly symbolic.” And FWIW you can see the Wikipedia edit history, that isn’t a recent edit, nobody here is messing with it :)

“Lucky Number 7” is a common phrase, there was even a popular movie that played on this, “Lucky Number Slevin” (https://m.imdb.com/title/tt0425210/). It’s one of the first numbers I’d think of as a “lucky number.”

Huh really? Whenever I’ve taken the train in Germany it’s been pretty punctual, and looking at the board that’s been the case for most trains. But maybe I just got lucky and/or it’s changed over time.

Flakiest trains I’ve experienced anywhere in Europe were in Italy - rolling strikes among train workers are crazy frequent and cause so many delays and cancellations.

I hope so, but for different reasons. Agreed they spit out plenty of gibberish at the moment, but they’ve also progressed so far so fast it’s pretty scary. If we get to a legitimate artificial general super intelligence, I’m about 95% sure that will be terrible for the vast, vast majority of humans, we'll be obsolete. Crossing my fingers that the current AI surge stops well short of that, and the push that eventually does get there is way, way off into the future.

I want to be able to easily read and understand configuration without having to pop it into a converter. The YAML I encounter in the wild is ~80% pure block style, ~20% mixed (within a single file, mostly block style with some flow style). And I just find the block style hard to read, I have to either spend significant mental effort trying to understand where the objects vs. arrays are, or I have to pop it into a converter (to either JSON or flow style) to understand. Whereas JSON/JSON5, it’s immediately clear without any mental overhead.

Fair, YAML has a lot of usability warts, and those suck too. Although personally I really do hate how tough it is to tell apart arrays and objects, at least with the most common YAML array/object style.

I’m a fan of JSON5. A common criticism is “we’ve already got YAML for human readable config with comments,” but IMO YAML’s readability sucks, it’s too hard to tell what’s an object and what’s an array at a glance (at least, with the way it’s often written).

When dealing with large YAML files, I find myself frequently popping them into online “YAML to JSON” tools to actually figure out WTF is going on. JSON5 is much easier to read, at least for me.

I think you’re reading way, way too much into this. Read the piece and it seems like just a goofy little oddball story, makes for a light and enjoyable read, I’m really not picking up any political angle in this piece.

The Guardian are certainly a left-leaning, frequently political paper, but that doesn’t mean every story is political, and IMO this one isn’t.

Agreed, it’s a lose-lose situation really. But the reason most companies just settle is that going to trial is so expensive, and the American legal system allows these frivolous lawsuits while generally awarding either no compensatory damages, or damages far below the cost of the defence.

You can see why, though. Even in this case where they thoroughly won, and got damages, the damages were just $225K, and they probably spent millions on legal fees, employee/founder time, etc.

Ultimately, the American legal system is pretty broken. If someone brings a frivolous lawsuit against you, and you defend yourself in court, nearly 100% of the time you’ll be losing money, often a lot of money. This is the core reason why patent trolls exist, why companies normally settle out of court - it’s cheaper to do so.

Ah fair, definitely a very different environment than what I’ve worked in! Have only worked on SaaS, where all forms of testing (automated and manual) are a thing we do internally, without customer involvement. We’ll do things like turn features on/off for customers, have them provide feedback, but that’s more product feedback than them being part of the testing/QA process.

I have worked on software where individual customers pay millions for it, but not billions, and it’s also not a physical thing that can literally crash into earth or fly off into space if something goes wrong!

Indeed, and it’s clearly stated in the article:

Safemode is the satellite equivalent of a blue screen of death.

It’s about avoiding safemode, and more generally about the end-to-end QA/testing process for satellites before they’re sent up into orbit. It’s very clearly not about actual Windows BSODs, it’s just written in a tongue-in-cheek style. Those commenting about “wtf windows on a spacecraft” clearly didn’t read the article, just read the title.

FWIW I found the writing style engaging and the content interesting. I guess the title is a little click-bait-y, but not in a way that I minded much, and I probably wouldn’t have read an article titled “How to avoid safemode on a satellite.” It’s a fine line, but titles DO have to draw you in, otherwise you’ll never read the article.

Re: the article itself, I did think it was pretty wild that customers have to be informed of every incident where a satellite flips into safemode in TESTING! In real operations, sure, but in testing, that’s wild. Feels like having to report bugs caught in my local dev environment, that were never deployed to prod.

I have not found an answer for testing React components that seems like a good use of resources … I'd really love to have a system that would give me a heads up that some CSS I changed has a spooky effect on a distance on part of the UI because of the complexity of selectors but that's asking a lot

I would’ve agreed until recently. I always found basically all other forms of testing valuable (unit tests of almost everything on the BE, unit tests of FE business logic, BE integration tests, E2E tests), but not testing of the visual elements of the FE.

But the company I work at, ~6 months ago we gave this product a try, and honestly it’s pretty incredible: https://www.meticulous.ai/

They basically record sessions of real usage in our staging environment, and then replay them against your branch, like taking all the same interactions, and mocking responses to all network calls. It records tonnes of these sessions and is very smart about which ones it uses for a given change. It flags any visual differences, and you can OK them (or not). There’s a bit of work to initially integrate, but then you don’t write any tests, and you get pretty amazing coverage. It has the odd false positives, but not many, and they’re easy to review/approve in their web UI. They’re also a small startup willing to work super closely with you (we share a Slack chat with them, they’re very open to feedback and iterating quickly on it).

I swear I’m not a paid shill or affiliated with them in any way, just a user who really loves the product. I was skeptical it’d work well at first, but it’s honestly been great, has caught many potential regressions, I feel we’re getting much better coverage than we would with handwritten UI tests. It’s very worth a look IMO if you’re not satisfied with your visual tests. It’s not an E2E testing tool, because the network requests are recorded/replayed (so it can’t stop BE changes that break the FE), but it’s amazing for testing so many elements of the FE.

I’ve never used it, but I’ve used the Starbucks app a bunch. Order on the app when I’m 5-10 mins away, and can just roll up and grab my food/drink, vs waiting in line, ordering/paying, then waiting for prep. Useful when you’re tight on time or just don’t feel like waiting. I assume the Taco Bell app is similar.

The successful companies that came out of the dot com bubble era actually proved their business viability before getting major investment, though.

Amazon is one of the most famous successes of the era. Bezos quit his job, launched the business out of his garage, with seed money being $10K of his own savings, and was doing $20K/week in sales just 30 days later. And I believe their only VC round before going public was an $8 investment from Kleiner Perkins. But they were a company who proved their viability early on, had a real product with rapid revenue growth before getting any VC $$.

I’d say this SSI round is more similar to Webvan, who went public with a valuation of $4.8 billion, and at that time had done a grand total of $395K in sales, with losses over $50 million.

I’m sure there are good investments out there for AI companies that are doing R&D and advancing the state of the art. However, a $1 billion investment at a $5 billion valuation, for a company with zero product or revenue, just an idea, that’s nuts IMO, and extremely similar to the type of insanity we saw during the dot com bubble. Even more so given that SSI seemingly don’t even want to be a business - direct quote from Ilya:

This company is special in that its first product will be the safe superintelligence, and it will not do anything else up until then … It will be fully insulated from the outside pressures of having to deal with a large and complicated product and having to be stuck in a competitive rat race.

This doesn’t sound to me like someone who wants to build a business, it sounds like someone who wants to hack on AI with no oversight or proof of financial viability. Kinda wild to give him $1 billion to do that IMO.

Agreed, the AI bubble is very, very real. Not that LLMs are all hype, they’re certainly impressive with useful applications, but AI companies are getting insane valuations with zero proof that they’re viable businesses.

Hackers are global, though, and no matter what country you’re in, almost certainly the vast majority of hackers attempting to attack you are doing so from outside your country. Enforcing laws on a global scale is extremely difficult and almost impossible to do effectively.

The platform is absolutely overrun with bots and extreme racism and sexism (as well as extremely racist/sexist bots). It’s a complete tire fire, advertisers are pulling out en-masse because they don’t want to be associated with this cesspool, non-bot users are fleeing, the company is outright tanking.

Musk bought it for $44 billion in October 2022. Over the first 13 months under Musk, we saw X internal memos marking themselves down to $19 billion, then Fidelity marked down their investment to a level implying a $15-16 billion valuation, then in November 2023 they marked it down again to $12.5 billion. All signs point to it losing even more value since.

I’d be surprised if X doesn’t declare bankruptcy within the next few years, Musk has rapidly taken it from social media giant to poor man’s 4chan.

Yeah, I think having it as an option is the way to go. Though I’d personally have it default to per-capita, as I do think that correlates closer with actual risk. To illustrate with an extreme example, an area with 10 burglaries per 100 people is clearly a way higher burglary risk place to live than an area with 20 burglaries per 10,000 people.

For sure, if I’m writing a short script, no more than ~200 LOC, Python (without type hints) is my favourite language. But for a sizeable codebase, worked on by multiple devs or even just me over time, I’ve got an extremely strong preference for static types.

Also, FWIW, TypeScript is the most “lightweight” statically typed language I’ve ever used, in terms of extra ceremony/lines of code over a dynamic language. Once you get used to its type system, and embrace the structural typing ideas, I feel the overhead is super minimal. It might slow me down by ~5% on a short script over JavaScript, while dramatically improving maintainability as a codebase grows.

Yeah, my personal experience is that easily 95% of devs I work with/have met in person, if not closer to 99%, prefer statically typed languages. Maybe that’s a biased sample, but I do think the overall preference among devs is very strong. I also see JS slowly, more-or-less becoming TypeScript over time.

There's mostly two reasons companies invest in bullshit patents:

1) If you're a big company with lots of resources, and you're losing business to a smaller but faster moving competitor, you sue them for infringing on your bullshit patents. Distract them, drain their precious time and minimal funding, etc. Very effective way for large, slow moving bureaucratic companies to stamp out startup competitors. Doesn't even matter if you win the suit, even if you lose, as long as you can drain their time/energy/$$$ on fighting it, you've won. I you both drain $2 mil on lawyers and 500 hours of employee time, that's nothing for you, but it's crippling for them

2) If you're a smaller company, you really don't have the resources for "offence" (suing others as a strategy), but patents can still be useful for "defence." Basically, if you have your own portfolio of bullshit patents, when someone sues you with one of their BS patents, you counter-sue with one of your BS patents. This often results in both sides settling, giving each other a "licence" to use the patent (that is BS in the first place). And even without settling, it does make you a less attractive target - like if you actually win your countersuit, you could do some legit damage to even a bug company. While if you have no patents, you're an easy target, bigger companies can sue you freely without risk. Patents are actually pretty cheap to get, it probably is worth spending a few hundred thousand dollars getting a handful of patents purely for the defensive value

This use of patents as basically a way to "fight dirty" against competitors, plus full-on patent trolls, is basically the entire software patent industry.

Most software patents are serious, serious bullshit, the stuff that gets patented doesn't remotely resemble truly innovative work, and there's mostly plenty of prior art. But there are no repercussions for patent offices that simply mail it in, and just grant whatever bullshit comes across their desk. In fact, if you're a patent office, granting bullshit patents is good for business! It encourages more patent filing, more revenue for them, and it encourages more lawsuits, more revenue for their friends in the courts.

If you have no experience with software patents, I encourage everyone to go on a patent search site like https://www.lens.org/lens/ , and search for granted patents in your field. They're a bit tough to read at first - the relevant section is the "claims" section, and generally claim 1 is the "base" claim - as long as you violate that, you've violated the patent. Then most of the other claims build on the base claim (though there may be more than one base claim). Read a handful, you'll be shocked at how utterly garbage they are. For example, in my field, there's a good 10 or so granted patents that are simply descriptions of extremely basic versions of Vehicle Routing Problem solvers, all granted in the last decade or so, despite the fact that the published literature on VRP solvers goes back to the 1950s/60s.