skysight-inc/HackerNews huggingface dataset:
I agree. This is very impressive tech and I definitely see the appeal. I once spent a lot of energy attacking the same problem from the other end so to speak, by generating code at runtime (https://github.com/kristiandupont/rtasm/). I managed to make some logic that had many levels of loops and conditions perform extremely well with it but when I had to debug that stuff a year later, I was basically at my wit's end.

Currently, I am writing JS and TS code and I do quite a bit of code generation. It's great -- it goes into my repo so I get nice diffs when I make a change, I have easily debuggable code and my generator-code can be "unclean" and support weird edge cases through simple if-statements. Of course, my younger self would feel contempt bordering on pity for someone like me who clearly has no sense of beauty, or integrity, really. :-)
> The Mac has long been the best unix workstation on the market. It is solid, generally stable (although that's been slipping), and certainly has by far the best window manager. It has nice consumer apps for when you need them and is a solid, if not always up to date, unix. The hardware is generally great.

I was on that same line of thinking until some time ago when my old macbook pro died, and I ended up again on Linux, on a thinkpad. I'm currently running Manjaro (plasma + i3), and tbh, the Mac's window manager is awful once you get used to the power of i3. Dev experience (for anything but Mac/iOS apps) is probably better on Linux, too...

If you haven't used Linux in a while (as was my case), I can highly recommend it.
Yeah and I could become a rock star if I started playing the guitar.

Getting loans is hard, especially if you're one of the working poor. Starting a company that doesn't die after a few years is harder. When you're one of the 40% of Americans who can't cover an unexpected $400 expense, if you company fails you're fucked. The social safety net in the US is a joke.
googling Silicon Valley programmer wages I got https://www.glassdoor.com/Salaries/san-jose-computer-program...

Which basically the average Silicon valley wage is the wage I am making now. However that is with quite a bit of seniority, I've noticed offers from Germany are generally lower than what I make but Germany costs less. If I were starting out right now I would probably make 60% of what I make now.

My guesstimate of the difference has always been that a years pay in Denmark was equivalent to 8 months pay in the better paid parts of the U.S.
I like Firefox' design philosophy where you're bragging about how many third-party extensions a new version of your app supports.

Another vendor would be bragging about how much of third-party functionality they have built in.
Moreover, as a condition of employment, many (most?) US workers must sign an “employment agreement” which is essentially a legal document written by the company, for the company. It’s like an employment contract except with terms that only benefit the company.
I was tricked into thinking I had “grit”
Mine was lagging when typing anything into the address bar till recently it was painful. I assume they fixed it since I havent had it happen in a while. I assumed it was my phone crapping out on me.
So they said in January, for all cases.
I have bad asthma and my wife's immune system is compromised by virtue of years of Rheumatoid arthritis drugs. Both of us are at substantial risk of dying of covid if we get it and yet neither of us is too infirm to do something if our nation decides that the best thing to do is to kill us to move forward.

Most of the population has some connection to people that are vulnerable to covid. We give a damn and we aren't alone.
Metaprogramming via reflection is used heavily in the JVM ecosystem, and I can say with confidence that a majority of the bugs I encounter in third party code is somehow related to reflection. I think the overuse of reflection in Java is a symptom of the language not having adequate support for expression the abstractions that developers need in an affordable way, and hence they turn to reflection to work around these limitations. This leads developers down a path where they can't seem to stop applying reflection until they reach a point where the type system gives you almost no meaningful guarantees and compositionality of your components is ruined.

At least compile time reflection and code generation will catch a large chunk of bugs that would otherwise be deferred to runtime. I will take a puzzling compile time error message over having to debug runtime reflection errors any day.
As a hobbyist, I might use tinc or PeerVPN. Or Tor plus OnionCat, with restrictive ip6tables rules. I've used that for a private Docker repository.

But those are probably not secure enough. Or too much hassle to setup.
Wow, that's not even that expensive!

I generally don't get to play with hardware much these days, but my "dream" on-premises kit would be a hyperconverged cluster with AMD EPYC 2 CPUs, NVMe storage, and 400 Gbps networking. It would be interesting to see what kind of performance that would enable compared to the typical cloud platforms everyone is so excited about...
A tale of password authentication methods in PostgreSQL
This is changing now. There are no new php.ini changes that would affect how the parser or VM works. The lessons from things like safe_mode and register_globals are learned so well.
Managing hundreds of servers for load testing
It would me more accurate if Seinfeld worked many years of his life as political consultant and/or ambassador.
Yes, it's a trade-off. Less regulation and more freedom and flexibility at the cost of more social risk and personal responsibility. That's the American way.

I was simply stating that truth, not defending it nor saying other realities can't exist. But there is always a trade-off. What part of that is so controversial?

Perhaps things have changed and the balance needs to be shifted now. That's a great discussion to have, but let's actually have a discussion then.
Fallout is probably my favorite example of that.
HPC is almost entirely "commodity hardware" on the CPU and GPU side these days. Meaning there is no problem for someone with a bit of money and time to get one node (~ one motherboard with all its associated parts) equivalent to a top supercomputer.

As others have said, it is the interconnect that makes HPC special. The ability to run a job across tens, hundreds, thousands of nodes, where all nodes need to exchange large amounts of data with all other nodes every millisecond, without network being a huge bottleneck that leaves your CPUs idling.

If your job is never big enough to outgrow the biggest and baddest single server money can buy, then indeed you don't need HPC. But if you are running e.g. a full fluid dynamics simulation of an F1 racecar, a wind turbine, or a jet airplane, you sure do.
I've read such studies with great interest, and i prefer ECC whenever possible, but i think these don't necessarily apply to desktops, at least partially.

I think the environment in racks for nodes in whichever formfactor in racks is toxic. Be it EMF interference, power distribution issues, vibrations, and/or temperature. You don't have that in a single system at home, when it is built
in a good way, and has stable power. Or at least to a lesser
degree.
Actually I don't think of an elephant when you tell me not to think of an elephant, I think of the word elephant, specifically "huh, they said don't think of an elephant, now they are going to say see you can't stop thinking of elephants but I'm only thinking of the word and not thinking of the object. Why is that?"
If you've read salary threads, you’d know that everyone on Hacker News makes $1.5 million per year as an entry level software engineer, owns three houses and a Ferrari, and has a supermodel significant other.
Oh wow! I had the feeling that something like this affected me a handful of times but I was never sure and I couldn‘t reproduce so I just ignored. That‘s quite crazy!
Sending your kids to school all the way up including university costs about ~€10K per kid in Europe. How much would it cost in the US? ~$150K? I think that would make up another large chunk of price difference.

And: it’s available for every parent. Not just those in nice tech jobs.
Ah that happens to me too every once in awhile and it's absolutely infuriating every time. Classic UI fail. It wouldn't be so bad if it just asked for permission first.
I've noticed this behaviour in the past. I remember a sun solaris server at work back around 2009 getting taken down by someone editing a script while it was running. The scripts always had a rm -rf as part of cleanup of working files.
Your comment isn't worth much if you don't say what you don't like about it. It's not perfect but to me it's pretty good.
While you are young and healthy sure, but if something happens to you or when you get older, not so much.
Why not go open source increase development cost and enjoy the lowest scaling cost.

If the price per seat is 5.00 dollar per person and next month it could be 5000 because they require you to pay surge pricing getting locked on could kill your business quickly.
Microsoft to establish its first datacenter region in New Zealand
The basic assumption is that users are dumb when it comes to security, and if there is a way to install malware, they will be tricked into installing malware (even with no vulnerabilities in the host software itself). Especially since there is such a thing as warning screen fatigue, which makes people not pay attention and just click through due to the sheer amount of benign(ish) warning screens they regularly deal with (https://en.wikipedia.org/wiki/Alarm_fatigue).

Making them explicitly type out "YES I AM AWARE THIS EXTENSION COULD EASILY CONTAIN MALICIOUS CODE AND I TRUST THE SOURCE: " + the domain name, in all caps before proceeding could be enough to catch most cases (unless too much legit software gets forced behind such warnings, where it would lead to that fatigue problem again).

Desktop Chrome doesn't let you have an outside extension
without showing a warning on every single startup (even if it's an extension you are currently developing), but that could be because on a desktop OS, other applications could add such extension into Chrome without a user action. On mobile, where apps are isolated from one another, that problem doesn't exist, so maybe such strict restrictions shouldn't be necessary.
Windows was on 90+% of PCs from multiple manufacturers. iOS is on about 20% smartphones worldwide and all of them manufactured by Apple. I understand the percentage is higher in the USA, still not a monopoly IMHO.
He's talking about the scene in The Dark Knight where Morgan Freeman tells Batman he doesn't want to be involved in getting his hands dirty with surveillance tech about to be deployed in stopping The Joker.

Freeman is the US Democratic Party, and Batman would be the FBI wanting to break into iPhones to catch killers at the expense of the law/privacy rights.
I wish there were more options to control tab priority and UI latency in firefox.

I have a respectable (2x8 core xeon, 164gb ram) workstation running linux and I have many tabs/windows open with various references spread across virtual desktops optimised for tasks (work project 1, 2, education, personal project,... etc).

I've experimented with various extensions that pause tabs and currently use tab wrangler to auto-close tabs but it still gets slower to respond with ~50 tabs open across all windows. Sometimes I check the firefox & system task managers to see some basic reference tab (i.e. blog post) taking most of the CPU...

It would be great to be able to aggressively throttle inactive tabs or even pause them completely so only ram is used.

Some options around this use case would be much appreciated. Responsiveness under (almost) all conditions is much more important than raw benchmark throughput. Near instant tab resuming would be a huge help towards this goal as well.
Smallpox is not extinct:

https://en.wikipedia.org/wiki/Smallpox_virus_retention_contr...

> The debate centers on whether or not the last two remnants of the virus known to cause smallpox, which are kept in tightly controlled government laboratories in the United States and Russia, should finally and irreversibly be destroyed.
I think I phrased my comment wrong. I didn't mean to imply that what you actually see on the screen and how content is presented to you are unimportant. I meant aesthetically pleasing elements (like nice colors and brilliant animations) are less important components to "great" design than actually feeding content to users in the most intuitive way possible. Great designers are still very much needed to achieve the latter in my opinion.

I'm not a hater of designers :)
memory_limit is the upper bound you "allow" PHP to allocate. You can allocate more than the available RAM, and have your OS swap or PHP crash.

Pretty much every shared host I had to work with (I've been freelancing for a few years), have been terrible, except for two platforms, both of them were expensive and aimed at particular PHP software.
30K+ users according to the Micah Lee video on their website.

I didnt know CubesOS till ncmncm posted about it in this thread, but it looks interesting enough to test drive for a while. If you want to learn more, recommend watching the video here: https://www.qubes-os.org/video-tours/
Yup, I know both you a Patrick work(ed) on this stuff, hence why I will from this point on stop claiming things about Firefox as I have not done more than glance at the file you linked. However, as someone who is fairly familiar with WebKit and even worked on it for a short period, and as someone who happens to be a person who gets mad at others at claiming that they are designing “native” UIs: I think calling what Safari does as “native” is a better description than saying it is not. (To give you an idea of where I tend to draw the line: Flutter is not native. Qt is not native. React Native uses native controls, as does wxWidgets.) I think of you asked a random software engineer how they thought web controls were implemented they’d guess that they were drawn and implemented from scratch in the browser, and some browsers (like Chrome) actually do this. What Safari does isn’t drawing a rectangle on a screen using Quartz: it’s actually pulling the class that defines the UI of a button from Cocoa and putting it on the screen, making sure it stays consistent with the DOM. There are actual AppKit engineers working on this and they call these native controls. Safari sometimes needs to disable or patch around bugs in them. It’s basically as close as you could possibly get while still being able to use one of these in a webpage.

Edit: as I mentioned in another comment, what I’ve really been trying to say isn’t that they’re as native as the web will let them be, and that happens to allow them to use a fair bit of platform-specific code if they would like. I think the things you are trying to bring up are just a consequence of the web not being a native platform.
I've been wondering when Microsoft would actually bother to make a decent terminal emulator. As far as I know, CMD still requires me to edit the registry just to use a truetype font. Better late than never, I suppose.
UbuntuDDE 20.04 LTS Released: Fusion of Ubuntu Linux and Deepin Desktop
> But, I think this trend might lead to extremely hard to read code, and there is a good chance that this hard-to-read code will be treated as some black box/voodoo.

Boost libraries fall into this category.
But Machiavelli wasn't a comedian or entertainer in any way. He had various diplomatic and government posts prior to writing any of his books. None of them were very highly-ranked or important, though.

A better modern example might be: imagine a mid-level office worker at the New York Office of Public Records writes a book about politics and sends it to the mayor, hoping to get a job. He uses examples from contemporary NYC and past political history to illustrate his points. Years after his death, his book becomes read across the world and NYC is simply seen as a temporary setting for the broader ideas.
That's not how B2B contracts work. They have clauses for breaking them. They are not paid out in bankruptcy. They tend to scale per variables like users or calls.

AirBnB is now paying for 7000 less exchange accounts and office licenses, and you have yet to explain how FANGs are doing well.
I guess I wouldn't have posted it for this exact reason, although I have probably posted me share of things that you might find wrong for HN.

But someone did post it, and it seems to have done rather well, so I guess that makes us both wrong in this case.
If you read the examples, they aren't weird recursive template hacks, you just prefix some code with @meta and it goes to compile time.
Ask HN: Best Resources to Learn Japanese?
I have decided to learn some basic Japanese, but I am a bit frustrated by the material you can find online; most things leave room for interpretation (e.g. Hiragana, one textbook starts with 46 characters, then add others; another mentions 62, and I'm not sure where the 16 left come from.).

I guess, being an engineer, I prefer a specific approach to learning a language.

I also tend to hate the stupid online apps that pretend you are as smart as a snail and take forever to teach you anything, plus their freemium model means you are constantly spammed to sign up for the paid version.

Have you been successful at learning Japanese? If so, any good suggestion?
How to migrate from inheritance-based to declarative partitioning in PostgreSQL
Their profits are growing...their pricing isn't. AWS has yet to increase the price of any resource; they've only ever lowered them.
They're referring to specifically the tech industry. Which is, most assuredly, higher paid in California than anywhere else around the globe (in the mean, there are obvious exceptions).

This comes from a person with EU citizenship who has shopped jobs/interviewed in multiple major cities in Europe; including Munich, Berlin, Amsterdam, London, Dublin and Prague.

It's not insignificant. We're talking 150-220k USD/yr in LA vs 75-95k EUR/yr in Amsterdam (as an example, since it paid the greatest during my search) for a similar seniority role. That's before accounting for nominal tax differences (~37% LA vs ~38-42% AMS; which is significant at that delta).

When I reviewed housing, Amsterdam wasn't significantly cheaper than LA, but it varied wildly based on where you wanted to live in both cities. LA apartments: 1200-4000USD, AMS Apartments: 930-3500EUR. The major plus in AMS being that you could live further from City Center and still reliably account for public transit. There's medical: free in AMS, $38/mo where I opted to work in LA. There's vacation time: 20-24days in AMS, flextime at my company. Etc.

I mean, there are more comparisons to be made; but those were the prime metrics I was interested in.
there is a gsoc project regarding race conditions in Linux https://summerofcode.withgoogle.com/projects/#65400635565015...
Twitter rolls out changes to threaded conversations following tests in its
As someone who's spent a significant amount of time staying in AirBnBs and other transient living, renting month-to-month on AirBnB is a terrible idea unless you're fine paying 2-3x more while AirBnB takes the difference. Also if you show up to the property and aren't satisfied with something (eg. WiFi doesn't work), or need to modify your booked dates, it is extremely difficult to get a refund because AirBnB's customer service is awful (to be fair I last had to deal with them in 2017, so maybe things have improved since then).

The smarter move is to book a 2-3 days and work out a deal with the host.

The current property I'm staying in I originally found on AirBnB for twice the price at which I'm currently paying. And I have the peace of mind of not being locked in to a place for weeks/months in advance since I don't know how long I'll stay here.
I've felt this way also, but the more you stew and understand about the industry the higher the chance of you seeing new angles. But yeah if i were competing with a hubspot level content marketer that's pretty hard.

My issue has always been, even if write good content how do you distribute it? Otherwise it's stuck on page 20 of Google
Did you forget the whole "there was some Russian in the metadata so it must have come from Russia" conclusion of CrowdStrike?
Not the OP but I can highly recommend Lenin's "What Is to Be Done?" [1], one of the best "no bullshit, no moralising, let's just get things done by seeing things as they really are" books of the "modern" era.

[1] https://en.wikipedia.org/wiki/What_Is_to_Be_Done%3F
You don't have to, but using YouTube through the NewPipe app is light years ahead in terms of experience. You can listen to videos and playlists, program which videos will play next, reorder videos that are going to play, no ads. When playing on the background only the audio track is downloaded which is easier on your battery and internet connection. The UI is smooth. The app itself is lightweight. It remembers your history and search history but this happens locally on your device. It also supports PeerTube and SoundCloud. You can watch videos in popup mode though I never do that. The fullscreen player has vlc-like controls to easily change the brightness and volume level. I could go on and on. All that with completely free software.

Experience on the mobile website is shit in comparison especially on slow devices. I use Firefox mobile with the same extension + ublock origin but, as someone who hates installing apps when websites should do, do yourself a favor and don't ditch Firefox for Brave, try NewPipe, it's worth it :-)

Same thing for the Slide app to go to Reddit by the way.
Other companies that've recently had significant layoffs: Uber, Lyft, TripAdvisor, Yelp, Eventbrite, Patreon.

Is COVID-19 the reason, or the excuse?
Batch files on Windows do the same thing. That’s caught me out far more often, because I make errors in my batch files much more often than I do with shell scripts.
I hope you are joking and I am failing to pick up on it. Because such cases can be made for many human interest stories. Unless the boy was driving a self driving car I really don't see the significance to HN. But I see that the community disagrees with me on this, evident by the points on this story.
I work in HPC and I think the technology and some of the things done with it are very cool, and it has secondary benefits, too. That said: look at where most of the Top 500 gets the funding for these machines and that might answer your question.
Optimizing the business card raytracer with CUDA
I've never been in a place where it was pretended that there is no person with authority to tell you what to do, whatever that person is called, and that person's ass is the one that's kicked in case things don't work.

What this article describes is alien to me: an organization where devs are apparently autonomous, so they're responsible for failures, but still need to go in the direction set by someone else. There are multiple problems with that system. From the outside you can ask without concerning yourself with priorities or tradeoffs. From the inside, different persons can push in different directions.
I guess they expect a recession even afterwards, so that means reduced travel for potentially years.
Excuse for Patreon but there's a common denominator for the rest that should give you an idea.
I work professionally in C/C++ and the instances I needed to use Python I always felt like I was missing the core understanding of the language and was writing C in a different syntax.

I found James Powell's PyData 2017 talk "So you want to be a Python expert?" (https://www.youtube.com/watch?v=cKPlPJyQrt4) to be incredible at helping me to gain that core understanding of the language. It's legitimately the best technical talk I think I've seen and I can't recommend it highly enough.
You can't blame AirBnB for cities failing to ensure their residents have access to affordable housing.