skysight-inc/HackerNews huggingface dataset:
I have vivid memories of places I’ve been and things I’ve done, but I have absolutely no idea when any of those events occurred. I don’t remember what order I lived in what house, although I could draw you a picture of each of them. Same with my job history, I keep it written down in case I have to fill it out on a job app, and if I lost that piece of paper, I wouldn’t be able to tell you when I had any past job more accurately than +\- 5 years. I don’t know when my car’s registration is due - I remember registering it lots of times, but other than visual cues (I remember it being sunny so it was between may and August) I have no idea which memory is the most recent or when that was.

I don’t remember appointments or due dates; I tend to just work on a project till it’s done. I start at the beginning, keep going till I get to the end, then, stop. People ask me for time estimates on how long programming tasks will take and honestly it’s kind of hilarious that they expect any kind of accurate answer considering that without writing down the dates I worked on it I wouldn’t have any idea if my estimate was accurate even after doing the work. So what basis do I have to even guess?

But I remember the wind in my hair and the color of the sea from when I sailed a boat on the ocean by myself once decades ago. I just sort of live in an endless perpetual now with no distinct future or past.

I don’t know where that puts me in this spectrum.
> And not having to commit one's startup capital to a single fixed location.

Ultimately I suspect it's about the renter-rentee relationship. Property owners and existing fixed businesses aren't very keen on mobile competition that doesn't have to pay continuous ground rent.
To clarify, my concern is much more about the privacy aspect than the security one. I agree that there's technically not much threat in giving up your first name. From a security standpoint, it doesn't really expose much more threat surface than what already existed. I'm more talking about the general creepiness factor; the expectation of public privacy. This is more subjective, but I think there's a logic to it that is worth questioning.
Not a super fan of JSON, not least because it has no comments, but that was totally the right call on his part. We'd have a ton of semi-de-facto crap to parse out of comments by now.
> Imagine each pixel is a high-resolution projector.

... that describes a lenticular lens array. Each lens takes a section of the screen and projects it out just as a projector does. A lenticular array of cylindrical lenses does it in only one dimension. It's possible they are using a microlens array to do it in two dimensions instead of one, but the concept is very similar and also not unique.
And you can probably find unlicensed porn of every IP out there, but I wouldn’t draw any conclusions from that.
What about issues, pull requests and contributions from developers outside the org? So I'm thinking in terms of any kind of engagement, since stars and forks are a single point in time but you can have many stars and forks on a dead project too.
> The general perception is that no one wants it (systemd)

I disagree. A few loud voices strongly do not want it, but a few others like it, and the vast majority seems pretty content using it, not caring as long as it works well enough.
A while ago, I had posted about an app I made,
- using Wails,
- using Webview.

You can compare both: https://github.com/fusion/pngsource

Spoiler alert: it works, but... "meh."
The reason social services are underdeveloped is because police spending has swollen to consume massive portions of municipal, state, and federal budgets. This is thanks to decades of conservative politicians beating the drums of "wasteful" welfare spending and "fighting crime by spending more on police."

Forty percent of Uvalde's budget was going to the police - $4.3M for 15,000 residents, or $2900/person. That doesn't include the half a million dollars for their school police force.

New York City has a budget of about $100BN, and $11BN goes to NYPD - $1300 for every single person in the city.
Submissions have to be in English. The problem with the GP comment is not that it's not in English, it's that's it's tropey and unsubstantive. Just flag bad comments and move on.
Search for ocamllex and ocamlyacc. Also Menhir.
yes, exactly, as I wrote if the data is not collected the right way we could end up focusing on the wrong solution

in this light the article is not completely useless or "not part of the solution", after all.
Even if alternate energy sources were in equal footing with fossil fuels it would still be worth it to pursue them because of diversification. Fossil fuel extraction has been a driving force behind geopolitics for the last century. While the elements behind solar and batteries are similarly becoming strategic resources, at least the list of exploitable resources is growing rather than shrinking.
You can and eventually you will be transferred but you will absolutely be met with the: "Sir, next time call 911". I speak from experience.
Not on my phone.
I'm aware of that.

I was speaking more to the aversion to commercialising the comic or its characters.
Woodpeckers Don’t Mind Hitting Trees with Their Faces
Emulating HDMI Connection (2019)
I'm curious what insects the author had in mind.

I have a deep hatred for hornets, but I can think of some other insect species I'm happy to keep in check: mosquitoes, ticks, horse flies / deer flies, cicadas, etc. And probably some caterpillars that can damage our trees by eating their leaves.
If you are focusing exclusively on digital logic, why not just use HDL?

Something like

https://github.com/myhdl/myhdl

or

https://github.com/m-labs/migen
Wow. Just sublime. Insanely ambitious projects mixed with the insightfully practical and leavened with, er, just so many ways to die. Have downloaded both and will relish reading them thoroughly. Many thanks.
I think these are actually https://extension.psu.edu/german-yellowjackets so I'm kind of confused.

>Unlike wasps, hornets don't plague picnic areas in the summer in search of food. There is thus no danger of being stung in the throat by a hornet!

I'm not sure about this either - they seem attracted to open cola cans.
as an other perspective this happens because you are not pinning the versions correctly. your gemfile should have an explicit version of every major gem you use and the gemfile.lock should have the resolved dependencies already made out and committed. you should also have a particular version of ruby in mind and locked with a .ruby-version file in the project root. This should work flawless in all but the oddest edge cases.
Am I supposed to respond to the collective opinion drift caused by a new person responding to me in this thread at every sub-level?

The original claim was that our brains are broken because we respond to propaganda. I don’t have the inclination to address the opposite claim as well.
The idea is that users of software or products containing software can understand the components in it and make informed decisions on what to do.

The classic example is an MRI machine at a hospital. You hear about a bug in the Java Spring library that must be patched asap. You need to do a complete inventory of everything in the hospital running software to decide if it is vulnerable or not.

When you get to the MRI machine: what OS does it run? Is it using Java and the affected component? Is the component an affected version?

Asking the manufacturer for everything for every security vulnerability is not scalable and may not result in accurate answers. By giving the consumer more info they are more empowered to act and make intelligent decesions.
New kind of laser uses tiny particle clumps to generate light
Company sends remote worker photo of herself, fires her for going to kitchen
Can bun:ffi deal with opaque pointers and C preprocessor generated types?

For example can you embed a package like Guile in JS with bun:ffi?

https://www.gnu.org/software/guile/docs/guile-tut/tutorial.h...

Opaque pointers and preprocessors often trip FFI up
people on supplemental oxygen sometimes get CO2 problems; the oxymeter shows good numbers but they're acting drunk or feeling poorly otherwise.

Apparently its sneaky and cumulative; a few moments wont do much but as time goes on you get fizzier.
pipenv install, pipenv lock and docker installing the lock file with pip.

Never had to think about which virtual environment I am using again.
Gave my Mamiya RB to my daughter. We travelled with it — in a van one summer (driving up the California and Oregon coast). Fun times.

I prefer the smaller TLR's like the Yashica these days.
Yes these studies exist and will come up if you search: https://pubmed.ncbi.nlm.nih.gov/17579545/

If you might kill yourself, involuntary commitment might be the right course of action.

Typically these things can't be communicated to employers or insurers unless you generate a criminal complaint - eg you decide your method of suicide is going to involve victims.

Yes people who attempt suicide probably have shorter lifespans. I'll leave it to you to puzzle that one yet.
Literally zero people died in the immediate aftermath, and in the years since one person who worked at the plant has died.

The data is clear, in terms of deaths per TWh of generated power, nuclear is the safest, cleanest form of power we have. [1]

Coal power kills between 24 and 100 people per TWh generated (100 for brown coal). Nuclear is 0.03 - between industrial solar and wind, and significantly lower than rooftop solar. It also has a lower carbon impact than both wind and solar.

Yes people were evacuated. But they'd have been evacuated anyways whatever kind of plant was there.

[1] https://ourworldindata.org/safest-sources-of-energy
JavaScript? I have written things on my phone before though it's kinda a pain. (https://jsconsole.com/ is your friend.) The Scratch editor doesn't work on phones really at all though it's fine on tablets.
GM announces plans to build ‘coast-to-coast’ network of 2k EV chargers
None of the media coverage I've seen or can find seems to mention this supposed paycut due to more hours at the same pay, including in really sympathetic outlets like the Guardian which describes their demands as being exactly what I claimed. In fact, the only change to terms I can find anywhere that even vaguely resembles that is that maybe some staff will no longer get the same generous overtime multiplier on Sunday, and that's from the literal World Socialist site which is vague enough in their wording that I suspect they might be playing sneaky word games again. (They're... not the most trustworthy source.)
I know this is supposed to be about China, but is true of Russia and many poorer countries. The elite of the country can siphon money of simple industries like oil and primary industries, but they can't control high tech. Kamil Galeev writes some great threads on this https://twitter.com/kamilkazani/status/1501360272442896388
There is generally no free lunch when it comes to housing.

It's just expensive in developed countries, unless it's in a dangerous/decaying area.
If that statistic we're true many people WOULD be okay with such a policy. We've moved from a "stereotypes are morally wrong because they're factually wrong," through "stereotypes must be factually wrong because they're morally wrong," and landed in "stereotypes are morally wrong, so it doesn't matter if they're factually right or wrong.". Your values are transient. The truth is not.
Grokking Algorithms is an introductory illustrated book.

https://www.manning.com/books/grokking-algorithms
I assume they want to have their economy, their real estate market, their developers and their banks mostly intact.

But if they don't, forget what I've said.
No one is claiming South Vietnam was a well run utopia, but it's equally foolish to believe North Vietnam was much better, when it was actually a lot worse in its oppression.
Congrats on launching and site looks and works great. Care to share the stack you built it / are hosting it on? Always curious to hear the technical details :)
Oh, so it's a security lookup tool, and I imagine you'd want a web and search interface on top of it.

I've seen a project https://backstage.io/ of which one if its features does something similar to what you're describing.
Byte Magazine: The Forth Language (1980)
As another comment also alludes, there's probably quite a lot more work required before this could be called a complete compiler (without heavy qualification as to what it actually compiles, since the language of boolean expressions probably isn't something that most people would consider to be a programming language per se); that said, toy languages like this are a great way to explore some fundamental principles of programming language theory.

Boolean expressions have very trivial denotational semantics (since there's no recursion or state), so you could try formalising these in Coq (FRAP [1] and Software Foundations Vol. 2 [2] are both good places to learn more about this).

Next, you could write formal operational semantics for your VM, and then finally prove that your compiler is correct in a formal sense (i.e. the image of any well-formed input under the compiler operation has a terminating execution in the operational semantics that yields the same value as would be obtained by the execution of the input expression under the denotational semantics).

The last part would require implementing the compiler in Coq, but since you've written it in OCaml it probably wouldn't be very hard to port.

[1] : https://frap.csail.mit.edu/main

[2] : https://softwarefoundations.cis.upenn.edu/plf-current/toc.ht...

Edit: Having looked at your profile I now realise that you probably know all of this already, but it might be informative for anyone else reading :)
That dude's quote is definitely moronic but you making the leap that globalization is somehow the root of all of society's problems is pretty close.
opaque pointers yes - 'ptr' or 'void*' as the arg type/return type. if you need to create a pointer then you can use a Uint8Array or a BigUint64Array.

generated types - not yet, though if it's a pointer you can pass that

struct support isn't implemented yet - so just numbers, pointers and also strings. still not sure the best way to do structs efficiently. passing an object to the function call will be too slow.
I had a YashicaMat, which was a cheap TLR, but Plus-X through that was gorgeous.
Working link https://static.wikia.nocookie.net/superheroes/images/6/65/St...
The context here was that gVisor was a suboptimal way to solve the problem and they know that... so I am not sure in what point you are trying to make by saying people can optimize to solve problems unless you actually mean people can optimize to not solve problems.
> In shader-land we don’t have too many resources for debugging besides assigning strong colors to variables and trying to make sense of them. You will discover that sometimes coding in GLSL is very similar to putting ships inside bottles. Is equally hard, beautiful and gratifying.

Really? Is there no emulation environment? This DX (development experience) seems ripe for disruption.
Hey there, author here :). The language is intentionally very simple indeed, because the goal is to showcase all indispensable steps of a complete compiler. I initially wrote it for my students as an introduction to my compiler class (for the very first session).

> would traditionally be called an expression evaluator

It is not an evaluator, evaluators are included (the different eval functions).

> the 150 lines doesn't include the parser or lexer either

This is just wrong:

$ cat *.ml{,l,y} *.c | sed '/^\s*$/d' | wc -l
149

and these 149 lines (okay, 169 if you count blank lines which are removed using sed in the count above) include the two `eval` and the `run` functions which are not actually part of the compiler but here for clarity (they help understanding how the successive intermediate representations of the boolean expressions work — without them the entire project is less than 130 lines).

> Not a bad attempt for what is presumably a first try

It's not ;). It is however targeted at beginner compsci students who have absolutely no idea how compilers are built yet :).

> but I think "complete compiler" is overselling it.

It does lexing & parsing to produce an AST of a boolean expression, then a traversal of this AST to transform it into a second intermediate representation (an AST of NAND-only expression), then compiles the expression into a list of instructions (and this paradigm shift is a big step that is tough to teach to some students, believe me ^^), and then emits the corresponding bytecode (which here is 1:1 with the imperative instructions), and then the VM interprets this bytecode. I don't think I'm overselling it :).

The only way it is not complete — and that's written in the README ­— is that it has absolutely no semantics analysis (there is only one type, and no names, so there is nothing to analyze ^^), but that is not mandatory to be called a compiler.

Then again, this is only the first hour of a semester long compiler class (which covers semantic analysis, don't worry) ;).
It's probably a good plan to take a look at the US executive order that spawned this move by MS https://www.whitehouse.gov/briefing-room/presidential-action...

> the term “Software Bill of Materials” or “SBOM” means a formal record containing the details and supply chain relationships of various components used in building software. Software developers and vendors often create products by assembling existing open source and commercial software components. The SBOM enumerates these components in a product. It is analogous to a list of ingredients on food packaging. An SBOM is useful to those who develop or manufacture software, those who select or purchase software, and those who operate software. Developers often use available open source and third-party software components to create a product; an SBOM allows the builder to make sure those components are up to date and to respond quickly to new vulnerabilities. Buyers can use an SBOM to perform vulnerability or license analysis, both of which can be used to evaluate risk in a product. Those who operate software can use SBOMs to quickly and easily determine whether they are at potential risk of a newly discovered vulnerability. A widely used, machine-readable SBOM format allows for greater benefits through automation and tool integration. The SBOMs gain greater value when collectively stored in a repository that can be easily queried by other applications and systems. Understanding the supply chain of software, obtaining an SBOM, and using it to analyze known vulnerabilities are crucial in managing risk.
Arguably the exact numbers aren't interesting either. 456 982 requests from 5674 projects by 3091 user accounts were dropped during the 23:53:42.104 hours the outage lasted. I think it makes sense to make an interpretation and present that instead of raw numbers.
And also data query & transformation languages like XSLT and XQuery that are designed around its data model.
Another issue is financing manufactured homes is often much more expensive than tradditional / stick built houses. I'm not sure how that applies to Lindle / other higher end pre-fab homes. A house on a foundation vs wheels/blocks is another factor.

I agree the situation in Paradise was pretty messed up.

I'm up the hill in Plumas County. Quincy and Portola have multiple trailer parks. Graeagle has lots with manufactured homes on them - but not trailer parks. Outside of a couple of RV parks with a few "full time" residents.
Show HN: Tone v0.0.7 – scriptable command line audio tagger with docker support
Hey HN,

again some progress on my little (maybe useless) toy project called tone[1] hoping for feedback.

tone is a cross plattform command line audio tagger deployed as a single static binary without dependencies, so a wget should be enough to install on any platform (seems not to work on M1 Macs atm... if someone can help here I would really appreciate it).

Improvements since the last post (v0.0.4):

- multiarch docker image for all major platforms
- docker pull sandreas/tone:v0.0.7
- docker run -it --rm -u $(id -u):$(id -g) -v "$(pwd)":/mnt sandreas/tone:v0.0.7 dump my-audio-book.m4b
- new JSON metadata format with JSONPath support
- tone dump my-file.m4b --format=json --query="$.meta.album"
- metadata writer fixes for m4b audiobooks iTunes

General Features:

- Supports most common formats (mp3, m4a, flac, ape, etc.)
- Most common AND custom metadata fields
- Chapter support
- Embeddable pictures
- Hackable (write your own taggers with scripting language)

Thanks and have fun.

[1]: https://github.com/sandreas/tone
30 year mortgage are normal in New Zealand and Australia, as well as the UK and at least some parts of Europe.
It's even spraying in front of the train car and then apparently rolling right over it without much trouble (although I note some white paint on the wheels).
Yeah, of course: if you are the kind of company that like a having tens of thousands of engineers working on five different versions of the same thing, with one team explicitly working on solving a problem another team has but without helping them as that's some combination of not-fun and not-promotion-worthy, you can of course do whatever you want.
>preventing people from calling it out. : https://news.ycombinator.com/newsguidelines.html

>Please don't post insinuations about astroturfing, shilling, bots, brigading, foreign agents and the like.

It degrades discussion and is usually mistaken.

If you're worried about abuse, email hn@ycombinator.com and we'll look at the data.<

I think this means Not to ues the slur "Are a BOT" as in; your comment makes no sense.
I wasn't aware of that!
Chennai’s Napier Bridge decked up like a chessboard ahead of Olympiad
> So you have to go to a dealership and talk to a guy who's likely trying to rip you off with a markup nowadays, and then he tells you what car he's going to sell you. You get to choose from whatever inventory they have at that location, and if it's not the spec you really want, you're stuck.

It's true that you have to go to a dealership to buy cars from a manufacturer, except for (e.g.) Tesla, Rivian, and soon, supposedly, Ford EVs.

It's not true that you have to buy whatever cars they have on hand; that's ridiculous. The dealer makes a custom order for you if they don't have what you want in stock. I've done it 4 times.

You do have to make a trip to the dealership, which is annoying. But that's the easiest way to take a test drive anyway.

It would be nice if you could buy everything online, but I would not say that "Dealers Have Infinite Power Over You and Car Manufacturers". That's, uhh, something of an overstatement.
I've bought [1] and coupled it with Zabbix using [2].

Now I have a pretty realtime graph and a strong reasoning to air my room more often.

[1] https://www.tfa-dostmann.de/en/product/co2-monitor-airco2ntr...

[2] https://codeberg.org/pf-monitoring/airco2ntrold
There's four billion tons dissolved in the ocean. But even if you weren't interested, switching to breeder reactors would make the terrestrial supply last 100x longer. And of course there's thorium cycle which dramatically expands the supply too. Supply is not an issue.
So weird, within the last hour I was wondering why I never see regular, old, lex and yacc around anymore, and then I came across this, which made realize it's probably because they generate C. Funny. I guess these output OCaml?
So... what does Waterson do now with his life?
Or employees could group together to form cooperative companies that don't simply work to extract from their labor and actually provides a decent living for everyone. There is no reason that we should be all working together as a group to make a few people wealthier when they didn't do any of the actual work.
What are you using it for if can share? I’ve thought about training some of these and releasing the weights but I’ve never found a reason they’d really be useful personally so it never really happened