jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
In addition to the other already-good answers, I want to add the following answer, which I believe is even closer to the "real" answer Linus had in mind.

Of course you can not look at the function and immediately know all consequences. The real point is that there is a procedure you can follow which will let you determine the answer.

1. Locate the "write" function. There will only be one, because C has no namespaces.

2. Read the "write" function.

3. Repeat recursively as needed (including for macros).

For C++, the equivalent would be something like fd->write(buf), and the procedure is:

1. Determine the type of 'fd'.

2. Determine what subtypes you could have there and which you might actually have in hand. Or is the class not virtually inherited in which case it doesn't matter?

3. Determine what the write method does. In order to do so, have intimate knowledge of all operator overloading any value used in the write method may have.

4. Figure out what "buf" is and whether it magically overloads other operators.

write(fd, buf, size) resolves to one function with three arguments that themselves can't be that magical, and usually one basic approach to the question of memory management. fd->write(buf) involves classes, inheritance, potentially overloads, interfaces that 'buf' may correspond to and the potential need to follow a chain of some number of functions just to see whether that was constructed automatically into another type, endless permutations of how memory may be handled, and so on and so forth. The assembler that the C code will generate will basically push three arguments and call a function; the assembler the C++ generates is effectively unbounded in complexity. This assembler complexity directly corresponds to complexity that must be understood in order to understand the line of code.

In general I'd prefer the C++, but when writing a kernel where every twitchy detail counts for everything and the slightest bit of "wrong" could be a rootable security bug, I see the counterarguments.
For every commonly used frequentist estimator, there is an uncountable infinity of intractable Bayesian estimators.
Just a few questions as an example:

* If you write to an NFS-mounted file and write() returns an error, does it mean the block wasn't written to the remote disk?

* If you write to a TCP socket and write() returns OK, does it mean data was received by your network peer?

* UNIX pipes: how many times is your block being copied before it reaches your peer's buffer supplied to read()?

And don't get me started on signals.
Original Linus rant on C++:

http://lwn.net/Articles/249460/
You have to declare all input explicitly, including your compiler and Bazel will monitor them: Any changes in input files, compilers or even some environmental variables like $PATH will trigger a rebuild.

Bazel can use sandbox as an additional layer to prevent you from accessing undeclared inputs, but the sandbox is optional and can be turned off.
Your honor, I will show that (1) my client never received the Ming vase from the plaintiff, (2) he returned it in perfect condition, and (3) it was already cracked when he got it.

I agree such arguments are fairly common, but that doesn't make them any less fishy, in my view.
Yes, but the fact that both the driver and the passenger have used the car is a specific fact relating to that instance which doesn't generalize to all transitivity relations -- it's still possible for John to ask Karn to do something which uses the internet and for John to not have used the internet.
I haver never given my number out yet get 5+ spam calls a day. Can't be stopped.
My parents (over 70) get so many spam calls on their land line it’s comical. Last time I visited them the calls would come two or three per hour, nonstop, day and night. They would leave the phone off the hook at night so it wouldn’t disturb their sleep. It gets worse every decade. Answered a few of them and it was always the usual suspects: the IRS, Microsoft tech support, your credit card company, vacation winner, etc.

Best thing they ever did was cancel their (at least) 50 year old phone number.
In my area code pretty much all the numbers are in use. You don't need to compile a database to spam random people. Just dial any 7 numbers.
I absolutely love this truck's design. I really wonder (and worth noting because no one else has yet) how much the aerodynamics played into the aesthetics. The coefficient of drag on this thing is probably great because of the truck's profile. The trailing edge comes to a point to reduce vortices / separation of flow (and thus drag), which would have a significant impact on range. I find it funny because the profile is very similar to that of an older Prius, which actually had excellent aerodynamics compared to any other car at the time. Obviously this thing would eat a Prius for a snack, and I wouldn't be surprised if cybertruck has a better Cd.
You may be able to do this with a content blocker that hides elements matching the selector a[id^='down_'].
Could you explain to me what is innovative about Google offering you fields to enter your social details on your Stadia profile for AIM, MSN, YIM, etc... And could you explain why they won't put fields for Google Talk, Google Wave, Buzz, Huddle, Google+ Messenger, Google Hangouts, Messenger, Google Allo, Google Duo or Google Spaces?
It's not necessarily WYSIWYG that is the problem. It's auto formatting markdowns in an editor.

I've never seen this done well. You constantly end up fighting the formatting. You end up having to learn obscures combinations of key strokes to make it do what you want. Or you just give up and format the text after you've written it all.

That to me is a real loss. I highly value being able to format on the fly.
They're planning to look 'futuristic' for 2024. This thing will launch in 2020 along with Cyberpunk 2077, and will have the rough edges shaved off it for 2024 when it lands on mars. Elon's oversight role will increase and the main thrust of the project will be handed over to someone who can 'make it big' and focus on creating a glut of average items on Mars in roughly the same style, that Elon validates.

Then we will transition into a feminine, high quality style for 2028.
You’ll see me do that every now & then in the Tapes. I was just checking a screen next to the camera; making sure that the sound levels were still in an appropriate range.
Depends what you want to do. Starting with C is good, because then you get to learn the pitfalls, and hence understand the problems the other languages solve, and their advantages and disadvantages.
It wasn’t just the NYT calling it a “knife attack” as a euphemism. I remember seeing many media outlets doing that
Sure, and that’s what the SEC is for. I’ve been unemployed for a year and couldn’t care less about wall street.

Congress has exactly two issues they should be focusing on: stimulus and vaccination. This is just another piece of theatre designed to distract us from the bigger picture.

(Edit: fixed autocorrect typo)
Docker is properly attributed to, see https://github.com/containers/storage/blob/a4cc7aa79e050c976...

I think OP wanted to say that Podman hates Docker what is not I feel when I'm interacting with the community there. People who use Podman do it because of it's additional features that Docker does not have, like starting an Container from a rootfs or mounting the currect directory in a container using "." as path. Also building containers using a shellscript is supported. No need to learn the Dockerfile syntax. There are lot of small things that make Podman better integrated into Linux systems: running the container via systemd is a lot more intuitive.
> No mistakes are made, however.

Let's be realistic though, even experts fail sometime, but what sets them apart is the recovery and continue to train to have less mistakes, or even work in the mistakes so you don't notice. Many pianists make mistakes look like improv, and the audience won't notice the difference.

Since the topic is Lion Dancing, the very first video linked in the article has a part where the team does indeed fail, timestamped it for you here: https://youtu.be/fKEoe4ANGOU?t=291

Same goes for anything really. Figure skating is very hard and the ones competing in the Olympics are the best of the best. But still, push yourself hard enough and eventually you'll fuck up somewhere, even if it's just a tiny bit. Even the pros does that, and some would argue you're not pushing yourself hard enough if you're not on the brink of failure.
Yes, this is a very sad story and here is a passage from Siddhartha Mukherjee's wonderful book "The Gene"

...Avery was still denied the Nobel Prize because Einar Hammarsten, the influential Swedish chemist, refused to believe that DNA could carry genetic material...
Gradle is moving more and more towards kotlin
That is actually one of the reasons why factchecking is problematic, at least in some domains of expertise.

It relies too much on sources that may be compromised or in conflict of interest.

Way too many people have conflict of interest, including scientists. In some domains it is hard to find those who don't.
> Is there really a way to bootstrap p2p without reliance on a list of central servers?

Yes. A list of nodes. The key part is that for p2p bootstrap you don't need to learn about any special node in the network, just any node will do. A set of initial, long-lived contacts could be embedded in a link when sharing content , it can be loaded from a file, it can be obtained via configurable DNS lookups. If your network were so niche that you couldn't even afford a server and all you have is an anonymous internet forum then you could even post a pastebin with some IPs and ports every now and then and prompt users to paste that.

And once you have bootstrapped yourself you can keep a local cache of long-lived nodes which you can also provide to others.

It seems philosophically hard, but practically speaking you only need to get in once and there are so many ways to do that. A well-known, server-like points of contact are mostly used because they are the most convenient and reliable option, but they're not really the only option.
Your pattern recognition skills will improve with use and experience with the language. It is a skill that you can absolutely develop.

When you're first starting out, you are spending mental energy all over the place. Over time, especially with conscious exercise, you become honed in on the places where important details often lie.

My detail-orientation varies widely. At work/in code, I have incredibly deep focus and can spot small details that are amiss. At home, my wife can ask me to clean up the kitchen counter, and I can't find what she's objecting to. :)
But how else will politicians get to claim credit for Doing Something About It?
> It's telling that you're so quick to support your argument with the same misleading and over-generalized summary which has been circulating heavily in the Men's Rights community recently.

Never heard of that, this was posted and upvoted on a Reddit thread a few times. What's the Men's Right's community? Does the idea-association with this "Men's Right's Community" mean that any idea is thus tainted and rendered \0? EDIT: What's actually telling and scary is the attempt? to discredit an idea or study simply because someone else or some other community referenced it. That's a nice easy way to censor ideas one does not agree with, "X agrees with Y, and X are bad, so don't believe Y" /EDIT

The only reason I brought this study up is to point out that definitions can be skewed and treating people equally can be seen as not treating people equally. If that is true, than any conclusion reached with a faulty premise and definition would need a re-examination, no? It's weird people are hesitant to re-examine their beliefs, why is that? It's not a personal attack on people, it's a desire for everyone to get along more peacefully through more factual information. Surely that's not a bad thing?

> The second study found that simply prefixing that paragraph with “I’m a firm believer in equality between men and women. And because of that” removed much of the ambiguity which lead many people to conclude that the author was probably a misogynist.

But that IMO is huge. If you have to prefix action A with a clause yet that same action A without the prefix is seen as manifestation of the irrational hatred of 50% of the population, then what does that say about the ability of people to look at an action with an unbiased perspective?
This seems to be almost the exact reason I was taught to start all my perl code with `use strict; use warnings;` 15 years ago...
that's interesting because i was doing the same a while a go ... i dont remember which country but there was one where tax is zero and you dont even need to file a tax return every year! ...
Do you actually have 167 servers running in your home or do you rent them on e.g. EC2 when you need them? If it's the former case, is it because it makes financial sense (I'd be surprised) or is it for the experience/fun?
Companies need to make money to keep existing, the same way we need to breathe.

If you've ever had a tyrannical boss, you'll see sometimes the company is just their fiefdom. Feeding their ego is their prime motivation and organizing principle for the company - not generating money.
When it comes to building a eCommerce, I'd recommend you to go with Magento. Personally, I used this Magento theme «Magetique» https://www.templatemonster.com/magetique.html for setting up my online store. Using it anyone can create a website within a couple of hours.
Frankly speaking, I'm not a huge fan of Shopify. I prefer PrestaShop instead with its super features that help build a powerful yet user-friendly website with no efforts. Btw, here a great PrestaShop theme «Eveprest» https://www.templatemonster.com/prestashop-themes/eveprest.h... that can be easily developed into a beautiful and effective website.
I've been in the industry for ten years, and this is the first time I hear about asking for things like "e-commerce experience". My CV consists of telecom, e-commerce, fintech, mobility and music industry.

Is it really like that somewhere? In the US, or in particular domains, or in particular technology space? If it matters, I've mostly been working with JVM, but two quite different paradigms - Java (OOP) and Scala (pure FP; I understand everything the haskell guy talks about).
I hear you. I personally found the game less interesting before I added the "threat" of losing stars — it felt to me more like trial-and-error work. However, I think there is value in embracing its more meditative side and offering untimed (and I supposed, star-less) play as well.
And I just realized the hardware solution is incredibly sub-optimal. If you were to design this in specialized hardware, you'd use a single (N+1)-bit adder and just discard the least significant bit in the output, not duplicate the entire adder tree in silicon.
I work in healthcare technology.

The software I wrote saved two people's life last week.

So, yeah.

Purpose.
Thank you. I recently read a little about Dr. Morgan's research as well. I hope she would take on KS kids as well for research.
I think my daughter started to show some level of frustration as well, but currently, we are like what they call "helicopter parents", whatever she seems to want, it's done immediately. My understanding is we will start to see more of the frustration in the future.
> One can argue that doing an exact copy of a photograph with the end result being indistinguishable from the original photo is some kind of "meta" art and the lack of creativity actually puts focus on the technical skill and the effort of the artist, as a kind of "anti-creativity statement" type of art, "there is no artist just paint and effort".

I mean you can, but generally, artists would call this bullshit explanation. I am pretty sure you are aware of that too :). None of what I talked about was any meta. It was down to eath, pragmatically, "yeah art is also technical ability to make hyper realistic picture".

> But my non-artistic brain would still rate this lower compared to the original in terms of creativity, insight, originality.

Again, yes, judged by insight and originality. But, it is not the only valid criterium for art work. Among other things, realistic portraits are pretty low in general if judged by creativity. The old master did not went for creativity there - the realism was actual ambition for many of them.

> Yes you can raise a skill to the level of an art, but then wouldn't the actual performance of the skill be the artwork? And the resulting picture just an artifact that has no artistic value without the original side by side + a description/video describing/showing the actual effort?

I dont understand why the result would had no value. You don't have to like it or find it interesting, that is 100%. This sort of stuff is subjective. What I found out was that many artists often do value technical skill and do see value in the resulting picture, actually.

You seems to insist on one definition of art, which is super strict and exclusive. And kinda excludes majority of drawings people produce. At least I think. Most of drawings are people trying to figure out how to draw the thing, again and again.

Art, as used currently or in history, does not have to include only super deep I have philosophical opinions or deep feelings or whatever. Plenty of times it is "look guys, I finally managed to draw a nose".
I thought it was established on HN that that letter about safety had been properly addressed (it's from April).
Surprised to see sugru on the list.

I've had some for nearly a year now and although it has been extremely useful from reshaping handles to rebuilding unavailable replacement parts. It is close to being like duck tape... if only it hardened faster!

That being said, its not life changing and I wouldn't qualify it as most innovative product.
github has source control, a bug tracker, and website hosting. Don't know about forums and wikis.
"which is increasingly going to move to a paid experience"
We already pay but with data instead of money. But we neither know the real cost nor the real consequences.
Yeah, to the third or fourth power assuming the same width, diameter, and number of wheels. So there are ways around that from an engineering perspective. The Tesla Semi has baselined Super Singles (a single tire as wide as a double tire, more efficient with equivalent or better traction and lower overall weight), I believe, which should help a bit with this.

But this is why road regulations limit weight and weight per axle.
The latter two are examples of Mondegreens (or eggcorns):

http://en.wikipedia.org/wiki/Mondegreen

Actually, reading the article, it seems to make the distinction that those would be malapropisms instead:

http://en.wikipedia.org/wiki/Malapropism
I think the takeaway here is that the literal meaning of "literally" is useless. If you are having a dialogue, you'd just tell people you were not speaking hyperbole, you mean exactly what you say. If you're writing, you're using the literal meaning of words anyway.
In the US as well.
No, that would be their profit. This is their generated revenue in total, so how much they brought in from each driver in SF.
This article has some nice points about what the girls are learning (team work, discipline etc), but it's not nearly "breaking down barriers" as it seems. I coached swimming for 8 years:

Girls are 10x easier to coach than boys (on average).
At that age they are also more coordinated, taller and sometimes stronger.

Also at that age: continual year round well coached practice is infinitely more important than gender. The boys teams in this article are seasonal recreational, while the girls team is a year round club team. I can tell you from swimming that a 5th grade year round swimmer would easily crush a recreational swimmer, regardless of gender, on average.
This reported issue is with private key serialisation, not with public keys. So any issues would be at server startup time, when loading keys, rather than with connecting clients.
I see, thanks. (Plus, I guess getting the slugs right — the mess that comes with percentage encoded unicode chars — perhaps won’t be worth the effort.)
Encryption is gone

Do you have a link to that? The last time I looked at the news, Skype was using SSL to servers so Microsoft could see the data transferred, and while that's not ideal, it's still very different from your implication that everything in the protocol is now transmitted in the clear.
There are apparently at least 3 books in the works:

http://groups.google.com/group/nodejs/browse_thread/thread/a...
MBP is ideal for working on iOS. It also serves as a reasonable *nix for any non-Win-specific task..

Whether one is worth the cost is ultimately up to you. I do my corporate work (mostly python stuff) on a MBP and I rather enjoy it. I run my side projects on a Lenovo x120e running OpenSUSE. If I ever need to work on iOS on the side, I'll likely buy a mini for compiling while writing all my code on my x120e.

It really comes down to form-factors and what your ideal dev environment looks like. If you're sitting in front of Vim/emacs all day, you'll run into some issues with OSX. I enjoy doing my off-hours work in coffee shops, so I work with a smaller form-factor with a more reasonable screen at home.
"Bigot"?

How about idiot?

You might try to wipe your ass with your left hand and then stare at your fingers and try to find some meaningful direction in your life.
I think that many of the points hint at it, but don't directly address the fact that the work space is inherently temporary. If I were to get up right now and go use one of our lab bench computers I'd be getting more done even though its not 20 feet away from my desk. Nothing else would change, anyone who came to or called my desk would still get to me, it wouldn't change the hour I leave. I think our designated workspaces can get us into a rut that leads to less productivity.
It's great to see that JavaScript (and the runtimes) are becoming better and better at being a sensible compilation target.

As JavaScript performance and semantics improve over time all the compile-to-JS languages benefit (Dart, Clojure, TypeScript, CoffeeScript, Elm, Scala, …). Win-win.

I'm looking fwd what the Dart team with all their experience in runtimes (& v8 specifically) can pull off with dart2js.

While I would have loved to see the Dart VM included in Chrome I believe we (the web, developers, …) are all better off with this new direction as this way browsers aren't becoming even more complex than they already are.
Honestly, I'm fine with this. My first exposure to Windows 7 was actually this morning, and I was completely blown away by it.
Some features of HN are karma limited. You need to have several hundred points to down vote.
Many Zynga rank and file employees and executives have come from EA's main office at Redwood Shores, good deal for Zynga.
We just added the city picker last night and honestly could have put more effort into it (like making it work). We're fixing it now and will probably make it more functional.
No, the majority (around 80% of Haskell programs) use the BSD3 license.
Not completely true. Sure you can vote and do a few other things but other than that, under the law citizen's and people on US soil are the same. The constitution makes it clear. Basically if a non citizen gets arrested, he has the same right to representation and all as an American citizen does. (As a permanent resident I find that important.)

And as far as salaries being published. State and Federal employees salaries are public. You can make a FOIA request for them if you want. So here's an example of Citizens who have their salaries made public.
Every Asian and every indian has the same "problem" :)...

It helps if your job sucks like crazy (but also pays well). In that situation it becomes very clear that only savings will get you out of there.

Dinner out with friends once in a while is a good thing though.
If anyone does manage that, it will be someone who was never told it was impossible to do.