skysight-inc/HackerNews huggingface dataset:
I found the opening chapters of "Computational Learning Theory" by Kearns & Vazirani [1] really eye-opening in this regard.

It starts using the example of "rectangle" learning, where data points are encoded as points in a 2-dimensional space, just like many other learning algorithms start by encoding things as points in N-dimensional space.

But then, instead of launching straight into decision trees or k-means or Gaussians or anything like that, the book does something strange: It uses "rectangle" as a machine learning model. The idea is that some points are marked with one label (red) others with another (blue). You want to fit a model to distinguish red from blue.

So you just take the min/max of all the x/y corrdinates that you've seen in your training data to get a lower-left and upper-right point defining a rectangle and predict that all points inside the rectangle are red.

Then the book continues with all the usual stuff like figuring out error surfaces, computing precision/recall and so forth and then introduces concepts like big-O analysis of data complexity, overfitting problems by having a sense for the kolmogorov complexity in the model space versus amount of data, etc. etc.

This really blew my mind, that, at the point where the "magic" was supposed to come in, introducing neural networks or whatever, they just skip over that, sort of saying: That's not important yet, let's just use a simple thing like 'rectangle' as a placeholder for now as it will serve our purpose just as well.

So: Any method for selecting a model (e.g. particular rectangle) from a meta-model (e.g. set of all rectangles) can be a valid machine learning method and there really is no "magic" to neural networks. What really matters is whether the model is well-suited to the phenomenon being modelled, given the way the data is encoded. So it makes a lot of sense to obsess over preprocessing of data and to come up with custom models to fit custom modelling needs. It makes very little sense to chase all the newest and greatest breakthroughs in [machine learning flavour of the week].

This has been pretty much how I have been doing machine learning over the course of 10 years, working as a Data Scientist.

My advice to people starting out in this field: By walking down this path, you will have predictably successful project outcomes while at the same time flushing your career down the tube. ...your ignorant bosses will never see you as the smart guy in the room, if everyone else is talking about neural networks and you are talking about rectangles.

[1] https://a.co/d/5ZEyQKg
You mean the use of the crypto word gives it away?
I don't understand the abstract. What does it do in plain language?
What is TSLAQ?
> Notifications is the only reason I still have Goolag services on my phone's work profile

Wouldn't microG be enough for that?
> On 18.04, if apt fails to match an exact package name, it expands the name as a regular expression. In this context, the + character means "one or more of the preceding character" so g++-10 matches clang-10 (it's just coincidental that they're both compilers).

What a clusterfuck. Fortunately this insane behavior was disabled in later versions. To "fall back" to using patterns automatically just because an exact match couldn't be found is a massive footgun.

If a package manager can't find the package I asked it to install, I expect it to fail with an error message telling me so (and possibly a list of similar names that do exist) – not randomly try to interpret what it thinks I want and then act on that guess.
React NPM library for a customizable navbar with built-in routing
From first google result:

> TSLAQ (pronounced "Tesla Q") is a loose, international collective of largely anonymous short-sellers, skeptics, and researchers who openly criticize Tesla
Fheroes2 – a recreation of the Heroes of Might and Magic II game engine
Unfortunately it is the reality that far exceeds the fiction. I may have expressed myself badly, it's happening to me. A waking nightmare is mind-boggling. I don't know what to do, I send an SOS. Sorry to bother you, while searching I came across this application, so lost for lost I launch this SOS
Unfortunately reality no schizo
If it does not work, why to keep at it? I suggest to go hiking until the mental clogging vanishes.
Why estimating work in development always fails? Because I can only estimate things I have done before within a context that I know. The nature of software is the unknown, therefore any estimation will be unreliable.
Using story points is the compromise the industry went for to account for that. Going back to time based isn’t helping anyone. Imagine being a navigator on the ship of Columbus - you only know the direction heading for but neither the goal nor the circumstances (riffs, streams, weather) ahead. And then the captain asks how long it takes to sail around a storm…
This. It’s a quirk of iPhone I suppose. But I’m always forgetting about it so probably not great UX.
I think many people complaining about visual snow really just never noticed that it's a normal part of human visual perception to have a bit of it (I remember noticing it as a kid, staring at the ceiling), but I do believe that there are these extreme cases that are real, and can't be explained with my model. It would be very annoying and concerning.
> I wonder why number 36 was forbidden

The most likely reason is because MySQL used Modular Crypt Format. From https://man.freebsd.org/crypt(3) "The salt must be terminated with the end of the string character (NUL) or a dollar sign".
This is an interesting but niche topic. It’s called conservative logic[1] and is typically described via a pool/billiard “circuit.” The idea is that it’s more expensive but entirely reversible. I find myself wondering what simple bit possible computers primitive man could have come up with (had they dedicated themselves as much as e.g. the pyramid builders)

1. https://web.cecs.pdx.edu/~mperkows/temp/June16/ConservativeL...
Both suggestions are very right-on. I would add: get rid of school boards. They are political dinosaurs who 'know nothing ... nothiiing'. Cut administration to essential (non-educational) needs A superintendant's income could be far more effectively invested in better teaching materials. A couple of good people tuned fulltime to student ecology and parent relations.

Education: Every school has dozens of well-educated and committed teachers; together they can focus on improving quality and streamlining away the BS.
Every parts of modern computer system introduce unavoidable latency: monitor has ~50ms latency, bluetooth keyboard has ~70ms latency. Even the desktop compositor has latency (~10ms). Then you have another latency in the application layer, typically the slow text rendering stacks like GDI or Cairo (~50ms). It's basically impossible to escape them in a modern system these days.
Personally, I close the lid of my laptop, though the Fn-key shortcut is sometimes better.

Sleep is one of those things that have always just worked for me, at least on Linux; in Windows, I've had to deal with random wakeups after some kind of Windows update. That said, with less than 30 seconds from off to IDE I don't tend to use sleep all that often.
A lot less so. And Twitter treading water only became a problem with regards to Tesla after Elon bought it.
Is this the same package used in structurizr.com?
Some countries solved it with physical security keys, now large vendors are pushing Passkeys. Both work for this purpose, albeit the first one also has an identity behind it.
Not everything in crypto is a scam. It's easy to tell with eg tokens by checking the contract: if the organization behind the tokens can issue arbitrary numbers of new tokens or replace the contract then it's a scam. The FTX token would have failed this test if anyone involved had cared to look.

This is something you can't do with securities and it's why I'm not convinced regulators really need to be as closely involved.
> Ksmbd is mostly used on NAS boxes.

Is it even?
It was mainlined only last year, I don't think any embedded vendor have had time to ship it in a product.
I deleted my facebook during Lent in 2017 as part of a social media "time out" and never brought it back.

Interestingly enough, friends started calling again. Quitting social media cold turkey is great because you get to find out who is actually important in your life, and you find it out really fast.
I’ll second that. I’m ready to pay a subscription for up-to-date conversations with chatGPT.

In my case, I would be most interested in its ability to assist in my technical queries and replace indexed search entirely.
>I think it's very typical to think of HN users to think of the average person as tech-savvy enough to do what you're doing, but they aren't. People are fallible, people forget things, people lose things.

this should be taught in schools if that is your concern. what i am doing with the "manual sync" for files is because i have 2 machines i want to get my passwords. there is a HUGE population who only have a phone. for them, keepassdroid or some other keepass app is the only thing that they should ever need or use. i know because i have set up the files for my family members, they only have their phones at hand and the file has served them well for years without any problem.

now they "whatsapp or email" the file to themselves or to me if they have to change their phone and get it back in a matter of minutes. this is not as big of a deal that you need to have online tied system and be a techie otherwise
It was treading water, now it is underwater with its eyes glazed over, and some guy is holding it down. There is a difference.
As someone out of the loop on this, why is Nix so popular right now? What does it do and why are people installing it on everything? Is this something to pay attention to or is it a rehash of the 'I put linux on my toaster' 2000s-era stunts?
> smartphones have been mostly Linux since about 2010

Although I've seen Android described as the monkey's paw of Linux phones. (Granted, Android/Linux is Linux even without GNU.)
I feel like a lot of programmers on here have probably heard of ColdFusion. Allaire (and Macromedia after they bought them) built one of the best IDEs back in the day. It was a strong competitor to Komodo.
That may be so, but the effect on the stock price is pretty real.
Not sure how you’re defining major cities, but starting salaries in the top 5 CoL cities are definitely not near $100k

Boston $60k https://btu.org/wp-content/uploads/2019/12/Salary-Grids.pdf

Seattle $65k https://www.seattleschools.org/wp-content/uploads/2021/09/Ce...

LA $55k https://achieve.lausd.net/cms/lib/CA01000043/Centricity/doma...

SF $60k https://uesf.org/members/2017-2020-contract/

NYC $60k https://cdn-blob-prd.azureedge.net/prd-pws/docs/default-sour...

Looks like you can add $10-20k with a masters and a few grand per year of tenure.

Key word in my comment was “competitive”, which these aren’t for trained/skilled workers with other options.
good for you. are you worried a threat actor would hack your dropbox and steal your keepass file and break your password? probably but that would mean keepass has been broken, something that hasnt been the case so whats the problem?
While the list is certainly good precautions which everyone for the most part should be implementing and thinking about, it is not a complete list. Even though the author would say "it was not intended to be" it still kind of promises "these mitigations are enough".. and of course the world isn't black and white.

Protecting a company or even a sole personal computer is a time staking challenge with multiple dimensions. It involves implementing processes and routines which you stick to, it involves technical solutions for mitigating threats in different categories and it involves planning, configuration and monitoring.

It certainly involves staying well informed on vulnerabilities, present threats and the modus operandi of attackers.

That's why we security consultants (on a senior level) are more or less useless unless we are developers ourselves and stack 30 000 + hours in experience. And still, with all this experience and knowledge the work is not a piece of cake at all.

You have to be prepared to make exceptions, be pragmatic, a good communicator and a good skilled presenter. You have to be prepared to work uncomfortable hours, holidays, weekends etc.
The question isn't who said what when, the question is what reasoning holds today. Codds argument was simply that if we allow tables embedded inside fields and we want to query across multiple "layers" of embedded tables, we get a much more complex query language and implementation for no additional benefit, since the same relationship can be represented with foreign keys. I haven't seen any reasonable counterargument against this.

If I understand Date correctly, he is just saying that individual values can be arbitrary complex as long as they are treated as "atomic" by the relational operators. I don't disagree, but reality is that very soon after you start storing stuff like XML or JSON in database fields, someone wants to query sub-structures, e.g. filter on individual properties in the JSON. And then you have a mess.
Bugs that cost money
Sure, but the corporations have incentives to run things the way they're running them now, and users will aggregate to platforms others use, which will in turn be driven by addictiveness. And you're not going to quit a platform if it means losing touch with your friends and access to your data on it.
Technically, WSL version 2 _is_ a VM based technology:

"WSL 2 ... uses the latest and greatest in virtualization technology run a Linux kernel inside of a lightweight utility virtual machine (VM)."

https://learn.microsoft.com/en-us/windows/wsl/compare-versio...

WSL1 is not a VM design, but that design reached its limits.

A VM doesn't make it bad - I don't do a lot with WSL but I like it a lot. It's not slow or limited.
Do their stocks respond in a similar way?
If it just took an hour of research to meaningfully know that FTX had stolen customer funds, there wouldn’t have been 8bn stolen.

This argument keeps getting trotted out yet people keep getting hit with more and more sophisticated scams, on and off chain, not to mention hacks which you won’t discover with just an hour of research.
Making the Web Faster with Service Workers and Performance Research
My pw manager does not offer this. Which do you recommend that has this feature?
i had an N70 https://en.wikipedia.org/wiki/Nokia_N70

can you imagine going from this brick to an iphone? maybe you had one of those communicators or meego whatever nokia was doing... those were good devices for the time but i did not have them
> You will need to run a ARM Linux VM on the Macintosh - even on ARM-based Macs. Why? Apple. That's why.

I'm going to need a better answer than that. The whole reason I want to learn ARM is to get closer to the machine I'm actually using, not to get closer to a linux virtual machine that I will never use again running on the machine I'm actually using.
Your initial argument was that farmers should want the development, "do you really like that stupid cow?" -- and my attempted point was that yes, the farmers do in fact like that stupid cow. All the benefits you propose of the increased tourism and 5 million dollars pale in many farmers' minds to the downside of having more tourists, who clog up the roads, complain about their farming practices, drive up land prices, and want to build developments. Farming is a lifestyle well suited to loners and cow farming in particular is well suited to very remote areas; thus added tourism, making it a less remote area, decreases the local farmer's reason for existing there.

To reply to your new point, an important part of democracy is the right of self-determination, and people get very upset when faraway majorities impose their wills despite the local majority disagreeing. Consider Catalonia, or other independence movements throughout history, or any number of instances of imperialism throughout history: should a national majority be able to force a local majority to give up their way of life / national independence / raison d'etre? That's how local residents who've been there for 20, 30, 60 years feel about outsiders coming in to diversify the economy or introduce wolves to eat their lambs -- why are the outsiders coming in and imposing their negatives on their apparently perfectly good way of life?
> the type for whom the entire point of making things is to make money, not do something useful.

the fact that somebody is paying for said app implies that it is useful. Noone parts with money for an exchange that they don't find useful.

The idea that just because _you_ don't see it as being useful doesn't make it not useful.

If you suppose that the exchange ruins the world somehow, because there's some externality that causes harm to you, then it's a case of making such an exchange illegal through some democratic process, and have enforcement. Absent of that, i think it is totally legitimate, and that the person doing the entrepreneurial endeavor is just trying to improve their own situation. One does not have to have the purpose of "improving the world" - that naturally would happen as people exchange to make their own situations better.
Free speech is fine. The problem with kiwi farms is that instead of using the internet to communicate they were attempting to use it to enforce norms by harassing people. Whether it's antifa trying to bring about its anarcho/communist revolution or "nazis" trying to keep people from transitioning doesn't matter.
SMB is a complex network protocol, implementing it without a serious bug somewhere is a serious challenge. Kerberos is another complicated protocol. You have user space FS modules, perhaps it would have been better to make it one? But at the same time you have stuff like TLS ans wireguard in the kernel (SMB is still more complicated imho).

Linux being monolithic and all, I don't think there is a good answer. Hope Microkernels make a comeback.
How to solve your translation task without asking ChatGPT:

Look up the Chinese title of "ON NEW DEMOCRACY": 新民主主义论

Find the full text (also on marxists.org, as it turns out): https://www.marxists.org/chinese/maozedong/marxist.org-chine...

Look for the first occurrence of "new cultural force" in the English text: The second sentence of the third paragraph of the twelfth section.

Look for the equivalent position in the Chinese text: 在“五四”以后，中国产生了完全崭新的文化生力军，这就是中国共产党人所领导的共产主义的文化思想，即共产主义的宇宙观和社会革命论。

Put this text into an interactive translator and delete bits and pieces until you've whittled it down to the "new cultural force" part: 新的文化生力军

Then, since you have a translation, you can ask ChatGPT to explain it.

Prompt: Explain the literal meaning and difference between 新的文化生力军 and 文化大革命 in the context of Mao's writings.

ChatGPT: 新的文化生力军 (xīn de wénhuà shēnglìjūn) means "new cultural vanguard." This phrase was used by Mao Zedong, the former leader of China, to refer to young intellectuals who were seen as being at the forefront of the Communist Party's efforts to transform Chinese society and culture.

文化大革命 (wénhuà dà gémìng) means "cultural revolution." This phrase was also used by Mao to refer to a period of intense political and social upheaval in China from 1966 to 1976, during which the Communist Party sought to eliminate capitalist, traditional, and cultural elements that it saw as being incompatible with the party's ideals. The cultural revolution was a radical and tumultuous time in China's history, and it had a significant impact on the country's political, social, and cultural landscape.

In summary, the phrase 新的文化生力军 refers to a group of young intellectuals who were seen as being important in the Communist Party's efforts to transform Chinese society and culture, while 文化大革命 refers to a period of intense political and social upheaval in China characterized by the party's efforts to eliminate elements of capitalism, tradition, and culture that it saw as being incompatible with its ideals.

End of ChatGPT output.
Agreed, but literally everything else would have been a better option than letting Musk of all people buy it.

It's been a bad run for everyone involved: a lot of the people who built and ran Twitter are without a job, those who had to stay (H1B) are ruthlessly exploited now, Musk has lost a ton of his net worth because of TSLA tanking, TSLA investors lost a ton of money as well, and society didn't benefit from the return of high-profile neo-Nazis as well.

We need to update anti-trust regulations to make sure rich individual billionaires don't have the ability to buy or control major communications platforms, no matter if it's social networks or newspapers. In the end, there's nothing positive about that.
I stopped drinking coffee and got vitamin d supplements from my doctor.
Aside from bashing a paradigm one is not used to/doesn’t like/didn’t grow up with, what are the real cases where dealing with the textual output of procfs creates serious realistic performance issues? The argument about insecurity of a hand rolled C parser for that is utterly unconvincing.
Two things (not exhaustive). First, as the article notes, nixpgs has a lot of packages. Second, nix matches Gentoo's customizability but with good binary caching for common builds. (Kind of; that's very approximate)

Edit: I should amend: nixpkgs is already huge, and with flakes you can trivially get packages from anybody you trust (like Arch's AUR but distributed and easier), which covers even more packages.
Bad behavior is an issue but not the primary issue. The big issue is allowing deficits to stack year on year without comprehensive intervention involving discipline and diligence from all stakeholders.
Markets can't realize anything, they have no sentience. The stock market is a graph of rich people's feelings, always has been. It reacts to rumors, sentiments and data, not reason.
Just pick one and start posting. It doesn’t matter where you start, it’ll take 100 posts/videos/presentations/whatever before you’re decent enough for people to pay attention anyway.

I went to 2-3 open mic comedy nights a week last year just focusing on developing the craft of presenting. On top of that I started teaching free engineering workshops and filming them. Its been about a year and I’m still in the “Just throw stuff at the wall” phase. I don’t have much “clout” but its been a lot of fun and my craft is 10x better than last year
Businessweek’s 2022 Jealousy List
Probably, but point is it’s not something revolutionary. I’ve been using tramp for quite some time and despite some quirks it’s a working solution.
iOS isn't Linux, and Android isn't GNU/Linux either regardless how much people keep patting themselves on the back for having the Linux kernel.

Android userspace is Java and Kotlin based, and the NDK officially only allows for Android specific APIs, C and C++ standard library as per ISO, and that is about it.

Nothing else from Linux kernel is considered part of Android's public API.

Google could move to Fucshia on a whim and only OEMs, and people that root their devices would notice, Java/Kotlin apps would work as usual without recompilation from source, while NDK code would suffice a recompile.
I have come across all of "Java/C#/Python" recently, and all of them were "deploy on Linux" most of the time. Yes, including modern C#.
Some years ago I read the same "secret weapon" rhetoric on a website dedicated to ... Cobol; I've not taken it seriously since.
> Whatever your thoughts are on the incident, one thing is clear; it was absolutely preventable, and they had the means to do so. There's ample evidence of that, it's not very controversial

As a matter of fact, everything is preventable in hindsight. We are all very clever in hindsight.
We are "all" postmoderns at this point.

Einstein ; Gödel ; Popper => Kuhn => Feyerabend (among others) have basically wrecked the big modern positivist project (not that I blame them).

Quite related :

https://medium.com/s/story/peterson-historian-aide-m%C3%A9mo...

And :

https://ndpr.nd.edu/news/french-theory-how-foucault-derrida-...
ChromeOS is a similar Faustian deal.