skysight-inc/HackerNews huggingface dataset:
I think that Jose makes a solid case that static typing doesn’t bring as much to the table to Elixir as most people believe, but enough people point to the lack of it as a reason not to adopt the language that it’s worth addressing. Again, I think @spec is great and people should use it more – just treat the dialyzer warnings as errors.

Edit: Not sure why the downvotes, but the talking points by Jose are on his ElixirConf keynote

https://www.youtube.com/watch?v=Jf5Hsa1KOc8&t=408s

I'm not saying that types aren't a useful addition to Elixir, just that many people have wrong claims as to how they could be a useful addition to Elixir.
Just for posterity, the documentation was updated and looks to be complete.
What’s the best resource for learning about EDI?
Fun fact: in French-speaking countries, it's "Informatique". I think that it's "Informatik" in German. The name does not have "computer" in it and is more about "information".
> Most doctors aren't getting "absurdly rich" in medicine, at least not anymore, and certainly not by tech industry standards. (Source: I am a medspouse.)

"Absurdly rich" is too vague to be meaningful. But on average, in the United States, doctors are better-paid than those in the tech industry. And it is not a close call. See https://news.ycombinator.com/item?id=30047116 for links to tables from the Bureau of Labor Statistics.

At Hacker News, we may overestimate tech salaries (thinking too much of FAANG salaries, for example). And like most Americans, we may underestimate doctors' wages.
How many opportunities would you give someone who, when asked to justify their answer, routinely made up references, and who ignored important parts of a question and whose answer wouldn't work anyway?

As it turns out, we kinda do know what is going on in a LLM, and there's no model of reality for it to base reasoning on in there.

Does that mean that's impossible? No. Does it mean seeing reasoning there is making the same mistake as those who enjoyed chatting with Parry and Eliza? Probably.
I haven't personally, but they were getting a lot of praise on the forums at cloudynights.com last time I researched binoculars (several years ago). I think the consensus was that the optics are good, and the image stabilization makes it feasible to hand hold at a higher magnification than without.
Well this is quite an interesting take. I don’t buy a screw driver because I enjoy turning screws. In fact, I’ve invested significantly more money to buy a battery powered version that does the turning of the screws for me.
Daddy, when I grow up, I want to grab massive government subsidies and attack trans-people, just like Elon…
His code has had 16.6ms to execute since before a lot of people here had been born. Of course Python is hopeless in his domain. It’s creator and development team will be the first to admit this.
Ask HN: What's the equivalent of Vercel / Svelte / Supabase for native iOS?
When the price of an end product (in this case medical care) goes up, all of the suppliers prices go up as well. When you charge a lot for something you tend to justify it by expanding your headcount, and to give them something to do you make things more complicated.

The money goes all over the place, everybody gets their cut, prices are almost never lowered because competition doesn’t properly exist, and things get more expensive.

Most of it doesn’t need to exist but almost nobody’s interests are aligned properly to want to lower prices and raise efficiency.
They are def doing some shady things to juice revenue - ie I had a chargeback which I worked out with the customer and saw proof that the bank dropped it more than a month ago, but Stripe just only marked it as resolved. Was probably purposely sitting on the difference as long as they could
Those are fair points, but they're probably too specific to the architecture to incorporate in C's general execution model. They're better exposed through platform specific programming interfaces like OpenMP or CUDA. Even a domain specific language, like GLSL, may be more appropriate.
The focus is olap and etl not oltp. In fact I assume data doesn't change :-)
web site still terrible, I still don't know what Casa Bonita is.
> Please provide a source that says that "number of blacks in my neighbourhood" is a measure of "neighbourhood integration".

It isn't. Bk is "number of blacks in my neighbourhood" as you put it, and the whole point of using B instead of it was so that an all-black neighborhood wouldn't count as more integrated than one with a mix of races.
https://archive.md/mfkWU
It would be interesting to predict a surplus of software engineers and sharply raise the requirements for applicants to engineering departments.

At least the prediction of surplus of VCs in all other countries except US seems to be working well.

/s
Is it better or worse when you know exactly why they’re fucking you that way?
You're missing the fact that there are a lot of reasons the data itself is actually bad... another commenter shared a reasonable analysis: https://medium.com/@docintangible/racist-data-destruction-11...

So even if you want to ignore the fact that the data was outright used to discriminate in the past, the data itself is actually flawed in several ways...
Dirty dishes go straight in the dishwasher immediately after a meal, or any dish is used. The kitchen bench is then wiped down and left bare of any clutter.

Four or five decades ago, I was very 'agin' dishwashers because of the pretty poor ones used at my boarding school. We often had egg stains on plates for a day or two after an egg meal.

I was at a friend's place and I claimed that the plates and utensils we'd used for our morning eggs would leave traces after a wash cycle. I had to eat my words, those dishes and forks were spotless.

We've had a dishwasher ever since. They do a much better and less labor-intensive job than hand-washing. There's no need to rinse your dishes before using the dishwasher, that's why there is a pre-wash rinse as part of the overall wash cycle. Doing that rinse yourself is redundant and a waste of your time.
I could once whistle close enough to handshake tones to make 1200 and 2400 baud modems start talking in a 1200 baud mode.

There's various audio codecs which can encode arbitrary data. you could hook something like this: https://bellard.org/linmodem/ up to whatever microphone and digitization and encoding chain you wanted; just for sheer perversity.
Not to mention that doctors are paid in cash and not stock
One dimension to consider here is cost of compute.

Going from 8 hours to 4 hours is a 50% reduction in the time to compute and we're assuming this is occurring on the same relative hardware/instance size.

At scale, that could translate into hundreds of thousands of dollars in savings.

But your points are relevant - as with anything related to development, "it depends" rules the day. There isn't a clear cut "x is objectively better than y" in general.
I'm waiting for a documentation PR to be merged at this moment. My personal experience with the library has been the same. However the lacking documentation SERIOUSLY hurts it, it's very easy to use if you already know what to do because you read the code, but if you went through that effort you could use just about anything else. Hopefully the team behind steps up their documentation game, authjs is something I have been waiting for a long long time and I overall like the decisions made by the team till now.
Interesting. How are these indexes stored and how are they fed into the transformer model so that GPT can use them? Does this require an additional training step?
The majority of people in Tech are making under 100k and most cap out under 150k.

The SV numbers tossed around roughly compare to the percentage of doctors making over 1 million per year which is very real, but again small percentage of the total.
Right, but if you’re doing a nil check, you obviously won’t be worried about nil deferences.
Strictly C where your implementation has provided sane definitions of undefined behaviour is still C. The implementation is free to provide definitions of undefined behaviour, and no diagnostic required doesn't mean no diagnostic permitted. Offhand I think all the undetectable parts are a quirk of separate compilation which is solvable by linking an IR instead of machine code. That would probably be a high value project to implement.
Your story reminds me that Rotary International promotes "The Four-Way Test," a simple guide to business and personal ethics. (There's even a copy of the test on a bronze plaque set into the corner of the Palace Hotel on Market Street in San Francisco: https://commons.m.wikimedia.org/wiki/File:SF_Four_Way_Corner...)

The Four-Way Test of what we think, say or do

1. Is it the TRUTH?
2. Is it FAIR to all concerned?
3. Will it build GOODWILL and BETTER FRIENDSHIPS?
4. Will it be BENEFICIAL to all concerned?
A fun exercise is "At what local cult restaurant would Cartman want his birthday dinner if he lived in my city?"
The reply you already got is kind of correct, but only in the sense of what is typically exposed at an API level. Most Aho-Corasick implementations have a way to provide all possible matches, even overlapping ones. Yet, most regex engines do not provide any way to return all possible matches. However, FSM-based regex engines can do that, if they want to, using largely the same structure as Aho-Corasick: keep a list of matching patterns for each match state. With that said, this would require treating each literal pattern as a distinct regex instead of doing 'pat0|pat1|..|patN'. But this is mostly just API stuff.

Putting that aside, what I suspect to be the most essential difference is the construction algorithm itself. Building an Aho-Corasick NFA (or even DFA) is done in worst case linear time. But building a DFA through powerset construction takes worst case exponential time.

Whether I'm actually right about that or not depends on whether the worst case bound for powerset construction remains as such when you know your input is just an alternation of literals. But certainly, if you take a general regex construction implementation and feed it a bunch of literals, the Aho-Corasick implementation is almost certainly going to come out on top. The former is more general and has more infrastructure that costs time and space.
Re: the second point, see my other comment.
> Well, if you read the article

That’s how I knew they were mentioned.

I have never know anyone who has been treated by an osteopath rather than a medical doctor (or whatever you call the conventional training). They are not equivalent in any of the medical systems I have been involved with.
There’s nothing about this that screams “this language needs to be created”. Call me a pessimist, but I’ve seen So many toy languages on HN.

My advice is, if you don’t have any original ideas and want users, your best bet is to implement a subset of JS, that’s the route I’m taking.

Jonathan Blow has a great talk on the redundancy of scripting languages in game engines.

https://youtu.be/y2Wmz15aXk0
As an alternative for web apps, yes. In other domains, not really, but it’ll work, it just doesn’t solve any problem better except it isn’t Python.
all the reasons i switched away from python (ranked most important to least)
1. packaging python is awful. Turning a large python code base into a deb is awful. I mean really, how many _different_ setuptools or pip do you really need?
2. not strictly typed. Really impedes large code refactors
3. not concurrent. The concurrency primitives are a joke compared to any other language. The GIL kills everything.
4. slow. Python gains all it's performance by doing the important parts in C

python is not a good fit for anything I do these days
The cost aspect is overblown. NPs and the other alphabet soup of primary care providers charge almost the same as an MD. And the quality of care isn’t the same. You end up getting the general “pop a Tylenol” or “I’ll give you a referral to a specialist” for the money you pay, which either makes the problems worse and/or expensive anyway.
This is a bizarre, incoherent article. Which language model was it generated from?
> ZERO react/JS nonsense.

As someone who knows js really well, I love liveview's hooks system. the js interop is the bees knees and lets me save my js chops for where I really need it. Also, I can emit js events that get picked up server side and vice versa. ie: no having to write any ajax calls. My frontend can react to server events with very little boilerplate. Thats a WAY better proposition than merely zero js.

PS: the frontend buildchain is esbuild so you get out of the box support for typescript.
Only the busiest roads are made with concrete. Most roads are asphalt.
I use Absinthe to expose a graphql API endpoint.

The Absinthe resolvers just call the contexts/functions my liveviews call anyways.
It’s just me, but I do not call anything without a clear time line a „forecast“. Is it a forecast if you cannot decide clearly if it has happened or not? What then have you forecast?

Edit: s/prediction/forecast/a
Even so, you told them you sell in packs of 6. That’s a unit then. I sympathize with the producers but this really seems like their error.
There is no one currently banned on Twitter by Musk for personal dislike. The only person he’s being unprincipled against is Alex Jones.
Malaysian English
That's something interesting I've found over my much time sitting in hospitals. It seems like NPs are just Drs lite edition. But I question if we need all the training we currently have for doctors I remember reading a SSC article about how they don't require undergrad degrees in many countries and their drs. perform at the same levels.

Seems like in the US we just brought in NPs to fill the gaps instead.
Supplemental material including details about the results.

http://static-content.springer.com/esm/art%3A10.1007%2Fs0070...
Show HN: Advent of Code 2022 (only first eight in different langs)
Tried/revisited/used: Elixir, Haskell, Python, Rust, JS, Rust-WASM, TypeScript, Java. With READMEs for each
at least when the Doctors were really needed, the AMA Doctors were "safe and effective"
> If you look hard enough at anything, you can probably find a way to call it racist or some similar slur.

Which is such an insane premise that it's hard to take the rest of your point seriously.
That's actually a racist causal interpretation made about the data when it was originally analyzed:

> At low to moderate levels of B, an increase in B should have a negative influence on housing value if Blacks are regarded as undesirable neighbors by Whites.
Still, one should still call the firefighters _before_ using the extinguisher.

If the extinguisher did not work, and you tried 5min, these 5min are lost.
Yep, when I started out in business I focused a lot on price (and hence our margin). I then learned that with large distributors / customers the more important aspect can be the terms because "terms and conditions" of sale can make an order not an order, a payment be delayed months and even the price paid not how much you receive.
Same in Canada. Most of provinces keep enrollment well below of the speed of the population growth.
Anyone know a good resource (book, video, whatever) about starting a small business, including approximate customer or revenue growth rates and mechanisms to get customers? So much I’ve been reading is for high growth startups and I wonder what the other end of the growth distribution is supposed to look like. How to know a slightly profitable hobby from a growing small business, for example?
> Still good but hardly fresh for a specialty.

Was going to say this, I work at a specialty coffee shop and anything over 2-3 weeks is unusable.
If we become aware of any illegal or malicious activity on our platform, we will work with the authorities to take action. This is not a guarantee that such activity will not occur, but rather a way of reassuring you that we will respond quickly and aggressively to prevent and minimize any effect.
Yep, and I am not comfortable using software developed by people who don't know about this. Almost the entire ARMv8 TRM constantly mentions cache considerations.
In Middle TN, at least, asphalt is coming back in favor. Apparently concrete doesn’t handle the freeze/thaw cycle very well, and is harder to repair than asphalt.

In a side note, TN Department of Transportation recently experimented with a more porous asphalt variant on some major roadways, which was supposed to help with drainage. But in the winter, rain soaked deeper into the porous asphalt, causing much larger pot holes than expected. They repaired this with more traditional asphalt, which really stands out next to the more porous type, when it’s raining. I don’t know what the final fix will be, but it seemed odd that they wouldn’t have tested that scenario more fully.
Here’s something I don’t get. If the generative AI gets so good it can diagnose disease or give us perfectly curated experiences, why wouldn’t it just “generate content” at an expert level? Why would we need to compensate “content creators” at all. It would just take our preferences and give us an endless stream of Avengers themed content (for example), generating new stories, blog posts, and fan sites as fast as we can consume. For that matter, it could give us expert level prediction articles as fast as we can read them.
That's actually a racist causal interpretation made about the data when it was originally compiled and analyzed... which raises a lot of alarm bells:

> At low to moderate levels of B, an increase in B should have a negative influence on housing value if Blacks are regarded as undesirable neighbors by Whites.
The person you’re replying to is saying that Python meets their needs. Judging by what they’ve said about their use case, I doubt it’s a meaningful affirm to their overall pipeline.

Your counterpoint is that it’d be slower if it were running on a Pentium 4. Do you honestly think that they don’t know this?

Yes, this is precisely the point. Things are at a point where Python’s benefits are worth more than what another language would bring in speed improvements. I imagine that there would be less of a benefit to busses if we had to Flintstone them everywhere instead using a combustion engine. That’s not the current reality though.
Dowel Bar retrofit.

Details on how to make a set of dowel-bar-retrofits.

https://dot.ca.gov/programs/construction/construction-manual...

Longitudinal grooving to achieve PIARC category of roughness and rolling resistance of an inverse to raised Cat’s-Eye and Botts’ Dots (“turtles” in Washington/Oregon, “buttons” in Texas). They are reflectorless, and are

https://www.fhwa.dot.gov/pavement/pubs/hif17011.pdf

Not to be confused with Rumble strips which are also known as audible lines, sleepy bumps, wake up calls, growlers, drift lines, waker-uppers and drunk bumps.
Luckily most people have a way to get access to stationery, and it is quite decentralised. It just isn’t too newsworthy to say “use a sticky note”
Can someone ELI5 why this was removed? Is the problem just that the dataset includes a feature that references black people which might cause a model to draw a connection between black population and housing values? I thought it was pretty well accepted that (for a huge complex variety of historical reasons) black people tend to live in neighborhoods with lower valued houses. Or is there a deeper fairness issue that I'm missing?
Sounds like someone should try to revive this. The "fog gun" should certainly find a lot of supporters today. A bathroom that is specifically designed to be easy to clean might also be attractive for single households.

This might actually be more in demand today than when Mr. Fuller originally invented it.
Lol, then you probably don't live in Denver and are not their target audience.

It is a famous restaurant in Denver featured on south park. I can only hope their food is better.
‘Go get your swag ’: Five days living large at a giant Vegas tech-fest
Used to work in an ophthalmic office, happy to answer any questions I can.

This is a quality of life thing, if you want to have better vision, no point in worrying about bad outcomes that you can not control. Bad outcomes are unlikely, this isn't open heart surgery. Best advice I can give is make sure your surgeon has done multiple PRKs recently so he's not too rusty.

Give yourself 5-7 days at least, everyone's eyes heal differently. Get numbing drops/ointment from the Dr.

You may have to adjust to light sensitivity and such but our brains are pretty good at adapting and you will get used to it. Looking at screens isn't an issue I've heard of but you can always manipulate your brightness and warm to accommodate yourself.

I would advise PRK > LASIK because in the future getting the correct refraction for your cataract surgery (in your 65-80s) could be more difficult.

Depending on your prescription, this could drastically improve the next ~30 years of your life until cataract surgery.

For artificial tears / lubricating drops I'd recommend getting Optase. I've tried the market and like them the most. From the EU I believe but they are everywhere now. They're on amazon.

Good luck.
Can you really call this "banning the dataset"? https://github.com/scikit-learn/scikit-learn/commit/8a86e219...
Well, that's pretty much what the current protectionism is doing.
Why doctors would be displeased? They could offload some ungodly load to their peers, while enjoying less desperate patients. BTW patients significantly outnumber doctors, and they would probably be pleased, no?

/s
I remember mypy being slow and buggy. I remember one mypy upgrade broke all our builds because they changed some type of resolution thing. IIRC after some outcry they backtracked and started providing some migration path.

The other thing which rubbed me the wrong way was that the python was happy to run the code with completely wrong type hints.

I guess I went into it with wrong expectations, even though it says right in the name - it's "type hints". The whole experience felt more like a formalized documentation with partially working optional verification (which can't really be relied upon).
Product-led growth for dev-first business: Is it inevitable?
Who is banned from Twitter now that Musk banned? The lunatics that ran it for years banned people wantonly with vague reasons without any remedy for 5+ years in some cases.

Musk revealed files implicating the FBI, CIA and Pentagon but oh my God he voted Republican so he’s evil!
Many roads are composite here. They have a sub-road made of reenforced concrete that creates a stable layer and then asphalt is laid on top. Because the asphalt wears out it is easily ripped off the concrete layer and repaved.
This is a case where the act itself is evidence of the intent.

I know how insulting this is, but asking this question implies either the one asking shouldn't participate in discussions of any kind, or is involved in the corruption
Personally, I think it’s fine to say that X speaks Matrix if X speaks the Server-Server API, like Rocket.Chat or Gitter does.

I think the distinction the grandparent post is making is that RC doesn’t speak the Client-Server API, so you can’t point a random Matrix client at it. Honestly, I think it matters more that you can talk to it transparently via the Matrix network than connect your favourite Matrix client to it.
Everybody accuses somebody else of gouging us. That's a sure sign that they're all gouging us. I wonder if benefit of a government system is just that it's possible to figure out where the money is going.
Good decision to move away. Tools are supposed to help, not get in the way. Though types are there, opt-in, and who cares if C modules make it fast if the end result is fast?