skysight-inc/HackerNews huggingface dataset:
It is easy to nod along when someone speaks about different styles. But there are also a few objective truths down there, and it makes sense to try to identify them.

For example, I have been at this for over three decades now, and there are some things that almost never fails. From the article, the kind of person who advocates for the more "testable" code with a few more lines and more abstractions, is never the same person who can maintain that codebase a handful years later.

That should tell us something. For what it's worth, I agree with the article that simpler is better, which often coincides with fewer lines of code. I personally wouldn't have chosen objects that look like "pizza.Sliced = box.SlicePizza()" but most of the time the structure is already in place and it is best to go along with it.

As to that 1000 line function, if it is in an imperative style it might well be the easiest form to read. Have you seen the Python source code? That language success owes to a simple interpreter with ginormous functions that anyone and their brother can read from top to bottom and dare modify without having the brain the size of a planet.
Technically it's from around 1993 so it's even older! There's a decently size community around it gets about 20,000 downloads a month which isn't that bad.

Reactor3D looks pretty cool!
CPUs excel at decompression; more than one engineer has remarked to me that the fastest way to populate a cache is to decompress data in-line.
I've had a Google Pixel phone since the Nexus 5. I switched to it from an iPhone 4 because my company was developing apps for our online service, we needed to improve our Android apps, and I wanted to immerse myself in the Android ecosystem to facilitate that. I've had a Nexus 5, Nexus 6, Pixel 2XL, and I currently have a Pixel 5. Because the Pixel 5 will be leaving Google's support window here this year, I'm looking for a new phone.

I will most likely switch to an iPhone 15 Pro. The reason for me is that my wife and kids are on iOS, and it's difficult to manage things like app approvals and family data sharing when my primary device is an Android phone. The Pixel 8 does not look like much of a jump from even my Pixel 5, so it's not compelling enough for me to stick with that line.

You're right that the two ecosystems are largely the same. There are some things I'll miss from my Android phone, though. I find the navigation on Android remarkably simpler than iOS. I find the quick-access and notification management better designed on Android. I'll miss a native Firefox app with uBlock Origin for ad-blocking. There are a few games I like that are Android-only. Specific to the Pixel 5, I'll miss the rear fingerprint sensor.

All those things are not super-compelling, though. The compelling "feature" that's causing me to switch is it's simply easier to use the same ecosystem as my family, and Android cannot provide that (and Apple won't let them).
> it's estimated that 50% of the inflation in Europe is due to margin

Is this just constant margins being spun as conspiracy?

Say I have a 10% margin on a $100 product. Costs rise 10%, i.e. to $99. If I want to keep a 10% margin, I raise prices to $110. How much of that price rise was inflation versus margin increase? Will someone now claim that 90% of cost rises were due to inflation and 10% margin? (Keep in mind, too, that inflation is forward looking.)

Put another way, how enviable have manufacturers’ margins in Argentina, Turkey or Zimbabwe been?
I think it has to keep it for externally visible functions, right?
I'm sorry you went through that. I guess this is why others probably went to the third party sites in the first place but I went to the local site to avoid the third party site and got burned. Was that the reason you booked directly or was there no other option?

>ii) Don't be afraid to ask for help, try to talk to a human next time something like this is happening.

I'd just like to clarify that in my situation I only filed a chargeback after a lengthy email chain that went back and forth for a entire day where the hotel was adamant that they would not offer any recourse, no refund, no credit, nothing.

>2) Booked a hotel through super.com because they had the lowest price. I didn't read the fine print, so when I showed up to check in, I was informed that I owed a resort fee or something that more than made up the difference. I ended up paying slightly more booking through super.com than I would have going direct.

I think everyone gets burned by this at least once in their life. These "resort fees" are a complete scam that originally were meant if you were going to use enhanced services at the property such as the pool or gym. Now thanks to years of enshittification its just part of the bill. Make it the real price then!
> perfectly literate

Does this not include handwriting as well?
cybersyn previously on HN

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

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

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

(there are more)
Google exec: Microsoft Teams concession 'too little, too late'
Just if anyone didn't notice the top reply is from Elon's ex-wife Justine Musk, and here response is point on.

You become a billionaire by accumulating wealth. What is wealth? Wealth is something that other people want! It could be cars, gold, influence, a piece of software that saves people time.

She is fundamentally correct.

Elon became a millionaire by helping build a product that solved a problem many people had (how to pay each other on Ebay)

Then he became a billionaire by strategically gambling his millions buildin products that people absolutely needed: low cost reusable rocketry, affordable electric vehicles, and right now, global low latency satellite internet.

The power of wealth is evident when you build a product where even people that justifiably dislike you (for being a douchebag and spouting Russian propaganda) need to use your product regardless (Starlink)
Or even simple glasses which turn the view upside down. Human eyes were able to adjust itself (or the image) correct way after few hours.
I had such a terrible experience w/ Google CS from owning a Nexus 5 10 years back that it drove me away from their hardware products entirely.
I'm curious why this seems (from the reviews) to be an issue only on Android?
I wasn't very clear what my point was:

What is wrong with relying on the trademark for such a body's seal of approval, rather than constructing what is essentially a trademark on the name of a product, which is already firmly part of the commons?

Why do you need to prohibit others from using the name Parmesan, when consumers can look for the seal (if the body is trustworthy)?

> Olive oil is just...

https://www.forbes.com/sites/ceciliarodriguez/2016/02/10/the...

Salient bit:

> Even the labels bearing the coveted "Protected Designation of Origin" or PDO stamp indicating the precise geographical origin of a particular extra virgin olive oil to ensure the quality of that region’s agricultural products, and which are subjected to more strict controls, have not escaped the illegal trend.

If the government-sanctioned group that gets to essentially trademark terms hundreds of years old (and take them out of the commons) can't do a good job ensuring that the product isn't adulterated, maybe it would be better if these were industry-established groups that could compete with each other to establish a reputation of reliability.
The easiest improvement would be increasing the square footage per employee enough that people can have offices with doors.
Who says they aren’t stealing?
I think they're referring to the Internet.
AI may outperform most humans at creative thinking task
Generically, Portainer can manage multiple servers at once, each running their own Docker.

For home server usage, I just use it as a frontend to docker-compose files that gives me a pretty UI I can access from a web browser, instead of needing to SSH in to the home server.
In poorer countries like Vietnam it’s expected that you will have to bribe airport security & customs
If you used J2EE in 2012, did you happen to get that idea from a very old book?

J2EE ended in 2005. So if you used it in 2012 it may explain something.
They most certainly repair them. You can get AppleCare on the watches and they'll repair devices outside of AppleCare for a fee - going all the way back to the first watch.
The context of the story in that JRE episode (https://www.youtube.com/watch?v=Eco2s3-0zsQ at about the 49:30 point) is "some things are explainable, here is an example"

But, if Fravors story isn't credible because of that, to me it doesn't change much:

- The "tic tac" video recorded from that encounter wasn't recorded when Fravor was in the air, he was back at the carrier. It was a follow on flight that had their aircraft equipped with targetting pods.

- Fravor's aircraft had a backseat WSO who witnessed what Fravor saw, to my knowledge that officer hasn't spoken in public or denied Fravor's story

- There was a second aircraft in the air when Fravor had that encounter, also with a pilot and WSO. The pilot of that second aircraft has interviewed confirming Fravor's story.

- Radar operators from the Princeton operating the AEGIS radar have interviewed saying that they also saw the objects.

- To my knowledge no one, either in the air, on the carrier, or in the air wing has stepped forward and claimed that Fravor, or anyone else was lying, or making up stories.
It is funny that it came from a store that sells "bulk" items. What used to be the standard is now oversized. :facepalm
Newly Discovered Spirals of Brain Activity May Help Explain Cognition
They replace it with a new one, and recycle the components.
> You are destroying this country with your stupid shit.

Literally zero surprise that you assume anyone with an internet connection is a fucking American.
It appears that the screen and battery are both fairly straightforward replacements, about as easy as any modern smartphone. It would shock me if they weren't performing these repairs.
Because they have a separate Fresco Logic FL1100SX USB 3 controller that would add cost and take space and power which is not much of an issue on an iPad but is on the phone.

The A17 is the first Apple A series SoC with USB3 controller built in while previous chips only had USB2 on the SoC.
... right. I thought 16 felt a little small. Thanks for the catch, updated
And as a programmer who preferred more c style languages, vb.net sucked (and I understand that's just, like, my opinion man). Way more verbose with weird syntax. Can't remember the exact syntax for lambdas, but it was a joke.
Because cars are bigger than people...
NodeSpell, no-code IDE for web dev [video]
Hello, Hacker News community!

I'm Chuang. Together with my friend ZP, we've spent the last couple of months crafting "NodeSpell", a new web development platform. It's still in its early stages, but we're thrilled about its potential and wanted to share a sneak peek with you all.

Drawing from my experiences in the film visual effects industry, I've witnessed significant advancements with the adoption of node-based apps in film and TV post-production. Yet when I tried my hand at building a website last year, the available platforms felt limiting. With little web development knowledge at the time, I struggled to find a tool that combined user-friendliness with genuine customization. I just don't really like how much of the template feel you get from the website builders?

This sparked the idea for NodeSpell: a node-based system tailored for web development, accessible right from the browser.

We understand that nodes aren't a one-size-fits-all solution. Initially, we're aiming to cater to individuals with a foundational understanding of web development concepts. Over time, as we refine and expand, we'll open it up to a broader audience.

I invite you to check out our sneak peek video and would genuinely appreciate any feedback. Let us know your thoughts, Thanks!
Literally the only example of a (maybe) self-made billionaire I can think of is Rihanna. Possibly confounded by the fact that she was a successful musician long before she was a billionaire, which obviously brings a lot of leverage with it, although IIRC she did get into her music career fair and square (grew up in Barbados with no special connections, no rich family to buy her a spot on a label, etc.).

So that's... one. Maybe. Struggling to think of even a single additional example.
I dunno, when Vision Pro was announced they ran a lot of short format ads for it afterwards for those of us who missed the keynote. (... and talk about the kind of thing they can't do a live demo of)
Russia bad, I get it. But this is ridiculous.

The flipper zero is using off the shelve components and the firmware is open source. What more do you want?

You don't need to use the android app if you are worried about malicious future updates.

All the possible scenarios he lists could just as well happen to a US based company like being pressured under the patriot act to alter the app and collect keys.

Having a device built by actual hackers appeals to me way more than some coorperate gadget.
If my use of "actual work" offends you so greatly, you can replace "people doing actual work" with "people you manage" and my point stands.

Managing competing priorities and setting company-wide direction are certainly actual work - but regardless, that's pretty tangential to my real point about leadership.
Pretty sure that's what happens with AppleCare+

https://support.apple.com/watch/repair/express-replacement
We’re just talking about a single role at the airport . And there’s crime in this world whether you want to discuss it or not.
You're just making the parent's point.

He's saying banks/funds don't do this. The words were "From a bank/fund perspective".

You're saying large tech companies (not just Google) do.

Hence the impression is, big tech is not being careful to follow rules, they are just trying to avoid getting caught.
She is clearly in a crisis where she is facing losing a lot of external stability.

I think the Venn diagram of people who “must write” despite having no idea what they are writing and the people who have issues with ego over-expression is pretty close to circular.

I am somewhere between “is editing your writing how Jake wants to spend his last days?” and “this might be the only way she feels like she can still connect with her partner.”
Thank you for ‘this’. My first reaction was, wow, look at that vivid red! I wonder what kind of material they found to make that — so I’m off to get some more coffee.
Introduction to Hilbert Space (from a physics perspective)**

I prefer Halmos' book.
Blender took over twenty years. The user interface used to be awful, and it's still not that great. The standard Blender question with a new release is "where did X move to?"
Your comment also seems incoherent.

You’re comparing the concept of economy-wide inflation with the basic supply-demand economics for one item.
Arcades in the 90s used the countdown clock,more lives type buy in. You bought time, or they would make the game so seriously hard you had to feed it quarters to keep the game going. Paying on an instant 'hey you could use more ammo for 50cents' at a exploitive time is something I am surprised we did not see as a mechanic in arcades. But they probably would have if they had thought of it. But the idea of feed more quarters in to keep playing was most certainly there.
They fail constantly in cheap Chromebooks. And then there is no other way to charge the laptop, so it is junk unless you get inside and replace it.
> some shelves might be bare the day before the storm but that doesn't mean people aren't prepared

I remember a study on New York following Hurricane Sandy. Fuel was out. Drugs were supplied. Because nobody was incentivised to bring in extra fuel before the hurricane hit; there was no margin to incentivise it. But there was an incentive to bring in drugs, because dealers could make a killing selling at a premium.

Price-gouging laws are the price of keeping the peace with a population illiterate in basic economics. (And in any case, there is always a black market in play.)
Modern Robotics Course I
Yes, I think so.

Water gets you dense, room-temperature propellent storage. Big solar panels give you lots of excess power. Converting small amounts of water into gas as it's needed and then burning it means you don't need to plan to store cryogenic liquid hydrogen.
If a working government existed (ie, before the US/EU destroyed a functioning one in the 2010s) then they might have been able to fix it in the past 10 years.
A nitpic, to castle, the king AND the rook must not have moved from their starting squares.

Using this approach, you would need to store castling available/unavailable for the kings as well.
29.3%, as directed by Congress. Not all of this allocation goes to Artemis/SLS, it's for the totality of all the lunar projects for which these projects comprise the largest part.
I did a very rough BOM analysis of just the raw components and if you buy them at their highest rate (1pc cutoffs), the raw component cost excluding the PCB was about $100 USD. My guess is you would be looking at about $200.

Personally, I would be jumping in if I could buy a fully populated PCB and take care of 3D printing, final assembly and software. However, doing electronics like this is far out of my wheelhouse.
> in general every person should face societal domestication as a stepping stone towards going into the wild with enough means (vehicles, equipment etc.) to conquer it.

That's what we as a society have been doing for a long time, and it's a huge part of why we're losing our wild spaces.

I'm very much an outdoors person, but I object to the notion of "conquering" it or bringing vehicles, equipment, etc. into it. Doing that destroys the value of the outdoors.
The article is very recent (September 2023 [1]), mentions that "rax is used to return integer values" in the SysV ABI (hence implicitly the 64-bit SysV ABI). Also confirmed in this excerpt:

> Note that the top 56 bits in rax are not zeroed – they contain junk. This is fine b/c the compiler will only make callers check the lowest bit of a register for boolean operations. This is why changing the compiler’s “understanding” (ie the cast) is necessary.

... and yet, the function ABI is clearly i386 (fetching arguments from stack) and indeed everything is compiled with -m32 [2] (i.e. 32-bit SysV ABI). This is a strange contradiction in 2023. On the Intel/AMD side, x86_64 has been prevalent (and the default) for... more than 15 years?

It does not invalidate the article's point. But it is slightly confusing....

[1] https://dxuuu.xyz/

[2] https://godbolt.org/z/ff8r44nKn
Oddly, search only covers brand names?

https://www.shrinkflation.io/search?query=soap <- zero results
https://www.shrinkflation.io/search?query=dove <- result has 'soap' in name
> If cats escape from their house, either the owners behave like royal a-holes with them, or very likely they were not spayed/neutered.

Hard disagree here. All four of my cats are spayed or neutered and the one is determined to go out and explore. She will sneak behind your back and fly through the door as it closes. She looks peaceful and sleeping across the room, but don't let that fool you -- she springs to life and flies out the door when you least expect it.

She once escaped through a basement window, about 6 feet above the floor with no objects below it, through a gap which was just a few inches wide. I got her back about three days later by setting up a motion activated camera and a bowl of food outside.

I've fostered over 50 cats now so I feel like I know and understand their behavior pretty well by this point.
It is incredible. Truly incredible. I know of no other FOSS project that comes close.
Sorry, I'm using J2EE when I really meant JavaEE. A lot of message boards and whatnot at the time still called it "J2EE" so that's what I remembered it as. I think the version was 6 at the time?
It's the same with corporate profits.

LMAO no. It's foolish to equate an individual selling a single asset like a car with businesses that can range from little niche supply workshops up to dominating whole industries. Pure laws of supply and demand only hold true under conditions of perfect competition, and much of what we call 'business' is about playing the meta-game - out maneuvering competitors financially, creating moats and other barriers to entry to keep competitors out of a market sector, using marketing to maximize product differentiation and shape consumer perception, leveraging regulatory complexity in one's favor or lobbying for it to be reduced in order to gain some cost advantage.

Real world markets are a lot more complex than the little toy ones used to explain fundamental economic concepts.
They also stopped getting updates in 2019 compared to iPhone 7's from the same year still getting updates.

Do those 2016 Pixels still have unpatched USB exploits?
>With the exception of skyscanner showing you the bare-bone fares where you bring your own seat belt...

I loled but ryanair was considering a "standing only" tier: https://www.theguardian.com/business/2012/feb/28/ryanair-sta...

Frankly maybe I'd prefer that to cramped seats.
> Cursive writing has changed significantly over time. The formal flowing cursive from previous centuries was already unreadable to students from two decides ago.

I had no problem reading 18th century scripts while doing amateur genealogy research. And I'm not specialist - almost dyslectic.
Hmm, he lost me on page nine where "complete" is explained.

> Complete means that every sequence of vectors |a1>, |a2>, ... satisfying lim ...

How are the elements of this sequence related? And why are we only interested in the elements where the index n/m goes to infinity? What does that even mean if the sequence is arbitrary?

That's probably why I also can't make sense of this:

> Loosely speaking, saying that a Hilbert space is complete means that it contains all of its limits.
I was thinking about no-tradeoff truths. But you’re right on those tradeoff situations.
It is of course possible to break these rules via promotion, e.g. having two dark square bishops is entirely possible.
Google to pay California $93M over location-tracking claims
Nice! Though there are max 32 pieces on a board, not 16; so this scheme is 64 + 32 * 4 = 192 bits, or 24 bytes.

The bit to indicate whose turn it is isn't accounted for here. But it probably could probably represented by the binary negation of the bitboard -- if there are 32 or fewer bits set, then it is white's turn; if there are 33 or more bits set, then it is black's turn and you can negate the bitboard prior to determining which squares are occupied.

Taking things further, it probably can be compressed even more with (much) more complex logic, as the castling available bit must only be present on the corner positions, and the pawn en-passant capabilities are only available on the middle rows, so those bits are meaningless in other positions.
Samsung products are just data harvesting schemes built on top of Google products.
For anyone interested in playing around with SDFs, my friend and I made this open source library to make working with them more efficient, and you can write shaders using javascript https://github.com/shader-park/shader-park-core
Game developers should be hired to make an UI that allows scientists to accept “quests” and will show the public who accepted what and is collaborating with who on which problems with rankings. The reason to use game is to make it more engaging for everyone and also an incentive to go thru with it when in public
Paying huge sums for superior brands (Delta, Hilton) is one way to solve travel. It is hard if you are on a budget.
Also, database software gets so clever with storing games that they often can't save games that have illegal moves in them. But there are plenty real games from real tournaments that had illegal moves in them that nobody noticed...