skysight-inc/HackerNews huggingface dataset:
Nearly every time I’ve had to reverse a string, it’s been for a coding interview.
A 350-year-old story is behind the viral selfie location of Saint Ignatius
These poor sheep have to live on a concrete floor and hardly ever see a real meadow.
I have a old guy that I work with - PhD in Math (because CS didn't exist then) - who does lots of algorithm development with me. I often get Word docs of pseudo code from him. I'll do a search-and-replace on things like "LET" and "ELSE IF" and a very high percentage of the time if I run it in Python it works on the first try. Kind of amazing to me.

The hard part for me is then translating his ideas into vectorized numpy for speed, but at least I get the right answer to check against.
I agree with what you're saying, but some context:

> I'm not aware of one for rust, but there is a lot of progress in this area

https://github.com/model-checking/kani is probably the best known one, I believe there are a few others.

> (I'm not sure what rust allows, particularly in unsafe).

You can't "cast const away" in Rust, even in unsafe. That is, you can do it in unsafe, but it is always undefined behavior to do so. (I am speaking about &T and &mut T here, const T and mut T exist and you're allowed to cast between those, as they have no real aliasing requirements and are really just a lint.)
If you change "Fortunately for you ..." for "I routinely search HN for", nobody would need to read it *extra* charitably.
Imagine you get a signal during getenv itself with the mutex held. Then your signal handler calls getenv. (On the other hand -- getenv is not marked async-signal-safe, so this use is already illegal.)
Source? If you're curious cost as it relates to supply and demand of higher education, here's one [1].

[1] https://www.stern.nyu.edu/sites/default/files/assets/documen...
Put small ID stamps on everything (or many things). It will start to acquire a history, like a passport or guitar case.
> you are right but there is no longer term in politics, especially in today's day and age

Unfortunately, I still have enough years left in me, that I'm gonna be here for the long haul. The stock market exploding due to deregulation, and then in 10 years the entire economy imploding because of it, just means that I'm going to have to live through the economy imploding again.
Conclusion:

"""
While current LLMs with BPE vocabularies lack
direct access to a token’s characters, they perform
well on some tasks requiring this information, but
perform poorly on others. The models seem to
understand the composition of their tokens in direct probing, but mostly fail to understand the concept of orthographic similarity. Their performance
on text manipulation tasks at the character level
lags far behind their performance at the word level.
LLM developers currently apply no methods which
specifically address these issues (to our knowledge), and so we recommend more research to
better master orthography. Character-level models
are a promising direction. With instruction tuning, they might provide a solution to many of the
shortcomings exposed by our CUTE benchmark
"""

That is "having problems with spelling 'games'" and "probably better to use character level models for such tasks". Maybe you don't understand what "spelling games" are, here: https://chatgpt.com/share/67928128-9064-8002-ba4d-7ebc5edf07...
In my experience this aspect is chronically underestimated by devs. The change needs testing. Change Management might need to create artifacts. Help articles might need updating. Certain clients may need a heads-up. All the PMs need to be briefed (this change is outside of their roadmap so it'll be a fun surprise).

As an org grows the piece of the Effort Pie that is Development gets smaller and smaller. It's not that development gets easier, it's that every other part of the process grows in size and importance faster than the Development piece grows.

It takes about an hour of developer time to incidentally produce 20 hours of work elsewhere in the company.
I worked with David Cutler and he very much did what he described doing. Others on the kernel team followed similar practices. There is code Dave and I modified together where we then sat and audited it together.

This was all code in the heart of an OS - thread switching, interrupt dispatch, synchronization mechanisms - things where even the most rare and exotic error might actually occur and cause a disaster.

But some hazard/cost computation is needed. There was an article in the '90s about a team doing software for an arm for space work (maybe on the shuttle) - they were hyper careful. I figured out that if all of windows had been made at that rate out of code output it would take 100 years to finish and would cost several trillion dollars. Not long after that that space arm suffered some kind of software failure, in space. Wasn't for want of effort by the dev team.

Remember that many errors arise from things outside the code you wrote/studied - some other code corrupted something, buggy behavoir in hardware, and so forth.

As for coding by hand, simulating by hand, flow graphing by hand, I don't think those were all that unusual, just one person took it to extremes and wrote about it.
I was confused about that. It looks like it drives the chain, but then in the video after installing it or while riding it he's not pedaling.

But then when watching closely, I can see there's a cut in the video between the device being placed on the frame and him testing it and in the cut the entire bottom bracket has been replaced and the chain is now making a different path through the machine, so I assume the bottom bracket needs to also have a freewheel to make it work, plus you'll need a new chain (or to join a couple of chains) to make it fit.
yea when I was looking for linux version I was finding tag again and again lol
I messed with TMSU back one of the previous times it was posted. It's very cool and works well but I just couldn't make myself go retroactively apply tags to terabytes of existing files.

It almost feels like a personal categorization version of the "AI Bitter Lesson": people keep thinking that doing a bunch of manual taxonomy work is going to help them find files faster but eventually search catches up
Chicken Accessories for Chickens
Thank you for using the project!

On the concern of it would be harder to setup, I think it would be easier in fact, you would simply curl the Go or C statically generated binary to your path and would alleviate the need for jq or curl to be installed alongside.

I think the reason I haven’t made the switch yet is I like Bash (even though my script is getting pretty big), and in a way it’s a testament to what’s possible in the language. Projects like https://github.com/acmesh-official/acme.sh really show the power of Bash.

That and I think the project would need a name change, and discord.sh as a name gets the point across better than anything I can think of.
Except it has no freaking idea what it's doing, that's the difference.
Abstractions are a way to manage complexity - hiding things is only one way to do that. Deciding how to organize it, when and how to expose it, and when to get out of the way, are all important aspects of designing abstractions.
Ikea is nice design, but from what I've seen it doesn't last. You still get what you pay for. That makes it perfect for young adults, who aren't buying for the next 20 years, but it's not a vote of confidence in the startup.
I really wanted this to exist about 15 years ago, but at the time didn't have the skills to make it happen. Nowadays though I'd want something that can sync across between Linux and Android at the very least. But I've gotten to comfortable with find and grep to bother.
Algorithmic ranking is unfairly maligned
One of my favorite parts in The Art of Computer Programming is when Knuth goes into alternative numeric bases. He makes mention there of "base 2i" as well, though he details it in a much older paper: https://dl.acm.org/doi/10.1145/367177.367233

Base 2i is particularly fascinating for allowing a numeric system that can represent all complex numbers without signs and without addition.
Can you name drop some examples?
How's the Windows support? I check every few months, and it always fails to even run bun install on my projects on Windows.
No it isn't. Backlashes tend to be obvious two years after presidential elections when the midterm elections happen.
It is reasonable that things got bad on Dec 12 2000, but I contend that things have gotten worse (at least from a liberal PoV). I don't know understand the goal of projecting it as always being bad. I think that hides nuances or details that matter.
I love everything about the demo video on the homepage. It's always fun to see a creator beat up their product and see it withstand the abuse.

As far as "any bike can be an ebike" I'm surprised that Hilltoppers[0] haven't gained more traction over the years. You just pop off your current bike's front wheel and install theirs.

[0] https://hilltopperbikes.com/product-category/electric-bike-k...
power showdown between the second most powerful person in the country and j powell. itll be more entertaining then tyson vs paul.
PLEASE PLEASE PLEASE option to invert mouse Y-axis.

It looks fantastic, but I can only play if down on mouse is up on view.
I mean, miles are so rare for non English speakers, that it didn't register to me as weird
Dasung's new portable E Ink monitor has a 60Hz refresh rate
I agree with you that he won't care or be dissuaded, but that doesn't mean that backlash doesn't matter.
ah silicon valley disposition, my favorite place to window shop at. If your ever curious just go to hibid.com and put in a Silicon valley zip code.
I first played Minecraft when Notch was posting demos as zip files on the TIGSource forums. I playtested and kept playing off and on until a little after the 1.0 release but that was still over 10 years ago. Some of the early demos also had object impermanence. You would leave a chunk and when you went back to it, it had been re-generated.
The next link in the series was better, IMHO.

https://benpence.com/blog/post/psychedelic-graphics-1

This gets more into how to introduce motion and new visuals instead of the building blocks. The rolling hills graphic was really interesting.
I find most often people who are opinionated have very little knowledge on the subject. They are opinionated in an effort to try to keep discussions in a realm they feel they have some sort of expertise, but by definition their limited view makes them look silly to those with deeper understanding.

I apologise for being off topic, but I really want “an opinionated X” to stop having some kind of positive connotation to junior devs.
That was also my impresion. LLM can "describe" but not classify. Hallucinate but nothing precise.
My local mechanic said that there is a firmware update that supposedly fixes the radio drain last time I replaced the battery but I haven't looked into it. He primarily works on Subarus and it sounded like he'd seen that as a root cause of dead battery a lot.
> Node is great but there's just too many options to configure

What exactly do you have to configure in Node?
What common streaming services even offer 4K streams that are more than say 30Mbit a stream? Most Blu-Rays are what, ~40Mbit?

A 1Gb internet package would let you have a dozen 40Mbit streams (480Mb) and still have another several hundred megabits for gaming, http traffic, etc.
> you read it totally differently than me

Yes, I read it beyond the abstract. And if you did too, you'd know about the theory that "the requirement for thiamin is reduced due to a reduction in thiamin-requiring glycolytic metabolism" or that "the large quantities of carnitine available in an animal-based diet may provide Vitamin C sparing effect".

> As I understand it it only confirms my view

As even the abstract, that you limited yourself to read, goes on to confirm that these nutrient requirements are reduced in a carnivore diet -- cf. "facilitates a lower requirement of certain nutrients" -- then your understanding is a doozie, let alone it support your unsubstantiated view that "meat is indeed not "nutritionally" complete".
Start Speaking Japanese Now
one observation is that performance differ tremendously base on nature of data, and dev needs to run data specific benchmnark himself.

For example, on my data I have 2x compression rate for lz4 and 7x for zstd somehow.
https://developer.mozilla.org/en-US/docs/Web/CSS/@layer also solves a lot of problems.
Tried it out briefly—this is great. I'll use it more to double-check my portfolio for ETF duplication. Bookmarked!
What is the square root of "Gets to learn about real tech economy"?

(I think you mean: :) )

EDIT: Why did HN nuke my checkmark (U+2713)? I insert it between the colon and smiley, and it disappears when I click submit/update. !! Now I understand the parent's mathematical expression better.
The waste of our generation really kills me. We all pay for these things. It’s in the price of everything we buy, all companies pass on costs to the consumers.
And what happened to him? The party purged him so fast there's nothing left of him but memes.
I mean thanks but that doesn't change the fact that

> That's a rather surprising choice for the default, and it's not at all obvious how you'd disable it if you don't want to expose your S3 bucket directly.
It will fail epically as always with these morons, let's hope some of us still feel like helping out once the coin drops.
Information Theory, Inference, and Learning Algorithms (2005) by David J.C. MacKay (sadly deceased) was one of my favorite books covering some of the Maths in this area. I need to look at it again.

Free link to online version http://www.inference.org.uk/itprnn/book.pdf
Nice idea, all these type of databases should indeed support both hierarchies and tags for any decent organization, but no gui and no update tracking - unfortunately, that's way too limiting
Often, one of those cost controls will be penny-pinching on salary. Don't get me wrong, I'd love a place that pays a generous salary and then buys knockoff/used aerons instead of brand new / brand name.

But often the company is either stingy or generous, and they view the chairs and the engineer comp as both things to invest in, or neither.
> Everybody should be doing this and most people are capable of it.

I agree with you that everyone should be doing this, but I disagree that most people are capable of it.

There are two points of arguments:

1) People get tired when running code in head, so I can't do it very long. What I observe is that 10X programmers can do this consistently, even when they are tired. John Carmack is a very good example. I won't say it's in the genes, but I suspect most people don't have a huge room to improve -- or, if theoretically they have a huge room to improve, realistically they don't

2) Even when I can run code in my head, when I'm in a good condition, I can only run MY part of the code, i.e. I simply cannot run any library code. I'm working on a simple Hex editor with C++/SDL2/ImGui, and running SDL2 code and ImGui code in my head is way above my capability. Last night I kept running a piece of code in my head and I couldn't really find ANY place it could go wrong, until I figured out that must be the scan code that ImGui is using, so I switched to a recent version (mine was from 2020) and the issue went away. What I observe from the 10X programmers, is that they usually work on very low level problems, so they have the benefit of not relying on external libraries. David Cutler is a good example here.
In the video it appears to be only throttle controlled. I have no idea what kind of e-bike regulations India has, but I wouldn't be surprised if the answer is "effectively none". Hopefully they won't make the same mistake many other countries did with the pointlessly complicated class system for e-bikes.
I'd only really heard of it as an aftermarket feature you had to mod onto the vehicle not as a base part of a package. At least not in the low market range you can get that feature now. Used EVs less than 30k come with that feature now.
Hmm this is really different than my experience with a 2018 Crosstrek, so maybe things have changed? When I bought it, Subaru was among the earlier CarPlay/Android Auto adopters (we specifically ruled out a new model year Prius because it lacked it and we couldn't wait a year to replace our totaled car just for CarPlay/AA), and other than a very rare issue where the head unit screen doesn't turn on, it's been pretty rock solid with both phone OSes.

Environmental controls are all physical hardware, CarPlay/AA is integrated well, etc; I can't really complain about any UX in the car.

The only UX gripe I can think of is that Apple doesn't let you use natural touch inputs to pan/zoom a map (instead forcing you to tap to bring up on-screen d-pad, then keep tapping the tiny button targets while trying to keep an eye on the road), but that's entirely on Apple; Android Auto allows normal 2 finger pan/zoom, so it's not a Subaru problem.
I believe they just don’t think OpenAI has the moat they thought they had.
For what it's worth, I'm fully aware of honeycomb blocks and have played Minecraft recently, but I've never seen a honeycomb block in person. It's entirely possible she plays casually or has played casually recently but doesn't engage with media or wikis enough to know about blocks that she hasn't had reason to see.
I'm still a fan of Deno and hoping it wins out but

> more pragmatic (e.g. Node/NPM compatibility)

Both projects are good on this front. Deno actually originally explicitly promised NOT to work on node compatibility to "move the industry forward". They realized this was a failing move and backtracked (which has been a little controversial amongst the core base)

> with better technology choices (e.g. Rust vs. Zig)

I think it's a little silly to take the choice of language as a "technology choice". Both are new languages, both still have a lot to prove, and both have pros and cons the other lacks
You can enjoy living in a city but also enjoy outdoorsy pursuits. TTS is a measure of your ability to do both.

It can also be a measure of the maximum size of city you enjoy. There are people who like cities but still wouldn't want to live in NY/LA/London
Allowing student debts to be included in bankruptcy takes care of most of the issue. Those that were unable to find decent, paying jobs will have a path to relieve the stress of high student loan payments, while those that found high paying jobs will continue paying on the loans from which they received a benefit.
Here's a music video the OP and I made with these techniques: https://www.youtube.com/watch?v=5GOciie5Pjk
Learn from the Best Writing of All Time
The last thing I need, truly.

If I ever have a need for buggy crap code, any random boot camp dev can write it for no money at all.
> non-symmetric download and upload is really dumb.

IIRC all their asymmetric internet packages are based on their coax deployments. It's not a dumb tradeoff in the coax space even though I don't like their choices of how much in each direction they usually do. There are only so many useful channels they can deploy in a given physical network. They could offer more upload bandwidth at the expense of download bandwidth but generally speaking most customers don't upload much and value download bandwidth over upload.
Thou shalt not criticise dear leader! This story pairs well with the one about the weather reporter being fired for daring to call out a recent and controversial "arm gesture" on her personal social media account. Seems like there's a concerted effort to reign in networks and journalists, I wonder what could be in store for after.
Not that it's a perfect source, but reddit lawyers used to describe the difficulty of proving entrapment by laying out two requirements: (1) you wouldn't have committed the crime if the instigator wasn't law enforcement, and (2) you only committed the crime because the instigator was law enforcement. One or the other is not enough. Like an 'if and only if' deal.

If you aren't aware that it's an LEO urging you on, I don't see why you should be able to argue impropriety. You made the decision as if it were real and would have real consequences.
Trivy: The All-In-One Open Source Security Scanner
I wonder what was in the Juicero auction ;)
I think their move away from a binary lock file to a text based lock file in this release makes this pretty clear - they shoot first and ask questions later. Any of those problems they've identified with the binary lock file are kinda obvious if you think about it for a bit. A strong indicator that you should think about it is that the popular languages with package managers (npm, ruby, rust) have text based lock files. The fact that the bun team didn't think about it and thought that binary was better because it was faster and no one had thought of this idea feels like hubris to me.

It's cool that they're doing the mainstream thing now, but it's something for them to think about.
I believe we'll see two main types of AI/LLM libraries/frameworks emerge like has happened for ORMs (at least in Python).
- The "Sqlalchemy" level: just bridge the gap between code and LLM
- The "Django" level: additionally handle how data is indexed for RAG, standard patterns of connecting the pieces, possibly GUI, support for plugins.

It seems langchain and llamaindex are aiming to be the latter, and I'm building https://magentic.dev to be the former. I'd be interested to get your take on whether these abstractions would allow you stray from the narrow path while still being helpful!
You can’t convince me that there is EVER a reason to call setenv() after program init as part of a regular program, outside needing to hack around something specific.

Environmental variables are not a replacement for your config. It’s not a place to store your variables.

Even if the env var API is fully concurrent, it is not convention to write code that expects an env var to change. There isn’t even a mechanism for it. You’d have to write something to poll for changes and that should feel wrong.
Why is he at Davos when he should be in Arkansas yelling a chicken farmers?
the "actual problem" is often management trying to find cheap labor or even using AI to "do it themselves"
Tried this with Gemini and it face-planted right at the start by mis-parsing the position of the black king and pawn :(
Every few years, someone -- ? who -- tries to make pet chickens a thing. The last time I saw it was at a bird show in Medina, Ohio in 2018 or 2019. Right now would be really bad timing to come back with that....
Nix is the best.

If you're reading this and wondering how you can use this for yourself?

You don't need nixos at all. You can install nix on any linux-like system, including on MacOS
Won't this shift the meta for malware to a "button" that is 99.9% transparent and overlays the whole page in the hope that someone will accidentally click on it when trying to select text or something? A lot better than 0-click ig but might catch people now and then.
The correct abbreviation is "km/h", so kmph is closer to the correct one than kph. kph seems like a measure of insane acidity.
Walmart Stands Firm on Why It Doesn't Accept Apple Pay in the U.S.
After 18 years, Sony's Blu-ray media production draws to a close
> I assume it means 25 kph top speed, which is on the slower side for e-bikes.

This is the maximum speed for an e-bike in many European countries
No mention on ntfs and windows keywords in the article, for those interested.
Dependency-Track: Software Bill of Materials (SBoM) Analysis
What about a background data refresh task running and the server geolocating the IP making the request? The accuracy would vary but you could still get reasonably close to assuming someone's nearest city.

Background data refresh is reasonably safe to assume everyone has turned on...
Show HN: Mixlist
built a web app that uses k-means clustering on artist genres (one or multiple) to automatically organize Spotify liked songs into playlists. clean UI.

you might have to click refresh playlists couple of times to get what you want. comments are appreciated. thanks!