skysight-inc/HackerNews huggingface dataset:
Immediate mode is a style of API where important state is kept in user code instead of being retained inside the API implementation. For example, an immediate mode GUI checkbox implementation does not store a boolean value determining whether the checkbox is checked. Instead, user code passes that information as a function parameter whenever the UI needs to be drawn. Even the fact that a checkbox exists on screen is not stored in the GUI library. The checkbox is simply drawn when user code requests it each frame.

Couterintuitively this is often less complicated than the traditional "retained mode" style of GUI libraries because there is no duplication of state. That means no setup or teardown of widget object trees, no syncing of state between GUI objects and application code, no hooking up or removing event handlers, no "data binding", etc. The structure and function of your UI is naturally expressed in the code of the functions that draw it, instead of in ephemeral and opaque object trees that only exist in RAM after they're constructed at runtime. You retain control over the event loop and you define the order in which everything happens rather than receiving callbacks in some uncertain order from someone else's event dispatching code.

Crucially, "immediate mode" is a statement about the interface of the library, not the internals. Common objections of the form "immediate mode GUIs can't support X" or "immediate mode GUIs are inefficient because Y" are generally false and based on a misconception that immediate mode GUIs are forbidden from retaining any internal state at all. It is perfectly normal for an immediate mode library to retain various types of internal state for efficiency or other reasons, and this is fine as long as the state stored in user code remains the source of truth. This can even go as far as internally constructing a whole retained widget tree and maintaining it via React-like tree diffing.
It’s an interesting idea and not without some merit. Some signalling systems do actually use the rails as a conductor already, although that’s just basically “is there are train on me or not” detection.

I’m getting out of my depth, but I’m sure I’ve seen at least one signalling system that uses the track circuit as a data signalling channel to the train to provide in-cab signalling, so I’d guess it’s at least theoretically possible.

I’d imagine it would have much the same challenges as radio in practice though - interference from poor connections and ambient noise, not to mention your channel is basically a massive antenna.
No. It's unnecessary. The contents of a DVD are compressed, so any errors would be highly visible at playback time -- so the format has enough error correction built in to detect and correct errors. This is a fundamentally different approach from audio CD, which doesn't have sufficient error correction built in, but relies on the inherent resiliency of the raw audio format to conceal errors.
C's greatest feature is that it trivially maps onto .so files. Linking to and creating .so files isn't just cheap, it's effectively free.

Most higher level languages I've worked with seem to focus on using .so files rather than producing them.

This means the lowest common denominator for the unix ecosystem is what C can provide.
Otherwise stated, unix is marching forward at the pace of C.
I can relate, and I was in a similar situation not too long ago. I remember dreading weekends because there was nothing to stop me from curling up in a ball and crying the whole day.

And honestly, if you've taken advantage of FMLA, you're actually doing better at taking steps to help yourself than I was!

Medication really helped me. I've been on bupropion for about two years, and it's made for a drastic improvement. I'm actually able to see things for how they actually are, and not let every minor stumbling block or criticism make me think I'm a complete and utter failure.

If recommend finding a mental health clinic nearby and scheduling an appointment to talk about depression. The appointment will probably take half an hour, and at the end the doctor will give you a prescription. This is extremely routine -- you're not suffering from anything a million people haven't gone through already.

If you're scared on being institutionalized or something, just... Selectively tell the truth. I mean, I can't say this is the best idea, but it's what I did when the psychiatrist asked me if I had suicidal thoughts.

I think the most important thing to keep in mind is that your brain is just another body part. If your knee hurts, you go to a doctor and get it looked at. If your vision is blurry, you go to an optometrist and get glasses.
If your brain is giving incorrect responses to stimuli, you go to a psychiatrist and get medication. It's fine and it's normal.
If anyone here wants some real life training on social interaction, take a once or twice per week part-time cashier job at CVS or Walgreens. Don't go for Walmart / Target, or a smaller convenience store. The middle ground of CVS and Walgreens is ideal, it has just enough traffic, but not too much. Do that for six months or so, and engage the customers sincerely. You'll have a couple hundred opportunities per week to talk to strangers and you'll get paid for it; they'll overwhelmingly be nice, older women customers, and many will appreciate the small talk.

You'll deal with shoplifters (confrontation). You'll deal with people that are upset and or having a bad day. You'll deal with mean customers occasionally. You'll deal with obnoxious coupon types that will drive you crazy. 97% of the customers will be pleasant, and in a slight hurry. You'll help solve their problems. You'll deal with communication challenges from time to time (slurred speech, health issues, different accents, etc). You'll interact with customers from a very wide variety of socio-economic backgrounds (from poor EBT card users to rich people, from teens to grandparents). So you'll see a broad spectrum of social interaction, in a quite safe environment overall.

One could take a paid phone-help job (support line of one type or another) to chat with lots of people, however the additional nice thing about the cashier job is that it's in-person. You also have a counter separating you from the customers (a bit of a shield for some introverts), and other employees in the store to back you up if anything unusual happens. The part-time cashier job is also not overly important to the store, so if you're working only one or two days per week you won't have very many other tasks put on your shoulders (which full-time employees will have).
I think because we use words like "faster" to mean "more stuff in less time," not just "feels like less time to you, but isn't."
Some kind of overlayfs type solution? With a non-writeable "default" lower state and a writeable upper state where the changes occur, removing the upper state would effectively reset the system.
I think of prototype as something to show that you can build something. No end user uses a prototype. End users use MVPs. I agree with GP
More likely to be remembered like the Shakers if it's remembered at all.

History belongs to those with children. The bike riding vegan city living set would surprise me if they have one full child per four adults.
The JVM is my lisp machine.
Yes, it is backwards.

But most economists agree that companies should not be taxed. Well, they should be taxed for things like carbon emitted, waste, resources used, value-added, etc.., but their income and profits shouldn’t be taxed.

Economists see the taxes paid by companies as being paid by their owners. So, if a poor person owns a share and you tax the company, the poor person pays taxes. Better to have the company disperse profits to their owners and then tax the rich owners.

https://www.npr.org/sections/money/2012/07/19/157047211/six-...
We use Object Pascal (via Lazarus) and compile the code for each target platform. The apps concerned are (only?) dev utilities, but they're fast and have a small footprint.
While I'm sure 48 million km is "historic" for the ESA's solar probe, Parker's most recent perihelion was 8.5 million km: http://parkersolarprobe.jhuapl.edu/index.php

It's planned to hit 6.9 million km in 2025. (Ten solar radii)
bleak. why are there minimum wage laws that don't apply to everyone?
> Now attach some callbacks.

Not that any of this is relevant to immediate mode GUI, but the actual attachment of callbacks can be done identically in code no matter how the base UI design is done if you want it separately, but if you do it in code (whether with normal syntax or a funky transform like JSX) you can also have the option of direct attachment.

> With pure code, I have to attach the callbacks directly to the object.

No, you don't, but you can, and as it turns out, that's kind of popular.

> Theirs a reason you don't just use JavaScript to define React components

You can, in fact, but even when you use JSX, there is a reason you don't use actual (HT/X)ML code, but instead a language that compiles to, and let's you freely mix in, JavaScript.
IMHO order matters: Money first and then tradition.
This gets a lot of money to Pamplona and Navarra in general.
On the other hand bullfighting is more or less a similar tradition but is not giving money (Local and Regional govern and Private investors is artificially sustaining bullfighting) so is about to disappear.
Seems to be popular at the moment to say “MVP has failed” without showing any evidence how.

Just another attempt to kick start one more senseless hype cycle for no good reason
Pretty much FUD.
(using a throwaway for obvious reasons)

Working for a startup in a competitive space some years ago, we noticed that an employee of one of our competitors signed up for our service.
We logged their password, just to make sure they were not reusing that of their corporate mailbox... Unfortunately (for them), they were; no MFA on the mailbox either...
But, you wouldn't think they reused that same username and password for their admin backend access, which was conveniently hosted at https://competitorname.com/admin/?

Long story short, we had access to their entire mailbox and backend.

We had a quick look around, then realized it was probably not worth the legal risks exploiting it. Plus we weren't really comfortable on a moral level: it was clearly below the belt. Eh, at least we had a good thrill!

Note: don't do this, it is obviously illegal.

Second note: when signing up at your competitor's, don't reuse your password!
So hard not to automatically press start.

But one could also use fridge for this test.
> people aren't writing software

Maybe not OSS, but somebody is keeping Lispworks and Franz in business.
Great questions, thank you. Looking only at completers creates selection bias, for the reasons you articulate. In published studies, we compare interventions to control conditions (ideally an “active” control, or something that has some purported therapeutic benefit). We love the Trevor project and work hard to get candidates on our platform to that resource. We have done some comparisons with other life lines and the issue is some have incredibly long wait times and drop-offs. Ideally, we can offer both. For the suicide prevention lifeline, we’re a resource that’s listed that people can access while they wait.

It is very true that self-injury is not the same as suicidal ideation, though they can certainly overlap. A common thought is that asking about suicide or presenting resources could be harmful or ‘trigger’ more ideation. The evidence to date suggests, on the contrary, that asking about suicide can actually reduce risks.
https://pubmed.ncbi.nlm.nih.gov/24998511/
https://www.cambridge.org/core/journals/the-british-journal-...
On the first claim, looks like you're right and I learned something. It is interesting to see the Canada Supreme Court were split 5-4 on the Schmeiser decision and did not award any damages to Monsanto, (but that doesn't mean they believed the second year of crop growth was by accidental contamination).

On the second claim, it's briefly described in Wikipedia (https://en.wikipedia.org/wiki/Monsanto_legal_cases#Dicamba). The second claim isn't about GMO spreading directly, but rather about how you may have no choice but to grow the GMO variety (and pay for it, and lose revenue if you were growing something more profitable) when in the neighbourhood of other farms growing it, which has a similar practical effect on individual farmers regarding "you’re still free to go back to non-GMO varieties".

Lengthier article here (https://investigatemidwest.org/2020/12/04/buy-it-or-else-ins...) "‘Buy it or else’: Inside Monsanto and BASF’s moves to force dicamba on farmers" [...] [...] "His neighbors who spray dicamba are frustrated with him, he said. There’s an easy solution to avoid damage, they tell him: Buy Monsanto’s seeds" [...] "As the damage has continued, he said, more and more of his clients are “feeling bullied into” buying the dicamba-tolerant crops. Others tell him, they have to spray dicamba or else they can’t control the weeds."
self hosting at home or self hosting on a 3rd party server? I'm also interested in going down this route.

How do you handle the fact that supposedly most large email corps mark your emails as spam?
Salient point about listening/reading their response, another tool in the social/life tool belt.

Re: weather, its not really about that, it's just opening the door that more often than not leads to a pleasant, random conversation with a total stranger.
Probably why they wanted to buy ARM and got shut down.
I remain in awe that we trust the very cheapest plastic under repeat load and thermal cycling to form a -40dB seal, turning 700W into 70mW. Also, it seems that the outer metal shell of the device forms an active part of the circuit, so if it isn't plugged into a grounded outlet it sits at lethal potential. Then there is beryllium oxide in the thing...

I kind of doubt an independent inventor could bring this to market with today's startup climate.
It seems that the author never heard of AirMessage Signald, Whatsapp Business API, Beeper or any of the malware infested clients for end to end encrypted chat apps.

Bridging is already happening today, the best we can do is ensure it happens in as secure a manner as possible, which is much more difficult when a closed platform is actively hostile to bridge users.
I strongly disagree. If you are idiot enough to microwave your own phone, that's on you. This post is fine, and interesting.
> What matters is large-scale development,

Not for the kind of computing being talked about.
My bluetooth speaker always cuts out when nuker is on, but never notice any issues with wifi - wonder why.
Good. The per-device message encryption UI/UX is one of the main reasons matrix/element sucks to use. Is it valuable? I'm almost certain. Is it a huge blocker for the average user? Yes.
And yet the crypto streaming scams persist on YouTube. I don't understand how the feds in only 3 months were able to make an arrest, but YouTube cannot do anything. Nor can the feds compel YouTube to stop the scams. This show that if the government wants to crack down, they can. Three months is lighting fast to make a case. Often these things take years. Memo to scammers: do YouTube scams, not nft scams.

The feds though may have weakened their case by being too fast, because the defendants, with the help of a good lawyer, can argue that they were going to refund the money. Had the feds waited for the defendants to splurge, then that defense would fail.
But that's not a problem per se. The speed of light is only a limit locally but globally there is no such thing and in General Relativity there is nothing preventing time travel (closed timelike curves) at a global level, even though the existence of such curves is rather unlikely.

The paper notes:

> Interestingly, they are allowed in the quantum theory, but with one catch, the time it takes to go through the wormhole should be longer than the time it takes to travel between the two mouths on the outside.

Does anyone know why exactly "quantum theory" would impose such requirements? A priori to me it sounds like quite a stretch to take a local theory like quantum mechanics to make claims about the global topology of the universe, given that QM and GR haven't been unified yet. Unless of course by "quantum theory" Maldacena actually means "string theory" or "AdS/CFT" – which wouldn't surprise me at all.
isn't hotmail dead? I thought microsoft bought msn and hotmail. Isn't it now @outlook.com email domains and no new hotmail accounts? I have some family members that have hotmail addresses but thats due to legacy support.
Is the audience intended to go beyond people who are proficient in Japanese?
> Not much is known, at least publicly, at this stage about CVE-2022-1096 other than it is a "Type Confusion in V8." This refers to the JavaScript engine employed by Chrome.

Is there a safer JavaScript engine folks can use without having to worry about this sorta thing? Even if it's slower, less compatible, more resource-intensive, etc.?

I feel like, in most cases, I could make due with JavaScript being 10x or even 100x slower, taking up 10x the RAM, lacking some uncommon features, and so forth -- if it meant being able to enable it without needing to worry about new zero-days.
> SSD is fast enough that buffering SSD in RAM is mostly unnecessary.

A very strong claim, which I'd contest depending on what you're caching. If it's application code then probably but if you've lots of data which you're expecting to re-read such as with a database with many gigs, I really disagree with that. If an SSD had say a 1 gig/sec bandwidth for reasing that's about 22 times slower than my arthritic 7-year dual-channel RAM bandwidth[1]. A more modern higher spec server will have more channels (and hopefully more modern, faster ram).

Can you elaborate a bit on your thoughts?

[1] and the path to ram may not have as many page faults -> kernel switches as reading from an SSD, but I may be wrong and it may not matter
Indeed, it's generally not considered legible on any common devices: WCAG suggests to ensure suitable perceived contrast ratios [1], and there are checkers around [2], while this page's #f00 on #36393F is far from meeting those.

For the safety's sake, might be nice to also recommend to unplug the microwave oven altogether as the first step.

[1] https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-cont...

[2] https://contrastchecker.com/
Why not 0 km?
I really liked that his wife figured out how to submit a support ticket to send the death notice to his company, seems fitting in the age of remote work and in no way diminishing. As a tech geek, the tools of the trade are as comfortable as a favorite sweater, there's nothing wrong with a support ticket.

Reminds me of something slightly humorous I encountered back in the 90's, based on my particular career path. I had used unix extensively in the time before tilde meant "login/home directory". Then I moved to windows and was doing C++ dev, where tilde means destructor. Reading Slashdot one day, there was an announcement that somebody had died, with a link to page about him, and it used an URL with a tilde and his name for his homepage, they way universities often did. Not knowing the convention, I thought "oh cool, somebody set up a memorial page and they used the destructor syntax in tribute!"
Something tells me the wormhole also costs energy.
It takes a village to support a successful bakery.
Fellow mailinabox user here. I love how their system “just works”, and wish there was more support for getting mail servers back in the hands of the masses.

Something that I very much enjoy is that mailinabox comes with nextcloud installed, which it uses for its exchange activesync calendar. I can sync everything from my keepass database to contacts and reminders to my mailinabox across devices.
That instruction is a very small hack that uses just a few transistors to speed up a bit of data conversion that JS runtimes do frequently. That’s a far cry from a specialized chip.
As someone that have lived in both Boston (USA) and Berlin (Germany), I don’t agree. What places in Germany are you comparing to US Macdonalds?
a cheap consumer RF meter detects "high" levels of RF from 5+ feet away, at least on the 4 or 5 random units I've tried. So the faraday cage doesn't seem to be doing its job in full.
Love the idea. But there's a snag. If I search for my town, I get a lot of “likely not available (last seen years ago)”. If I click on “recent”, I get entries from all over the world. It seems to me that being able to filter by both would be essential to be able to actually find a piano.
Can you state what these problems are? I have voip.ms but haven't actually used it as my primary number for awhile. They have SMS (using their custom app) and VoiP using SIP. Its too bad native SIP support in android (google pixel) wasn't that great for me which is why i stopped using it
This seems relevant:

https://ourincrediblejourney.tumblr.com/
Tropical places where they would be most useful are often not so officious.

There is always a ready market for ammonia, and demand will only ever increase.

Bitcoin will be an investment so long as people actually want to buy them. The moment they don't, it won't be anymore.
Hey there We are building cvcreate,
a one-in-all application hub.
Create CVs in minutes, switch templates, change languages, share them with one click.
Looks like Qt is one available backend and they have a OpenGL-based one as well.
It's not even close to essential, since by far the majority of businesses are running without anything close to what people on HN would consider adequate. It only becomes a problem if too many of your competitors have good tech and even then only if your industry depends on (software) tech. Companies like bakeries and building contractors can run fine with shitty IT and even if their competitors do IT better, no customer is going to drive further to get a bread from someone who has proper backups instead of from the closest shop.