skysight-inc/HackerNews huggingface dataset:
> The issue is they want to maximise Y.

Exactly - they want to maximize Y while keeping X constant.
Spivak calculus was the book for me that made math finally click. It was a golden period of my life due to that book, unfortunately adult life is rarely if ever sees these moments. Now I write datapipelines all and feed the family :/.
I read the gp comment as an example of the type of engineer that can be replaced by copilot. Nothing more.
Who or what would replace them ? If you got rid of these developers, how would those who did the firing know what they’re doing ?
I interpreted your comment as you claiming a view would have been needed.

The list of things required in a relational database does not seem long to me. I could probably come up with an even longer list for what's required when using Mongo.

Also, my point about an array typed column still stands
I hate that I'm doing this, but if a man went up to a famous woman and demanded a hug, would that have been awkward?

I don't like hugs, and I feel perfectly entitled to tell someone I don't want a hug.
Suddenly, "notability" takes a back seat.
Ask HN: What's your checklist for when you hand your laptop in for repair?
For instance on Mac I think I should turn on disk encryption, sign out of iCloud, back up on my applications specific configuration files, delete all my local copies of SSH keys, delete all my local copies of proprietary code.

I never thought of having a checklist for this before but I think it's useful and there's probably some sort of standard best practice.

I'm interested in what are people's responses for different platforms and is there any sort of Open source script that will handle this for you like a "nuke script"... I mean obviously the point is not to Nuke it you want to bring it back later but.... you want to handle if someone somehow has privileged access to everything you want them to have his little surface area of anything valuable as possible.
Great insights! I came to some similar conclusions as well.

I really like the one about failing on missing config parameters. I used to set default params all the time (thinking I was clever).

Another big win in the last few years has been feature flagging. I use it extensively to tune performance when in production. I can control batch sizes, delays, retries, and API key rotation.

bookmarked!
Parents are always the problem, that's the problem :)

Disadvantaged families have a hard time providing the nurture their kids need to overcome the gap. This is an incredibly self-reinforcing cycle, because the more help these kids get the more help other kids get too, so the gal remains.

Social status, including all the things from home ownership, how green is your lawn, how big is your investment account to extracurricular activities for admissions (and credentialism) in general - but also the larger labor market too - are all close to zero sum locally. And mobility for disadvantaged groups is ridiculously low, because - again - things like status preserving structures like zoning regulations, school districts, etc.
The ZX81 and ZX Spectrum manuals had the character code table (ASCII-ish on the Spectrum, something totally different on the ZX81) alongside all the Z80 mnemonics and their hex and decimal values in the back.

I think the Jupiter Ace manual might have had that too, but it's been a long time since I've even seen my copy of that.
Thanks for sharing this point of view. For those interested, I wanted to share this blog post that explains the Timescale approach in detail. https://www.timescale.com/blog/building-open-source-business...

Timescale's community manager.
Do you think that as part of this Github discovered that essentially everyone was in violation of copyright? That copyright of material without public knowledge or review (which exists in music, but not most code), is basically unenforceable?

Then they decided to wade in and build a house of cards where the cards are everyone else’s code, just waiting for the grenade pin puller and we’ve potentially witnessed the moment?

That’s the only thing that makes sense to me here. They don’t care because opening the issue will bring down everyone else with them.
std::span is new enough to not be in muscle memory of C++ programmers.

Even the standard library commits a similar sin with `from_chars` and not taking a `string_view`.
The papers are available here:
https://research.nvidia.com/publication/2021-07_rearchitecti...
https://research.nvidia.com/publication/2022-07_generalized-...
https://graphics.cs.utah.edu/research/projects/gris/
https://users.cg.tuwien.ac.at/zsolnai/gfx/adaptive_metropoli...
Just uploaded a couple of changes on my website
Hey hackers,

I was working for a long time on some changes for my website, and they are finally done. Testimonials, blogs, and pricing pages are new/reworked.

Would be great if you could drop some feedback.
As in this case.
I have a Gigabyte motherboard too, an Aorus Master b550. It was my first time going with their brand, and I'm ambivalent. The hardware seems nice. Their BIOS do seem a bit buggy, but I don't know how it compares to anything else this decade. I tried contacting their customer service to tell them their @bios tool doesn't work anymore, and it was a complete waste of my time.

On the other hand, why wouldn't this likely be an AMDGPU driver issue? I suppose I should try booting into Windows and suspending from there, just to see if it's reliable. I could also try backing off my fclk frequency, and disable resizeable BAR for the laughs. I could even go as far as swapping my older Nvidia GPU back in and see if that suspends and resumes ok. I'm expecting a new born baby this week, so it's not like I have anything better to do!

I don't like producing e-waste, but if I conclusively knew it was a systemic Gigabyte issue, I would seriously consider switching to a new motherboard from another vendor. I built this desktop after being in the hospital ICU for 5 days, and promised myself I wouldn't spare any expense. I also expect it to last the next decade, and so I don't want to be annoyed by it long term...

Would you be able to share the details of your script? Or does it simply switch to a virtual terminal before suspending, then switch back after resuming?
If you're already using Vimium, I suggest trying qutebrowser, which takes keyboard accessibility to a whole new level, by making it a first-class feature for the entire browser.

It does basically cut out the mouse, and had a several-days learning curve for me, but after that it's pretty great. Here are some cool features, off the top of my head:

* Python-scriptable, though I haven't figured out how to use this yet.

* Bind javascript bookmarklets to a keyboard shortcut (use :bind with the jseval command)

* Toggle not only javascript, but image loading and a whole slew of other features, with a keyboard macro.

* Vertical tabs.

* All config is adjustable via commands.

* Keyboard macros like "pop tab into a new window", "clone tab", "close all other tabs", etc.

* Text selection using the keyboard.

* Quite similar keyboard dynamics to vim.

It has a built-in ad blocker, and you should run :adblock-update when you first use it.

Another browser which is similar, but which I haven't gotten into as much, is Luakit.
Eric Rosen accepted my Stafford gambit! [1]

ps. Is there an option to play black?

[1] https://www.youtube.com/watch?v=eIecRRl1cfc
Did such stupid arguing and plain criminal behavior really flew so well with Danish people? I've held them in much higher regard
Note that no one would expect Seinfeld to not be a crucial part in a series that is named after him.

He could have said things like, "I always think my micromanaging was what made it successful, but lots of folks worked really hard on the show"

He didn't, though.
Will ASML escape the latest US export restrictions? It’s not looking good
Bb8 proposes that we should install magnetic nails in our roads.

Bdamm counters that magnetic nails would help with lane keeping, but that is clearly not the part self driving cars have the most trouble with.

As you astutely observe “ hitting stuff it clearly shouldn't” is the problem. Which magnetic nails in the road would not help even a bit.

> 'maintaining position fairly well' is too low bar in situation where mistakes can and do cost lives

Yes! And again. Maintaining position is the only thing magnetic nails in the road would help with. Bdamm was not arguing that the car keep lane position therefore it is good. Bdamm was arguing that magnetic nails would not help with the real problems.

> What a surreal read

That is exactly my opinion about your comment. Can you follow two sentences stringed together?
RHEL 9 is similar to Debian, too old. Arch and Fedora don't have any problems. Well, Arch got an amdgpu wakeup issue, but they do have proper docs to fix it.
Bitcoin is nor a commodity
Frankly, that page in itself is the reason my comment's tone is so hostile.

There are fewer "essays" on that page than "memes" which just seem to exist to ridicule frontend frameworks or smear JS in general (which is ironic given that JS itself is a "twenty years old technology", which at least one of the memes frames as superior). I put "essays" in scare quotes as the first "essay" is literally the OP article, which is primarily a video of a conference talk. The rest of the collection mostly makes philosophical arguments that wax poetical about web architecture and mostly don't reference htmx by name so I can't be bothered to dig through all of them to figure out what you're trying to tell me.

"An extension of HTML as hypermedia" is not a description of what it does, it's a grandiose sales pitch. I'm familiar with the original REST paper and a lot of the philosophizing around HATEOAS and hypermedia.

It's not an "extension of HTML", it's a browser runtime implemented as a JavaScript library (assuming they didn't use WASM) that executes a declarative DSL in the form of non-standard HTML attributes (like Knockout, AngularJS 1, etc) and performs XHR requests to substitute fragments (like PJAX).

I'm genuinely trying to understand what makes this novel or interesting but it's hard to tell between all the obnoxious dismissiveness towards frontend frameworks (and JS) and the grandiose use of academic buzzwords.

EDIT: Thank you for pointing to that page though because at least it demonstrates that HTMX is the successor to Intercooler.js, a JS framework, which has a much less grandiose description of itself that doesn't need to appeal to philosophical blog posts or shitting on JavaScript to make its point: https://intercoolerjs.org/docs.html#philosophy

In fact, this Intercooler essay explicitly names PJAX as one of the examples of the tradition it tries to build on (while trying to stay true to the principles of HATEOAS and REST).
No, seriously, are there no news blurbs about those bronze sculptures?
Your question can actually be answered legally. I'm not a lawyer so I'm not going to tell you what those answers are, but there are pretty well established mechanisms to determine if a function is trivial enough to warrant being copyrighted (a lot of this was explored in the SCO vs. IBM saga)
Yes, you are right. I was just mentioning the name of the principle as used in the article.
Because the ethical opt-in model builders are still working on putting together their cleanly sourced dataset.
I’m not afraid of H.O.W.A.RD.
An Explanation of Gini Impurity
As a meager software engineer mortal, I've always been curious about how concepts/algorithms work in machine learning. I am starting a series of posts, documenting my understanding of these concepts.

Here's my first attempt; it's on Gini impurity, a core concept fundamental in how decision trees are built.

https://gradiently.io/gini-impurity/
> Or, you could use cryptography.

Even if the traffic is encrypted if a remote server has to understand what location you're requesting data for, find that data for you, and then deliver it back to you, that same server will be able to log that and you're back to having to trust that they won't save and abuse that data.
HTMX is very interesting, I saw it presented at DjangoCon.

Being involved in a lot of SPA's these days I can't help think that we spend way too much time building complex frontends and managing state.

Anyone feel the same way? HTMX feels fresh.
People are really missing the forest for the trees here, what I’m getting from all the whining here is that I’ve decided code licensing is stupid and shouldn’t be a thing.
>I never understood how the English, and sometimes the Dutch, seemed in general to be able to learn many times faster than amateurs in other territories.

I don't think that's the case, I think it's that the achievements form the English and the Dutch are shared on the English speaking internet so it's more easily to run into them VS for example, the German speaking hackers who, at least in the past, only shared their work on the German speaking internet instead, so their achievements are less likely to get international visibility.

It's the same with other cultures that have a huge population/market share. If you'd venture on the Russian speaking part of the internet, you'll find a gold mine of hacks, cracks, reverse engineering, and crazy software that flies under the radar.
If the fleet flies far enough, they will merely isolate themselves in the intergalactic space.
>It the field of computing, it probably helps that we speak the same language

Then again, I think working through untranslated English material for my computer hobby helped me gain language proficiency more quickly than many peers.
I think allowing the app on the f-droid repo while forcing it to disclose the anti-feature is the middle ground.
Because once you learn how to use it, the keyboard is much faster and more capable than a pointing device.

So it's less like crutches and more like rollerblades.
Just a flip flop and an OR gate.
I'm really curious to see where they find them hiding out. And top notch science!
Well, it is an object fact though — isn't it? Twitter is an order of magnitude smaller than Meta, and Facebook / Meta / Zuckerberg have been fined and trialled an order of magnitude more times than twitter for its deeds. Whistleblowers have presented an order of magnitude more documentation and proof for Facebook's shady practices. It is only fair that it is discussed an order of magnitude more times than Twitter.

Just because you want the two to be "equally bad" doesn't make it so, and bringing up Y when the topic is X in this case is the textbook definition of whataboutery.
I think for the same reason Vue.js is more popular in China than almost anywhere else. Chinese was also the only non-English docs language at the beginning.
Men do that to non-famous women more than you might expect. If it would have happened the other way around, Seinfeld might have just gotten that hug and it wouldn't have been all that surprising.

(FWIW, I'm fully in the camp of 'don't assault folks with hugs' and I personally don't like them under most circumstances).
Teardown and repair assessment of the new Pixel 7
Turns out you can swap all parts unlike in Apple‘s iPhone. Despite the horribly glued down battery.
> In which he takes sole credit for the success of something

I don't think he has ever taken sole credit for the show, neither in this interview or in the plenty of others I have read or watched.
Hi Ryan. Seeing as we’re going to see more and more of this sort of complaint come up because inherently the licensing situation with open source code is overly complicated, have you considered switching to use code where the licensing is clear: Github and Microsoft’s private codebases?
Koch method to learn Morse
Those were the days when hardware was still "understandable" for mere humans.
An icon of a brain then?
In a docucument database you model this as a document with a field which is an array. In relational database, you model this as two tables.

In both cases, you simply model according to the philosophy of the database. It is incorrect to think either is more "natural" in some intrinsic sense.
True, although at least on mobile I think this is a button press in the IDE. Maybe Javascript/non-mobile native apps have it harder.
> where are all the cases of Tesla hitting stuff it clearly shouldn't, that no real sane driver would ever do?

Real sane drivers hit stuff all the time. Miscalculated takeovers ending up in frontal collisions (these can be really REALLY fucking nasty, two 3-ton SUVs @ 100km/h have a lot of potential energy), trucks crashing into traffic jam rear ends and squashing together a dozen cars in front of them, people mistaking stairs to a train station as a car parking ramp (this is a common occurrence here in Munich [1])... the simple thing is, as long as an instance of an object is on a road, one of the instances will eventually get hit by a stupid mistake of someone.

[1] https://www.sueddeutsche.de/muenchen/muenchen-marienhof-u-ba...
only rented cars in europe for 10+ years before moving to the US, so I did not have a reference point. But I had no clue the headlights were different in that aspect and just assumed all of those SUVs etc had theirs ill adjusted. Its a lot of fun being blinded constantly on a busy road while driving at night :|
By the definitions you're using, Mark Zuckerberg personally logging in to the database and type DELETE FROM USERS WHERE "Policital_Affiliation_heuristic" == "Conservative".

So fine, if you want to define the words as meaning something they clearly don't, and want to try and fight that battle in the media... ok. But almost certainly the first thing that happens is something exactly like this - some nerdy engineering comes out and goes "Well no actually, we manually intervene for the people we like". And then you get to go back to Congress and explain to them why you clearly lied to them, and you're not going to get out of that by using Mark Zuckerberg's pure eye-watering levels of charisma.
Yes, indeed.

Now any load from the L3 cache memory or from the main memory takes much more time than any other instruction (not counting exceptions generated by instructions, which include many memory accesses that slow them down, or deprecated instructions that are kept for backwards compatibility and that are executed by long microcode sequences).
Walmart is a cheap place to shop yeah? And I'm guessing Maccas is cheaper in the US than in my country?
Pragmatism vs Dogmatism. For example DRY vs YAGNI. The first is more dogmatic: refactor everything that can be refactored, while the second is more pragmatic. The refactor is probably not necessary and might turn out not to be necessary. An even more pragmatic rule is the You Aint Gonna Need It Yet.
> In MySQL, though, as you said, you have to come up with two tables (one for `user`, one for `skills`, make sure FK are in place, and then use joins for filtering... doesn't seem to me that this model fits better)

Their other option was an array-typed column. As per the article, Postgres' JSONB column type will give you that, as one example.

But the skills table - and many to many linking table - shines as soon as you want to treat skills as first-class concepts in some way, e.g. "only let people pick from this list of skills the skills administrator has approved" or "count how many people have the skill 'Java'". Then tables seem much more natural, as the skills table can model them as concepts in their own right.
Ints are 32 bits and pointers are 64 bits (https://www.ibm.com/docs/en/ibm-mq/9.1?topic=platforms-stand...).

Converting from pointer to int you are truncating the value from 64 bits to 32 (discarding the high 32 bits). You are losing information, so, two different nodes with different pointers addresses could have the same int.

Also, a bool array to store all the visited nodes will be really huge (memory address can have very high numbers).

A better solution is to use a hash table (for ex. std::unordered_map<void*, bool>).
Using a relational DB doesn't necessitate the use of an ORM. This is another case of YAGNI. I rarely reach for an ORM until there's significant enough complexity to warrant it, and even then it's not a decision made lightly.

Designing and maintaining a schema is not too arduous. There are tools which can produce a diff between the current and desired schema for your database, for instance Migra for Postgres (https://github.com/djrobstep/migra).
Hacking society and extracting value will always be more profitable and prestige loaded within the group of smart people as long as it is not shunned culturally.

The "top that" nature of intellectual exploits and society measuring success in monetary output (even though that value shrinks when the physical reference frame shrinks) makes the culture of HN and Wallstreet are a obsticle to scientific progress. Optimization for minimal effort maximum output of intellectual archievements, traps humanity on a local maximum.

My house, my car, my boat at every grill party will prevent grill partys from continuing because nobody gets a big house, big car, big boat by farming.

Now if only we had a stereo type, displaying monetary rentseeking as a despicable endavour, we could go full circle and get on with it.
This sounds like you're opening yourself up to situations where you have rows in data_journal that have status='Loading' but which have started_loading_at=NULL, in violation of your data model.

Your premise is slightly flawed in that your second example isn't actually difficult to write or understand as you claim. However, it could be argued that if the logic for selecting "loading" rows is repeated in multiple places then a layer of abstraction over it would be useful. This could be achieved in SQL by e.g.

CREATE VIEW loading_entries AS
SELECT * FROM data_journal
WHERE started_loading_at IS NOT NULL AND finished_loading_at IS NULL

or, if you have several such statuses you need to define,

CREATE VIEW data_journal_view AS
SELECT
data_journal.*,
CASE
WHEN started_loading_at IS NOT NULL AND
finished_loading_at IS NULL THEN 'Loading'
WHEN ... THEN ...
ELSE 'Some other status'
END AS status
FROM data_journal
That was a bad explanation on my part, sorry. They are still open source!
But they diverged from keeping fully aligned with MySQL developments AFAIK so are no longer a fork/distribution as they are forging their own path.

So I was being unclear, the "until a couple of years ago" was referring to divergence rather than a change in license.
In many embedded systems and constrained devices, there is a lack of proper randomness. And often the system environment is too stable to use as source of entropy (by connecting a sensor). This makes it hard to set up secure sessions.

If fairness, more and more MCUs (esp based on ARM Cortex) that contain some sort of TRNG / entropy source. Some of them have fairly good quality too. But there are still tons of 8051-based MCUs that lack any source of randomness. Having a cheap, physically compact, low power source of entropy that can be attached is in these cases quite useful. Esp for securing systems already in use.
I've spotted a few decently large, but foreign (mostly German and Chinese) hardware and electrician communities on XMPP, but as I'm not multilingual I couldn't tell you how good they are.
Ok... not a hidden feature of the Z80 that hadn't been discovered until now, just a creative way to use existing features and a special address decoding hardware, still clever though.

At 12:10: "Nonetheless, I have made a clickbait video, the type of video that I hate to see" the meta goes deep :D
A better mom has the possibility to contribute to LaTeX having available all the sourceware. Word is cactus in a desert if there is anything you find discomforting in the thirsty user experience you can't change, sorry.
No need for fancy sensors and ai - I used an electric scooter rental in Germany recently, and it made me do a reaction speed test on my phone before starting. Super easy.