skysight-inc/HackerNews huggingface dataset:
In 2022 developing software for iOS (now iPhoneOS) feels like you're working for Apple for free.

You have to look closely to new requirements that they roll out every few months. You should use Apple products in your app or gtfo (e.g. login with Apple ID). You have to update your laptop every few years because Xcode (which is monumental PoS) requires new MacOS that your hardware doesn't support. And when you go through all this trouble, you have to literally beg Apply to admit a new version of your app. You even have to pay Apple to be able to write apps for their phones/tablets.

I'm so glad I jumped off iOS development a few years ago.

If you're a young developer and still not decided what area suits you the most, think twice before entering iOS and MacOS development.
Stephenson's take on e-gold might offend some libertarians too! In all seriousness, as I recall it the weirdness about women was mostly in-character views of nerds whose perception of the wider world isn't necessarily supposed to be that reliable, and the male-dominated cast actually makes sense in context. There are other Stephenson books more likely to annoy people in terms of gender roles and digressions about liberals and universities...

But yeah, Stephenson isn't the author to start non-sci fans on (though Vonnegut fans might love Cryptonomicon and spot an influence or two). Atwood's Oryx and Crake is probably my answer to that, since it's classic near future sci fi disguised as literature. The first book is all about near future society and the implications of plausible tech, she just writes about the people in it and doesn't waste words describing the details of stuff they wouldn't know or how it actually works. And the subsequent books are cliche-trope heavy dystopic sci-fi and still probably doesn't feel that way to people who tend to avoid that stuff.
My question is whether that assignment survives standby of the PC. Reading https://unix.stackexchange.com/questions/336037/mapping-of-u..., I’m not sure it does.

Certainly, a bus scan has to happen to detect whether devices (including USB hubs) got unplugged or plugged in during standby, so if that scanning isn’t guaranteed to always produce the same result (e.g. because of jitter in the timing when various devices come online), I doubt that’s guaranteed to produce 100% identical information.

It’s a question, though. I don’t know enough of how this work to definitely answer that.
All it requires is the court system.
Scrum's formal, recurring decision meetings allows executives to retain the role of decision maker while avoiding participation in the daily rhythms of creation. Of all of the currents in the agile wave, Scrum was the one with the most formal process, and the one that most prioritized the needs of external stakeholders. It might be the best that you can do in organizations that will never delegate actual authority down to the team, but it doesn't make it pretty, or effective.
The manufacturer isn't assigning UUIDs, we're talking about what macOS considers a display UUID. MacOS will generate a UUID based on the manufacturer, the model, the manufacturing date and the serial number, and the intent is truly that these UUIDs uniquely identify the display. It just doesn't work when multiple monitors have the same serial number, which isn't supposed to happen.
Every language has the errors that it thinks you should not be allowed to make, and the errors that it trusts you to make on the assumption that you can determine whether you meant to make them better than the compiler. People complain on both sides of the permissiveness spectrum—they want a language that allows them to make exactly the errors that they want to make, but, of course, that set of errors differs from person to person!
I don't really understand this question. We're talking here about the canonical "Hello, World!" program in each language.

In C that program is written in K&R. In Rust (like several modern languages) that program is provided automatically as a placeholder when you start a new project.

The C program, as I explained, just presses on anyway if there's an error. For example if the standard output on your Unix terminal leads to the full device, that's ignored and the program exits with a success indication.

The Rust program, of course, will panic, and the program exits with a failure indication (if your standard error leads to somewhere the panic report will be sent there unless you've asked for panic to abort)

It's a difference of convention. The convention in Rust is that we should care whether things fail, and if we don't know what to do about them failing we should panic.
Ah I see, so each of the values that are shown in the inspector should become its own observable object? That sounds reasonable.

> But in reality it's probably re-rendering the entire hierarchy using the @EnvironmentObject. So the SceneKit view gets setup and rendered every update of the Slider.

I get that this is slower than only updating the single value, but what I don't understand is why even this is so slow? Browsers can render the right hand side of this inspector UI (https://chsxf.dev/assets/posts/5/map-editor-with-inspector.p...) at reasonable speed even if you rebuild the entire DOM for the fields in the inspector. I mean, it's one checkbox, one slider, and 7 text boxes and a bunch of labels. What is taking so much time here?
That's pretty uncharitable of you. I am an infra person myself and while I appreciate the parent's point about making themselves available to pick up other things on a dime, I was trying to point out that you can also proactively identify needs and address them as an infra person, often in ways that can be applied to other teams and that this is very much not asking for what they should be doing.
It's an extension of the trend for sites to have all kinds of modal popups for new users, or to alert users to new features, that are shown once or a few times and then stop. It's probably a good idea in general, though I don't like them if I have to dismiss them manually. At least please make them go away if I hit ESC.

It might be a cool thing if a site prompted the user at some point "You've been using our system for a little while now, would you like to try a denser/more compact layout?"
This happens on Newegg market place as well.
Have you tried out the "Serverless, but still Containers" offerings they have (Google Cloud Run et al.)?
don't you get the same benefit if you version controlled the db file with git? with git, each commit saves a diff from the previous one as a blob. the difference is that in git, in addition to the diffs, you also have to create a working copy of the db, which means you use up at least 2x the storage your system uses. in your implementation, the diff blobs are the live db, which saves you ~2x storage. is that the main benefit?
You're assuming the ports enumerate the same when the system wakes back up.
... as thoroughly explained in the article.
Another article that refuses to call them finite state machines
I used to feel the same way but lisp gets easier to read with practice, and unless you're writing code in notepad.exe or nano or something, your editor will show you the matching paren.
The zigzags of politically correct opinion in communist regimes
And if anybody is interested in a well developed alternative Lisp syntax in this manner:

https://readable.sourceforge.io/
I don't think they have ever added one of these useless restrictions on California yet it's been mostly posturing. They blame the lawn, and you have people peacocking about their dry lawns in an effort to gain social brownie points. I'm surprised they still blame the lawn and havent moved on to pools or something more easily associated with wealth to really try and stir the poor vs rich debate.

Meanwhile even if no grass was ever watered and no pool was ever filled it would amount to absolutely nothing since those things are measured in billions but the water used by farms is measured in trillions.
How to Create Multi-Boot USB Drive Without Ventoy – Grub FTW
DIY Cutting Oil Dispenser (2021) [video]
Most companies/consumers only need professionally printed stuff like that rarely though, and when they do they go to see a printing professional who will do the necessary conversions for them.

For web use, app use, or other display-based use, RGB (and related) is usually enough, and that’s what people have been using the GIMP for.
The good thing about the old brick an mortar system was that there were experienced buyers between the manufacturer and the brick and mortar store. Suppliers had to submit production samples to the buyers to evaluate. So everything you bought was vetted.
Why NASA Is Going Back to the Moon
yes, in the same way architectural building decisions are subjective. It would be bad to design an office building if you were supposed to design a school, and it would be bad to only have one door to a school and no windows, etc. Does it matter if you use bricks or steel or aluminum or glass or concrete for the exterior? Not as much.

generally there are requirements that you need to meet, constraints that you need to work with and known anti-patterns to avoid but there's a lot of freedom in the implementation
I couldn’t agree more, especially the bit about Xcode. I don’t even do apple development but still have to deal with it on every upgrade. What a pain
I think it would be perfectly reasonable to simply choose not to operate in countries where the environment is such that your platform is likely to get people killed.
Right? Any keyboard can generate "harmful" content, do we need to figure out how to prevent "harmful generations" at the USB HID level?
Depends on what you mean by info - founders (me included) sometimes mistake dreams and wishes for sure facts. This can backfire spectacularly if the hype doesn’t pan out.

So like everyone else I say you should most definitely over-share but only once it passes facts check. Whatever that means for you & your company.
So how would you classify what Apple did with the iPod and then the iPhone? Did it define and shape the future? Or did they find out what the market wanted and solve for it?

It seems to me both approaches are valid. One approach builds the future that most people imagine and want. The other one builds a future that one person, or a small group of people, imagine and want. Certainly the former is more likely to succeed, but the latter might yield more interesting results if successful.
Yep, I've found the same to be true. Hopefully at some point the model is optimized to introspect complex lighting / textures a bit better.
In my experience loyalty is almost entirely a matter of who feels trusted and valued... in which sharing information freely (or appearing to) is a major factor. Especially when that information is directly relevant to them and their own financial security - even if you're just making wages it's still nice to know that your employer is stable.
Ask HN: When did people stop being told not to eat or drink around computers?
When I was a kid (in the 1980s), I read a number of "introduction to computers" books.

I remember that an extremely common thing in these books was statements like "never eat or drink while using a computer" or "food and drink don't belong around computers". This was paired with computer lab rules (in schools) saying the same thing.

I'm drinking some tea as I type this on my laptop, totally violating the rule! (and exposing my laptop to some degree of risk)

When did computers become cheap enough, or personal enough, or integrated into daily life enough, that the no-food-or-drink rule fell by the wayside? Did anyone remark on this at the time?
That's funny, for me dalle2 is in practice miles ahead on pencil sketches, but stable diffusion is cool because the parameters can be customized, which helps with many phrases. Also, you can just leave it running and producing images for an hour.

Also, there's no content filtering, but I don't recommend playing around with that if you're sensitive. The lifeless husks and various mixes of body parts I got when playing around with it with fairly benign phrases could very well be used for a horror movie.

It might be that I haven't yet found the right phrase for stable diffusion for pencil sketches though, as for dalle2 it's just "<describe what you want>, artstation, pencil sketch, 4k" to generate consistently great pictures.
Kind or sad to see divide and conquer among independent open source ISVs
HN admins/mods are able to give posts that they deem interesting a second chance.
I'm sorry but your comment is now a child of a flagged post and so nobody will read what you and I have to say so it isn't worth pursuing this discussion.
I agree! There is something very beautiful about people having the time to just think and learn, without access to distracting technology or practical concerns. I wonder what would happen if this was a real pathway in society. I also wonder what were to happen if driven individuals would take sabbaticals in places like this - what kind of ideas would they come up with?

Superb book in any case, may pick it up again.
These are two quite different cases from "what happens to the domain" perspective, and for Namecheap I don't see the formal problem - I don't believe the accreditation requires them to never terminate a customer contract, and the domain remains active and can be transferred.
Stop whining already.
It was a joke, don't take it so seriously...

But as an Austrian myself, piracy was alive and well when I was in the age group where that usually happens and many "regular" people used free streaming sites when kino.to and others were still popular.
Kaliningrad belongs to Russia, and donbas belongs to Ukraine. But that's war. You hit, you get hit.

"Let's not expand war" is what the aggressor wants, because then the aggressor knows he can escalate as much as he wants, since his opponents won't escalate further. The aggressor gets to control the pace.

Yes, escalating war is exactly the right thing to do in this situation. While keeping the door open for Russia to deescalate at any moment it chooses, by leaving Ukraine.
None of these 'mainstream' languages use a data structure for writing and manipulating code like Lisp. The use of Lisp is thus very different and Lisp programmers find a more compact notation more useful.

> you will at a glance see which contexts you just closed

the text editor does that for me

> how people format code in every mainstream language

Python code formatting looks different from Java code formatting.

Python code:

for h in range(0, height):
for w in range(0, width):
v = bw_image.getpixel((w, h))

if v >= avg:
bm_image.putpixel((w, h), white)
else:
bm_image.putpixel((w, h), black)

Lisp code just looks like that. Only with added parentheses (because Lisp expressions are written as nested lists) and prefix notation:

(dotimes (h height)
(dotimes (w width)
(setf v (get-pixel bw-image w h))

(if (>= v avg)
(put-pixel bm-image w h while)
(put-pixel bm-image w h black))))
The beginnings of his books are pretty difficult too, since he just drops you into a world with its own vocabulary and weirdness that takes forever to understand or in the case of Seveneves does many hundreds of pages of infodump details on how they build their space stuff. I guess the middle parts and ideas of his books are usually a thrill enough to make it worth the other parts.
Could you give us a slice-of-life description of your AI life? Preferably without the violent or sexual aspects?
Pakistan and India aren’t exactly on great terms.
OpenAI's filters are a total joke. I tried to upload The Creation of Adam (from the Sistene Chapel), blocked for adult content. "Continued violations may restrict your account". Yeah, it has naughty bits in it, but it's probably in the top ten most recognizable pieces of art ever made. I tried to generate an image of "yarn bombing", blocked for violence. They have the most advanced AI in the world and they can't solve the Scunthorpe problem?
I just wish that Apple had used this big effort to update their ui tooling to instead 1. Bring in stylesheets to UIKit/AppKit, 2. Let us define UIKit/Appkit views with simple straightforward xml like android or xaml.
Oh nice. Yeah it sounds very similar. I never did a touch test to see if it was hotter but heat makes sense. The pink lines and distortions were always present once the problem started but eventually the previous image would fade away. I remember trying everything with no change (different computer, drivers, cables, adapter types, etc.) and also chalked it up to a hardware problem.
AI Engine Optimisation could be a good consultancy gig. Figure out how to get your clients the results they want by gaming the rules and filters.

Reminds me of the mysterious control of Conjoiner Drives in Alastair Reynold's books.
While social media is clearly doing a number on many aspects of individual life, the effects of massive sugar and lack of sun exposure on the body and brain have horrendous consequences, and are drivers of mental instability and physical disease.
Tomte ... tends to submit a considerable number of items.

<https://news.ycombinator.com/submitted?id=Tomte>
I'm only an amateur, but I doubt there are string players that "learn" equal temperament. I have no idea how I would find 440 * (2^(1/12) ^ n) Hz, for any n not a multiple of 12, in the way that I can find 440 * (4/3) Hz, or 440 * (3/2) Hz, etc. When playing with equaled tempered instruments like piano, you just listen for clashes and adjust dynamically, which is only going to happen in slower, sustained passages.

And you're right, we don't play "based entirely on just intervals." What we do is constantly adjust our intonation depending on whether we need it to be "just" with respect to something else (like other notes in a chord), or whether we are free to use a more "melodic" intonation. See https://www.youtube.com/watch?v=QaYOwIIvgHg for a good demonstration -- note that he talks in formal terms like "play x in the Pythagorean system," but I think you can largely see this as a rationalization of what players do naturally).

Finally, the presence of vibrato doesn't really obviate intonation concerns, sadly. There's a lot of theoretical debate about how the pitch of a vibrated note is perceived (is it the highest pitch in the range that determines whether the note sounds in tune? etc.), but in practice you can easily verify that adding vibrato to an out-of-tune scale will not make it sound any more in tune, nor will adding it to a shift mask a slightly-missed shift (if only!).
It's not strange. Twitter is a U.S. company, of course it takes a deeper interest in matters of U.S. politics than it does about every other country on the planet.
IMO, because C syntax sucks and makes people actually take time to read and interpret the brackets. In erlang and I think others people don't newline between closing delimiters either. In lisp the brain processes the parens automatically.
> SwiftUI came about because someone who has never been a software engineer

so... management?
You're right, Twitter is a gun and tweets are bullets that kill. It's a perfectly apt analogy. /s
No, the comment implied that browsers not allowing you to access websites on your favourite shitcoin without going through a normal TLD are not modern browsers.
Independently of the framing being stupid, that anyone thinks this is about an infra person being available to unblock a dev team or not is a perfect example of the confusion that can happen when "what should I do?" people get "what are we doing?" context.
But you check for updates every 45 seconds? Why?
It’s crazy how many aspects of the electronics in monitors are seemingly phoned in, even on models exceeding $1000 in price. Problems like non-unique IDs and EDID not being available right away are such trivial issues to solve and probably wouldn’t even cost that much in the long run and yet here we are.

I wish a company like Framework or system76 would get into monitors and open source their monitors’ electronics and firmware so at the very least, these issues could be fixed by the community.
Run the filter on the image output, not the written input?
Technically incorrect: ammonium nitrate on its own is not an explosive.
There’s a middle ground. For example, Akka actors have a become method which defines the new state. Erlang gen_statem events simply tell the state machine what the next state should be. Definitely nicer than just “next”.
Author here forgot The Big U and Zodiac. The writing wasn't as polished as his later stuff, but still good stories. U's weirdness rating would be a 5/5.
I think with web3 naming services (like ENS), regular people can actually own domains, since there is no service provider besides the blockchain
Do you want the food that is produced in the CA Central Valley (a huge, huge proportion of all US produce) or not?
Actually, they don't.
Out of curiosity, what framework/library/solution are you using for your text editor? I've been researching this space for a while and syntax highlighting text editors are rare and sparse.

There is this: https://github.com/krzyzanowskim/STTextView for textkit2, but the author ended up writing his own text input client.

How did you do about providing autocomplete, etc?

Thanks!
The main problem with Go when it comes to raw performance is heap memory allocation. `fasthttp` (and the rest of Kawipiko's code on the main serving path) does all it can to avoid any sort of memory allocation (or "heap escape").

On the other hand, Go's `net/http` uses quite a bit of heap allocation, thus it will never beat `fasthttp` in terms of raw performance.

That being said, the numbers are pointless... From what I remember Go's `net/http` is able to serve a few tens of thousands of requests per second, thus it won't be the main bottleneck.
Yes - in the US HDTV was a revelation for many people because of the much larger colour gamut, it was just so much better, in Europe is was mostly just bigger
Unfortunately, as with all standards, there's so many wonderful alternatives to choose from. I rather like Wisp: https://www.draketo.de/software/wisp

I wish all languages had the : operator that Wisp has. It's $ in Haskell. It simply says that what follows to the end of line is wrapped in brackets. So:

putStrLn $ somefunc $ process val = putStrLn (somefunc (process val))

Like a UNIX pipe, but moving to the left.
> Keep your phone in a closed bag when not in use, on the front of your body, like one of those "fanny pack" things, for example.

To add to that, cutting the bottom or side of bags on crowded trains is a known theft method, so if it is in a bag, beware anyone in your personal space, and don't assume the bag is full protection.
I _HATED_ Foundation as a kid. Only now do I realize that Asimov basically wrote a history book.
The reason why this is such a game changer is that it is not controlled on some central server.. its like saying paper and pencils can be revoked from people if somebody doesn't like what you do with it... its an amazing new technology.. let people use it..
Consumer water restrictions are 8th order concerns.

If we had a serious government in the United States they’d be talking about our annual export of 4.887e11 gallons of water to Mexico from the Colorado River.

That’s 1.5 million acre-feet for those more familiar with agricultural water units.

There’s your weapon against drought. Just, don’t export hundreds of trillions of gallons of water.

Also alfalfa exports to China are, in essence, water exports on the same magnitude. But that might be harmful to politically connected California farmers.
I see they've included my high resolution spectrum painter (which I also call "Stupid OFDM Tricks" in homage to Letterman).

https://www.youtube.com/watch?v=saac0ZtTeX4

https://github.com/drmpeg/gr-paint
Seems like it https://github.com/pwoolcoc/wren-rs
it's a mistake to equate information density with function, the more things I see don't matter if they are not legible, there are two extremes of course and a good design makes a good compromise (but removing whitespace completely isn't good, a better solution is customizable density per user)