skysight-inc/HackerNews huggingface dataset:
I think what the author is arguing for is not so much about writing in pure HTML, but the fact the levels of indirections added by most existing site-generating frameworks restricts them from doing something that would have been possible with just pure HTML. This second article seem to argue for owning your own site generator that is a thin wrapper around HTML, to deal with more dynamic content while maintaining flexibility.

I have being doing the same for my website since ~20 years ago, where my input is mostly pure HTML, and I generate static HTML pages from those with a few scripts. My website does look rather antiquated, but I consider that a feature.
Read data? lol it is usually just a write only system (aside reviewing the current info from the week).

But since it is all in one place I just do search queries using my editor to find what I need. I don’t use tags, but it would be very simple to just append some #tags in my content and search for those.
Holly carp! I just realized I was subconsciously reading in his voice - specifically when thinking about eye movements.

The two documentaries to watch back to back are Human Resources and Century of Self.

Utterly depressing truth about the source of PR.

-

Great article.

--

I wonder if one could wear uniform and seemingly opaque contacts which would prevent determining exact eye position/gaze?
Good find. But while that may serve as a workaround for scripts, it still doesn’t work for RSS Readers (the ones I tried), which makes sense because feeds can be JSON¹ too but these don‘t conform to that format either.

¹ https://www.jsonfeed.org
I do things like this all the time:

docker run -it --rm ubuntu:22.04

I assume that the default command for this image is /bin/sh

Do you do it this way to override the image's entrypoint unconditionally?
Most of the ones you meet online work for the FBI.
No graphs either :(
Remember, you own a copyright to your image*. If someone posts a private photo or video of you that you don’t like, whether there’s nudity or not, you can DMCA the hell out of that post while you are waiting for police to do something (which they still often don’t**).

* https://en.m.wikipedia.org/wiki/Model_release

** https://podcasts.apple.com/us/podcast/darknet-diaries/id1296...
I'm new to Rust, but wouldn't it be possible for the "C++ boss" to start writing Rust code like below? Here I think we have a multi-threading race condition that can lead to a crash (?)

use std::sync::Arc;
use std::thread;
use std::time::Duration;

fn main() {
let shared_data = Arc::new(42); // Create an Arc
let weak_ref = Arc::downgrade(&shared_data); // Create a Weak reference

let thread_handle = thread::spawn(move || {
// Simulate some work
println!("Thread Data: {}", shared_data);
thread::sleep(Duration::from_millis(10));
// The Arc is dropped at the end of this thread
});

// Give the other thread a little time to start up (this is part of the race condition)
thread::sleep(Duration::from_millis(10));

// Try to upgrade the Weak reference and unwrap directly in the print statement
println!("Weak Data: {}", weak_ref.upgrade().unwrap());

// Wait for the other thread to finish
thread_handle.join().unwrap();
}
Here's a library called PNG Compressor that does this in the browser.

Demo: https://eliot-akira.github.io/png-compressor/

It handles text as well as binary data.
It’s not a false dichotomy.
If you take VC money, then you’re obligated to try and build a unicorn since that’s reason they gave you the money.
To do anything else is fraud. It won’t hurt the VC materially, but it’s not morally correct to deceive someone needs even if it doesn’t harm them. Add up enough white lies, and people will stop trusting each other.
They say the false-negative rate is 10%, i.e. 1 in 10 presents will be allowed through. But what about the false-positive rate? I would certainly not want my cat locked out indefinitely because some AI thinks a spot on its side looks mousy.
> The trucks could also be commercially viable with only freeway driving capability, or freeways plus a short segment of surface streets needed to reach a transfer hub.

The question is... isn't the problem being approached from an entirely bad premise in the first place? Why would it even make sense to develop autonomous trucks for that part of any freight's journey? Laying train tracks might incur a large initial expense since the tracks, unlike highways, aren't there anyway, but a train is way more energy efficient as only the first locomotive has to deal with air resistance and steel-on-steel is less friction than tires.
How do you impose taxes on other countries without taking them over first? Sounds like more trouble than it’s worth. It’s like getting Mexico to pay for a wall the USA is building.

China and India have way over a billion people each and still pollute less than the USA on a per capita basis. If you want them to take responsibility for moral reasons, your moral high ground isn’t very high.
> It is incredibly hard to beat a sugar addiction (a lot harder than nicotine or weed) but it is worth it, I promise.

It's not trivial, I will certainly admit, but it is eminently doable with the right mindset and a reasonable plan. The hard part is that sugar and carb-laden foods are positively ubiquitous in the western diet, due to the fact that carbs are cheap to grow, process, ship, and store. Fat and protein are expensive and harder to find depending on where you live. But I look at it like this: by going out of my way to find and cook metabolically-optimal food for myself, I am investing in my future health in a way that will be _much_ cheaper than the cost of getting my foot removed in a few decades.

If I could give any advice at all to someone considering a keto diet, it would be this: do some research, start with some kind of plan, and be forgiving of yourself. It will take some time to figure out which keto-friendly foods you have available to you, and which ones you will actually enjoy eating. If you fall off the wagon and murder a bag of chips in a moment of weakness, know that the whole effort isn't down the drain. You just try to do better tomorrow.
You can't do much beyond setting up a corporate proxy that blocks or inspects outbound connections. Even then, you're relying on luck.

These days it's practically a necessity for companies to shell out money to some sort of supply-chain protection software (Sonatype, Socket.dev etc.)
That is not true.
It does a whole bunch of checks, like fingerprinting your GPU, environment, etc.
The checks are even run in a custom VM, and are heavily protected.
The gathered data is then sent back to cloudflare, and you either get an access cookie (cf_clearance) back, or not.
Considering the history we learned, probably not a secret that they love these kinds of stuffs.
For what purpose? Survival, or amusement? That breeds strong coping mechanisms.
The key to this attack is: "The result of these settings is that, by default, any repository contributor can execute code on the self-hosted runner by submitting a malicious PR."

Problem: you need to be a "contributor" to the repo for your PR to trigger workflows without someone approving them first.

So: "We needed to be a contributor to the PyTorch repository to execute workflows, but we didn’t feel like spending time adding features to PyTorch. Instead, we found a typo in a markdown file and submitted a fix."

I really don't like this aspect of GitHub that people who have submitted a typo fix gain additional privileges on the repo by default. That's something GitHub can fix: I think "this user gets to trigger PRs without approval in the future" should be an active button repo administrators need to click, maybe in the PR flow there could be "Approve this run" and "Approve this run and all future runs by user X" buttons.
Followed similar steps but just get Error
> zedeus says the URLs reported are not even valid and don't work

I don't see him saying that.

He said

> A funny thing to note here is that the image link, which first points at nitter.it, is a /enc/ link which only gets created by Nitter if the instance admin enables base64 link encoding for media proxying. This is not enabled for nitter.net, so I know for a fact someone copied an image from another instance (presumably nitter.it), changed the domain, and sent a complaint to Njalla.

nitter.net returns images from tweets as something like "/pic/orig/media/DP5UreOXcAEz6EI.jpg"

another instance with "base64 link encoding for media proxying" returns images from tweets as "/pic/enc/bWVkaWEvRFA1VXJlT1hjQUV6NkVJLmpwZw=="

That just means whoever got the link went to another instance first, copied the path and replaced it with nitter.net

I tried this myself, I went to another nitter instance which had "base64 link encoding for media proxying", copied the link, replaced the domain with nitter.net and it loaded the image just fine.
Generate Readme with OpenAI
One of the many applications of chatgpt, I'm not a programmer by trade so any pointers are welcomed!
> In my expeirence, it is far more common for cyclists to break traffic rules than it is for cars to do so

Or perhaps it's that you're biased and you selectively observe.

https://electrek.co/2024/01/11/cars-or-bikes-surprising-resu...

https://www.forbes.com/sites/carltonreid/2019/05/10/cyclists...

https://usa.streetsblog.org/2018/01/03/study-cyclists-dont-b...

https://road.cc/content/news/260509-cyclists-far-less-likely...
Twitter/X Lobbying Disclosures: They End in Q2/2021
"Felt a bit shitty to have my domain taken down over something I'm not responsible for. The content is only available through Nitter because Twitter makes it available."

He totally is responsible, the argument "i only serve it because twitter serves it" is bad in my opinion, he's still serving it, just because Twitter does it too doesn't absolve him of all responsibility
The bar for commercial driving should definitely be higher than for “civilian”.

But I think the bar for civilian is also woefully out of date now. Giant trucks should require a commercial license. Make it easier to get than a delivery truck license, but weed out the soccer moms and bring back the station wagon. If you’re a professional tree trimmer, general contractor, or a forester, renewing your license is on the clock and not a big deal.
In an earlier article about the exploitation of GitHub actions in general (which this specific attack on pytorch is part of) they said:

>So far, we’ve submitted over 20 bug bounty reports, raking in hundreds of thousands of dollars in bounties.

So I think this is part of a chain of bounties? Though that can still be argued to be a bit too low for how powerful this exploit could be :)
Where have you heard that? I've seen videos of people actually sinking axes into LFP cells which just vent a bit compared to say NMC which burst into flames.
Are you sure it works?

The image isnt loading for me.
But if students go through advanced CS courses they eventually learn some debugging, no?
That may be true, but if someone is to make a claim that it is “great for showing hatred…”, I think more proof should be offered than some other person saying “I could see how…”.
It is not Rugby but American Football you are talking about.

Rashomon is film by Akira Kurosawa from 1950 where the killing of a Samurai is told from various points of view. That is why the story telling you are talking about is called that.
Society is literally willing to let truck drivers die to maintain shipping times. See the responses during the height of COVID-19, or even just the demands placed on every day operators cross-referenced with their average health and mortality rates. Our treatment of truck drivers is already subhuman, I don’t think we’re likely to extend a lot of understanding to the robots.
This is the kind of failure of expectations that Star Trek’s universal translator has set us up for.

As far as I know you’re right, a number of things either don’t translate, or are too contextual for real time translation.

I’d love to be proven wrong, but I think the underlying problem here isn’t necessarily the language itself, but differences in underlying mental models that the languages express.
Maybe, but that's hardly a big deal. It's like overestimating the importance of keeping your eyes open while driving.

I would argue that the majority of people underestimate or even lie about the importance of looks.
that explains observations better, thank you
If a car makes a misstake - that is a 2 ton fast projectile. If a cyclist does, it is a 150 kg and way slower one - that's the difference and the post I replied to did not say anyone was breaking any rules. Just that there were so many of them. But if they all would be driving cars instead - it would just mean traffic jam.

So maybe be thankful for those people choosing to not contribute to more traffic jam. And noise. And pollution.
TCL:

proc webServer {chan addr port} {
while {[gets $chan] ne ""} {}
puts $chan "HTTP/1.1 200 OK\n Connection: close\nContent-Type: text/plain\n"
puts $chan "Hello World!"
close $chan
}

socket -server webServer 8080
vwait forever
Love it! Gonna be my next project after the compiler one is done.
Same here (diagnosed about 10 days ago, on metformin, removed simple carbs as much as possible). I've been looking at Michael Mosley's 800-calorie and 5:2 fasting diets, involving an intake of 800 calories a day for about 8 weeks to "reset" your system, then fasting 2 days out of every 7 (i.e. 800 calories for two days a week) thereafter. I haven't "officially" started it, but in practice without simple carbs and sugars, my calorie intake must be pretty close to 800 (the appetite suppressant characteristics of metformin really help here). I've also started exercising after big meals (I've never really exercised before!). There's a website marketing a guided programme if you're into that kind of thing):

https://thefast800.com/programme/

as well as a book:

https://oceanofpdf.com/authors/michael-mosley/pdf-epub-the-8...
I don't know any metric by which wheat would be considered savoury.
Electric cars are really popular in Norway, and it’s not a warm tropical country in the winter.
Your anecdote does nothing to address the root complaint; which is that if one is to make extraordinary claims (LSD is “great for” dismantling hated, etc.), they should have some actual extraordinary experience to support it. Something like a personal experience. Otherwise it’s just more “LSD is so good, it solved problems I didn’t even have” nonsense.
Gentle reminder that The Oatmeal is not a reliable source for such information. Dude is far too credulous.
Škoda is the fifth oldest car brand in the world.
Show HN: Come and have fun on this site that talks a lot about video games
I've got a weird split thumb board like OP, and the muscle memory for a normal keyboard is fine. I think it helps that I mostly left qwerty intact, and messed with meta keys.
Sorry I was not clear enough here. I wanted to just add some historical context.

My point is that dynamic programming was not "pigeonholed" because of "leetcode enthusiasts" but rather they are just using the original meaning. Modern programming languages refering to "dynamic" things in various circumstances made the term confusing so you would have to blame modern programming languages rather than "leecode enthusiasts".
The detail here is really great!

I thought that maybe aluminum foil would work here. I found this paper: https://www.acsu.buffalo.edu/~ddlchung/Materials%20for%20ele...

> electrical conductivity is not the scientific criterion for sheilding ... Metals ... function mainly by reflection.

> A secondary mechanism of EMI sheidling is usually absoprotion.

> The absorption loss is a function of the product σrμr, whereas the reflection loss is a function of the ratio σr/μr, where σr, is the electrical conductivity relative to copper and μr is the relative magnetic permeability.

> The reflection loss decreases with increasing frequency, whereas the absorption loss increases with increasing frequency.

So it turns out aluminum foil wouldn't actually be much good, with σrμr=.61 and σr/μr=.61. The commercial material listed says it uses copper & nickel: nickel's σrμr=20, copper's σr/μr=1.

So my thought here is completely wrong. Who would have figured the commercial product has gone through more thought than my random guesses!
How do you prove it is you on the image? And that you didn't sign a model release?

More importantly, are random registrar or a hosting provider capable of handling such cases? And should they? Maybe police is better equipped for that?
Unlike what you are implying, I never posted anything offensive.

If you want me to help you with your User experience research, let me know where to send the invoice.
Personally I have a Keychron V6, witch is just ok for it's price, but my complaint is that QMK have enough power to simply read a text file on a small flash memory even a raw memory flashed via `dd` wrapped by a simple script and made the customization much more comfy, without the need of recompile the fw, downloading ~1.5Gb of stuff simply mapping a physical key or key combination to a set of keycodes.

Second RANT to ALL keyboards OEMs: please add a damn service to print easily custom keycaps, a small example, being from the EU writing in few languages every day I've chosen the EurKey layout, witch actually does not exists on sales in some pre-build keycaps set. I have mapped differently some keys, MOST of them I know from memory, but sometimes being able to see the key is a very nice to have thing. Ok, keycaps normally are not really printed, meaning it's not cheap to produce custom ones, but if you damn ask 300+€ for a keyboard and someone buy it I'm pretty sure a custom keycap set does not change the game much.

Third RANT please STOP making cherry, OSA etc profiles. Very old IBM keyboards have solved the height issue with a simple parabolic support, there is NO DAMN REASON to make flat support and different height keycaps making limited room to move them on the keyboard.
You're right about that. However, this probably only works with diesel-powered locomotives and not with electrified railway systems.
Wonder if it’s “Thinking errors” in the CBT sense ? also called cognitive distortions:

https://en.m.wikipedia.org/wiki/Cognitive_distortion

Basically we want our perception of the world to match reality as much as possible. If it gets distorted our actions are now not grounded on reality
Koka v3 Released
Most notable changes: initial support for locally qualified names and implicit parameters (see the samples/syntax).
It is great that a free opt out service exists, but, "search for organization..." one-at-a-time deletion requests isn't much of an improvement over doing things fully manually.

A way of handling bulk requests would be nice. E.g., if only making requests to data brokers, you are looking at around 700 different companies that collect/sell data on Californians. If also, additionally, making requests to the companies that originated the data, it would easily be over 1000 requests.

Web UIs are terrible, but even a giant list with check boxes would be better than one-at-a-time (but, this would mean the server needs to remember state between visits to avoid an extremely frustrating user experience). Download complete list as CSV, add some value to a "selected" column, and re-upload would be nice for some of us, but probably a turn off to most-- especially since merging future changes of the upstream file into the modified user copy is probably beyond the capabilities of most users. At the risk of creating records where a broker had none before, maybe just the option to splat the request out to all companies* in your list that do business in a particular region of the world? Super easy for the user, and no state to retain on your end.

Anyway, thanks for working on this. But, one-at-a-time requests is too high a usability bar for me.

* Or, all companies per category in your region. E.g., all databrokers in region, all retail companies in region, all financial/insurance companies in region... etc. Although I'd guess that most folks would just select all categories, and your back to just selecting a region with additional steps.
given the eugenic flavor of all this, sort of feels less kk.org and more kkk.org
Your points are legit. Anecdotally with a reasonable sample size, outdoor cats are chiller; indoor ones tend to be neurotic and need more attention.
Works great on laptops and Bluetooth keyboards.
This stores one character per pixel. I wonder what would happen if we used 32-bit pixels and stored 4.5 characters per pixel?
Why not create autonomous A-B trains.

A train that will take a smaller number of cars ONLY between point A and B. Then at each end offload to a truck.

Not the same as current rail frieght, I am saying a dedicated track between say port of oakland and port of long beach - with some intermediary way points along the way - it just has two lines - there, and back with a dedicated automated train that simply goes back and forth - with gantry ports the train drives beneath at certain locations to lift off cars quickly for that node.

We have done a poor job of leveraging rail in a future-proof manner...
Locally? Probably yes. but it would still need tons of infrastructure change to for example pipe water to the great plains to avoid water shortages etc. But I think we'd still feel the effects that it has on other parts of the world, making it much harder to actually see any benefits
EVs are exempt from a 100% tax on conventional cars.
Ah, then today I learnt that rugby and American football are different!

I knew about the Kurosawa's movie though, just didn't mention it in the snippet.
Oops, that figures, just when I made the URL public. I'll look into it.

It was previously using canvas element to encode to PNG, but it turned out to be unreliable due to some browsers restricting canvas. I replaced the encoder, but maybe I forgot to build and deploy the demo page.
> We'd demand a way higher standard because these companies don't really have any skin in the game, except for financial penalties which we now understand is not a deterrent for anything.

I'll add that one of the penalties for accidents caused by human error is a prison term.

Until a Tesla/Uber/Waymo exec responsible for autonomous driving can serve a prison term for accidents caused by their service, the penalty for accidents caused by autonomous driving is orders of magnitude lighter than those applied to human drivers.
No turning back: The largest dam removal in U.S. history begins
In many places in the US, the road system is already insufficient. Certainly completely insufficient in California. There is no space for self-truck traffic to move significantly slower than driven-truck traffic. Either self-trucks can safely reach speed parity or there is much less space for them.

Another response mentions there are easy routes that could be self-trucked first. That would work.
IMHO copyleft is mostly about the balance between hardware manufacturers and free software.

It's important to remember that. It forces the hardware vendors to stay on "their side of the line" -- or at least to give up control over any part of their product which extends into the software space. This is why it's much more important for the hardware-touching parts of the stack (Linux, GRUB, GCC) to be copyleft than the rest of the software we use.

A lot of the anti-copyleft people think only in terms of software-company/software-company interactions.
> They might be, but if so, they came here to learn from us.

It's hard to imagine aliens travelling across interstellar space to observe our early-stage civ with a serious expectation of learning from our tech. If you went back to ancient Cartage, or Athens, or Babylon, you might expect to learn a lot of things from them. But would you expect to learn from their tech?

Mind you, those ancient earth civs are merely single-digit-thousands of years behind ours. Given that the universe is billions of years old, it seems unlikely that any visitors would hail from civs which are close enough to us on the "tech tree" to to consider our tech worth serious interest. They could easily be a billion years farther up the tree!