skysight-inc/HackerNews huggingface dataset:
There are more efficient interpreters and compilers, problem is they don't work with the existing libraries. If you mean another language, there is Lua for scripting purposes and Julia for math stuff. JavaScript also exists, which despite its fame it is actually MUCH faster than Python, and you can even run it in a runtime such as bun.js and get even more out of it.

IMO the biggest problem is that the Python libraries ecosystem is just too good to miss out on. I absolutely hate Python but even I have to admit it is much easier to do some stuff in Python compared to other languages simply because of the libraries available to do basically anything you could dream of.
How is this same or different than Microsoft OneNote?
> It's really not, though. What C is an abstraction of is computer architecture as it existed by the late 1960s.

I don't follow. Barring micro-code, hardware is designed for executing either RISC or CISC instructions. If anything, the industry has matured and we see less esoteric ISA's today than in the 1960s.
When I hear someone using the word 'fair' in a negotiation, I immediately think that this person is trying to manipulate me because they have run out of better rational arguments and/or they're not transparent.

If they said that 'I think would get around X after more job search but I'll settle with 0.95X for a quick offer', I'd be thankful for the information and consider the deal. If they said that 'I want X because that's the amount I'd be free of jealousy/resent/etc.', I'd be glad they shared the not completely rational but honest emotional reason behind their preference and also consider the deal.

Using the 'fair' card means that 'if you don't agree you are unfair therefore you're a bad person'.

So I recommend everyone to unpack what 'fair' means to them and explain that thing instead of using the word 'fair'.

My strategy is generally quite extreme transparency, especially in cases when we're at the beginning of a long-term relationship.
The recent "pro-free speech" crusades are explicitly targeting the rights of private individuals to have non-legal recourse, such as the ability of social media platforms to have editorial control over their platforms. So... fight back against that if you want to still have the right to push back in the future.
That's the spot filled by Go, and previously Pascal. Native code with good efficiency while still being fairly easy and productive.
What do kids have to do with anything? The goal is to get to space affordably and reliably; the shuttle failed on both fronts SpaceX is succeeding at.
Update touchpad firmware to get rid of the intermittent lag.
Well, I think there's a path that leads from that woke mob to the absolute shambles that Firefox is in now. Can you imagine where Firefox could be if there was a competent technologist who cared about their product in charge?
They don't have them because most of these checks are expensive and offer little benefit outside of things like log parsing

A common example is email address validation. Trying to validate that an email address is well-formed with regex will often miss valid addresses (the example you linked would miss some in the HOSTNAME portion alone). It would be better to simply send a confirmation link to the address and wait for it to be clicked since that would ensure that the address is valid
I mean that it's typesafe.
I've been thinking (and researching) heavily in preparation for a new (offline, desktop) app I want to build. The app has a lot of data wrangling, and probably a decent amount of ML. Python seems like the logical choice, but...

I've written a lot of Python, taught classes in it, deployed production code... and I still feel a semi-conscious urge to reach for something else whenever I contemplate starting a new project. Something about its approach, syntax, common idioms, always feels just a tad clunkier to me than I'd prefer. The whitespace makes it hard to paste lines into my repl, and (probably the biggest thing) comprehensions ARE NOT SUFFICIENT replacements for easy anonymous inline functions (JS () => , or Ruby's blocks).

I like dynamic languages, I really like the advances in tooling with type checking and LSP support. I like dynamic notebooks (either inline in VS Code #%%, or straight Jupyter), the massive package ecosystem (but obviously hate the actual packaging tools), cool tools like Rich... but it just doesn't make me as happy to use as other languages.

I'm still trying to articulate why. Maybe I was just ruined by learning Ruby first.
If so, there would only be room for C and assembler.

Give me at least ksh and awk, they don't use much resources and are infinitely handy.
> There’s no technical reason you can’t back-track the weights and make a list of which tokens from which training data were sampled.

The weights map inputs to outputs, not training samples to outputs. They are adjusted during the training phase and then kept fixed (until there's a new iteration of the model; and let's ignore online learning for simplicity's sake now, the major models we're talking about here don't use it afaik). From the perspective of a user who inputs prompts and receives answers, the weights are constant. We could create some score indicating how much each training sample contributed to the weights overall, but then that score would be the same for all prompts.

It's really not clear to me what you mean by 'sampling from training data' for a specific prompt. The best I could imagine would be creating another metric measuring the distance between the prompt and all training samples, and then somehow combining that with the first score to get an overall contribution metric for this prompt. But that would be a) quite a bit of guesswork with a lot of modelling freedom and b) quite different from what you described.
No, it was a legit question. It depends on the payload though right? For StarLink deployments at LEO, I'm sure it re-enters soon-ish. But what about for higher altitude launches of other types of satellites? How long does the second stage float around?
Yes, you are right. If I remember correctly he did offer to sell them a premade generic cake, he just did not want to create a custom one for the wedding. My memory may be faded though.
Are the current capability features fully self driving (FSD)? I don’t have a Tesla but was under the impression they are not.

If not presumably they could argue that they never received what they subscribed to.
This isn't some random small deal. It's hard to see how nobody noticed that the total dollar value of these orders was either six times higher or six times lower than expected on a invoice that represents the bulk of your entire business.
Germany - because nothing bad happened there… The Weimar Republic had strict hate speech law that were rigorously enforced. These backfired to such an extent that I’m surprised anyone is looking to repeat it. In fact it appears that neo-nazi accelerationists are encouraged by hate speech laws as it serves as a purity test, brings more people to their cause, and they have their own people they wish to silence.
On my system (Windows 10, i7-10700K, Clang 11 with Visual C++ 2017 linker), frozen::unordered_set takes about 10ns. This is faster than std::unordered_set at 14ns, but slower than direct comparison at 6ns.
I've seen scattered comments that Russia has not yet targetted the highest-voltage transformers in Ukraine, for which stockpiling spares (as reported here) might not apply.
I've got a background in Agile consulting (yeah, sorry), frontend work from way back in the day, and low-level systems and optimization work. None of this is factored into my current job, and I've lately been labeled the "database guy" ... when that's one of my newest and not particularly impressive competencies.

I still have yet to find a way to manage external perception of my abilities to even a minimal degree. Very draining.
Yeah, posting that picture of them wouldn't be legal here. But the US seems to value freedom of speech a lot more than e.g. personal rights. That obviously facilitates cancel culture.
> I don't think a lot of people dispute that more screen time is harmful. Not in itself, but usually because that screen time is spent on social media or platforms like YouTube.

It's both. A poor information diet is harmful of course, but so is screen use in general. Screen use is a sedentary activity which damages your body. At least at work we get compensated for the damage, like a construction worker who gets compensated for wearing out his body with hard labor. The programmer pay is better and the damage more manageable, but it's still not harmless. Too much time in front of a screen will atrophy your muscles and slow your metabolism.

You can offset this damage by getting a gym membership, an active hobby, etc. But kids have trouble finding a healthy balance (not least because so many screen-activities are designed to be addictive) and that's why screen time limits are useful.
Ok. I was being charitable to them.

Naïve people get themselves into this stuff all the time.
> this seems not to have any practical significance. and recognizing numbers (only 56%) of the time is practically still as good as guessing, and not useful, in the context of spying, without the spoken words

If that accuracy is at the single digit level, then it's significantly better than guessing, which would yield a 10% accuracy. 56% would be good enough to capture a 4-digit OTP code more than 1/8 of the time.
> - Reliable, serviceable, upgradeable, fashion-despising: T14 / T480 / T490.

I got motivated to buy the T14 as my next machine until I saw that the RAM is not upgradable. Only SSD and the extra M.2 slot. :(

EDIT: At least the gen 3

EDIT 2: And the AMD version.
I was not aware of the second stage doing a de-orbit burn. TIL
As other comments said, this argument, while sounding superficially logical, does not agree with reality: most Western European countries don't share the same idea of free speech as in America, yet they continue to be democratic.
I don't know how in the world anyone can claim "2x performance" when clicking on a navigation element, saying out loud "one Mississippi, two Mississippi" and then having the content show up counts as "performance"

Want to see something else neat? Open the dev-tools and just wave your cursor over the navigation elements and watch the browser spray GET requests to some json files. I guess they made it Cloudflare's problem, but ... I'm glad I didn't try to view this on mobile
> TreeSheets is exceptionally small & fast, so can sit in your system tray at all times: with several documents loaded representing the equivalent of almost 100 pages of text, it uses only 5MB of memory on Windows 7 (!)
> When people talk about defunding the police, they don't mean not having officers investigate crime, or pull over speeders and drunk drivers. They mean taking away money from police who use force and threat of arrest against people described in this article.

False. Some people literally want to abolish the police.

https://www.nytimes.com/2020/06/12/opinion/sunday/floyd-abol...
https://www.thefire.org/research-learn/unprotected-speech-sy...
Nvidia and AMD have been a GPU duopoly just as much as Intel and AMD have been for CPUs.

Intel's new Arc product is the first competitor from another company in a very long time.
Things like "puffery" and other "I wasn't being serious" defenses. Good luck prosecuting those things when everyone can hide behind "speech alone is harmless."

Note also that the comment I was originally replying to was saying we already have too many restrictions on speech. So they'd presumably want to loosen those things even more.
The Tragedy of the Commons – Garrett Hardin [pdf]
Nim [0] might be one similar example. Similar syntax as Python and trying to be just as extendable as Lisp.

[0] https://nim-lang.org/
Are you sure?

Didn't it help that is wasn't unacceptable to call a black person n**r and to call a homosexual f**t?

Freedom of expression always goes in both directions. Your free expression can suppress my freedom of expression.
Bail is supposed to motivate you to show up in court, or have whoever paid the bail drag you there, despite the potentially unpleasant consequences that await. Forfeiting it for other reasons would seem like a bad idea - if the money is gone either way, what's the motivation to stick around?

But, if you violate the terms of your bail, you can end up back in custody.
That is my crude understanding of such behaviour, yes. Now if you want to get into the philosophical discussion of whether that is actually a lack of self-respect or not, that's not really interesting to me.

I think to some extent one's perception of whether somebody has self-respect or not is subjective, because everyone holds different values. For example some people value a lot. Then if I turn down a job with a high salary because of moral reasons, they might perceive me as having less self-respect.
In this case, I value intimate relationships to a higher value and think sex should have meaning beyond, "I wanted to have fun that evening" ...
Agreed. Energy cost is an important factor though & farming is a dicey financial proposition as is without powering a warehouse full of LEDs
Didn't know Capacitor! Very cool.

This is still such a problem - as a small startup we still have two completely separate code bases that we need to maintain with a tiny team (though we share Redux and Tailwind thanks to https://www.npmjs.com/package/twrnc). If we could "flutterize" our apps and make them run everywhere like this lib allows us to that'd save a huge amount of time.

Wrote an essay about our current solution here: https://nikodunk.com/2022-05-10-the-tech-stack-for-maximum-e...
I see young kids working in pictures, is this legal or gray area for family run small businesses i.e. all hands on deck to help family
In a comment, Lemire says: "In my tests, regex is 100x slower".

Might he be including the regex compilation time?

His snippet literally shows the regex construction and call being in the same scope, by indentation level:

const std::regex txt_regex("(https)|(http)|(ftp)|(file)|(ws)|(wss)");

// later...
bool match = std::regex_match(v.begin(), v.end(), txt_regex);

The const won't help you here, what you want is static?

Also, the parentheses aren't doing anything in that regex; and in many regex languages, parentheses are loaded with complicated semantics of group capture; I'd keep those out.
Lol how long can you publicly brag about being a gangster, not paying taxes, going to romania because rape charges dont exist, having multiple passports to avoid law and dealing all the time with the mafia, including "taking care" of someone who tried to kill you, and then be arrested.

Answer : a few months.
It IS a tough call.
It's not an oversight, it's the inevitable and intended consequence of freedom of speech, freedom of association and private property as defined by the US Constitution and law. "fixing" that would mean undermining those fundamental rights in favor of a right that doesn't exist in the US, the right to employment.
Here's the other five threads:

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
There are several "close to python" languages like this, actually, I remember one popping up on HN semi-recently.

If you expand into just "kind of Python-like", you have languages like Nim that approximately fill the hole of "efficient Python".

My impression, though, is a lot of the popular frameworks/libraries for Python lean heavily on runtime reflection in Python (e.g. Django). So people end up stuck to the full Python interpreter/runtime.
> Based on these observations, I'd bet the house that no, large language models cannot under any circumstance reason about medical questions at present.

Did you read the paper? You already lost this bet. And even if this paper didn’t exist, it would be a very naive and short-sighted prediction. We’re just at the start of understanding what LLMs can achieve.
American Rhetoric – A Database of 5,000+ Speeches
If they wanted to built their own abstractions they’d be scientists.

Actually this is one thing that has always confused me about “software engineers,” at least as someone with an engineering education who isn’t doing engineering work really: we learned how to do particular types of problems very well and reliably, and generally learned a bunch of math tricks. But at a fundamental level the material that the physics students were learning was basically more complicated. Scientist has always felt like a more prestigious title to me. Since most programmers have computer science degrees, why don’t we call ourselves computer scientists?
Anyone here develop apps with something like capacitor? Their ionic appflow seems like a closed in ci/CD when we could do so in github. Any alternatives? Foss?
Unless you have a clear specification for what you are going to build (as in, you have most of your data schemas and processes sketched out), stick with Python and benefit from the development velocity as you figure things out.

Then rewrite it later when you need to scale.
That is similar to M-W definition 2a, no? The point is that it revolves around a specific place. Referring to nonspecific "lockdown" implies it is general and society wide - ie everyone is stuck in their homes.

The "emergency" part of that definition contributes to the hyperbole. Closing of a mall due to the pandemic is much closer to closing due to night time, than closing because it is an active crime scene.

> How about this story then? [(mom "legitimately" arrested for being in park)]

I agree that closing open air parks was extremely stupid and overbearing, even without the benefit of hindsight. But specific venues being closed, even ridiculously, still does not imply population wide "lockdown".

> why do you think a bunch of people being misinformed would be "the best we could have hoped for"?

I'm libertarian. In my estimation, the main reason libertarianism doesn't play out in practice is that people make poor decisions from relying on poor heuristics rather than really thinking things through. Have you ever tried to convince someone to engage in a mutually-beneficial course of action? Their ego fights it, presumably based on the possibility that you might be trying to trick them.

For example, despite reports of the pandemic from January and February, most people stayed the course of denial until governments started taking action in mid-March. So when people have a poor understanding that causes them to make a better decision, I'd call that a win.

Having governments lead people through speech is much more preferable than through law and its implied violence. (Note that this isn't an endorsement of so-called "libertarian paternalism" where the government actively gets in your way)

> even in the US, there were indeed orders to the effect of "no leaving home except to get food or medical care".

Find me more examples than the few counties in California, and I'll add them to my list. I'm sure more places did exist, it just didn't seem to be a large part of the country, from what I can tell.
Elixir is nice is you are looking for something new to try.
> GADDAGs are really cool, +2x faster lookup

This is awesome, I'm surely going to try this. Thank you.

> I am working on a project for reinforcement learning for Scrabble, hoping to learn advanced strategies.

Is your project shared somewhere? I enjoy anything Scrabble-related.

> That's a really nice front-end! Really good code structure and dev practices too to my JS-nooby eye at least.

> When I need a front-end, I will definitely reference your project.

Happy to hear!
Mouth breather here, that's good to hear :) Always feels a bit like using a straw to draw air through my nose for me, possibly choir practice as a kid impacted it too.
The gold standard for reliability studies involves collecting in situ failures though. You can infer a lot from inspections on non-failed components, but it's not as useful as having actual failure data. When I'm referencing their in-house data, I'm referring to failures (whether in situ or as a bench experiment)
You know what we call the right of private parties to choose which viewpoints to promote with their resources? (Hint: rhymes with “key peach”)
Maybe this is ok. The reputation of the account is still at stake and the friend may have trusted you with their private keys so that you can give taxi rides and increase the overall account reputation.

If the private keys were stolen then a malicious person could impersonate your friend and act badly. Similarly, in the current system, a person can pretend to be a taxi driver and act badly.
Author here, AMA.
Thanks for the ~yearly submit :)
Software has existed since 2008 or so but still going strong.
That's not what the "twitter shouldn't be able to remove anything that's not illegal" folks call it.
The coffee producer was expecting a retail chain to pay $41/bag ($250k/6000)

I'm glad that they were able to move the bags and save their business and themselves from all this debt, but this red flag needs to be addressed and owned up.
In the repo market (overnight inter-bank lending) Fedwire daylight overdraft interest accrues every 15 minutes.
Have you never run into Matlab code with a few hundred global variables mutating frequently? :)
I am in my early 30s and got PRK in my late 20s and absolutely do not regret my decision at all! It's been such a quality of life improvement. I am also a BJJ/Judo player and it really beats having to deal with contacts/glasses all the time. I believe they usually will have wanted you to have tried contacts for a time to make sure that contacts aren't a good use case for you, as with any surgeries there are always risks involves which the ophthalmologist will run through with you.

For me, this is so much better than contacts, not having to fumble around for glasses in the morning and being able to see clearly stuff that is further than 20 cm from my face is life changing (my prescription was -5.5 + astigmatism, so not the worse but still pretty bad) which I haven't been able to since I was like 12 years old. I know a bunch of people who have had it done and very happy as well and I do mention it to other friends. Though it is a personal choice as it is a very elective surgery.

1 week is the bare minimum to be able to took a screen again for a long length of time and "full" recovery can be months (you'll still be able to drive and use the computer fine but there will be some "fuzziness"). I was able to work after the one week. One of my eyes was over-corrected, as basically there is a bit of art of these types of surgery as it relies on the body's healing factor, and after a year of monitoring (which would have been standard even if the over-correction wasn't detected) hoping that it would work it self out, we had to redo the that eye and both eyes were fine after that.

You definitely want to not force it, just take sick/annual leave and don't stress out about working. I'm not based in the US but if you are, I would really recommend you research who you're getting your treatment from and what laser/approach they might be using. Because when I was researching before my decision it seemed like a lot of horror stories were US based (this just might be due to the demographic of the internet posters though). Stories of no contact with an ophthalmologist before the surgery, the surgery being done by technicians and not the surgeon, the responsible surgeon was based out of the state and only approved the surgeries, no follow up monitoring after surgery etc.

If you have an specific questions post then below and I am happy to answer.
Used some creative adjectives so that [Carvana's] AI wouldn’t flag it