skysight-inc/HackerNews huggingface dataset:
The idea of typestate programming and how it allows you to model all of the valid states and transitions between them is definitely useful in a lot of contexts. if you’ve ever had to call some init() method on an object in an OO language before you could call something else, this pattern would throw a compile time error if you violate that.
"outlawing" means a law, and the law is done by government.
I'm guessing these guys have never had Pigeon-Induced Severe Sleep Exhaustion Disorder. I ended up chronically PISSED due to some loud ass pigeons nesting outside my window. 4 hours sleep a night over a period of months sucks.
Not surprising since Ruby was inspired by Perl.
Niantic Studio: Free Browser-Based 3D and AR Game Engine in Beta
Phosphoric acid, hydrochloric acid, and boiling sulfuric acid: I should have paid more attention in chemistry lab. This is a neat project and answered a lot of questions.
Is that the fault of the system, or the fault of the tourists for visiting a new place and not reading up on local customs?
In 35 years of using Unix I've never come across anything like this. What tool do you use that this is an issue?
Exactly. And the national charity for this example does really good work in a lot of places. Like I said, I think it's just how the local chapter is organized.
It’s always a scam because money is fungible and unless the underlying asset itself is held by a separate entity, you’re always at the whim of the party in power.
There are already standard APIs defined for all of your item 1 from HL7 and ASC X12. Some of them are messaging APIs rather than HTTP/REST/JSON APIs so they can be a bit daunting to new developers. Most modern EHRs support those APIs but it can still be a huge amount of work to build interfaces to other organizations.
I think comma is probably one of the most commonly used keys for <leader> in Vim as well, probably for the same sort of reason.
I drove through a school the other day. The school was actually part of a 6 lane highway, like, it was built over it, the highway kinda formed a tunnel through a piece of one of the school buildings which flanked both sides of the roadway.

Not really sure what's up with that, but holy fuck did i feel bad for those kids. Just one of those things that makes you go "the fuck is wrong with this country (it was in the US)".
> No it doesn't.

What? Yes it does. To any native English speaker, “I and other X” means you’re part of X, always.
Sounds like they were asked for pretty broad guarantees. Not sure there is anything of substance here. Note the “any service”:

> “The sovereignty measures committed to by Microsoft do NOT extend to support of any services – this will always be likely to result in international transfers
You can't run whatever you want.

e.g. I used to install qlplugins on every new macos device as our company bought them. Then one day Apple refused to run any 32-bit library despite the fact that 32 bit code still runs natively on x86-64 chips (this when everything still ran on x86-64 btw).

Designers still ask me: "Hey, how do I see the dimensions of this picture when pressing spacebar to preview it?" And I have to say: "Sorry, Apple said you can't do that anymore".
That's the interesting part of the hack, and not attempted at all.
As do hybrids! Even mild hybrids like those new pickups
The pre-hat would be a free hat?
Eh, a bit overstated. None of them killed EVERYTHING, near as we can tell. Not even the oxygen catastrophe you're mentioning.

To do that would likely require liquifying the mantle entirely, or some similar scale event.

The last big one was approximately 66 million years ago due to perhaps the Chicxulub impact, and it wiped out most of the dinosaurs - but modern birds are descended from them, and the crocodiles and alligators survived (well, VERY similar looking ancestors) /just fine.

None of them could build space stations, nuclear reactors, bunkers, etc. That we know of at least. None of them could grow hydroponic food, or communicate at near light speed to the other side of the planet, or even know what any of that means.

The entire span of time something vaguely resembling human has been around is also 1/10th of that time, but there have been MANY smaller events with large scale extinctions.

I'm not saying it would be a good time, but there is no way every single human is getting wiped out by anything except a nearby Gamma Ray burst/Supernova, surprise planetary collision, or something of similar destructive scale. Things way beyond even our wildest dreams of destructive power.

Even if we launched every nuke every country has ever produced, while civilization as we know it would be done for, humanity would definitely persist. Even if the next war would be fought with clubs instead of nukes.

And even if all the oxygen in the atmosphere turned to cyanide - guess what, we do (technically) know how to deal with that, there are populations of people who are currently protected from that, and while most of humanity would die while we scrambled to adapt, humanity itself would not perish. At least not just from that.
It's funny, and it's vaguely advanced technology. Sometimes joy is a good enough reason for something.
He picks up the hat...
> C has had fixed-size integers since C99: https://en.m.wikibooks.org/wiki/C_Programming/inttypes.h

Good point! You don't tend to see them too much in the wild, but they're available, which is good enough for present purposes.

> Targeting LLVM IR has the drawback that it is not platform independent: Details of calling conventions must be modeled in the IR, so the compiler must know what ABI it is targeting and emit the appropriate code. Compiling to C doesn't have this problem, since the C compiler will handle calling conventions for you.

Ooft, that would be a rough one. It kind of seems like there'd be some benefit to a low-level IR that's neither platform / implementation-specific, nor has the warts of C, but I appreciate that'd be well outside the scope of this project.

> That said, LLVM would indeed have some advantages. Scheme has guaranteed tail call optimization, which you cannot guarantee with C. But LLVM does allow you to annotate calls as tail calls, and it can transform tail self-recursion into a loop for you.

I suppose this will need be handled manually in the Pre-Scheme transpiler itself. Losing TCO seems like it ought to be a non-starter for anything Scheme-like.
Because you need to be able to run numbers in your head for a lot of practical tasks, and inability to do napkin math can cost you very dearly
It isn’t a failure of accessibility.
It's cause otherwise "EVs are silently running over kids becomes another "we need incandescent traffic lights because for a couple weeks in winter LEDs don't melt snow"
I was curious and tried to find out what word Volta used when publishing his discovery, and it looks like he just used "batterie" in his letter (written in French) to the Royal Society: https://royalsocietypublishing.org/doi/10.1098/rstl.1800.001...

I was unable to find out who coined "Voltaic pile" after a few minutes of Googling.
If you’ve ever seen a pigeon nest, it’s actually hilarious.

It’ll be a couple of sticks just plonked on a ledge. They can be very proud of their nests and after the 9 seconds of effort put into the job, who’s to blame them?
Yes, you're right. I felt the gif wasn't polished but was too lazy to re-run. I removed it for now.
Simplified the README a bit too.
Hope is better now.

Thanks!
I’ll try this out sometime, but probably through docker

https://hub.docker.com/r/hublogix/minimal-ruby
I was planning to buy this + nuphy keyboard for portable workstation. Maybe +egpu for home usage.
Absolutely it is about trade offs, sometimes bugs are just an inconvenience and time-to-market is more important. But bugs can result in lost business and even lost lives, for example UK Post Office Horizon. Horizon was built (bungled) on the cheap, but the overall cost of that saving must be dwarfed by the financial cost of the resultant scandal.
> the pricing has been steadily falling due to increasing supply (more artists)

The average price has because the increase in supply (which, as you say, is being dramatically facilitated by digital technologies and will be even more so by AI) drastically increases the variability in quality.

I think your categorical statements don't take into account that large variability.

> art just doesn't serve any of life's needs

I have already explained why I disagree with this. I think your concept of what has value is too narrow. I don't disagree that there is much "art" produced that has little or no value--and I don't spend any money on it. But that doesn't mean I think all art has little or no value. Some works of art--the ones I've spent significant money on--have had a great deal of value for me, and for many other people.
This, and it also sends diagnostics to microsoft so they can try to glean how people use it.

The calculator app is open source so you can see the code here: https://github.com/microsoft/calculator
I like that quote.

For me, engineering is applied science for money. That's the main thing.
Someone is paying for everything you do.

We get into it because we care about the how more than the why, but we end up having to deal with the who is paying for this.

The boundary is fuzzy, engineering is heavily influenced by finance, otherwise it's just a hobby.

Formal methods are great or an awful decision depending on wether or not they make economic sense for your product or service at your organization's current stage.

Amazon EC2? A large, mature org, with products with extremely high fubar potential? Go wild.

Your startup where market-fit is not proven? WTF? Are you high? use that money on something else.

It's like unit testing, it in general makes great sense if the cost of maintaining the tests is lower than the opportunity cost of slowing down. If you're prototyping something that you'll likely throw away, it may be a bad idea. Once it proves value, you better build a decent test harness.

Startups take technical debt because it's cheap when the market fit is not demonstrated (you pay it back later once you have succeeded somewhat).

It's a rational decision.

You don't need perfection if you're building the wrong thing, first you figure out if what you're building makes sense, then you decide in what to invest.

On the other hand, if you're building a deep space probe, a large scale distributed system for hire, or any other thing were a failure is BAD (with capital letters), the extra cost of ensuring correctness is well worth it.
Monkey patching can be done in a controlled way using Kernel#refine
My smallish town budgets less than $14M/year for streets and $300M/year for K-12 education. I would not be surprised to find that ratio generally repeated anywhere in the US.
That's a fun story.

We raised roller pigeons after a pair showed up at our farm. They obviously escaped from somewhere, as they were red and tame. Until we knew what they were, we assumed there was something wrong with them, as they couldn't fly without doing loops and flips. That's what they're bred to do.

And they're delicious, as a side note. . .
If you can present a reasonably coherent case that something is tied to a targeted business outcome without ethical concerns my team will get it done no matter how unsexy it is.
For example,

https://www.theguardian.com/environment/2022/jun/03/car-tyre...

https://www.washingtonpost.com/climate-environment/2023/07/0...
Commaands?
I liike it
That is infuriating!

It also seems to not be true: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1508105/
Unless I am on an extremely poor connection the temp data and maps populate quickly for me.
This blog has some useful Linqpad tips: https://www.danclarke.com/linqpad-tips-and-tricks

In particular, keyboard shortcuts to toggle visibility on the different sub-windows, and using the Util class to prompt for a password I find to be useful.
Stock price is 100% based on demand and nothing else (well aside from new issuances or splits).

Demand is ideally a function of fundamentals.

The stock price being overvalued is irrelevant if “everyone” is buying it. This is a hyperbolic example but it plays out in the valuation of the sp500 when legions of folks just dump into an index fund.
But you can still purchase these one-time use cards with cash? That’s the case with my local transit system. Are there places that are eliminating cash altogether?
Quantum phenomenons appear non-deterministic, but there is no definitive proof that they are not.

But I think this is irrelevant to the question of free will: having quantum states randomly collapse insinde my brain would have nothing to do with freedom.
Sad to say, I filed a bug in an internal tool just two weeks ago relating to how it processes Windows linebreaks. The tool is written using modern languages (Python 3.11) and frameworks (FastAPI).
I've not worked with the Adafruit PN532, but for an extra $10 you can get a Pepper C1 USB from Eccel which is very easy to work with. It is a stand-alone device, so you don't have to connect it to anything but power. Has WiFi & BT built in and has a built-in web server to configure it with, you can have it make calls via REST, MQTT, WebSocket.
If it is unexplained and impossible to measure, then it might as well not exist. Just like deities, invisible unicorns...
you can also use access methods on structs in 1.17 so you don't need the Access.key hack with get_in
Apple Express Transit works with Octopus cards.

https://support.apple.com/en-us/118625

You don't have to unlock your phone -- just tap. If you have an Apple watch, just put your wrist to the reader.

I use this all the time in NYC and it's so fast.
I would say that it’s important to learn and use the vim basics, because you can generally login to any linux server or mac and edit a text file quickly and efficiently, but I would not spend too much time beyond that unless you really love it.
Finally something useful from “AI.”
Yeah, I read it's cheap, like, really cheap... But I refuse to believe this is cheaper and simpler than a piece of paper with a barcode, why add complexity to something that has to be discarded after like, 1 minute?
> How can you be sure that you actually see the details, and that you are not merely experiencing the feeling of seeing those details?

Can you describe the difference to me based on your experience? I don't quite understand what it would be, because in my mind's eye, I can literally see the entirety of the Mona Lisa. It does not feel like a "feeling," like happiness or angriness, those are what I'd classify as feelings.

> Have you tried drawing the Mona Lisa from various angles? To what level of detail can you comfortably reproduce it?

I don't draw so it would be limited by my drawing ability, but I can reproduce it pretty well if I tried hard enough, as I can visualize it completely in my mind.
I do often employ the simple whiteboard methods described, but I've never found the energy to learn and use stuff like TLA+. What fields do people find them useful in?
What if America decided to import a lot of Canadian lumber? It's geographically close and the size of the forests are mindbogglingly vast.

Could this happen in a way that benefits American construction interests but also Canadian lumber exporting interests?

If there's ever some dispute about it could it be mediated somehow?

What would the outcome of that possibly be?
Why can’t we load them with water and run them in reverse to make hydrogen and charge them.
When Hospital Prices Go Up, Local Economies Take a Hit
Hi HN,

I wanted to share Niantic Studio, a new browser-based creation tool for building 3D games and AR experiences for the web. I'm the founder of 8th Wall, which was acquired by Niantic Labs a couple years ago, and Niantic Studio is the evolution of the 8th Wall platform – adding a new visual editor, web gaming engine, and finally opening up the platform for everyone to use with a new free tier for personal use and game development. It's in public beta and could benefit from lots of feedback, but I'm excited to see what you build with it.
> Why would things be changing quickly now when old-school AI have been out-diagnosing doctors for years?

The tools actually save time and effort now, and don’t have a steep learning curve.

At least that’s my view from radiology as a tech.
Could we ever get mitochondria injections? Is anyone researching that?
Not soon enough, and even though I'm a parent frankly it's for my own sanity as much as for that of my kids.

I have no sympathy, in fact negative sympathy shading into election year issue territory, for the small but growing minority who feel entitled to make all us living in a quarter mile radius of their incredibly irrelevant presense get rudely disrupted by their deliberately obnoxious ear-splitting noise machine, _inside our own homes_ when trying to take a nap, have a conversation, read a story or do anything at a normal indoor volume. Why is society decided to accept this Behavior in a way that they would never accept, say, someone marching down the street tossing firecrackers into the air at all hours of the day?

The answer is simply that it's too impractical to catch and penalize people who get a petty sadistic power thrill out of their consequence-free enshittification the ambient public space.

I welcome the growing use of noise maps as evaluation layers in the real estate and rental markets, only by putting hard numbers on the degradation of value that this causes, particularly for homeowners, will any measures with actual teeth be implemented to push back on it.
That's only fine if you just care about the Web as a software platform. What about security vulnerabilities? What about having choices in browsers? What happens when Google decides they are finally ready to deprecate manifest v2?
Sir, that would be terrorism.
The voltage an inductor creates will restore the current. It's storage.

And while a capacitor's voltage is the integral of current, a battery's voltage isn't.
I find my biggest problem is interfacing with apis from complex dependencies I can't control, usually OSes and gui libs. I assume there isn't a ton formal methods can do for that unless I set up a VM I can tightly control?
Because it’s so wAcKy? I don’t get it either.
If you want to see a whole documentary that really outlines and emphasizes this point, the ‘Telemarketers’ documentary follows a few workers for a police lodge hotline that also keeps 90% of the revenue for themselves.
fwiw, I have to agree that having "?" at the end of a call act (as I parse the explanation) as a "return" statement seems like a very odd and deceptive semantic to have (and as you say, harder to spot).

It seems to derive from the same reason why breaks and goto are generally frowned upon if not used judiciously - they lead to unexpected control flow.
Sounds like you actually have the opposite, hyperphantasia, perhaps even of an extreme kind. I also lucid dream, very vividly, but I cannot superimpose things from my mind onto my visual plane, it is more like the above parent for me, it's in a separate area from the visual plane altogether, and I suspect that's most people except for those with hyperphantasia.
You'd probably have far more Nestle, Ford, Kellogg's, Nike and AT&T stock this way too. Apple is on the far far end of successes with this strategy.
Brave Search API – Brave
"Verify you are human" is all I get. same here. not even shows ho provides this page. self-made?
If the drive controllers don't lie about fsync, then maybe?
The user experience seems superior with an NFC chip like this. It’s easier and more reliable for the user to tap a card than scan a bar code. It’s also probably cheaper and simpler for the subway system to use a NFC reader for everything since they already need to read NFC for their non-disposable tickets or tap-to-pay. And as a user it seems nice knowing that no matter your type of ticket you tap them all the same way.
I’m pretty sure that the Montreal paper tickets are non-refillable but can “contain” multiple rides or a pass (weekend, weekly, etc) if you buy them together.

I’d bet a lot of them are sold at the airport: the fare to downtown comes with a 24-hr pass for other buses and metros.
> I can think of reasons, but some implications are clear?

I have a feeling I have missed something important here.
Hot take: system commands shouldn't be as accessible as user commands. There should be some sort of namespacing. For example, mkfs should be invoked with `sys::mkfs` or something like that.

The line that separates system and user commands may be defined in different ways, and it may be fuzzy in some places, but if a user accidentally invokes a command that they don't even know why is there, and they didn't explicitly install, then that's clearly a command that shouldn't be directly available in the global namespace.
There's a song I still remember in my head, but that I lost the mp3 of. It sounded pretty bad, but it also sounds like my childhood.
Unfortunately, prosecutors rarely go after nonprofits for fraud. This has led most grifters into the nonprofit sector.
I don't see anything about them moving between cells in that article. Would you mind pointing it out in case I missed it?
Where is the "extra on top" coming into play?

Imagine I'm your server at a restaurant. You agree to pay the restaurant $20 for the service it rendered and, separately, me $3 for the service I rendered, the latter of which oft called a tip. I now have $3 in hand. What more am I going to get "on top"? I've never heard of such a thing.

Are you somehow confused in thinking that the restaurant is taking $23? That might be reasonably described as "on top", but doesn't happen, so would be nonsensical to discuss.
Electric fields boost graphene's potential, study shows
This is the point that makes all of the miserable noise pollution from modified cars so much more grating, knowing that whatever is making excess noise means potentially useful (in a performance sense) power is escaping as sound somewhere in their drivetrain, so insofar as their objective is to make their vehicles loud for the sake of loud, these people are achieving the opposite of what they're trying to signal they're achieving.