skysight-inc/HackerNews huggingface dataset:
Ah sequel. I did a stint of ruby on Rails work many years back, and remember seeing sequel for the first time. It's documentation web page is honestly probably the best "what is this" and "getting started" page I have ever seen for any library.

I don't know if it's the library itself or the documentation contents or the documentation website theme, but it jives absurdly well for me. I also really like the simplicity+flexibility of the library itself, and have yet to find anything even close to it in the c# or c++ world.
Earlier discussions:

https://news.ycombinator.com/item?id=25402999 (90 points/117 comments)

https://news.ycombinator.com/item?id=25408188 (27 points/20 comments)

https://news.ycombinator.com/item?id=25411526 (125 points/15 comments)
Affluent Families Ditch Public Schools, Widening U.S. Inequality
Is there a website that tracks tuition fee history for colleges ?

Don't know if I'm imagining this but it looks like in state tuition has doubled for my state school (virginia tech) compared to what I paid in 2011 for grad school.

If this is true, that is a pretty big increase.
> It's core qualities (low resource usage, balance between customization power & approachability, and more importantly familiarity) disappeared.

I think you hit the nail on the head. KDE gave you the full DE experience, but there was that pesky Qt license. GNOME was full GPL/LGPL and it felt like it was built to attract power users. Skins were at the height of their popularity (remember Winamp?), and GNOME gave users an easy way to customize everything without having to muck with some arcane config file format. Every release felt closer to some platonic ideal of a fully customizable yet easy-to-use DE.

Then came the iPhone, and suddenly the world went hyper-modern and hyper-minimal. Restaurants names like "The Heavenly Chicken" are now old-fashioned; today the same restaurant is simply "chicken". GNOME was also affected by this cultural shift, and as you point out, ended up abandoning its core qualities.

I believe that hyper-modernism, like other movements, is just a fad, and in a few years we will "rediscover" modding. Everything will be customizable, from the color of your keyboard to the genes that control your eye color. Who knows, we might even shake the dust off the blink tag.
Does the news reflect what we die from? – Our World in Data
What? No. Punishing the researchers benefits society through deterrence. What the patients needed was treatment. The earlier the better.

Massive damage was already done to their bodies, but you can still get rid of late stage syphillis with penicillin and prevent further damage.
But presumably the GP isn't keeping the rice cooker on keep warm for days. All the moisture would be lost. Safer to refrigerate cooked rice.
aka "Cachicamo diciendole a morrocoy conchudo" (The armadillo calling out the tortoise for having a shell)
I can only speak to my personal experience, but I've found most of the textbook requirements for my OMSCS classes to be available online if I want them, generally for free through the university itself. I've been buying them anyway, because I like to have a paper copy, and because my company is willing to pony up for them. But it's not really a requirement.
I've looked at some degree programs recently, and while I'm mostly disappointed at online offerings, I'm now seriously beating a program from a flagship state school, that has an insanely affordable price for in-state students, that I could pay for out of pocket without worry. This is only due to the grace of how much in-state students are subsidized (at the cost of out of state students). I'm still unlikely to be admitted, due to the static, bureaucratic policies, but in my past research the past couple years, there's no way in hell I'd pay for what most colleges charge for online programs.
Regarding the comment on discriminated unions, I've actually found the opposite with the new ability to have separate types for sentinels. Before, since both iterators had to be the same type, the end iterator needed some special casing to know it was the end. Allowing it to be a separate type meant all the logic for traversing the underlying sequence could be in the iterator type, and the sentinel could be an empty struct like a tag type used for comparisons only.
Torvalds isn't a bully, he's very realistic and stern. Sometimes code really is unnecessary garbage. Software engineering is real engineering and linux is used by serious organisations. Contributing code to Linux is like laying your own concrete on top of the burj khalifa.
Usually people say std::sort is faster than qsort
Is this still really the case? My Pixel 3 is USB-C, as was my 1st gen pixel. The Nintendo switch is USB-C as is the pro controller. Heck even my vape pen is USB-C charging now.

I feel like USB-C has proliferated sufficiently. Not denying your perspective, just offering an alternate one.
Unless you do it on purpose. Then it's actually kind of funny.

https://qntm.org/suicide
I’m running 24” monitors at double density 1080p. MacOS is rendering at 4K and the monitor is getting a 4K signal. The way macOS handles scaled resolutions make any scaled resolution look native, on top of making everything more clear.

Increasing UI size often breaks application across all operations systems.
"It’s going to go away, hopefully at the end of the month. And, if not, hopefully it will be soon after that."
— Trump, 2020-03-31

That's long after human-to-human transmission was confirmed. So, no, you can't blame the WHO there.

> Right. He could easily just make decisions without the Democrats using everything in their power to stop him.

...Uh okay? Since when has Trump cared what Democrats thought? Again, why did he not attempt to close the South Korean border if he cared so much? I'll tell you why: it's because Trump was just looking for an excuse to close the border to a country he already didn't like. He never cared about the virus, only about his personal agenda.
Moving 100k customers from co-lo data centres to the cloud. With zero downtime
LinkedIn is a terrible example of a premium social network. The main reason that people pay for LinkedIn is for recruiting. So LinkedIn is selling their (free) users to recruiters and by doing so it completely destroys the experience. I always have tons of InMail and Friend Requests whenever I open LinkedIn, however they are rarely from ex-coworkers or friends. It is just a steady stream of low-effort "You'd be a perfect fit" messages.
It was a required in my program. State school, USA.
I think what most people has is issues with resolving double binds; there’s only one way out and it’s hard lockdown with rationing, which kind of require willful sacrifices, of jobs to say super least.

The general public anywhere isn’t ready for trolley problems even if told to optimize for least body counts. Basically the whole free world is in disbelief of the story that there are people on tracks(except TW/AU/NZ?).
Let's say 20% of users outright refuse to pay. I don't think this is unrealistic. Now there will be people with a lot of friends who left, and they ask themselves, "if my friends aren't on here, why am I paying??", so they leave too. It keeps rippling through the social graph like this until there only a hardcore facebook fanbase remains.

If they were forced to find an alternative income source, they'd be better off going with freemium.
While I appreciate the existence of POSIX as a standard, I wonder how we could come to a place where it would be actually good. Don't get me wrong, there are many positive things about POSIX shells, but in my opinion, the language itself is broken (how many errors are caused by whitespace in the wrong place?) and error handling in particular is just horrible and unreliable.

There are many better designed languages out there, but to this date, none is as omnipresent as the POSIX shell language.
> Bring back the days of being able to trust your device and services you use without have to skim through TOS and hope they didn't throw a Facebook auth sdk in somewhere.

Agreed. If you make money from invading my privacy I hope you go bankrupt when your ability to spy is stripped from you.
Haemocytometric changes to predict the severity of Covid-19
Would be a good use case for Chat/conferencing avatars.

If this can be done in real time (even with a delay), fade transitions could be a nice alternative to video too.
> Having a maid. While common for the middle class in SEA, US labor laws preclude this.

I'm curious what you mean by this - there are certainly maids in the USA, but if you are envisioning something that our labor laws preclude... you probably have something else in mind when you say that?
Current rates for state colleges seem to be not that different [1], still around 5k, with a notable exception of PA and VT.

[1] https://www.collegetuitioncompare.com/state/
It is not in Bangalore, but a small town near Bangalore. So 8000 for non-engineering role seems consistent with market rates.
The color of iPhones is just bleirgh in comparison

They're trying to solve two different problems. Nikon want to reproduce colors that are balanced and accurate. Apple want to produced colors that 'pop' and catch peoples eye when scrolling through Instagram.
The camera manufacturers seem to be set in their ways. Wouldn't it be cool if you could load a sim card into your smart-camera & use android apps for cool features, like proper HDR (not the manual bracketing stuff), maybe apply some casual third-party filters, or instant streaming and sharing on social platforms. But maybe the target market, the professional photographers, are also the older generation that care more about a tiny amount of lens diffraction than the possibilities of new tech. There could also be the aspect of job security, since new tech could lower the barrier for newcomers.
OW.

That spy is likely to experience "health problems," sooner or later...
Workers are rarely paid that way because they don't want the risk. Most businesses will end up with negative profits. At best, no profits. Imagine being an employee for a year or two and then having to pay for the luxury at the end. It is no surprise that it is avoided, usually. It is definitely an option, though, for the workers who like the risk and think the chance of winning the lottery is there.

Instead, workers usually prefer to estimate what the profitability will be up front and determine what they want out of the pie based on that assumption. Then they lock in at that price regardless of what happens. If the business fails, they still get their agreed upon amount. If the business thrives, they might only end up with a small piece of the pie, but it was worth it given the risk of ending up with nothing. It's essentially a futures contract.

It seems a little much to get to have it both ways – to be guaranteed the estimated piece of the pie when the business fails, but also all the upside when the business succeeds beyond imagination. Why would anyone agree to that? Those rare moonshot wins are what pays the workers for the times that there are losses. If the workers got the proceeds from the moonshot wins and the proceeds from their futures contracts, the math would stop adding up and employment would grind to a halt.
We need more than a price correction, we need a reckoning.

And as taxpayers who fund this education via loans we should have a lot of leverage, yet the only thing anyone talks about is loan forgiveness, as if we won’t end up in the same exact situation again in 10 years.
Does escaping work? \\
It doesn't, that's interesting.

*a*b*c*d*

Looks like a code block is the only option.
Not quite: https://scholar.harvard.edu/fryer/publications/empirical-ana...

> This paper explores racial diﬀerences in police use of force. On non-lethal uses of force, blacks and Hispanics are more than ﬁfty percent more likely to experience some form of force in interactions with police. Adding controls that account for important context and civilian behavior reduces, but cannot fully explain, these disparities. On the most extreme use of force –oﬃcer-involved shootings – we ﬁnd no racial diﬀerences in either the raw data or when contextual factors are taken into account.

The systemic racism happens one step removed from that. Police are far more likely to engage into interactions with Black men, as a result of more aggressively policing Black neighborhoods, bias in engaging with someone in different circumstances, etc.
Why would they audit if they're not held accountable? This starts to become chicken and egg, it sounds like. Perhaps best to just pick the party that should be responsible and then move forward.
I don't empathise at all with "small sites" that track me or benefit from someone else tracking me.
What cb321 said. Sometimes programs take a single argument that contains the whole command. @Q allows to safely escape the list of arguments. This is a synthetic example:

args=("my" "arg" "with space")
bash -c "rm ${args[*]@Q}"

This makes sure that the script will `rm` "my" "arg" and "with space", and not "with" and "space" :)
Quantum Algorithms for Feedforward Neural Networks
If only this were true. "But every techie hates facebook at this point." might be more accurate. Or, "But techies and tweenies who think FB if for old people hate facebook." might be even more accurate. However, there are millions upon millions of people that do love it. They don't know/don't care about the actual price of FB's 'free and always will be' service. To them it is free because it doesn't cost them money, and that's as far as they want to think about it. Any further discussion makes you one of the conspiracy people.
I'm constantly impressed and amazed at how brave that man is, and the other people in Russia who are opposing what seems to have become a totalitarian thug state.
I would argue that is a good thing since it allows for performant access when you do not care about order. If you do not care about order you do usually not even have to allocate an array which means lower memory use. And how hard is it to write.

Dir[path].sort

Ruby lacks polish in certain areas but this is not one. A d I would argue Python can be pretty tough in places too.
Imo deep learning would be a better example, Bitcoin is no better because of GPUs (nor is it mined on then anymore)
I think there's been a bit of an inflation when talking about unicorns. It just means any startup that is valued at >= $1bn
You don't have to unless you sell I think. Similar to real stocks you don't pay tax on stocks. You pay tax when you sell them.
That's how I used to think as well. But you can also see Bash of being a standard on its own :)

Obviously it all depends on the context.
Ahhhh Rogozin, a mere puppet of forgone Soviet enterprises.
None of us have forgotten how Russians spit on Elon Musk in 2001 on his visit to Moscow. Cantrell was there to witness and confirm such crude behavior by the Russian team.
And now Elon Musks revenge is stealing all business away from Roscosmos. Nobody cares if the Russians build bigger rockets, let them rot in their silos just like the Buran spaceplane rots in Baikonur.
I think you're exactly correct.

It drives me nuts when people talk about freedom, they have no actual idea what freedom is or takes and their actions undermine it. Freedom doesn't mean "I can do whatever I like with no consequences", but that's what people really want.

Freedom is just a better sounding word than selfishness these days :(

<Steps-down-from-soapbox>
Also it doesn't work if you stuck with Stockholm syndrome
> “This is about a long-term view that is about anti-personalised advertising, and we think is trying to take the world back 10 or 20 years.”

But this is what user wants.
Sorry, it's just that it really threw me off, sounds out of place. And considering pretty much everything from high end to the cheapest stuff has Chinese components (or is completely made in China) these days, it doesn't make much sense.

Also, that's the kind of repairs I would do, I've actually fixed quite a few fans that started grinding with simple automotive grease, they last for years :D
Show HN: Eight Queens and Sudoku in JavaScript
Sudoku
https://codeguppy.com/code.html?t=sudoku

Eight Queens
https://codeguppy.com/code.html?t=eight_queens

Visualize QuickSort algorithm
https://codeguppy.com/code.html?t=visual_sort

Coding challenges for beginners
https://codeguppy.com/code.html?t=coding_challenges
If you want to be in the official network, yes. But like I said, open sourcing the client possibly open sources the relevant parts of the protocol that would allow compatible, maybe even federated, self-hostable and free servers.
Hoisting in JavaScript Variables
Well, the problem is that Rails (and ActiveSupport) is borderline idiomatic Ruby. I imagine the vast majority of Ruby codebases use them. And honestly I don't even know how vanilla Ruby stacks up to Python, it's almost an inconceivable idea (though I left Ruby behind some years ago.)
Demand went up with population. This is an absurd argument: demand as kept up with supply (otherwise productivity basically couldn't go up) but mysteriously compensation has not.
The article would be a lot more useful if some of the self-congratulation was replaced with estimates of how much it used to cost vs how much it costs now in the cloud.

All it seems to mention is "cost optimization" happening later.
That makes sense. Thanks for taking a look though!
Allegro is the only Lisp with a RAD like GUI designer. Other than that, the IDE is alright but I hate how outdated it looks (they don't even have syntax highlighting and they expect me to put up with an ugly X11 app on macOS). Allegro's selling point is definitely not the IDE and I very much prefer Slime over it.

LispWorks also has an interface builder but only works on Windows I'm afraid. I wouldn't say their IDE offers much over Slime if you are a power user, but I really like their function/class browser over using all the slime-who-* commands and how easy to use their debugger is. What sets it apart is that thanks to CAPI it is trivial to build graphical user interfaces to make your own development experience a bit nicer: for example opening up a filesystem dialog instead of asking the user to retype a string, building a graphical monitor to provide insights on the performance of your Lisp image... You get the picture. It feels very Smalltalk-ish.
> productivity started decoupling massively from productivity gains.

I think you meant "wages started decoupling ...", right?
Show HN: The Best 404 Pages From Around The Web
Show HN: Open-source speech software stack reaches first major milestone
Highly unlikely honestly. Right now the general infantilism in Russia make investigations and headlines quite meaningless (not _meaningless_ but they really don't do much in short term).

Youtube video will get huge amount of likes and views. But that's it.
I was productive, but felt like I accomplished nothing. This is what I changed
I have always been a hard worker. Even to unhealthy levels according to my friends and family. But no matter how hard I worked, I never felt satisfied. Checking things of my to-do lists became a habit and I lost track of goals and impact.
I noticed that I made 2 critical errors:
-I focused on productivity instead of impact.
-I was always focusing on the future and never took the time to look back at what I already had achieved.
I decided to work with the One Big Thing framework and journal everything I have achieved every single day. In this framework, you focus on just 1 thing every single day that will make a significant difference for you. This can be a small or a big thing. I spend the whole day focusing on just that. If I am able to do more, thats just a nice bonus.
After a month of working in this way, I took the time to look at my list of achievements and appreciate my monthly progress. Seeing the impact I made and the all the things I achieved made me even more determined to make the next month count!
I made a website where you can do this yourself for free! Don't hesitate to try it out or contact me :)
www.peacockletter.com
Can Algorithms Save College Admissions? Competition-based system isn’t working
AMD Ryzen 9 5950x Powerhouse Compiles 738k Lines of Delphi Code in 12 Seconds
Interesting, I'd say the opposite. In a Rails app that was written consistently with the styles and APIs documented in the Rails docs I have never been more productive. In other micro-framework type environments, regardless of the language, Ruby/Sinatra, Python/Flask, Javascript/Express. Most codebases I've encountered are a mess of inconsistencies introduced by various developers over the years. With a lot of the mess, effectively re-writing the core features of Rails and it's most popular gems.

Rails, if done correctly, is a remarkable tool to allow developers to focus on the business logic and UI of their app and forget about the "filler features" that pretty much every app needs implemented. On the other hand if you write Rails code without reading the docs and re-invent the wheel rather than doing things the Rails way, essentially running an app in the framework without using the framework methods, you can create yourself a monstrous unmaintainable codebase like no other.
I think for me there's just a hobby/cool factor. I have no intention to build one nor can I think of a good use case but it's still neat to look at someone else's handiwork.
What failed with Fedora that RHEL couldn't use that as upstream? Wasn't that supposed to be where Centos Stream is going?
You are being all over this thread defending Apple, do you have something to disclose? Even if what you say it is true, it is less immoral because at least they sell the phone damn cheap.Apple is pocketing the huge markup all by itself (And yes their shareholders, 99% of them rich people), and these Indian guys are paid 6 dollars a day.
I have never “loved” my Nikon dslr quite as much as my film camera, f3. They are just so big.

Good thing with Nikon was that I could just use my old glass without adapters.

Nowadays, I just use film and my phone.
After several months of beta test we now published Botium Speech Processing version 1.0.0.
It was proven to work in several client-specific speech processing tasks, mainly related to automated testing of voice interfaces.
My whole point is most jobs aren't in SF or NYC, and most software devs make six figures. Even if the high six-figure jobs are concentrated in those two locations (I'm sure they are, especially if you expand it to Austin, Chicago, and D.C.), there are going to be plenty of people making six figures in low COL areas. FAANG only accounts for a small percentage of dev jobs (a few tens of thousands at most, out of nearly 4 million devs in the US). Let's call it 100k to be super generous, and that they all make above the median. With 3.8 million devs, 1.9 make six figures. 1.8 non-FAANG. NY State has 220k developers so let's remove all of them for the sake of argument, even though that's going to include the guys in upstate in low COL, and double-count a bunch of FAANG folks. We're down to about 1.58 million non-FAANG, non-astronomical-COL living folks at least who are making six figures.
AFAIK, mktemp is not part of POSIX.

I use the POSIX documentation as my primary source of documentation when writing scripts. Most of the time, I have seen that the differences between the implementations are in the additions but not in the core functionalities that are described by POSIX.

A nice entry to the POSIX documentation is being provided by this website:

https://shellhaters.org
You realize how much stock Zuck has, right?
Yep, I have a Nikon D300 from 2008ish, that was Nikon's pro-sumer model at the time. It's very well made and still works well but made in Thailand rather than Japan.
What are you referring to by "this"?

I didn't mean that it's unique to Japan, just that I frequently notice a refreshing -whimsy- among them that other more austere/cynical peoples might dismiss as childish etc. (e.g. the places I've usually lived in).

The Instagram links just happened to be something I was browsing at the time.
Different Way of Creating Space