skysight-inc/HackerNews huggingface dataset:
Not really in my experience. I maintain some relatively old codebases and the most common warnings for old code with newer GCC generally are:

- Warnings recommending the use of parens in code like `if (a || b && c)`. The original code is (probably) not broken, it's just that GCC thinks that it's error-prone to write conditionals that way (I agree). There's also a similar warning for code like `while (a = foo())` where it asks you to add parens to make sure that you didn't use = instead of == by mistake.

- Warnings for unmarked fall-throughs in `switch`. Again, not broken if the fall-through was intentional. That's a fairly new warning, so a lot of all code will trigger it.

- Warnings for some const to non-const pointer conversions (in particular for literal strings in C++). There you could argue that the original code is bogus but as long as the pointer is not written to it's fine. Const-correctness wasn't really a thing in C and C++ for a long time, a lot of legacy code plays fast and loose with const qualifiers, but that doesn't necessarily mean that the code is broken.

- Warnings about unused variables, in particular variables being written to but not read. As compiler get smarter they tend to catch more of those.
People are encouraging me in that direction, but I don't give any guarantees :-)
What you are talking about is consumer entertainment. Even utility apps like Google Maps are something you have to learn and yes I'm tired of all the "What's new! Don't do anything until you click me!" garbage. I need the app to open, do what I want, and then close. Thank-you.
If someone's resume was only wordpress sites, and they somehow made it into a technical interview for a team that managed twitter-like systems, I'd consider that a critical failure of the selection process. As an interviewer, I would try and make that experience as painless as possible for the candidate, and if not totally shocked by their abilities, have very direct conversations about the shortcomings of the selection process with whoever brought them in in the first place.
This is the first § of the article:

> Reports of orcas striking sailing boats in the Straits of Gibraltar have left sailors and scientists confused. Just what is causing such unusually aggressive behaviour?

We don't know if orcas are "stressed" or if they're having fun, or if they patiently, rationally decided to wage a war against humans on boats.

Adding "stressed" in the title is a judgment call, and a condescending one.
> We're not a majority, but it's hard to compete with us, it's not helpful to compare yourself to us, but it's hard because that's what interviewers compare you against.

This makes me so sad. I've prepped hard on leetcode for 6 years (since freshman year of college) and I haven't had much to show for it but a total compensation less than Stanford new grads despite two years of tenure. I wonder if there's any point of even living most days.
If a modern alternative existed, it would have been invented.

Email is hard to secure for obvious reasons. The PGP itself is fine, even though it could be updated.
I really have to applaud your courage to start in a space that's already occupied. I know I couldn't do something that wasn't absolutely novel because the marketing chops aren't there.

EDIT: Absolutely brilliant. Your service is the top result on Google for "send photos to grandparent" and you snuck an ad into the featured result listicle. Not to mention this very "informative post" that doubles as an ad.

How did you develop your marketing skills?
I noticed an interesting dichotomy watching people use software I worked on:

- When engineers design software, we design it with the mindset that people like using software and will appreciate all the cool features.

- When non-engineers use software, they do it because they need to use it, not because they like it. They have other stuff to do. If anything it's an obstacle to what they need to do, so they interact with it as little as possible to do what they need.

So, imo that line about respect for your users was spot-on. Don't get in your user's way more than you have to.
As far as I know, cloning is relatively "routine" now, especially in horses and other live stock, though relatively expensive. The main issue is that most clones don't survive to birth, so you need to repeat expensive procedures a lot of times.
pyenv is the python-only alternative.
On most Linux distros the `python` package corresponds to Python 2. Likewise, most distros have a `python3` package with a relatively recent Python 3 version. This is for compatibility reasons and won't change anytime soon.

The most notable exception is probably Arch Linux, which has Python 3 available in the `python` package.
> I actually think it's a better choice

What should `str.reverse()` do? It's very different for byte strings and UTF-8 strings. Or `str[4]`? `str[1:]` can corrupt a string for one definition of []. What about Windows users? There's a chance Powershell is using Windows-1252.
I have to agree with ditonal. Going from a FAANG company to a startup for anything less than a CTO role is a bad idea. I know this because I did this. While it all worked out in the end (I wanted to move to Los Angeles to do heavy metal stuff with my heavy metal friends anyway) there's definitely a hard ceiling at a startup.

Stay at the cushy high paying job and network on nights and weekends. Even better, make a point to ask a person out to lunch every week at the FAANG job once the pandemic is over.

"Networking" for me has just been hanging out with my music and YouTuber buddies. Turns out if you know how to SPELL PHP or HTML you can provide HUGE value to non-technical friends. Doing something as simple as fixing a typo in some JavaScript tracking code for friend's websites makes me look like I've shown them fire for the first time. Find a hobby you like that's non-technical (for me it's learning Chinese, salsa dancing, and metal), show up, have a good time, and within a year or two you'll have a high quality network of non-technical partners.
I stand corrected - thank you for the clarification!
Apple is famous for compiling all its OSes to different architectures. We saw it with the quick switch to Intel and this upcoming switch to ARM. I’m convinced someone somewhere at Apple is firing off an email asking: "hey, are we compiling our stack on RISC-V?"
It depends. Mostly on what kind of users you might have.

If the underlying model is very powerful but so complicated that it's very difficult to convey it to anyone, is it of any use? "Financially lucrative" in that case is simply a proxy for "can I get anyone go understand what is even going on?"

I've built an online pub quiz, and I'm doing as much hallway usability testing (in the Zoom hallway) as I can. Early on, every single one ended up with me changing things from being more flexible and powerful to being simpler. Either the underlying model, or just what is being presented/allowed in the user interface at any given time.

There is just no point in trying to provide lots of options instead of a well thought out middle-of-the-road path of obvious next steps if no-one will be able to get around to doing what they came for. People can't become power users if they aren't users.

UX design is so hard, but luckily it's also very interesting :)
Point 2 is False. It's easily possible to write code compatible with both 2 and 3. It's becoming less pleasant as one can't take advantage of the great new features from v3.6+, but I've done that for about a decade now.

I agree somewhat with Point 1, but the Python ecosystem is larger than Ruby's. Each domain could have moved separately, and did, to some extent.
If Softbank needs cash now (re:WeWork), can they sell a minority stake to Nvidia, in preparation for future IPO? That would provide a path to Arm regaining their role as neutral supplier of ISA & IP. Nvidia would get a preferential driver's seat for a year or two, long enough to cut favorable deals. If Softbank could get a valuation for Arm larger than $40B, from sale of a partial stake now, that helps with their future return from an IPO. Why sell 100%, if they can get enough from Nvidia to solve their near-term cash needs? They have IoT assets, a market which has huge growth ahead.
Cool and good luck!

I applied with my roomba/robot outdoor trashcan (Trashie).. never have to wheel that stupid thing down to the curb again; automatic and it texts you reminders that tomorrow is trash day. Please fill me!
If this were true and abiogenesis had been independent from life on Earth, we could basically set the probability that life arises on planets with suitable conditions (as they were once in the history of Venus) to one.

In this case, the universe basically must teem with life in one form or another.
ECT would be 100% deadly if that were the case.
Nothing is ever a done deal. I'd wager money that Tesla will never drop below a market cap of $50 billion again, which is plus/minus 50% an OK definition of "succeeding" for the sake of my argument -- when seen against the narrative in the 2014-2018 timeframe -- but the prospect of a company is always probabilistic, and I'd never act in conflict with that understanding. It's only in reterospect that most will erroneously be convinced that the outcome was certain.

You can't prove a negative, and I was clear that I don't have the historic knowledge to provide good candidates for what you're asking. They certainly exist; sibling commenters have made some attempts. I made this comment because I didn't want your implied statement of "if you can't mention a specific name, you're wrong" to stand without providing a reasoned counter-argument.
J.T. Basque Bar; but now that I punch the address in the house actually had a Minden address (well north of both towns). Minden itself is just big box strip mall territory.
Good hackers make their own tools over a weekend.

And if it is open . . .

See https://nostarch.com/bughunter
Ambient Music for Work and Contemplation
That's the one. Oops.
Look at it yet more closely even than that, however, and you'll find that it isn't the year that that operating system was invented, nor the year of its 1st Edition, nor even the way that it counted time before 1974. It was simply a year that, in the words of one of its creators, "seemed to be as good as any" (dmr, Wired, 2001).
The power to prevent mergers is based on access to markets. EU is the worlds biggest single market, if they don't accept the merger it won't go trough. Nvidia and Amd and their customers want to sell to EU.

Big single markets like EU or US can take action against any merger between two international companies even if neither of them is based on the EU.

I don't think there is any reason for EU to take action in this case.
My first real dev project was a chrome extension that would save those html/css and auto commit them to a GitHub repo.
An article on the paper has leaked and was submitted here already: https://news.ycombinator.com/item?id=24462429
A digital marketer looking to gain PM experience
Hello all,
I am looking to transition to a PM role after working as a digital marketer for 5 years. I have experience working with cross-functional teams, conducting user studies, refining product vision and etc. Currently looking for an opportunity to gain PM experience along side with an experienced PM.
It's really difficult to start a new career with no prior PM experience, please let me know if you are willing to train someone and help you on the side. DM me if you'd like to learn more about my experience. Thanks!
For those with young children going to SF for several months made YC near impossible, I hope they keep a remote option in the future.
In Debian, Python 3.x is packaged as `python3`, whth v3.7.3 packaged in Debian Buster.

https://packages.debian.org/buster/python3
Great article, interesting to think about.

YouTube link at the end is missing its http://
https://archive.is/4gwYl
Private equity would take on a lot of debt, pay themselves bonuses, then flip the company.
This is so spot on. My family tech support goes EXACTLY like this. Once I get them to actually articulate the issue I usually just google it and after I help them I send them the google search.
Anyone teaching Python 2 now is years out of date. It's not your fault that the other teacher isn't staying current. As a teacher, I made the switch around 2016 and I was slow to change.

While the Python core team made mistakes in community management, I wouldn't blame them in this case.

Back in high school, I volunteered to tutor math at a free summer camp for poor children. A professional high school teacher was also volunteering. I wound up tutoring her in math, so that she could teach the kids. Sometimes teachers need a little update.
How many times were you on the witness list for trial. Not all deponents are of equal importance or relative value. If Bill Gates was an important potential witness at trial, then there is every reason to tape his deposition.
When you look at that map, you'll see the main cities being covered, but only them. Even rural Romania is mostly covered, while Germany is almost as blank as Bosnia.
Java mindshare has been dying for a long time. That said, it's still taught in schools and all sorts of companies still use it (including "cool" ones like Google and Apple).
i dont know what you meant by 'not married?'

fwiw, i think 'marriage' should be abolished entirely. it is the single most effective and likely the oldest surveillance tool upon the human species since ancient times. i have such a dim view of marriage or rather the need for it...in terms of why it was concocted.

marriage as a man made social construct is the end result of so many undesirables. our world would be a better safer equitable place without it. women, for example..would be free from the tyranny of ownership.
Thank you for the comment. I will take a look then.
Technical debt on your part is not an emergency on our part, or something like that. Get your house in order.
Did your app description make statements about handling health data?
Sorry if I misunderstand you, English is not my native tongue. I have no intention to study medicine as I am a retired engineer. However I followed a master class in bioinformatics at a local university and several Coursera classes (Neuroscience and system biology).

ALS is specially interesting for me as two people in my step family died of ALS. So there is a suspicion of familial ALS but nobody decided to be tested and under French laws genetic testing for ALS is a complicated process.

Ideally I would like to design a computational model of ALS. I tried a few years ago [0], before I realized the complexity of the disease.

In the mean time I try to improve public ALS understanding by publishing roughly every 4 days an article about a scientific publication.

[0] https://github.com/Hjertesvikt/ALS_model
Here's a long-form article about this that appears tomorrow in Earth & Sky. It was apparently published early by accident, and taken down; hence this Google cache link.

https://webcache.googleusercontent.com/search?q=cache:dUWrpm...
My six year old got nearly all of these correct (including one I guessed incorrectly).
Same thoughts here. In our research institute there seem to be a general satisfaction with working from home but parents workers including me are not quite in that category. I wouldn't want to go back to office yet but at home with kid is exhausting to say the least.
I'm guessing Saturn's concern was specifically with workers with just a high school diploma?

What makes this amusing is Saturn was probably looking to open plants in the South because most of the states are right-to-work states that are more business friendly and have fewer worker protections. The less-government approach that attracted them there also drove them away because less government also meant worse schools and worse workers.
This might be a good time to look up the definition of axiom: "a statement accepted as true as the basis for argument or inference".
Business Agility are we back to CMMI?
Messaging applications use protocols derived from Signal Protocol rather than PGP because they had the opportunity to do something better than PGP. The first secure messengers did use PGP; designing a new messenger based on PGP would be malpractice.

WhatsApp uses Signal Protocol, and protects many order of magnitude more messages every day --- or, if you like, bytes of plaintext --- than PGP ever has or will.

Email not being a messaging protocol is... a take.
When I house hunted pre-Street View (and even pre decent photos being available in many cases), I spent so many hours driving to take a look at listings which were a big nope as soon as I got there if not before. I don't use Street View routinely but that is a case where it would have been extremely useful.
Great point! I don't disagree. In the same quote, I added a footnote to explain how I was mostly referring to businesses and startups.
There are some giants in the space for sure: Walmart, Amazon, CVS, Walgreens, Shutterfly, Snapfish, and many more. None of them did what I needed: Nag all my siblings on a regular basis to send photos to my elderly grandparents. Print quality in the industry is surprisingly varied: https://nanagram.co/photoprintingnearme
Sorry, I meant that Python 3 code can’t use dependencies that are written in Python 2. Therefore a library couldn’t upgrade to Python 3 until all its dependencies had upgraded.
But Python is a duck-typed language. And most of the time, a bytearray's quack and a chararray's quack sound similar, if not the same [0]. Java can afford to distinguish between bytes and characters because it is strongly typed throughout the language. In Python, whether 2 or 3, as a developer you do not have the luxury of informed reasoning whether something is bytes or a string, because your functions' input parameters can be either.

In hindsight, I think the proper decision would have been to ensure every string has an accompanying encoding attribute, and refuse operations on two strings of different encodings (or even perform on-the-fly encoding changes). At least that wouldn't have created a source-incompatible language.

[0] Here's some of the operations that should absolutely be invalid on a byte array, but aren't because Python3's bytes object isn't actually bytes, it's 8-bit ASCII: lower(), title(), upper(), isalpha(), isdigit(), isprintable(), splitlines()
The other day my wife clicks "Save" in word. A folder comes up that she previously saved to. She types in a new file name.

Then says "hey hon, It won't let me save."

I see the error. Can't access disk. Immediately I think, well I replaced the HDD with and SSD, so that's probably not the problem. I look at the folder she's accessing, everything looks normal. It shows a bunch of other files in it. I go up a folder and back into the folder, and everything looks great, click Save - > same error again.

Finally I go to my computer -> and path my way back all the way into the same folder, click Save. It works and she says thank you!

And I'm thinking, what the fuck that shouldn't have fixed it.. walking away dumbfounded. No problem since, there's nothing wrong with the disk she's been using the computer for days since. It was literally a bug in word's specialized save dialog.
Can you share any examples of where it changed how you think about REST and APIs?

I went ahead and gave it a read but didn't dig in deeply to get all the context. As such, I feel like some things must have gone right over my head.
SwiftUI universal apps do this even better by automatically using the appropriate backing controls for the targeted platform — e.g. a SwiftUI `Button` translates to `NSButton` on macOS and `UIButton` on iOS.

I think it's ultimately what Apple intends to make the flagship way to develop on their platforms. Catalyst exists mostly as a way to pull existing iOS apps and iOS developers under the Mac umbrella.
We are about 10 miles from the fire and about 5 miles from people who have been evacuated.

Frustratingly, one of the best sources of information about the fires has been community meetings and content posted on Facebook by the agencies involved. Often those same community meetings and PSAs about the fire have been bracketed by non-stop streams of people reposting this same bullshit about the fires.

In general, I think posting siloed content is really bad policy by government agencies, but in this case it's particularly bad. I don't see this as a failure of the fire agencies—it's not their job to be a platform for delivering content. The problem is our government lacks effective channels for delivering this content outside of these silos.
True.

Yet how often do you ask a waiter about the challenges of scheduling the maintenance of a commercial refrigerator?
If a GPU has K_1 times the integer or floating-point operations per second of a CPU, and K_2 the memory bandwidth to its on-GPU memory than a CPU to overall system memory, then the absolute best improvement you can reasonably hope for is somewhere between K_1 and K_2. For a typical CPU and typical corresponding GPU (note the highly exact terminology here...) K_1 and K_2 are give-or-take, 10x or so.

Now, it might be a lot less than 10x if your use of the GPU is suboptimal in any way, which means you don't really have a lot of leeway for non-optimality in your design. Plus, there's the handicap I mentioned in main-memory bandwidth - while the GPU's on-board memory is much smaller.

On the other hand - whoever said that the system you're measuring against is making optimal use of CPU resources? It may very well not, in which case the computation and memory throughput ratios are not upper bounds at all.

Just remember that if someone tells you "I got a 50x speedup by porting this to a GPU!" - then more likely than not, their baseline was a massively sub-optimal system. Which is not to say their work is without merit: Improving the performance of a real-life system does make actual work go faster, today, rather than pursuing a dream of future optimality.
How this is not a set of ICO-like schemes, flavored with that particular 2017 style, is kinda beyond me.
no don't quit. Just table this thought for a 1 year and do the following in the meantime.

1. Grind leetcode
2. Grokking system design github

focus hard on these for 1 yr and try again. If you are still having hard time then yes quit by all means.
If carbon dioxide brought the bark beetle to our shores, then forced the federal and state agencies to not treat the resulting megatons of dried out trees as the emergency they were, then ok.

But you're going to have to explain how that works, because I'm not seeing it.

Sure, climate change is a real and increasingly urgent problem. And you can make a case that it made the situation worse; fine.

But the bark beetle was both necessary, and sufficient, to cause the crisis we're seeing. I've seen estimates of 30% kill rates in Western forests over the past five years.
It looks like an example of pathological science.

https://en.wikipedia.org/wiki/Pathological_science
Fortunately humans aren't very tasty for sea animals, sharks often bite then move on. I imagine Orca already know this.
Is the market salary based off other startups who have closed large rounds, or a FAANG company? It is common to be paid a bit less at a startup compared to a very large company. However if you feel you are being shortchanged it will likely result in friction with the company sooner or later.

Ask for more, worst case they come back with no, then you have to decide if you want to stay at that rate. Odds are your stock isn't going to be worth a lot, but I am a pessimist when it comes to equity.
Ask HN: How do you define success?
Just wondering what you guys think makes a person successful?
Facebook removes lots of truthful stuff, so that says nothing about the validity of it. It does tell us that Facebook employees dislike the information.