skysight-inc/HackerNews huggingface dataset:
So the onsite interview should be a one day phd program?

This is kind of thinking is why people hire all these leetcode jockeys who can't write working software, and won't stay beyond a few months anyway.
Code Smell 99 – First Second
> This was important back when journals were distributed by print.

As they still are? Articles are still formatted for print, printed and distributed (including online) in terms of issues.
This indeed! In the US the fed government wastes massive amounts of grant money covering excessive publishing and open access fees. This could easily be restricted to a small max per article that must be accepted by any journal grant funded results will be published in. The journals would adapt.
Half of these are examples of 'people care' as I said though.
I have not seen price raises anything like that at grocery stores
This is a selection bias. People generally aren't forced to use C++, so those who can't stand it don't take C++ jobs, or leave to use something else.
This is basically saying "Ive worked on this issue for days/weeks, but please solve this in a few minutes and impress me".
> Foreach loops are still out of the question though

For real? What's the argument there? I've never seen anyone complain about range-for, so I'm curious what the perceived problem there is...
Can you elaborate pls?
But from that 5% you have to subtract the inflation rate.
My take is that too many people are telling others how to interview. It is their money, their company, their job, their life. Let them do it the way they want as long as they follow the legal requirements.

If you think you have a better way, tell us about it without passing judgement on others. Tell us why it works, how great it is, give us some qualitative and quantitative data. Most of all, enjoy your competitive advantage. But for god's sake, quit telling other people they are doing it wrong.
You're saying unpopular things here, but I agree! If they added the other ports in addition to keeping 4 tb4 ports, then fine. But we lost a super flexible port for old versions of single use ports.

Magsafe was a big deal when I had to use my computer tethered to power all the time. With the m1, it's just not as critical as it was. It's nice, but better would have been to incorporate the latest PD spec for faster charging.

Is the sdcard even 'pro' anymore? Where's cfexpress? Pros already have a bunch of sdcard readers that are likely faster than what's in the machine.

HDMI is probably the most useful here, but are there still places where people present that haven't permanently attached a usbc connector (same places still using dvi hah)? I haven't needed HDMI in years at this point.

Don't get me wrong, ports are fine. But, I'd like them to use the latest versions and not lose one of the tb4 ports.
Way too many times I have seen fast typers who would spend as much time adding text as immediately deleting it after that and typing something else in its place, over and over. (Maybe that’s the way they think, I don’t know.)
That was obviously created as a black PR to promote Presto
Without meaning to defend it too much, as I believe it's mostly a marketting/lobying thing...

As I understand it, the issue was whether or not you could count a pizza towards your vegetable quota. The argument came down to the nutritional content of the tomato sauce on the pizza; nutritionally, this was very similar to the requirements for other things that can be classified as vegetables, and so one portion of pizza was deemed to also count as one portion of vegetables.
The fantasy can be different from reality. It will either be better than you imagine, or far worse.

My father got married and his wife was excited to come on the road with him (there are many "trucker couples") and for a few years it was great. She loved seeing all the new places, meeting people, etc.

Eventually she did get tired of it, as 99% of us would, and she thought "ok, we will settle down" and even had one of her friends find something nice that they could afford in a town she wanted to be in.

My father went along with it, helped with the downpayment etc but then when she was like "ok, time to find you a job in this town" he basically said "yeah, umm... just get the divorce done and I don't need anything."

... and he hit the road ...
> The keyboard is a tool.

Yes, but one of many.

> If you can't type, you're going to waste a lot of people's time and they may be too polite to say anything, but it's frustrating for everyone around you.

I don't think in my career I have ever been alerted to anyone's typing speed being slow.

Yes, I've heard endless noise about "the perfect keyboard" and the ins and outs of spring types and junk. But I've never noticed the output of someone because they type slowly.

And to be honest, I really couldn't care. Can they code? can they keep to a deadline? are they nice to work with?

if the answer to all three is yes, then I couldn't give a shit about how they type.

> but can't work a hammer efficiently would be ridiculed on a job site.

Only if they need to use a hammer effectively though. If they are laying veneer, carving, using a screwdriver like a sensible person, then a hammer is only rarely needed.

This all smacks of gatekeeping to me.
Running away when you've created the chaos is somewhat unethical, running away from someone else's mess is very smart and if anything should teach them a lesson (but we all know it won't).
There’s a problem with non-invasive glucose monitoring and Type 2 diabetes.

There’s very limited evidence that providing a Type 2 diabetic with more information about their blood glucose level does anything at all.

A full-scale change in approach to food, exercise, etc. is what is needed, not easier access to a number on a smart watch.

https://www.aafp.org/afp/2020/0601/p646.html
>does anyone know of similar software to create dummy displays on Linux?

Xvfb (https://linux.die.net/man/1/xvfb)

wayvnc: https://github.com/any1/wayvnc

Weston has a headless backend also.
I went on a mission trip in college, giving food to natives in the mountains of Mexico. While we were waiting around to distribute one day, a couple of people on our team started giving some food to the dogs that were roaming around. Our leader put a quick stop to it and rebuked us, noting that people here were hungry, so it was pretty insulting to give that food to animals.

The feeling I felt in that moment never left me. I enjoy dogs, dogs have a purpose, I don't tell people that they're bad people for owning dogs, but...yeah, something is definitely out of whack in our society.
And that's why you have senior engineers and junior ones.

If you are trying to hire, expecting every junior dev to know all this stuff means you'll skip a lot of candidates who can contribute a lot to your business.

They shouldn't be trusted with writing things from scratch. But if your codebase is mature enough, getting db connections, making endpoints atomic and stuff like that already should have a convention so your junior engineer wouldn't have to do it on their own.
Halloween Horrors
Yes that’s the point of my argument
Because universities don't have an alternative. There are two things to realize about this situation:

1. It occurs because academia is a planned, quasi-socialist economy in which there are no market signals anywhere. However even if you get rid of market economics you still need some way to allocate resources. Weird academia-specific hacks like impact factors are the result: they're basically a form of whuffie-like currency, and are used to replace price signals.

2. Academics could change it because they have tremendous freedom and nobody forces them to organize this way, but they never will, because academia is dominated by people who are very sympathetic to Marxist pseudo-economics [1]. Indeed that's how it justifies its own existence: the value of academia to society is framed in terms of negative assumptions about what market-oriented capitalist research can or will do.

It's easy to illustrate the latter point in this case. The author identifies that their system is screwed up and then blames "chokepoint capitalism". Ah yes. A near totally government funded system has an absurd structure because of too much capitalism.

Wrong. Corporate research doesn't have this set of problems at all. The journal system exists exactly because without capitalism academics have to come up with some alternative, and in a centrally planned economy there's no incentive for that alternative to make sense or be any good. So they've drifted into this situation where third parties sell them an alternative ideologically acceptable pseudo-currency called reputation metrics, because they weren't even capable of setting up their own, and flail around mis-diagnosing their situation. Want to get rid of journals? Sure, no problem. Go work for a private sector R&D lab where papers get published on their website and your career ladder is based on the actual market impact of your work, not the impact-factor of where you publish it.

[1] http://econlog.econlib.org/archives/2015/03/the_prevalence_1...
I really missed the days when Yahoo! was the first choice search engine, the results were hand picked by human, limited but really relevant. Then came google, the results were much richer but relatively inferior, however still acceptable. Years later, Gmail was out and I immediately expressed my interest and got invitation directly from Google. Unfortunately, Gmail did not workout for me. From the very first day, I started receiving spams. Note that it's a new id which I never used anywhere. Then I asked for the function to reject particular senders, and the responses I got were always something like "our spam filters are good enough, blah blah blah". Wasn't feel confident with that, so Gmail was never my primary email. I felt not quite right with Google since then, but not quite sure what was wrong until recent a couple of years. Googles' recent moves such as trying to blend in Ads with search results, trying to block Chrome API access for Ad blockers' etc. made it clear that it's almost if not already time to ditch Google. The only thing I cannot find a substitute is the search engine, the others are simply not good enough.
> What you say makes logical sense, but is hard to square against the fact that, as a nobody, I can borrow $1M at under 3% fixed interest for 30 years to buy a house [...] The creditor who will ultimately hold that paper has a very different outlook on inflation rates than I do,

Such questions deserve answers.

There is a lot that I skipped over, not wanting to get into the weeds of economic theory and start more arguments about whether the Fed controls rates or whether markets do (orthodox theory says markets control real rates and the fed only controls nominal rates, and thus inflation), and how savings demands respond to interest rates, and whether mortgages are risk free rates or not.

All of that complicates the simple picture I painted, but I think that picture is basically correct.

Suffice it to say that in terms of risk-free rates, the creditor's alternative is to buy a TIPS -- inflation protected bond -- which currently yields -1%

https://www.cnbc.com/quotes/US10YTIP

So we are living in a very low interest rate world right now.

Given that most likely your mortgage is government guaranteed (what mortgage isn't?) the entirety of the 3% you are paying is just as an inflation hedge plus some risk of pre-payment -- again, I have no idea what kind of points you have and the specific terms of the loan.

If inflation was believed to be zero, you could probably get the same mortgage for less than 1%, maybe even 0%.

We live in a world with very low real rates, but that does not mean that creditors don't take inflation risk into account.
Alternative Channels for Police Transparency
Problem Broke Math (and Led to Quantum Physics) [video]
Ask HN: How to Treat Reddit Addiction?
While I am not stealing money to surf Reddit, I am slacking off my personal projects to do so. I would like to cut it completely out of my life.

I would like a way to stop being addicted to browsing Reddit, especially r/popular. I have a Firefox browser extension that thankfully blocks access to r/popular, r/all etc. but I still search up random subreddits in the search bar.

The biggest problem is my phone where I have unlimited access (I browse even despite the terrible mobile browser experience).

I would like to only use Reddit in a search-engine form: I can only search for specific things but not start to just browse it regularly.

I'd love your opinions on how to eliminate this addiction from my life because it also does not fit in with the person I want to be. It's not something that guy would do.
You may think you need async, but you don't. This isn't Python or Javascript, the use case for C++ coroutines is microcontrollers and other things without a functioning modern OS.
It is somehow ironic to read this, given the heat given to newcomers on comp.lang.c and even the moderated one on Usenet.
> I've played sports my whole life. ... I dislike more than endurance sports. Doing anything repetitive

You are comparing doing vs playing. In some languages there are two words for sport. One for game/competition and one for physical activity. Obviously there is physical activity in game but my point is: do not try to find game when there is not one.
Anyway I have other anecdote. I've played sports since childhood but got bored with repetitive games and stayed with endurance sports because they offered excitement from new environments. It was not something I discovered as an adult. Running was basically second thing I did after I had learned walking.

There is obviously expensive gear with all those bikes/skis etc. But running really is low-hanging fruit of sports. Just tie your shoes, open the doors and you can just start.
Also typing fast does not mean writing fast. Think about the speed tests you took. You probably kind of zoned out and just bashed it out. But when actually writing/coding you stop and think about it a bit. I used to hit 70-80. But now I maybe manage around 20-40, probably less. Because I have to think at the same time and can not just 'zone out' and copy. Knowing the keys is a massive help though. With coding it is more 'i know an interface that does something'. Ok start using this object oh yeah wait it is a pointer not a local so different call syntax, oh and then the call I need is inside that object but that is local to that object, oh wait lets go read the docs this thing has 4 params and that 3rd one is always a bit tricky... No way you are hitting 40+wpm unless you just happen to use only calls you use all the time and have memorized all of the params that go into them and have the code basically already written in your head.
No, what you suggestion would also imply superluminal communication because you also have to send what your are measuring (such as polarization) classically. Now you are sending three bits .
I think the problem you miss (as have I for many years) is that it's not only about you learning the new stuff. When you work in a team, writing "new" C++ code forces everyone to learn the new stuff.

I too enjoy learning the new tools, their tradeoffs and how to best apply them to solve a given problem. But to someone who has not invested this effort (and might even be reading the syntax for the first time), they might as well be reading a completely different language. I believe that is the complexity that is talked about.
> D suffered from [...] indecision between GC and manual memory management.

It is still suffering from that. If you want to manage memory yourself you can't use some parts of the standard library + you can't use a lot of the community packages since they assume there is a GC present.

So far it looks like the best alternative is Zig, but sadly it doesn't have some of the higher-level language features such as function overloading, compile-time interfaces (Rust traits) or macros. Jai seems to have most D features and more without the GC [0] but Zig is more likely win popular mindshare since it already is in the open + comes with a C/C++ compiler which is pretty cool.

[0] https://github.com/Jai-Community/Jai-Community-Library/wiki
Bringing Geek Back: Q&A with Intel CEO Pat Gelsinger by Dr. Ian Cutress
Damn, and I've always felt like I must have some kind of OCD whenever I'm getting a refresher on MVCC/MGA isolation levels and their guarantees and the associated auxiliary locking (say, select for update with lock in Firebird, for example) just to be sure I'm not writing something stupid. Simply not using transactions at all is something I can't even fathom. That's basically no better than blindly mutating shared in-memory data structures in a multi-threaded program. Who would write something like this?
Except multiple courts disagree with your conclusion and found Standard Oil guilty of anti-competitive price fixing. Meaning they found evidence to the contrary of your point.

Here is a part of the majority court decision written by Chief Justice White:

"constituted a combination in violation of the first section and an attempt to create a monopoly or to monopolize"
No, I don't think they need it, but it helps.

However, it might be a good shortcut for people learning. I was taught at a youngish age to attempt to touch type (box over the keyboard and a tutor program) I fucking hated it, and I was slow, it was dull and painful.

However, Then I had a need for typing, so I got faster and faster, and the initial structure that I got from the rigid teaching, allowed me to learn faster than my peers.
I've been in the same position in the past as every developer will eventually, except maybe the FAANG worshippers who don't work for any other companies.

Unfortunately there's nothing you can do but leave and you should. In most cases management is aware of the issues, it's just that for various reasons they can't fix them or choose not to.
I'm somewhat ashamed to say that, when I interview, a lot of people who claim "distributed systems experience" get some variant of a line of questions that ends in the user experience of systems that do not aim for partition-tolerance.
Many but not all are also in Python:

https://docs.python.org/3/library/os.html#os.EX_OK

I put together an enumeration to make it cross platform:

https://gist.github.com/kkirsche/2adb8c94794048ec30736b8fe5f...
Originally, there was also going to be 0xCAFED00D - BABE was for the class file, and D00D was for serialized object files, and the two together would give you the ability to move programs over the network, mobile agents and "the network is the computer" being the vision at the time.

However, that vision did not come to pass, so there was no mobile object format. 0xCAFED00D eventually got used in the Pack200 format, which has now also fallen by the wayside.

I think if you were cool in the '90s, "babe" and "dude" seemed like perfectly natural, even rad, ways to refer to people. Particularly if you only had access to hexadecimal digits.

You probably wouldn't pick those terms today, sure.
Code search is helpful to see if any of your code contains these characters.

A bunch of hits found across the top ~2M open-source repositories: https://sourcegraph.com/search?q=context:global+%5Cx%7B202A%...

To triage, you probably want to first look at hits in code files (not JSON or Markdown, etc.):

https://sourcegraph.com/search?q=context:global+%5Cx%7B202A%...

You can set up a self-hosted instance of Sourcegraph to run this across all of your company's code: https://docs.sourcegraph.com/.
Again, read the actual court decision on the case rather than draw your own conclusion. They were found guilty of unreasonable restriction of trade, which is to say guilty of monopolistic behavior.

"was in restraint of trade and amounted to the creation of an unlawful monopoly."
There's one thing that all combat sports, not only Jujitsu teach you. Even if you're good at fighting, it's best not to start fights.

You might do this once, and "win" the battle. The federal government will come for revenge.
I hail from the grammar descriptivist camp, so made up words are perfectly valid to my eye. All words are possible English words with the right attitude :)
Eric Niebler recently switched from Facebook to NVIDIA. I wonder if that has anything to do with it.
I wouldn’t use the internet. I would instead use wwv or a atomic clock (Facebook has one in development that you can put in a PCIe slot)
It's not as common in the US, since most states are at will, either side always can give notice at any time for any/no reason (other than targeting protected groups / whistleblowing, etc), there's not as much point to a probationary period.
You have an interesting way of rewording court decisions to fit your narrative.

Here's what MSFT was actually taken to trial for:

"monopoly position in the market for operating systems designed to run on Intel-compatible personal computers ("PCs"). Specifically, the plaintiffs contend that Microsoft violated § 2 of the Sherman Act by engaging in a series of exclusionary, anticompetitive, and predatory acts to maintain its monopoly power. "

Not "for Gates being rich." Now, his wealth may have put the spotlight on him, but that doesn't negate the court decision on his actions. I can lament that the only reason I was pulled over was because I drive a red Ferrari, but that doesn't mean that my speeding wasn't illegal.
Give it an honest try. You may already have.

Once you have tried, gave it everything you had, and nothing came out of it, you will have the conviction to walk away.

Move on. No shame, no guilt.

It's like losing at sports where you tried 100%. Nothing to feel bad.

Time for the next challenge.
There is some difference, but it is marginal indeed at least in terms of speed. Via the traitional route with a real dummy, the display hardware needs to produce two sets of displayport output streams (one of which is converted to HDMI via a DisplayPort-HDMI controller chip MCDP2900 to drive the Dummy) + sync up the two displays in terms of vertical sync (this does not always work well, this is why real HDMI dummy users experience mouse jittery sometimes) and also has to scale the full-res framebuffer to two independent display (but scaling is done super efficiently on M1). With BetterDummy all this is not needed obviously.

For ppl who until now had to resort to mirroring the internal displays (as M1 MacBooks - before the new MBPs - support only the internal display + a single external display) the benefit is more obvious, they now can use clamshell mode and don't have to drive the full MacBook display hardware (with brightness turned down to zero) all the time.
I guess, but my point is: There is no reason macOS shouldn't allow doing all of this on the software level.

Especially with the wholly Apple-made M series of chips, they control the entire video stack down to the transistor level.

Dummy plugs should be syscalls, not physical things.
money they should never had made to begin with you mean
Apple Wants iPhones to Detect Car Crashes, Auto-Dial 911
On the flip side of this many actually do prefer their manual labor jobs. My father in law and brother in law both run their own contracting businesses (one does concrete, the other builds Med Expresses) and their workers and themselves have both said they would never want a desk job and don't know how I stare at a computer all day long.
How do you drop P?
Are you describing Drip Irrigation? Because THAT IS awesome, but I don't know enough about it to know if it could solve all of our Watermelon Woes.
I find it highly ironic that in a thread about subjective evil one talks about granting more power to governments... The only institution on the planet that has granted itself the right to legally steal, plunder, and murder you...

I am no fan of Google, but as much as I despise what google has become, I am do not have a rose colored view of the evil that is government to the point here I think that government could be a viable solution to the Google problem