skysight-inc/HackerNews huggingface dataset:
> how would a law be enforceable if anyone could be sued for something that minutely adds to climate change, and their stopping their activity would produce no measurable effect on the claimant's outcome?

There is a remoteness doctrine that it can’t be so remote as to minutely add to a harm. And so this would limit claims to only large emitters, and then there would be a measurable impact on the outcome.
This is a joke, right? The people buying up all the land don't care about the people who lived there. If anything, I expect them to pounce on the cheap real estate and screw over the people who lived in the burned neighborhoods.
Seems to be a plus... For Apple TV+.
Interesting!

Personally I'm not a big fan of either Java nor excessive backwards compatibility. But I can't avoid noticing that a lot of people praise Go for things like the backwards compatible while despising Java at the same time, even though both languages are extremely similar in lots of regards.
One potential drawback I can see is if the viable tokens are far down the list of predictions. In that case, filtering down to just those tokens is a distribution shift with resulting output being less stable / less sensible.
> reported on as if the loopholes allowing foreign money into US politics was not intentional in the first place

It wasn’t. It’s literally illegal.

> would be quite simple to close these sorts of holes

How would you do it? What would be your coalition, i.e. which voting blocs would either turn out more or flip for this?

Maybe you have something beyond reflexive cynicism. But when I hear peoples’ simple solutions to such policy problems, even setting aside the politics, it takes no more than minutes to structure a loophole. That doesn’t mean you’re corrupt or stupid. It means it’s a hard problem.
ReScript is excellent. Same type system as ocaml, which is IMO the sweet spot between power and straightforwardness. You lose the "you can represent ANYTHING" capability of TS which is both a pro and a con. In exchange it's much simpler to work with and has excellent type inference for day to day work.

The externals binding system for JS libs works well for integrating libraries. And react bindings are included in the standard lib, they also work great. The compiler is fast and produces generally quite reasonable JS.

You could argue that it's not "better" than elm in a theoretical sense. But for practical work it's much closer to the mainstream of web dev in mindset and syntax. Easier to learn, much easier to integrate with other frameworks or into existing teams & codebases. And it's less opinionated about rendering: the tooling generally assumes you're using react, but you don't have to and it can emit anything if you do some extra work wiring it up. I have used it with node and even, irresponsibly, deno fresh.

Been using it whenever I can for frontend stuff for a year now and haven't enjoyed a language this much since... well... elixir.
Field is a mathematical therm. You are talking about model.

Look at hydrodynamic quantum analogs. You will see, that many quantum effects, maybe even all of them, can be explained by waves, in therms of Newtonian physics. For example, the double slit experiment can be explained by self-interference of then pilot wave.

When I can see quantum effects with my own eyes, all this mumbo-yumbo about waves of probability, half-dead cats, space-time bending, etc. don't work on me anymore. It's like tales about 4 elephants when I see round Earth in a porthole.
Can someone re-explain all of this. If I got to GPT3.5 and ask it to give me some information in json, vs whatever this library is doing?
So what they're doing here is using deep learning on pictures of ECGs instead of the electrical signals used by machines that provide heuristics.

The proposed use case/workflow seems to be that (somehow) someone, somewhere is using an ECG machine that doesn't provide an automatic preliminary interpretation (i.e. > 20 years old) that is (somehow) still operational and the operator doesn't know how to interpret an ECG. They would then presumably upload a picture of the ECG to a platform that can run a deep learning model on the image. This is also apparently happening in a place where a clinician is then available and echo (for confirmation, quantitative EF and etiology) as well as medications are still accessible to impact patient management/outcomes.

This reads like something done by pure CS folks who don't understand how medicine works but the authors include cardiologists.

Ignoring the glaring validity issues of a study population that only included patients who had an indication for echo, the only explanation I can see for why someone would do this is to puff up the author's h-index as this will undoubtedly be cited in several "emerging applications of AI in medicine" papers.
> Most of the "large by default" sizing and spacing is mostly so that you can handle finger based navigation on a phone/touch device.

But surely websites can tell if you're browsing from a phone or not, and only do that on the phone? I don't know, I very rarely browse the web from my phone.
The key difference between x64 and the BEAM is that the BEAM does dynamic type checking on the fly no matter how thoroughly you type check your code ahead of time. x64 just sees bytes, so if you want to leave off type checking you can, hence the performance gains.

EDIT: Also, when I go to look for this quote I can't find it. Did you somehow end up on last year's announcement of an upcoming type system for Elixir [0]?

[0] https://elixir-lang.org/blog/2022/10/05/my-future-with-elixi...
I’m sceptical that migrating to GraphQL is actually an improvement. Instead of one team maintaining a cohesive API, you now have unlimited teams making shit up as they go?

The article also desperately needs more context. I don’t doubt a lot of cool engineering went into making this work, but for an outsider reading the article (and without them stating any goals apart from velocity) it’s unclear whether the whole thing was just an expensive resume driven development or an actual necessity that justified the invested engineering time
While the deal would make plenty of sense from Wall Street's POV, it really doesn't help the end-consumer at all.

Moreso, it would take away from the idea that Apple is a computing company, and would transform it into an entertainment company that also makes computers. Just my 2 cents. If I was Cook I wouldn't go for this deal...but I'm not Cook and I have no idea what he's thinking.

Disclaimer: I'm long Apple through LEAP options, and also own shares
Step 3 will be to charter Boaty McBoatface to deliver 10 million copies of Mein Kampf, when step 2 goes as expected.
A "classic" scenario with rent control is a tenant lives in a home for 10 years and has below market rent. The LL wants the tenant to leave, so the landlord create more housing units [0].

But everyone throws their arms up, because the tenant can't afford market rent. A battle in court proceeds and the tenant ends up receiving a $100k buyout to leave.

Based on this relatively common situation, rent control prevents more housing from being built and causes prices to increase (the $100k buyout needs to come from somewhere).

[0] - https://www.nytimes.com/2015/12/25/nyregion/new-york-builder...
The whole. PAC Universe is designed to wash the money of people and corporations.
Suffer what? A traffic jam on some day in a major city? That’s a pathetic bar to set for what a city can stomach with what well running autonomous taxis can mean for the future. Massive potential savings in greenhouse emissions, 24/7 on demand and reliable transport, efficient route planning preventing traffic jams, massive reduction in deaths caused by traffic accidents etc.
Hostility may have been too strong of a choice of word. It's less the arguments or sentiments of anti-car advocates but more the language used online.
For example, r/fuckcars is massive. A large subreddit might not be considered mainstream, but it does have massive reach. A lot of people see this as one of their first exposures to car-free communities and do not feel welcomed by it.

I think it's somewhat of an optics issue, but it is very hard to find walkability communities online that aren't using terms like "car-brain". I know that these terms are targeted at a certain type of car owner, but without being familiar with the car-free community this is not always clear and can be a turn-off to car-owners who may be curious about learning more.
I hope they don't use tractors or any other fossil fuel vehicles. They should be mandated by the judge to reap the land by hand.
the problem with GPT is that you're not guaranteed to get something that's _accurate_. I'd definitely prefer some input from an expert over GPT.
I do believe that Rust's choice is correct for its particular niche, but it is also a perfect example for how limiting that constraint is (just see any kind of Rust help forum thingy), and not just for beginners, you also get burned by it at the other end of the spectrum (e.g. implementing lock-free algorithms, etc). Sure, there are escape hatches and in most other topics I would agree with you that having it constrained with escape hatches is the correct solution (e.g. type systems with casts), I still feel that the memory model is not the correct place to enforce these. (For the Rustaceans, no, I'm not saying Rust is a bad language, I like it and it is absolutely a gift to low-level programming. Not necessarily a good fit for high level tasks though, for me at least)

You mentioned SQL. The reason it can be so performant is that it doesn't let the user over-specify their constraints, letting the computer optimize its plans, storage layout, etc. I'm sure one can physically write a particular query faster than a DB could execute it, but it is definitely not an easy task. So strangely enough, both strong and weak constraints can give you good performance. To get back at the exact topic at hand, let me reference Rich Hickey's term: "Place-Oriented Programming", referring to this notion that 'objects' are constrained to a given physical location, over being what they should be: semantics. When you write a program and you use a list, you don't actually care about that list being in a particular place, having to be moved when more items are added to it, etc, those are all implementation details. You care about its "list-ness" only. I see GCs with arbitrary graphs as allowing for this mental model. (Note, that an object not having identity, aka being a value type is a semantic question, and that allows for plenty optimizations by a decent runtime, so I'm not telling that we shouldn't care about performance).

> GC languages typically take 2x the RAM.

There is a niche where that is a huge price, but in 99% of cases I believe we can afford that. Also, GCd languages also have their own escape hatches when needed.

EDIT:
Nonetheless, I hope I don't sound too argumentative, I genuinely enjoy this discussion and our differing view points - I'm engaging with curiosity, even if the tone tells otherwise, I'm no native speaker.
Yes, this is fairly obvious. The question is whether or not it will happen on a scale large enough to make a difference. These things are global in nature and you can't really solve global problems with local solutions, though you can create global problems with local activities. The level of coordination required is massive otherwise the hold-outs will be able to reap the advantages of not playing nice.
PG&E proposes using electric cars to send power back to grid to prevent blackout
But by being closed as a duplicate with the duplicate linked hundreds of future askers who arrive at that question in the future from a search engine are saved the trouble.
You're talking about an unsustainable thing.

If Tony Stark was in Maui, he would have the vast empire of his fortune at the disposal and be able to just invest as he sees fit, and put the manpower into getting the needed help.

The same can be said about Gates, or Musk, or whoever.

The problem is that 5 disasters later they're at $0 and are done. And this is because they were directly there to direct their people to solve the problem. We don't need any AI to research, people can do this juuuust fine, as they have done for the last entirety of human history. The difference is that the government doesn't have unlimited money, and food, and etc just sitting around waiting to give it for these situations. And there isn't any rich person stepping in and directing it all. And frankly it takes more than 24h to get all this done, because shipping that much food isn't easy, and finding available planes isn't easy, and fielding a fleet just to sit around all day waiting to be sent in isn't economical.

The problem isn't simple. The problem is that this is what preparations are form, and what redundancy economic mechanisms are for, so that when this happens, we can do something necessary.

The reason Tony Stark can do what he can do, is because of the following factors:

- he has unlimited money, or costs are so low that effectively unlimited money

- he creates technomagic. At that point why doesn't tony stark just send out nanobot tech making food for all humanity.

- he is actually intelligent and wins because of effort NOT luck. Reality is the opposite.
Can you explain a bit more about the Django ORM being very thin and easy to read? It does seem like the Django ORM is thin (from an architecture perspective), but it doesn't seem to be small, it seems to be pretty big. Maybe I'm not understanding it though, so here's what I see:

The "ORM" part of Django seems to be everything in `django.db.models.Model`, which seems to require you to declare your Models as subclasses of the aforementioned class. Looking into that code though, it seems like the implementation supporting all this is around ~20,000 lines of Python: https://github.com/django/django/tree/main/django/db/models

That doesn't strike me as a super lightweight. For comparison, all of Flask (a Python WSGI web app framework, but mostly a 10+ year old project to compare to, and excluding tests) is ~4,000 lines of Python.

Is there a small subsection of the code in `django/db/models/` that is all that's necessary to use the ORM part? Or maybe I'm missing something about the "core" of the ORM?
Legitimately funny response!

But I'm sure you know, if the gov't charged appropriately, you wouldn't get money back, and you'd pay less of your paychecks. They make money on any overpayment, in interest.

It's quite disappointing how governments treat their citizens like livestock instead of citizens.
Seems you didn't get to the end: https://go.dev/blog/compat#go2
How often do you go over these notes and review or study them? I don't mean ones you need and hence use, but all of them?
I have an issue where I feel I have so many notes that I forgot what's in there, and sometimes I remember or find out when I don't need it, and I seem to lack a habit of reviewing my notes.
> What Veritas does consistently is to alter material to misrepresent its subjects. That's called lying and fraud.

Only if you call editing the videos - which literally every other news outlet does, nobody publishes full unedited raw footage in the reports, it's just not how it is done - "altering material". Otherwise, Veritas publishes exactly what their subjects said or wrote or otherwise did.

> But counterfeit data should not be part of it.

Except Veritas didn't counterfeit anything. On the contrary, as we now know, the diary that FBI attacked them over was entirely genuine - and they still didn't use it, btw. On the other hand, only in the recent years we have witnessed a number of cases where false (and as we now know, with the advance knowledge of their falsity) statements were published about the veracity of certain data, and various accusations of foreign interference and such were thrown around, including by very prominent mass media, and so far I did not hear anybody even apologizing for that, let alone excluded from the "marketplace of ideas", despite those acts of counterfeiting. I wonder why is that. Maybe because the exclusion power is wielded by their friends, and their counterfeits help those friends stay in power?

> We are awash in information and now suffering from disinformation campaigns (straight out of KGB, comrade)

And the same people who are managing these disinformation campaigns are claiming people who trying to get information past them are illegitimate, not real journalists and thus deserve suppression at the hands of law enforcement (because the First Amendment has the little known "y'all folks realize this all is only for real journalists, right?" clause). They are the ones who purport to "fight disinformation" and claim extraordinary powers of speech control to do that. A regime where such powers exist are not democracy - at least not any that is worth of the name.

> The government doesn't seem to be stopping you from consuming Fox, NewsMax, The Daily Caller, etc.

They are trying (so far by pressuring social networks and other distribution channels to suppress them) but so far they are failing. The First Amendment is pretty strong still, thanks Founding Fathers. But nothing is impossible in politics, and with enough effort it can be - and is being - eroded and ultimately destroyed. In countries where there's no such strong protections, it is plausible that we will witness this within a decade or sooner.
I think I can speak for everyone when I say: heck yeah, knowledge!
Who would have thought that people who solicit, accept, and deliver on bribes might engage in corrupt practices?
Many of the "choices" are false choices. My home, in the downtown of a major city, shows as having two choices for wired broadband, but the phone company's wired broadband option is an old ISDN network grandfathered in to "broadband" that probably shouldn't have been, it is the very bare minimum of "broadband" in 1990s standards. (And the phone company charges the same monthly cost for it as actual high speed broadband options they provide, just to add additional cruelty.)
The .so TLD, very dynamic.
Robomart is banking on ‘store-hailing’: self-driving stores direct to customers
I knew it was too good to have been original.
OK, you get syntactically valid JSON, but does it contain the correct info? This is effectively a polisher, like spell check, which gives the output superficially correct form but doesn't understand the content. Right?
>OpenAI has this capability built in with functions

From OpenAI's docs:

> note: the model may generate invalid JSON

I would guess they don't use your method - and perhaps they should!
> Patañjali is not only a master of yoga, but also a grammarian in the tradition of the sage Pāṇini.

Patanjali, the Yogacharya, and Patanjali, the Grammarian were different people. That is the consensus.
One would expect humans (or humanity as a whole) to be smarter than bacteria filling up a petri dish.

NOPE!

How disappointing.
> PAC Universe is designed to wash the money of people and corporations

It’s a natural consequence of enabling unions, NGOs and—yes—-companies to participate in our political process. Banning PACs while e.g. letting the EFF or your block association organise politically is incredibly tricky.
Wait, so you are saying "I'll support prosecuting Biden, but only if he's already been successfully prosecuted in court"? That's one brave commitment right here. Or you envision a situation where Biden's accusations are shown true by the court, but he's still not prosecuted - and in that case, your brave voice would be necessary to support correcting the situation? I hope our legal system, with all its flaws, is not as far gone as to just refuse to prosecute a person that has already been proven guilty, just because. Though to be honest, seeing the details of Hunter's deal, I can see where you may be coming from.

> Do you only care if it's Joe Biden as the accused or do you care about the corruption implied by it?

I care about both, naturally. So should everybody. I care that a person committed crimes of corruption, and I care that the same person has been occupying the post of VP of the United States, and now occupies the post of the President of the United States (of course, for persons that did not occupy such posts, I still care for the former, the latter just makes it so much worse). Of course, the detail that his name begins with "Bi" and ends with "den" is purely coincidental, neither me nor anybody else (including maybe his personal enemies?) cares about this. To the measure that anybody cares, his personality is completely irrelevant, his position and his crimes are both relevant. And the combination of the position and the crimes enhances this relevancy - it's one thing when a night guard on a used tire recycling plant is corrupt, another thing when it's the President.
People did not like that example choice.

The type checking beam does can coincide with the checking the source language does but that's not fundamental. Say you compile SML to beam. Would you conclude that the compiler isn't able or allowed to do anything with the types in the source language?
Come on, your dog has a ruff life…:)

Serious question though, do you use it as a dog monitor? That’s a good idea.
Sure, and it will come at the expense of your economy. Eg would the ranch mentioned in the article be able to survive if it had to account for this?

What will people's reactions be when you double the price of their food or gasoline?

I'd wager one of the reasons why America's economy does so well compared to Europe's is the much cheaper access to energy. For example, Lithuania pays twice the price for gasoline and almost 3 times the price for electricity, meanwhile income in Lithuania is less than half of US incomes.

People take a good economy for granted and are willing to trade it for many things. But then when the trade actually happens they will blame everyone else for the misery that results from it (eg "living wage" people).
to align with the *funding base
Like you I also believe that the only way to get companies to listen is through money, not idealism, so by making renewables cheaper than fossil fuels (which thankfully is currently happening), companies will naturally use them over fossil fuels.
What would you like to see on the site? The main purpose is to raise funds for the walkability doc. The doc will cover why the US became car-centric (corporate lobbying, etc), benefits of walkable infrastructure and it will compare US cities to walkable Euro cities.
Show HN: USPS-zip-codes – solution to the ZIP code and city/state lookup problem
Ever found yourself repetitively filling in your city, state, and ZIP code on various forms, thinking, "There must be a simpler way?" I did. The major issue always seemed to be the lack of a reliably good public ZIP cod e + city/state dataset for this purpose. Some of the options included:

* Tapping into the USPS's free API, which required writing specific code.

* Purchasing the data in a more accessible format from resellers.

* Risking the data's accuracy by downloading a random CSV file from the web.

To address these challenges, I decided to create the usps-zip-codes project with the following features:

1. Easy Data Download: You can get a fresh copy of the ZIP + city/state data using your own (free) USPS API key, no coding skills or time required.

2. Hotlinkable Snapshot: The repo contains a snapshot of the data, ideal for hotlinking.

3. Usage Examples: To make integration easier, I’ve provided examples for using the snapshot data.

4. (New) Free Public API: Thanks to Deno Deploy, I've introduced a freely available API, that supports CORS, for ZIP code to city/state lookups. Example: https://usps-zip-codes.deno.dev/90210

GitHub Repo: https://github.com/pseudosavant/usps-zip-codes

If you’re dealing with user address collection in any capacity, do your users (and yourself) a favor: Incorporate this into your forms and simplify city/state input using just the ZIP.

edit: added an example