skysight-inc/HackerNews huggingface dataset:
> Everyone starts a PhD with love for knowledge

This isn't true, especially in stem and the sciences.

> They are better off with a Masters and having a good career and then spending spare time on pursuing knowledge.

In most places I'm aware of, a terminal master's degree or a master's degree program is a degree mill and a racket, costing tens of thousands for a course ofstudy that's too short to teach students much anything useful, let alone provide real knowledge or understanding.

Every single person I know who has a stem PhD is doing interesting, cutting-edge work, and almost everybody they work with has a PhD, too. The kids with a BS in CS, by contrast, almost never wind up with jobs in those settings. They almost never get jobs at Microsoft Research. They don't get paid to think.

> the trouble is to sustain that love if your bowel is hungry, your clothes are old and torn and you are unable to give your kids a decent accomodation

Again, this simply isn't true. This wasn't my experience or the experience of anybody I went to school with or met when I was in acadenia. PhD programs in the US are funded and usually pay poorly in absolute terns but well enough. And grad-student insurance is usually quite good if you're in the US.

A PhD from a good program opens doors and pays for itself many times over, sometimes materially, sometimes in ways that are difficult to quantify.
Mocking and coverage aren't that closely related, but I agree that mocking makes tests less realistic, and therefore less useful.

Mocking can be helpful when that downside is still better than the alternative, e.g. if 'real' calls have significant latency, or a significant monetary cost, etc. In those cases mocking lets us do a whole lot more testing for the same amount of time/money/etc., which can make up for the loss of realism.

Mocking can be especially useful when adding tests to a legacy system. Greenfield work should aim to minimise the amount of mocking required, ideally to zero.
Maybe take a walk & find a girlfriend?
Ask HN: Why are the Pixel phones sold in so few countries?
There's already been a ruling on this https://www.cbc.ca/news/canada/newfoundland-labrador/nl-trav...
Doesn't read as fifth grade to me. Just has a little spiciness to it, I appreciate that. Think about it, the person could have linked and linked and linked to other articles to back up some point of disagreement. But instead, they shared their own opinion, relatable, easy to follow, and refreshing.
I'm a huge Postgres fan, but...

1. Migrating is a huge, difficult, expensive project at Github's scale -- almost as bad as a rewrite

2. "Can handle more data and load" doesn't make sense as a blanket statement

How much data and load Postgres can handle vs MySQL is determined by lots of variables. It's neither absolute nor consistent. It depends more on database and infrastructure design than on the underlying RDBMS.

The best reason to choose Postgres over MySQL is not hardware efficiency but rather developer efficiency, although some projects get both.
really nice that you've used wasm and no server. This seems really secure to test.

I was thinking at first: Hey, this might be kinda dangerous, imagine iterating in a tool and sending my database to a server and any attacker retrieves the database.

But since it runs everything inside of the browser with wasm i found it WAY more secure. Nice that you've done it, will probably use it a lot.
Moved to Signal from whatsapp, for me (and very happy to acknowledge others have different needs and likes) signal is way better than whatsapp. Yes, I've a modern smartphone but one of my family group is on an iphone 6 is perfectly happy.
Should Scientists Run the Country?
I am reposting here a link that you might find relevant (I constantly update the original piece, especially the "bibliography", and I will add this entry to it asap).

https://news.ycombinator.com/item?id=17794060
The court used the section 1 of the charter in that case, not the notwithstanding clause.
Also CCLA is appealing that case if I remember reading right.
I think you would need a whole year of museum visiting just to have a glimpse of all pre-Roman civilizations in Italy.
The Museo Sannitico in Campobasso (https://www.musei.molise.beniculturali.it/musei?mid=208&nome...) is one among them.

Everyone forgets about the Samnites, who required Rome to fight 70 years before getting rid of them!
this made me think, what's the math for a rounded rectangle then https://math.stackexchange.com/questions/1649714/whats-the-e...
Following up (since I can no longer edit):

- It’s not clear to me if google actually uses bounce rate to rank results aside from generic mention of identifying “signals that can help determine which pages demonstrate expertise, authoritativeness, and trustworthiness on a given topic.” [0]

- google does track sites you visit and URL redirects may be a way to achieve this.

> My Activity is a central place to view and manage activity such as searches you've done, websites you've visited, and videos you've watched. [1]

0: https://www.google.com/search/howsearchworks/algorithms/

1: https://support.google.com/accounts/answer/7028918?visit_id=...
> set up a S3 bucket

Based on my experience as a boring nerdy-nerd who also happens to know how to host a Minecraft server, I hope I never get asked for that...
When you use a front-end framework like React, there are UI changes you can make that must hit the server for information and other UI changes that can be done locally without interacting with the server. LiveView really shines in cases where you’re hitting the server anyway, but JavaScript can be more efficient for client-side-only changes. So, if you want, you can combine LiveView and JavaScript to optimize your site for both types of UI changes. You don’t have to. You can use LiveView exclusively, but the choice to combine LiveView and JavaScript is there if you want it.

Personally, I think React is a bloated choice if you’re going to use both LiveView and JavaScript. In cases where I use both, I typically use a small framework like AlpineJS or vanilla JavaScript for client-side-only changes.
The first page of "search results" is usually filled with ads and Google scraping and special casing dozens of sites. It is almost at a point where I have to skip to the "second" page just to get to the actual search results.

Also Google broke a lot of search qualifiers for stupid reasons, like the '+' when they created Google+.
Yes, I think to a large degree being able to build hard technology is a matter of being extremely fluent with writing code and reasoning about data structures and algorithms, as I stated. Being able to solve this problem in 10 minutes seems like a hard-to-fake demonstration of such fluency. When I think about CS open problems and when I solve leetcode problems with algorithmic content to them like this one, it feels like I'm using the same part of my brain (or at least there is significant overlap).

If you don't agree with me that the fluency I described is a significant asset to advancing the state of the art in CS, what do you think a significant asset is?
Yes, damn developers wanting money for their work!
The OP explicitly claimed that US cares about human rights.

So no it is not "whataboutism", which a bs term anyway because it is almost always used in situations where someone implicitly claims that the US cares about human rights and that's why US atrocities must be brought up as counterargument.
That is a very complicated magical spell, that I’m not sure I could cast on my own, but is amazing to see those pieces put together in that way. Thank you so much for sharing it.
I mean it kinda makes sense. Since the beginning we’ve lumped entire continents as a group to compare to another group. When instead this stuff is incredibly hyper localized. I’m pretty sure I’ve even heard “the experts” say this.
I see it as a way to contribute to meme culture similar to the WallStreetbets saga.
Coding at the Gates of Hell
Delving into the idea of Deep Work as a discipline we get better at with repeated practice and critical to Engineers who want to become their best.
Isn't it a bigger/more important mystery why proto-indo european language was so successful at supplanting the local languages it intermixed with? Rather than why the Etruscans kept speaking their own language.

I'm really curious if there were positive "network effects" of increasingly large populations of neighbors speaking compatible languages (even if they formed a gradient as the Romance languages did from Rome to Portugal and northern France) Otherwise, it would make more sense for a successful prosperous culture to keep their own language and it would not be surprising at all.
I find it weird that both you and TechnologyClassroom in that GitHub issue thread brought up copyright. Even if the developer had used an open source license, they would still have retained copyright. You can complain about the license just fine, but copyright is not relevant to that discussion.
It's not easy, though it's mostly learnable. But the important part is that it's also a moral failure. You have to sacrifice your soul to do this well.
It works to solve the same space of problems, so at least it's fair to compare it as an alternative.

As I said elsewhere, it's a pity that its chosen license works directly against widespread adoption. I may take a look at how it's done to gather some implementation ideas, but I would never depend on it for any project that have a chance of growth.
Counterexample: a lot of Americans, especially here at Hacker News, think highly of Snowden even though he betrayed the US government.
What? Since when does WFH burn everyone out? At least my perception is that people want to stick to it... I'm confused
> Imagine if the entire virtual space had powerful programming environments, some more powerful version of Mathematica, I could gesture and run a some powerful.

Not sure.

But I think that there will be far fewer people who work relative to those who play in these virtual+immersive environments than there are with any of our more augmented ones.
The irony of that statement is that architects are much worse treated than PhDs. It's quite common for them to go from internship to internship often with minimal to no pay.
> Their "Carlos Watson Show" channel looks a lot more legit

Best part of 100k subscribers - and views for the videos 1 week ago: 223, 223000, 249, 188, 82, 232, 570, 123, 14000, 102.

I guess they forgot to buy followers for the Carlos Watson Show instagram account, 1,075 followers. Although it does get about as many likes and comments as the posts on the 'corporate' Instagram account with its 655k followers.
Is it not ok to make a "little bit" (you can be wealthy beyond your wildest dreams from a small business) of money from a opinionated business (akin to a restauraunt, perhaps) rather than conform and become just one more ycombinator-esque startup in the hope you'll make even more money if you make it big.
> the result is usually an untested, and usually nearly untestable

No way... if you ever wrote any tests, you can easily know how to write code that will be testable even if you do it later. Doing it before is just going to be a big waste of time if you throw the code away later, which happens a lot when you need to experiment with things before actually choosing what works best. Yes, you can do that with TDD as well but it will absolutely slow you down. If you end up not writing tests later, when the implementation has been chosen, it's just because you don't care about the code quality... I find it hard to believe TDD will fix you in that case.
>According to Zerodium, iOS exploits are cheaper than Android exploits because iOS exploits are so plentiful[1][2] in comparison.

On the other hand if your iPhone is vulnerable it will get an update. Can you say the same thing about Android?
Right, that's true. I just figured I'd offer a perspective that I haven't seen yet in the thread. Crappy programs are, in my view, a sham, but in my field they're still a pathway to stable work. There are plenty of schools that won't hire PhDs from top schools because they know they won't stay. Second- and third-tier PhDs fill those positions. The pay is abysmal, but most of the people choose to stick it out make their peace -- and live very cheap places.

But maybe I should be using the past tense. There has been no job market at any tier since the pandemic started, and I'm told universities are seizing the opportunity to make that permanent.
Google charges ads per click, possibly mainly for that. Also it's a preferred solution to asynchronously ping the log on click rather than a synchronous redirect hack
If you can make specific lines appear as a result of a chemical reaction… can’t you make a line or dot appear next to printed “pregnant” “not pregnant” words instead? No microchip required..

Disclosure; I know nothing about this.
I'm wondering what they were thinking with that cookie policy.

It's not at all GDPR compliant. It says accept, but there is nothing to accept. It is not a contract as there is no choice. It plainly tells you they are going to violate EU law about your privacy rights.

They just decided to go for maximum annoyment level with minimum value. Put a popup with an arrogant unilateral middle finger in everyone's face. If you're going to do that, why not put a small link at the bottom or just shut up?

I know about the managers falacy ( we must do something, this is something, so we did it), but still. What were they smoking?
We are developing a patent-free Covid antiviral therapy
Really? I was under the impression that public political speech which is critical against of supervisor (ie the entire executive branch of the govt) while on active duty can be considered insubordination. Is that wrong?
> Anyone who thought critically about it for ten minutes knows it’s nonsense

Can you explain a bit more? I have only done coverage on my home projects. I get 100% every time because otherwise why bother. I started experimenting with 100% branch coverage. I understand sometimes there's a few lines you can't test like if there's a fork() but in my cases I was lucky enough to not need it and didn't need to exclude anything (I was thinking about excluding an impossible to execute default case since I did val&7 and tested all 8 cases but I ended up using if statements instead for that one off case)

It seems to me as long as your testing your own code its great. It gets annoying when testing an API that you can't ask to fail. I never mock anything. It seems like coverage is a great solution

In one project I used fuzzing data and another I specified valid date and say anything invalid is not a bug and may report incorrect results (I think I detected most/all bad data and rejected it which people hated)
I live in NYC and have a friend in the funeral business. This was absolutely true in the beginning of the pandemic, although perhaps not at every hospital in the city as some were hit harder with patients than others. There was also a backlog in the ability to process bodies (e.g. Getting death certificates, funerals, burial sites or cremations).
The emergencies act doesn't allow for using military in the event of a public welfare emergency, as you seem to implying. It doesn't even allow for the federal government to order the police around

> 9 (1) Nothing in a declaration of a public welfare emergency or in any order or regulation made pursuant thereto shall be construed or applied so as to derogate from, or to authorize the derogation from, the control or direction of the government of a province or a municipality over any police force over which it normally has control or direction.

https://laws-lois.justice.gc.ca/eng/acts/E-4.5/page-1.html#h...

[Provinces can request military help, but that's unrelated to either the emergencies act or the now repealed war measures act]
Comparing Australia to anywhere else is a pretty weak argument. I mean for all you know their case count is way, way underreported. After all who wants to be “that guy” that shuts down an entire city? Who would ever get tested or be the doctor that recommends it?

And besides, look what they’ve done to their citizens basic human rights. Even if it works, is it worth it?
I recently got tip on a 3D version of round rectangles, called octasphere: https://prideout.net/blog/octasphere/

It's not a direct-to-screen rendering technique like the article, rather a way to procedurally construct the 3D mesh based on few parameters (W,H,D, radius, # of subdivisions). Just like rectangles in 2D, boxes in 3D are too simple and have harsh sharp edges. Adding rounded edges makes them nicer to look at. Additionally, the octasphere method gives you capsules and spheres and everything in-between.

Edit: Oh look - there's a front page article that talks about this in-depth: https://wwwtyro.net/2021/09/24/rounded-box.html
The Much Talked About Free Java License Is Here
Performance Testing Using XCTest
I've seen that chart before, in some history of railroading. It was discovered some time back.

"McCallum therefore designed a system of hourly, daily, and monthly reports" Yes. He was also responsible for some basic business terminology, such as "division" and "section".

It's a line and staff organization. About half the employees belong to a geographical location and are under a Division Superintendent or one of his subordinate managers, and half belong to a functional area and are under someone like the "Master of Engine Repairs".

Thus began a classic problem, the stovepipe organization. There are people under the Master of Engine Repairs for the Susquehanna Division, but they don't report to the Division Superintendent for the Susquehanna Division. You can see the same thing in the Telegraph department, where there are people far down the reporting chain who technically belong to the distant Telegraph Superintendent but work near the Division Superintendent for a division.

There were org charts before this. Military tree-structure organization goes back to at least the Roman Empire. McCallum had to solve a new problem - coordinating the efforts of a large number of people at different locations who were all working on the same system.

Now, that org chart does not reflect how train dispatching worked, although the McKinsey article discusses dispatching. Schedules and train orders were a completely different system, with its own hierarchy. Look up "train order" to understand that.
I've noticed that whenever I end up on a Facebook page for some local business I'm adding on OpenStreetMap. Comments that do nothing more than @mention people publicly. It just seems weird to do that.

Facebook is a weird place if you don't have an account. And of course, whenever you scroll down for some details (and hopefully a link to that business' proper website) you get slammed in the face with a dialogue box that asks you to create an account or login, so my engagement with Facebook usually ends there.
Have you heard of Sam Slater, the father of the American factory system? He's a hero in America for stealing IP from Britain, where he was known as "Slater the Traitor"
> This is surely theatrics.

Yeah, drama helps makes a point which brings us to:

>Europeans will pay more for heating than they usually do,

That is the problem, many feel that heating and fuel are already expensive.
Do you think this will make the poorer part of the population vote more for green and sustainable ideas?
Or is it just gonna push them more towards politicians that don't support these ideeas?
On Risks Of Pasting Arbitrary Content In Browsers
It's literally a requirement for TS/SCI clearance due to conflict of interest and national security. Natural born citizenship and they look at relationships fairly deeply. Even higher requirements can be needed for these positions too.
It can't change under you on a whim though, can't it? Unless you host it yourself.
I meant in response to your second part about sect. 1 applying.
> Yes, I think to a large degree being able to build hard technology is a matter of being extremely fluent with writing code and reasoning about data structures and algorithms

Sure. Again. I don't really think an algorithm that shows up as an introduction to algorithm proves much more than a person read "Intro to Algorithms". So again, a timed introductory problem proves some elite technical skill?

> If you don't agree with me that the fluency I described is a significant asset to advancing the state of the art in CS

You're building a cute lil strawman. I think the question is totally out of line with the stated goal. If a college sophomore can answer a question, you're not really assessing much of anything. Also, working at a "hard startup" has nothing to do with "advancing the state of the art in CS".

> what do you think a significant asset is?

If I'm handling hiring for a "hard startup" and am in search of engineers fit for an "extraordinary team", I'm probably going to spend more time finding applicable skills than opening up to Chapter 1 in the closest algorithms book.
To me, going remote significantly improved my life. I have ADHD and in classrooms with people around my i cannot focus at all :(
Now because of covid, my university not only livestreams all the lectures but also uploads the recordings. It's absolutely perfect for someone like me. I still go to some lectures and exercise groups for social reasons but i stay home 2-3 days a week and on those days i can just hyperfocus completely.
Ah, TIL. I have no experience other than being a passive fan. Thanks!
I don't feel very confident in my process overall and I agree this test will produce a lot of false negatives (and said as much in my comment). But, I've never seen someone who had that sort of extraordinary performance on a leetcode style problem go on to bomb the rest of the interview. These extraordinary performers have pretty much always been solid in other areas as well.
The whole of Alibaba websites (Aliexpress, TaoBao, Tmall) rely on a single MySQL database for stock count keeping.
For most people the stock strap is good enough. I spend a lot of time in VR and never even considered replacing the strap.
Curious about how blasting WiFi next to your head 8 hours a day affects your brain also, especially when dealing with high bandwidth streams like video all the time.
In high school we did a two week tour of Italy. I can really recommend it to everyone. My uncle has taken my nieces for holidays all over Italy for 16 years to show all the nice places and art.
> Personally, I think React is a bloated choice if you’re going to use both LiveView and JavaScript. In cases where I use both, I typically use a small framework like AlpineJS or vanilla JavaScript for client-side-only changes.

Good to know! That's probably why this boilerplate generator only has a handful of (what I think are) smaller JS libs and not Vue/React?
Sure, likely with lower probability because of self selection.
Not surprised - he has clear mental issues.

Uniform Code Of Military Justice supersedes his constitution rights as a private citizen.
There is no rule that requires car makers to use CCS in Europe. Just the charging network providers. Nissan and Lexus are still selling brand new EVs with the CHAdeMO connector.
Feeling Free
I can't find anything in the parent comment that suggests a lack of sympathy for working class people or an attempt to put any blame on them.

There are countless policy choices that can help the less fortunate, the great majority of which are not incompatible with gas or energy being more expensive.

For example, I'm not a huge fan of agricultural subsidies, not because I want food to be more expensive, but because of the negative environmental and health effects they've had. But the money the government pays to farmer giants could instead be redistributed to poor people and (IMHO) help them a great deal more.

Likewise, revenue from taxes on things like gasoline could mitigate the effects of higher cost for low income families, which still encourage upper classes to invest in clean energy.
Ex-Apple designer Jony Ive is now designing expensive things for Ferrari, too
Comparison Of Reverse Image Searching In Popular Search Engines