skysight-inc/HackerNews huggingface dataset:
At the very least, that does not work for rolling back transactions with the database/sql (https://pkg.go.dev/database/sql) package, although it may work for other cases. We've had numerous production bugs result from this.
If you go that route, you may also want to check out these community-contributed Python and R libraries: https://docs.openalex.org/api#client-libraries
>No offense meant, but that sounds like the assessment of someone that has only experienced really shitty package management systems. PyPI has had their XMLRPC search interface disabled for months (a year?) now, so you can't even easily figure out what to install from the shell and have to use other tools/a browser to figure it out.

Yes, this is, frankly, an absurd situation for python.

And then there is the fact that I end up depending on third-party solutions to manage dependencies. Python is big-time now; stop the amateur hour crap.
All really good things to mention, but the data races thing is a big deal and gets just a short reference and where is the bit about the borrow checker?

The way I see it the things mentioned are nice appetizers and the data race and borrow checker are the main meal.

IME the most frustrating problems are not that you forgot to exhaust the switch statement or didn't initialise a new field, it's when you get a segfault that's hard to reproduce and you have barely a hint about what's caused it.
Why not just import stuff when it's needed? You can place the import statement anywhere you like.

Seems to be a large change for no good reason. Like many previous PEPs, unfortunately.
I heard it with "Fish and Chips".
Pixels have their own issues. For example, Google at some point decided giving users HDMI-out was cannibalizing their Chromecast sales and haven't offered it on their phones since. They tend not to play nice with combo 3.5mm/charging adapters, and often have bizarre hardware and software issues that only crop up a few months after launch. Their new SoC is essentially a rebadged Exynos, and as a consequence it has trash GPU drivers that gimp gaming console emulation to an astonishing degree. Pixel users can't crop the screen to hide the camera cutout so I hope you enjoy watching videos with the world's biggest dead pixel on one side of the screen.
OneLang: A tool to help write code in multiple langauges at the same time
"And." x 5+, case sensitive, new line at the end. Hit refresh in your browser and it will throw an error.
Nope, this is still a "feature" of python and will continue to be
What are the top things you want in a calculator that aren’t included in the default one?
I don't personally consider it greatly increasing complexity. At account creation I register the Yubikeys at the PC and on my keyring. When I first login from a different PC I use the Yubikey from my keyring to login and then register the Yubikey at this new PC.
"... so I decided to use regex. Now I have two problems."
There is no need for your described complexity.

More advanced FIDO devices like the Ledger allow you to backup the initial random seed allowing you to create a duplicate device from the backup any time you wish. No sites you signed up with will know or care that you swapped devices as the new device will generate identical keys via a deterministic KDF from the seed.

You can put this seed far away and would only ever need it when you wish to replace a lost or broken authentication device.

Aside: no US major banks issue safety deposit boxes anymore other than wells fargo which will stop issuing them soon as well.
Re2 is also slower, so they might not be using it for high volume stuff.

Also I’ve heard that Google automatically fails people who use regex in interviews, so their average engineers probably aren’t the best at it.
Whether it's targeted or not, it's an execution. There have been countless civilian deaths, claiming it's unintentional is like driving into a park and saying you didn't target anyone so it wasn't murder.
I always copy-paste into that box as well, they should probably make at least an attempt at disabling pasting into it
When I took my long term "sabbatical", I got some of my best programming done in a park without any internet.

Occasionally I'd look stuff up on my phone, but since it's a Palm Phone with a 3.3" screen and not very much battery life, I didn't do it very frequently. Every so often I'd need to download libraries and whatnot, or I'd really get stuck on something, so I'd head home or to a coffee shop to continue.

But yes, I'd say more often than not, I had a great time programming without the internet, even though one of my targets was the web.
Pretty much.

Not a fisherman but Orvis is better than most. But they're also still family-owned.

REI is also probably better than most but they're a co-op.

But even in those cases they're pretty mass-market oriented which is pretty inevitable unless you're mostly niche mail order. REI doesn't stay in business and support a broad retail network selling climbing ropes and carabiners.
Another solution is just to use inotify-tools and inotify-watch and wrap that in a while true with your commands after. But I like this solution much more.
The missing thing last time I looked was a fast python json library that's byte-compatible with stdlib -- same inputs, same outputs. There are good fast options but they tend to add some (perfectly reasonable) limitation like fixed indentation size, for the sake of speed, that blocks them from being dropped into an existing public API.
Real-time Insights from billions of GitHub events
I read your comment and thought "STar Wars does it, what's the issue?" And then I opened tfa... The ligature doesn't even make sense.

PS: For those who don't see it, the ligature is a circumflex connecting the top of the t with a serif coming out the top end of the s, which is even weirder because it's a sans serif font.
Still better to google translate the meaning of 学习率 than do the same on eta...
My parents and my in-laws (all in their 70s) do this, too, and I'm astounded by it. The TV is just on and playing in the background all the time, even when we visit and are sitting down and talking. It's not enjoyable to me.

Come to think of it, my wife often does this as well (she's in her 30s). She'll put something on and then do something completely different, just the other day I came into the room to find her with netflix running on screen, a youtube video playing on another screen and her staring at her phone looking at something else.

But I find myself, if I'm going to watch something, sit down and focus on it completely, to the point that I often pause and rewind if I didn't quite catch the phrasing of something.

I guess it's just that certain people don't mind passive viewing and can have a lot more inputs without being bothered by it.
A spectacularly dark pattern to have the setting only available on the device you never use the service on.
Ledger and similar hardware wallets support one time BIP39 backup covering all current and future accounts today.
I wouldn't want to do a web-server in MATLAB. I like MATLAB, but no, not that.
If you have malware on your computer (that can compromise the browser), it can just wait until you actually log in to your bank and then grab the session cookie/proxy away your authentication.

It's a different story if the operation you are confirming with a security key actually can be rendered on the display, e.g. "pay $100 to someshop.com" (as in SPC [1]). In that scenario, there is actually nothing to steal except for the signed message itself, which would be useless to anybody that's not someshop.com, but given that WebAuthN almost always just yields a session cookie, I don't really see the benefit.

[1] https://www.w3.org/TR/secure-payment-confirmation/
Grindr |100% Remote (US/Canada)| Full-time | Sr. Erlang Engineer

As a Sr. Erlang Engineer at Grindr, the work you do will help to connect millions of queer people everyday! In this role, you will help design robust and durable systems that anticipate failures and allow Grindr users to connect in a safe and fun way all around the world. We also have a lot of other openings outside of this position!

Learn more and apply at - https://boards.greenhouse.io/grindr/jobs/4045106
There's this assumption, not explicit, but floating around this thread, that aerodynamics somehow makes splats more difficult.

I can't really refute it, but it doesn't ring true to me either.

Insects don't even touch the car before exploding, mind you.
To be clear, this is a project isn't affiliated with SMU, they just did the blog post...it's from a nonprofit called OurResearch (source: I'm a cofounder).

We did have some good conversations with folks at Meta before they closed up shop, but didn't end up using any of their data.
Yes but it is not really relevant for that book. OCaml has an incredible backward compatibility history, and the linked book is about learning the language itself, not its ecosystem.

Things are different for RWO since it relies also on a number of extra tools and libraries which, indeed, change over time (sometimes also substantially)
> That sounds a lot like psychologists decided to call "Not Neurotypical" (however you define that) as "Autism" and then dumped everything into the category.

"Neurodiverse" includes a lot more conditions, such as ADHD, developmental speech disorders, dyslexia, dysgraphia, dyspraxia, dyscalculia, dysnomia, intellectual disability, Tourette syndrome, schizophrenia, bipolar disorder, schizoaffective disorder, and antisocial personality disorder.

See https://en.wikipedia.org/w/index.php?title=Neurodiversity&ol...
Same with iPhone. My mind was blown when after years of tapping left-arrow someone showed me what happens when you hold down the space key. Or that dragging the iphone chat message app's background to the left reveals the timestamps of each message.

It's all very clever and elegant and minimal but consumer technology user interfaces seem to be converging on that of a Theremin.
What does it mean that you were right to feel embarrassed? You were wrong to make the mistake, sure, but that happens. That’s what a mistake is. It’s not clear to me what shame helps in this instance. If somebody has a pattern of not meeting a quality bar with their code that’s one thing, but otherwise cutting people up for mistakes really seems like bad culture. Aren’t you supposed to practice blameless postmortems and all that at Google?
Seed-firing drones are planting 40k trees every day to fight deforestation
I think you are probably getting downvoted because it's Google Docs, running on Google's Servers, with Google's autocomplete and grammer checkers and spell checkers and auto-templates and everything else running against it.

Of course "Google" can read your doc. That has nothing to do with "you being the product" (infact it's the opposite since free Google Docs is a loss leader for their paid GSuite product).

That doesn't mean a person is reading it.
Wow, this is pretty silly, odd! :-)
> What's easier to do? stealing someone's fingerprint or cracking\guessing their password.

> Definitely the latter.

You sure about that? A properly generated (i.e. random) password won't be cracked or guessed in any reasonable amount of time, whereas a model of your fingerprint(s) can be lifted from any object you've touched and used to create a silicone mold capable of fooling many fingerprint readers. And you only have 10 of them at best; once all your fingerprints are known to potential attackers that's it; you can't use fingerprint authentication any more for the rest of your life.
The world is full of non-religious people who don't experience this "void," and even more religious people who do. So you should rather be asking why religion has failed to fill it.
FOAF
> Life will give those hard lessons out for free

Free of cost for the teacher, not for the student
Objective c could be. You can have undeveloped method … if you can make any unbanked message invoke debugger and continue ?

Not so sure about swift playground.

One surprise may be mvs … it is not a Repl. But the idea is that the system cannot be stopped. The sysplex cannot be down because you have a sub-system or just a program error. You have to look at any core dump and fix the system whilst it is running. Obviously not development-Repl. Waterfall and punch card, thank you. But production-Repl.

For production-Repl, basically all current systems needed it. There is no stop of your game world. Or may be yours but not the underlying world. It continues to run even on function upgrade or bugs etc.

The real question is this production-Repl kind (not exactly Repl but the feature of keep the image running, debug or change one part of it and propagate the change without breaking the system) is really hard.

Changing a s/370 control block or jes2 exit lately? Good luck and thanks you for all the fishes, that is why I go away.
There's a section in my blog entry answering that question.

Short version: I want people to be able to use my software if they don't have the ability to spin up a Python web server.
We can start with that, upon starting down the road to learning a (IMO great) but very, very different syntax than most other languages in OCaml, Dune then asks you to write a lisp file to do basic configuration and I suspect 90%+ people who want to explore just say "fuck it" the second they internalize this.

I'm sure there's a crowd, especially here on HN, that views this as some sort of purity test for the language, but in my opinion it's needlessly obtuse over <insert more readable and traditional and lintable type here> used by modern build systems.

Then there's the fact that several `init` commands don't actually fully `init` a project (and up until recently, the very example in OCaml's getting started documentation was broken).

Then there's this insanity

dune build
dune test
dune exec # hahaha no, no, this doesn't work.

Then you gotta manually tape together crap between opam and dune (and don't get me started on how insane the lockfile situation is -- I swear to god I complained once and someone told me I should learn to use nix!).

This is all very fun and yak shave-ey and I generally grin and bear it, but boy do I totally get why most people look at me like I'm a weirdo because I like this language.
Mono No Aware
IIRC, this is standard xlib behavior since the 80’s.
This is pedantic of me, but I think it matters in terms of what Rust actually provides:

Rust does not provide any resource leak guarantees. The fact that resources tend to be freed when their owning scope closes is a “fallout” consequence of ownership semantics, but Rust itself does not guarantee that dropping an object necessarily closes or disposes any underlying system resources. You can prove this to yourself by writing a thin wrapper over the nix crate’s POSIX APIs: you can leak a file descriptor by forgetting to add a Drop implementation for it.

Similarly, Rust won’t guarantee that all allocated memory is freed. `Box::leak` has well-defined lifetime semantics: it turns a `T` into a `&’static T` by removing its drop handler and leaking the underlying pointer. And this isn’t a problem, because it doesn’t compromise either spatial or temporal memory safety!
Quoting from "man 2 close": https://man7.org/linux/man-pages/man2/close.2.html

> it is quite possible that errors on a previous write(2) operation are reported only on the final close() ... Failing to check the return value when closing a file may lead to silent loss of data.

> the behavior that occurs on Linux ... the file descriptor is guaranteed to be closed.

So yeah, it's always closed on linux, but POSIX doesn't guarantee that for EINTR specifically, and there are sometimes meaningful errors.
Aw man, the way MS Word leaves bold/italic markers lying around [the subject of that comic] and greedily applies formatting to stuff you purposefully didn't select, drives me bonkers ... mind you I caught LibreOffice emulating this behaviour the other day (after an update), I hope it can be retamed ...

RIP WordPerfect 'reveal codes'.
tl;dr:

LISP and Smalltalk have the only True REPLs because only in those can you rebuild the interpreter and redefine classes without restarting. Everything else is just so cute with how hard they try.
There is no significant correlation between programming language and bug rate
People have a rather poor memory and recognition of voices they're not
familiar with. By the time it's been through cellphone codecs (linear
predictive coding that basically resynthesises your voice using a
handful of parameters) it's a wonder we can tell one speaker from
another.

How we do it is to listen for other features of speech, accent and
vowels, speed, rhythm, prosody, intonation, anomalies like glottal
noise, dropped H's, nasal formant, murmuring diphongs.. the things
that make us unique.

Impressionists (mimics) learn those. If they're not present in the
source signal it's not easy to change or add them unless you move the
whole signal to an intermediate form (speech to text) and then
resynthesis the whole show (TTS) via a full articulation model that
has those anomalous features.

If you get any good at this the people who you will piss-off are banks
and folks who use voice as a blind authenticator (hint: your bank
already does if you call them).
It’s true that it’s not a guarantee. But I feel like this is one of those cases where it could be an issue in theory, but pretty much never is in practice.
TIL about holding the space key!
I don't want to use 2FA, and I certainly don't want to have to buy something to use 2FA. What is hard to understand about that?
Oh man, I absolutely meant to include Walkabout Golf VR. It's excellent. I do keep coming back to that. Its mini-putt physics are dead-on.

Also Elevens Table Tennis is great too. Feels pretty accurate to me. Also seems like if I played it enough I could get better at real life table tennis.

I'm having a bit of difficulty getting into RE4. I kept getting killed in the first village where the chainsaw man is, near the beginning, and I was playing it on the easier setting.

I'm not bad at games or anything, I did fine in Half Life Alyx for example, but for some reason I kept getting swarmed and I run way out of town while shooting at them and run out of ammo then getting bit as I try to melee them.

I'll give it a try at some point, but for the moment I deleted it to make space for other games (I've been trying quite a bit, trying to get a good feel of what's out there as "research" for my game...

Just found out about Viveport the other day, where you can pay a monthly fee to play a bunch of VR games. Assuming that works with the Quest 2 I'll sign up for a subscription so I can knock out a bunch of games and find out which ones I like.
I have abused and soaked every model of Yubikey. I even melted the casings off every model with acetone to lookup chip specs and Yubico responded by switching to a new unidentified glass hybrid compound no common solvents seem to impact.

In all cases the Yubikeys still worked even as bare abused PCBs. You need a blowtorch or a drill to break one.
Interactive Storytelling from Spreadsheets to Code
I still think the largest balkanization factor in the current duopoly was the cellphone carriers. They have to support the phones they sell. They want as few variables in their support matrix. QED: three options is too many.

Windows Phone had several major opportunity positions where they had all the software the needed and all the hardware they needed to make a statement and then: cellphone carriers simply refused to sell SIM cards to them.

For pretty much the entire lifespan of Windows Phone it generally only had one of two major US carriers reluctantly shipping its flagship and the other supposedly "angry" at Microsoft and refusing to even allow it SIM cards on its network, with flip flopping which one was which between different "flagship" phones.

How does any product survive in an ecosystem that harsh?
Then what's the point of the Close method in the File interface (https://pkg.go.dev/io/fs@go1.18.1#File) ?
I happen to know this works for TreasuryDirect, which hasn't changed in a decade.
Interestingly, "Or. Or. Or. Or. Or." doesn't trigger it.
having spent time on both sides of the fence, i've noticed that there can be a rivalry of sorts between software engineers and ml/ds/researcher types.

researcher types often get to work on problems that swe types find interesting, so some swes get grumbly. researcher types also tend to write pretty horrific code which adds salt to the wounds.

but there also can be a sort of envy that emanates from the research side. many are fully aware of their shortcomings and are envious of the swes ability to get things done on computers cleanly.

it often seems that there can be yearning to wear each other's hats from the two groups. if i were running a company i think i'd try to break down that wall as it would probably make a lot of people happier.

of course, the right answer here isn't a meme... it's performance regression tests in the ci suite. and maybe a little training on why customizing a programming language with macros is bad.
My girlfriend is trying to switch careers to UX design and is enjoying doing the Google course. It seems to be fairly high quality touching topics like accessibility and design studies.

I do wonder how much employers will value it over a more traditional education.
At this rate it's almost worth buying this just collective bargain to get the CM4 modules alone.
Very true on the note of supply. My only counterpoint is that all of Nvidia's products have been supply-constrained, their Jetson line included. The Jetson Xavier NX has a 10 week lead time on Mouser. So it seems that if you're interested in setting up a compute-heavy cluster with Nvidia products, you're just SOL.

Honestly, I've recently gotten a surprise financial windfall, and I could see myself lining up to buy the TPi 2 along with with some 16GB Jetson Orin SoMs if the TPi 2 supports them.
That sounds like a weird choice. When do you ever write to a file but not care if the write has failed?

Sounds like a source of bugs any time your file system isn’t 100% reliable.
Agreed, the author disambiguation isn't quiet as good as Scopus'...they have a bit of a head start on us. But we're improving it quickly.

Thanks for the suggestion about the data dump. A lot of that weight is abstracts, which come in at over 30GB just by themselves. But it's true that the JSON format has some redundancies. For now we think those are worth it, because the denormalized schema is very compatible with the API and easy for beginners to get started with. Plus you only have to download it once (for free! HT to AWS Open Data sponsorship), and after that the updates are very light.

We'll certainly consider offering a smaller, normalized format in the future though, if we get more requests for it.
That settings page also works in mobile web browsers. But yes, it’s not discoverable from the app.
Great question!

Here is a better explanation than I could write:
https://www.joeshaw.org/dont-defer-close-on-writable-files

In resume, man close(2), gives us the potential errors.
This is the output for Ubuntu 20.04 LTS:

EBADF fd isn't a valid open file descriptor.
EINTR The close() call was interrupted by a signal; see signal(7).
EIO An I/O error occurred.
ENOSPC, EDQUOT
On NFS, these errors are not normally reported against
the first write which exceeds the available storage space,
but instead against a subsequent write(2), fsync(2), or close().
That's actually surprising to me. In most languages that I've worked with, strings are immutable so the fact that url doesn't update is more obvious to me and I'd be surprised if it did update.
I would always use '>' in README files to indicate the command was to be ran in a command prompt window for Windows users, usually followed with context.
Another happy Moom user! From around the same time period.

Can't really use OSX without it.
I've seen people who state their love for Rust and then fail to explain the difference between passing an argument by value, reference or mutable reference.
Cloudflare Q1 2022 Financial Results [pdf]