skysight-inc/HackerNews huggingface dataset:
What LeetCode does really, really well is have a ton of test cases and chances are you will fail one of them and will have to try again. So they may explain a problem to you, but they never tell you the edge cases. For example, question #2 is adding two numbers where each digit of the number is a node of linked list. Simple things like carrying a 1 is easy to forget, but then you need to deal with other edge cases, like what if the lists aren't the same size, etc.

So in terms of testing and finding edge cases to handle, it's really eye opening how deep you may need to go. When I do LeetCode, I try to write my program once and if I fail a test case, I consider my attempt a failure and move onto the next question.

But otherwise, it doesn't make you a better overall programmer. There's no incentive to write maintainable code, and you're incentivized to get the code running as quickly as possible by trying to shave off milliseconds, which usually don't matter as much in real world situations.
On the flip side, I have a blind friend who is in the market for a new phone right now to replace her old nokia with custom text to speech software. Half the buttons have fallen off. It's very difficult to find phones with physical buttons nowadays and the specialist ones cost the earth.

As nice as touch screens are, remember that physical buttons are more helpful for blind people. She knows that text messages are 2 clicks down in the menu, calls are one click, contacts are 3 clicks, etc. rather than having to swipe around and find the app

There in lies another issue with iphones for the blind, you can't remove all the other gumpf you don't need. If there were just 3 big screen filling buttons with phone, texts and contacts, that would be easier to use than smaller icons.
Mods: I think this claim is so far from reality, and pure misinformation, that it should be deleted. Let's not pollute HN with garbage.
I have spoken with Daniel Stenberg about this and if I recall correctly he disagreed and said that the QUIC which ended up being standardized is quite different from Google's QUIC.
This is a ridiculous name to choose. But at the same time it isn't breaking any rules (unless it's too long?) as numbers-only names are allowed (plenty of those, inluding 'binary').

Sounds like an applicant trying to be too clever for fun (and tweeting opportunities) versus a civil servant who did not understand anything the IT-minded guy in the office told them ("this is binary code for 'Don't panic'" or something like that and they thought that meant hackers were planning a terrorist attack...)
Radius Full Page Display
it's running linux. apt-get update :)

(not sure what distro they're running)
I might not be familiar enough with the original tools, nor the Rust ecosystem, so excuse me if this is misinformed. But the trend seems to be that the Rust tooling is a lot richer than their original counterparts.

Is this accurate? And if so, is it super easy to write rich CLIs, with tabulated, coloured, interactive TUIs in Rust? Are their some common, widely used libraries driving this trend?
I always thought this was some anti ad-block feature, huh.
There are different views on HTML5. I, personally, find it amazing that there is a somewhat concise standard at all, provided the convoluted history (including contradicting standards as in HTML3.x and HTML4.x and XHTML) and various browser idiosyncracies and the requirement to fail gracefully. HTML is not your normal parser spec and IMHO the HTML5 parser was a major step towards a user friendly specification. However, given the very special requirements, it's probably not the best example for any other standard.

(The argument regarding the dominance of Google has merit, but these are the realities of modern web politics. Let's see, whether "portal" will be accepted or not, which will be a valid test case.)
The first article is also really weird. In the words of the second referee: this is an opinion piece!

I wholeheartedly agree. It's a tiny bit of light scientific "discussion" about vaguely related phenomena, wrapped in criticism of how culturally significant climage change has become. How the hell did this get past the very negative referee reports and get published??
I can't say for the camera code, but it looks like a lot of the project is reliant on open source software:

- https://github.com/nasa/fprime

- https://github.com/readme/nasa-ingenuity-helicopter
I am interested in those books. Can you list some?
Building global address standard with custom nicknames
Summer Reading Picks for Leaders
Nothing in Rust is super easy, it's an overengineered pile of crap and in 20 years from now people will be cursing at it daily.
Blink is a fork of WebKit, so can't be counted as independent implementation.
Wanted to echo the same sentiment but from the UK too
> Honestly, i think graph db being more powerful is one of their more reasonable claims. Graph db trade off a more flexible data model (which some people would call power)

You can represent graphs in the relational model so that’s simply bullshit.
I have always done that. I don't like to read stuff that's too intellectually intense or stimulating in bed, so I opt for some sort of fiction or history. During the day I might read something like philosophy or technical/sciencey when I'm more awake. If something is especially mentally taxing I might opt for something lighter.

Doing this I might read up to four or five books at once, but always at least two. Reading should be fun and if you feel forced to read a certain book you'll be less inclined to do it, having options helps a lot.
2x$8k for the CPUs + 16x$2.2k for the drives + rest of the system >= $50k
The Texas Grid Came Close to an Even Bigger Disaster During February Freeze
People who've used Clickhouse or other OLAP databases in production & at scale, how do you "interconnect" it with relational data?

I'm currently experimenting with Clickhouse, because my dataflow is increasing in size (40M rows right now, doubling every month or so) and my current setup (MongoDB) is at its limits. I would like to migrate the 40M rows to CH, but I also need the metadata for the rows to be in something more robust like Postgres or Mongo. Would you have a microservice that does the queries between the OLAP and relational DBs and does the join manually, exposing that as some low-level API? Or is using the various FDW options (remote tables in Clickhouse, Postgres clickhouse_fdw, etc.) realistic in production?

Sorry for the ramble, it's late here. But I can clarify if necessary.
By this standard I am a terribly unsophisticated reader. The majority of the books in my home I did not finish. I used to feel terribly guilty about it. Still do sometimes, but two things helped to ease my unease.

Firstly, I started reading short stories more than novels. A short story can usually be read in one sitting and no-one thinks a collection should be read cover to cover.

Secondly, I realized that most non-fiction is (a) badly written and (b) can be read in a non-linear fashion. Just scan the table of contents and dip into the chapters that catch your attention. Skim first and read closely only if convinced. Use the index for cross referencing. Take notes for extra points.

Oh, and read How To Read A Book, by Mortimer J. Adler.
PWM periods and on-time are implemented in the time domain in hardware, so my guess would be issues with integer algebra.

Some hardware implementations are notoriously weird on edge cases. Some manufacturers built PWM modules so 0 setting on the on-time register means “no signal”, while for others it means “minimal on-time” (no signal is achieved by turning off the module).

The other bad handled case is when going above period (if period is set at 210 clocks but on time is set to 250). Some implementations wrap around, some get locked in “always on”.
Easy, stable, predictable and maintainable distribution and installation that leads the a more stable execution (in theory).
> And a lot of those projects are just someone’s pet project, often written as a task for learning Rust

I think 40% of the complaints people have about new JavaScript frameworks are from people failing to have the analogous insight to this.
Because they like the syntax? Because it has a nice way of passing properties? Because you can work with pseudo-DOM elements?

It's all open source. If you want a vanilla js implementation go ahead.
Evermore Technology let businesses avail greater lead generation and higher conversions with its technical expertise. Evermore also provides Website Designing and Development Company in Noida Ghaziabad for better online visibility and brand perception.
https://www.evermolpro.com
Lifetime Earnings in the United States over Six Decades
The second referee also noticed that. It's a fun read: https://www.mdpi.com/2073-4441/13/6/849/review_report (report number 2)

Most of the reports are quite critical (although I can't tell if referee 4 is being sarcastic or not). I don't understand how this paper got published.
> 30hz

I assume it was just a failure to record the frame, but it'd be quite something if it was a drop frame from 29.97 video.
> Before doing these problems I had no framework for thinking about how to program optimally.

You didn't study CS in school?

> It's extremely useful for your development as a programmer.

Can you give some concrete example?
One of the only bankruptcies in history to make a profit!

I worked for the Australian subsidiary in the 90s when they had "Vision 2000" of becoming the world's third largest telco by 2000.
I wonder if hashes are discouraged at JPL due to a historical focus on "correct, and provably correct" code. Hash collisions happen.

Yes, you can make collisions arbitrarily unlikely, and there are so many situations where they come in useful, but I can imagine an engineering culture where they are just never an easy tool to reach for.
Aw, the opportunity to say that they turned the tables was _right there_
live by the layoff db, die by the layoff db
>The idea is that language will not solve poorly designed software

Another idea is that a software can have a great design but still be full of security holes. C allows for that.

If we leave it to the "adequately advanced programmer" to avoid those, we're doing it wrong - with plenty of historical examples to prove this.
Stalin’s War: Distorted history of a complex second World War
Why not just go with:
101010

And cut out the middle man?
> Paramount chief Vekuii Rukoro, leader of the Ovaherero Traditional Authority, has criticised his government for not insisting on financial reparations: “When German president Frank-Walter Steinmeier comes to Namibia to render the apology we will embarrass him,” he told local media.

Imbeciles! Germany could have lived happily ever after ignoring this genocide like lots of western countries ignore theirs. Waste of taxpayers money if you ask me, no one killed back then is still alive, might aswell call it what it is: Development Aid.

The only "embarrassing" thing here is that I, as a German, did not know about this genocide my ancestors did and now i'm left wondering how many other genocides of my country i don't know about.
It runs Fprime

https://nasa.github.io/fprime/
I like how some of the services are very cheap (S3, Lambda), but then at some point you end up using a bunch of other complements, one of which is very expensive and makes the profit.

At which point, as you say, the cost and complexity of a move is huge so you are stuck with a recurring bill.

Another interesting thing is that you pay for 100% of a VM virtual CPU even if it is only utilised 40%, but the cloud is selling your other 60% capacity to another user.

They have no incentive to charge you “based on CPU usage” for VM’s that are always on, even though it is possible. I think this would be a better approach than Lambda - to dynamically add more cores to your OS as you need them.
Activist wins at least 2 Exxon board seats, pushing for climate strategy change
Tailwind is an interesting concept, but I am not convinced yet
Missed a part. A static site generator with build/deploy happening on provider's infra.
Why? It has auto updates for a long while now. Honestly, I've received auto update notification by emails more often before I see any blog posts or news article about the vulnerability itself. I agree it used to be worse, but this? This is awesome.
This article explains in very detailed, yet understandable way why the lab leak is a serious hypothesis:

https://nicholaswade.medium.com/origin-of-covid-following-th...
Already registered!

https://find-and-update.company-information.service.gov.uk/c...
I think your comment just proved the OP's point.

I've had customers using WP in the past, and defacement was just part of the routine. It's an annoyance for the business owner for sure, but so are personnel issues, finance, legislation changes, etc.

For most businesses, there are more important issues than having a perfectly optimised and hardened website.

WP, as bad as it is, is 'good enough' for most websites.
When to Add to a Stock Position
Never came up in interviews, but doing a few challenges once in a while are a nice change from my normal job. Both in topic and programming style.

The problems are small, isolated, and usually come with an irritating edge case.
MindSEOtech
Hey, thank you, you have just corrected a massive misconception I had about SSD performance.

My logic always worked like this: if IOPS is input / output per second, surely that means 10,000 IOPS of, say, the usual random 4kb file write at QD1, then that means I can get 10,000 of those in one second. So, a higher number must be better.

I had no idea that IOPS needs to take latency into account. After having done some reading I am still somewhat confused as to how this really works, but for future reference I will use latency as a measurement of performance again, as that is indeed what I thought IOPS was.
Most of the time I put it straight in production :D. I'm at CET time, and so if I do it in my morning, most users never find out when something would go wrong.

But I do have a custom script to create staging and test environments. Custom developments happen there.

It's basically copying all files and database, do a few config changes, and you have an exact copy of production that you can play with.

I looked into a proper development flow for WordPress, but it's very hard. Mainly because both data and config lives in the same spot. And you always want to work against the latest production vesion, since things might have changed there.

So no local setup, only multiple hosted ones. The DevOps flow could be improved, but right now it seems to work out fine.

So for custom developments, my developer works on test. Then I check it and move it to staging. There I check again if the update works fine, and do the same on production.

It's a pretty good flow for a 1 person project.
Wow! Honestly this is better than airtable
Sure, you’ve always been able to access siblings directly from nodes, rather than having to go up and down again, but that’s just a shortcut rather than being an inherent part of the logical data structure, since nodes don’t own their siblings, but rather their siblings are computed from their parent’s children. This here is talking about the DOM actually producing a non-tree structure, where one text node is a child of multiple elements.
Yes, but also attacking the Pfizer one.
I actually quite like windows and use it on purpose on pretty much all of my computers, except my outdoor work laptop on debian/xfce.

You're allowed to dislike it, but for me windows 10 is a great OS with a thin removable layer of crap sprayed on top, and more importantly it's just the right balance between osx and linux.

To each his own, but you shouldn't be making such generalizations, especially in a message telling people not to make generalizations.
Same here. C gives a lot of control, and makes it easy to map code to what the CPU will actually do.

If you like C, you should really try Zig. Same simplicity and control, but really nice improvements to make code easier to read and maintain.
And yet taxes follow...
"You didn't study CS in school?"

Quite an entitled comment. Studying CS in school doesn't mean you've learned everything there is while practicing programming. Yes, you learn these skills on the job, but doing programming interview questions helped me learn skills too.
In software engineering, CI/CD or CICD is the combined practices of continuous integration and either continuous delivery or continuous deployment.[1]

In short everything has to be continuous, otherwise you'll stall and die. Now go buy some CI/CD from the shop.

[1] wikipedia
> So what if you want to know if someone knows a little bit _more_ than just the basics? It's the exact same story.

> The ability to be able to work with algorithms and puzzle your way out of a problem is kind of important when you're doing some sorts of programming, especially when you need code that scales well (up OR down).

The main issue is that many companies don't do that. They ask leetcode questions because Google does it. But they expect you to have seen the problem earlier and memorized the solution.
Forced me to learn dynamic programming, which had been completely absent during my CS degree :(
This blog post explains IE6 DOM implementation in detail.

https://blogs.windows.com/msedgedev/2017/04/19/modernizing-d...
How different are Blink and WebKit? They've been separate for almost a decade but I've never worried about the distinction.

Tmk, the death of Trident/EdgeHTML is a little overstated, since it is still used by the UWP embedded browser widgets. This is probably more of a concern for some subset of js/CSS library developers than for app developers.
How much did they pay (insert race) after WW2?
https://chrisdone.com/posts/z/
Code should be written for debugability, not readability. I don't care if it takes someone 20 minutes to understand my algorithm, if when they understand it bugs become immediately obvious.

Most simplification added to your code obscures the underlying operations on the silicon. It's like writing a novel so a 5-year-old can read it, versus writing a novel for a 20-year-old. You want to communicate the same ideas? The kid's version is going to be hundreds of times longer. It's going to take longer to write, longer to read, and you're much more likely to make mistakes related to non-local dependencies. In fact, you're going to turn a lot of local dependencies into non-local dependencies.

Someone who's competent can digest much more complex input, so you can communicate a lot more in one go. Training wheels may make it so anyone can ride your bike but they also limit your ability to compete in, say, the Tour de France.

Also, this is a side note, but "code is read by programmers" is a bit of a platitude IMO - it's wordplay. Your code is also read by the computer a lot more than it's read by other programmers. Keep your secondary audience in mind, but write for your primary audience.
Byte – The Less Explored Computer Mag: First Amiga Sighting
Should have a lisp example ...
How to Change for the Better
I find it a bit sad that the most upvoted reaction to someone's cool little project they wanted to share is the classic HN misguided and overused response of 'React BAD'
https://ourworldindata.org/covid-vaccinations paints a different picture?
I have 15 years working for a bunch of unknown small businesses under my belt so I'm in a similar situation. The answer for me is a resounding no it did not help in the slightest. I too actually enjoyed doing these problems personally.

I think the types of companies using these tests are the big FANG type companies and they are mostly recruiting more junior people so for them 10, 15, or 25 years experience doesn't matter. They don't care how long you've been working just if you can balance a binary tree or solve NP hard problems in under 15 minutes.

So if you are applying for a FANG type job then yes definitely but the likelihood of you being picked is actually really low. Why you ask ? Because ageism is rampant in the tech sector so the FANG companies almost exclusively hire younger candidates (with 10 years experience you're not young).

What about other smaller companies using similar tests though? That's true but I've found most small companies that do these types of tests don't hire for some reason. I think they reject a lot of employees as they think they will get better candidates. So the likelihood of anyone getting a job there is really low.
Yes, completely agree with this. There's so many bad interviewers out there, and sadly many are really arrogant too.

However, in my experience, most interviewers are not like that. But even one bad interviewer leaves a really foul taste.
If you buy website development service you do not necessarily care whether the provider writes custom code for WP or static site generator.

Why do you need a backend for GA or image gallery?
That's not the reality.
Once they arrive, these kind of trainings become Compulsory for everybody. Those who refused are fired, with cause.
Well, everybody "white", of course, thus worth being "reminded" of their "privilege". And also their flaws. I mean, if they are white, they are necessarily racist. If they seem not to be, they are just hiding it. If they defend themselves, it's a proof of their privilege, and by extension their racism. If you are a man, you are also a rapist in hiding. Etc.
Just pass a few hours receiving such kind of "training", get it repeated every year just in case, and we'll see how you think about it afterwards.
this jogged my memory of an episode of linux unplugged podcast many months ago. https://linuxunplugged.com/396

"Tim Canham, the Mars Helicopter Operations Lead, shares Linux’s origins at JPL and how it ended up running on multiple boxes on Mars.

Plus the challenges Linux still faces before its ready for mission-critical space exploration."

edit: just saw someone already mentioned the podcast in this thread
There's no reason to assume that code would contain fewer bugs.
The view OP presents is a bit grim though. Most of the real "modernity" of the '70s was not something regular people would enjoy. Going to the Moon, or the Concorde were no different from today's fusion experiments, including the fact that they were based heavily on "earlier work".

Perhaps society decided to turn that progress into something a regular person could benefit from. Think EVs, or a network of internet satellites, work from home (and everything supporting that), getting all your shopping delivered at home, all the virtual "networks" (I don't mean FB here, any networking possibility) you can imagine, and all the knowledge now available from the comfort of your own personal pocket device. There are also plenty of social movements and evolution, think on the line of equal rights, that may have been rooted in the '70s but were completely in the realm of the implausible until the last 2 decades.

Of course people no longer see that as evolution and modernity because so many were born into them already. They look like normality.

And even the "modernity" that was available to normal people in their daily lives was mostly for the sake of the looks. I lived in some modern buildings of the '70s (not unlike the one presented in the article) and that wasn't modernity, it was creativity and embellishment mixed with a lot of impracticality. They were more art than practical creation. The result of the same current that gave birth to The Jetsons a decade earlier, just put in tangible reality in the '70s.