skysight-inc/HackerNews huggingface dataset:
The only correct answer would be "you dereference a null pointer". That is the only part of this equation the c language interacts with. That's the entire reason SIGSEGV is a signal to your process. Page faults or access violations are manifested as interrupts in most systems. In some systems there are no such restrictions. Even in C & x86 within RING 0 you should be able to access ((char )0). I've even made an example branch on an old kernel I was making when I was in highschool to test this and it does work [0].

What is unfortunate is that everyone is looking for a different kind of person. If I'm applying to a job, saying "segfault" might be the right answer OR it will be the wrong answer and the interviewer will leave thinking I don't know how this fundamental functionality (in some industries) works. I could also give the more correct answer and look like a know-it-all which, when I'm trying to sell myself based on what I know, is somehow a bad thing.

It's a loss no matter which way I play it.

I distinctly remember one interview where someone asked me to define a RESTful API for a chat service. So I naturally defined the different objects (ChatRoom, Message, User) and defined what CREATE, LIST, DELETE on them all did. The interviewer was confused because CREATE&LIST are not HTTP methods and I explained that RESTful design isn't really coupled to HTTP and these objects and the operations we can perform with them could be implemented over an RPC or HTTP/json and I listed the steps for both of these approaches. He cut the interview short and I never heard from that company again.

[0] - https://github.com/gravypod/Simple-OS/commit/b7a608500b2e70d...
Could this virus help eradicate wild populations of feral hogs?

Protecting the pork industry is all well and good, I love ham as much as anybody else, but sacrificing a few years of pork production seems like it could be a good deal if it means the eradication of environmentally destructive feral hogs.
US sells $2.6B in tanks, missiles to Taiwan
Arrays get you spatial locality :)
In what possible respect is YouTube a natural monopoly, under any classic economic definition of the term?
I think there's some of that, but... no, part of it is because straight logic problems are... hard. And lots of candidates, even solid candidates who have held jobs in software engineering, can't write code with simple-yet-non-trivial logic requirements reliably.

"Write a linked list" won't tell you someone is a genius. But it will weed out a lot of people who can do "development" but can't hack.

And if you have a job that needs hackers (not all do!), these questions make for cheap filters that save everyone time.
_Ruby_ devs are going to be attracted to Homebrew because it (and the "recipe" for building every Homebrew package) is written in Ruby. The test of MacPorts is how many non-Ruby devs use it.
It's not really supposed to teach anything, just foment a general loathing towards guys who build their identity around being a doting husband.
I’ll bite. In my experience, almost every case where CSS Grid has been touted as enabling something new was actually already possible with flexbox alone. Care to share your UI pattern that I gather uses Grid and Flexbox, and I’ll see if I can reasonably reproduce it without Grid?
If you want a discriminatory definition, there are many bad ones to choose from. Take your pick!
On the otherhand for many applications memory latency isnt an issue. If network and disk io is your bottelneck investing time in optimising that part of the code.
I like how he casually asserts that most of "us" don't program in C even though C and C++ are the #2 and #3 languages in the TIOBE Index today, after Java. It's fifty times more popular than Rust or whatever trend he thinks his friends are chasing.
I wonder if someone fill the column and it is not empty say 1 bottle left. Then it is still not cold if someone else got say the 2nd one. Any source code available to check :-)
You have to do a full iCloud logout which involves your iCloud password in order to disassociate a device from your Find My Phone. It's actually quite involved.
Measurably slower than a LXC container, but still much faster than a full VM.
Also mentioned in India After Gandhi.
So long as they dont span across a page boundary.
Honestly this is true. Most of the world doesn't give a shit if a page on their web store is broken. They get an exception email and then fix it, no real loss. While switching over to haskell may make your software more stable, at the end of the day the amount of extra time spent writing it in a more stable language is going to cost the business a lot more than a slightly buggy website will.
That assessing programmers is like assessing teachers - a much harder problem to solve well than naive commentators expect, complete with detailed measurements of the shape of the top of each iceberg.
The most effective technique for forgiving yourself – With All Women
The police force are corrupt vs the police force is corrupt.
Normally I find it frustrating to read a blog post as a sequence of tweets, too, but in this case it seems appropriate.

(It doubles as a metaphor for why linked lists are generally a poorly performing data structure on modern architectures.)
Has there been any talk of risk that it can jump species?
If you could load a few pigeons with microSD cards that would be something. The latency might be rough but the bandwidth would be killer!
> even getting it to parse some complex data coming from a JSON feed into a usable form requires a good understanding of the type system.

This is a good litmus test for the usability of a language. There’s no reason parsing json should be difficult.
Alexa needs voice personalization like Siri and a parental mode. My kids keep turning off my timers and lights.. it’d be nice for Alexa to have a mode where it won’t do that unless it’s my voice.
This thought process seems to use a similar logic as preventing STDs through abstinence.
Since your entire village let alone town/city/country/continent is never going to go vegan, this isn't a solution to the problem.
The wikipedia article on April 1 RFC's generally, is a treacherous time-sink of hilarity: https://en.wikipedia.org/wiki/April_Fools%27_Day_Request_for...
I approached that article with an open mind and was disappointed. Drivel.
What factors into a company’s decision to file confidentially or not?
You make it sound like there is no right answer, but why couldn't you just explain to the interviewer everything you wrote in this post?

"Well, according to the C standard it is undefined behavior. In context X it performs like Y" and so on.
> This is the most aggressively anti-human thing I have ever seen, possibly even more than ISIS or cartel executions, because at least the perpetrators of those atrocities know that they are doing evil, even if they're unrepentant, which is more than can be said of the doctors in this situation.

I think you'll find that ISIS executioners believe that they are doing the right thing.
Underfunded, constant leadership turnover.... pretty much a recipe for disaster.
Magic Number (Programming)
Similar story here, but instead of a phishing email it was a legit Find My iPhone email six months later saying her phone pinged from Morocco.

So yup, sounds like they’ve either resorted to stripping them for parts or selling them whole (and still firmware-locked) to innocent buyers in places where you’d have practically no legal recourse — who then become victims to the theft as well, ironically. And by then, of course, you’ve likely had a new phone for long enough to not lose much sleep over it.
Seems undesirable if it doesn't automatically silence the phone by disabling incoming calls. If they still ring while in a sealed back, then I don't see the "artists" they're marketing yondor to, being very happy.
How far can you go without monads and category theory? I was looking at Clean which developed in parallel with Haskell and uses uniqueness typing instead of IO/mutation monads. Seems like it would be less offputting for a newcomer. Clean lacks community and a package manager, I believe which makes it less attractive. The language itself seems like a sweet spot for me.
> Is this not euthanasia ? Why the hell not ?

Because it's a suicide. We already have a word for what happens to people who die after refusing food.

In fact the only reason the word "euthanasia" is being considered at all is because before she died she ended up in an end of life clinic that also provided assisted death services to other patients.

This is exactly like accusing someone of having had an abortion because their miscarriage was diagnosed at Planned Parenthood. (A scenario, I point out, that now seems a whole lot more likely given the horrifying way this is being portrayed in the right wing press)
Ehhhh... I'm very aware of everything behind the "elf wife guy". I was in the various fandoms when that whole drama went down just a few weeks ago. And that little snippet, "elf wife guy", is about as incorrect as one can be. The "guy" was never publicly about his wife. His now-former wife is not and has never been "a professional elf". I can't believe how completely wrong something can be in so few words.
Thank you for sharing this. I really don’t have any words beyond that at the moment. I hope that somehow Noa’s voice can lead to some reforms in this system.
> I am of the firm belief that it is government's job to reach out to the people it represents and not the other way around. Designating an official language or set of official languages renders a section of people as disadvantaged outcasts. It is not a crime to not know a language.

What and Earth makes you think that designating an official language makes it a crime for people not to know that language? Designating official languages is just being transparent about what languages will be used to render services.

> Even if we are not talking about impact to an individual from a liberal point of view, this official favoring of languages leads to extinction of smaller languages by means of them not being as useful to future generations as some other mainstream language.

Language extinction happens as populations become more interconnected, regardless of official languages. They're not going to be as useful regardless. And in fact, official language designation is sometimes employed to keep dying languages alive. North and South Dakota designated some indigenous languages as official languages.
The basic linked list algorithms are simple enough that a software engineer -- certainly one with a CS degree -- ought to be able to implement them from first principles. And the point of the interview question isn't specifically whether the interviewee can implement a simple linked list algorithm from first principles, it's whether the interviewee can implement anything from first principles.
This is literally a meme [1].

[1] https://knowyourmeme.com/memes/how-to-draw-an-owl
Thanks for this - I'm actually more familiar with more pure coder test approaches like HackerRank and just mentioned TripleByte in the same breath because they've been advertising their coding test heavily in parts of SF I see (proving that at least some ad dollars do work to some extent).
Add Learning to Your To-Do List
I wasn't suggesting that people cancel netflix or cable, I was just saying that this expense could fall into a similar category. I personally am willing to spend a certain amount of money towards my health each month if it's effective.

"The market seems to just be people already really into cycling"
This is not true, I see tons of people that are just getting into spin/cycling for the first time. I think the primary customers are people that don't mind using a bike, need to be motivated and have busy lives.

We'll see what happens, but I think there's a lot of growth to be had, especially if they try and compete with Tonal.
Very true, which is why I said "many real-world contexts" and not "always", and "CPU performance" and not "network-bound performance".

Anyway, a candidate who mentioned all (or even some) of this to me and then went on to write a linked-list solution after explaining the tradeoffs would be well ahead of the curve, for me, relative to someone who has just grinded Leetcode and not thought much about what is going on under the hood.
As (usually) Mark Twain said, it's not what you don't know that gets you, it's what you think you know that ain't so.

If only Donald Rumsfeld had heard that, we might have stayed out of Iraq.
None of this is relevant. None of these protected classes are applicable here. Nothing has ever been about compelled speech or compelled publication.

If you really believe where you’re argument is going, I demand you give me your twitter account to use, so I can tweet whatever I want. If you don’t do that, you’re censoring me, and I guess I should sue you or something.

I’m not hard find online. I’ll be waiting for your DM.
I don’t think it’s a split so much as Peleton appealing to different users with the same product. There are quite a few ways to get hooked: a teacher you really like (I only found one I could stand but he is great), a class you really like (I’m sure the country music classes have their devotees), live interaction with the instructor, and performance tracking (aiming for calories or watts or whatever).
A different solution, and possibly better, would be to run Unix/Linux in a VM rather than worrying about it being native in the system.

If I'm not mistaken, current best practice is to somewhat isolate third-party developer software anyway, using homebrew, a VM or other solutions (not sure about Docker - don't use it).

I can see where it would be an issue with developing for MacOS or iOS, but third-party web development doesn't really need anything that is installed on the system, and in my experience, it's actually better not to base it on the MacOS default packages.
Not many. A couple in Germany and one in Finland. Not exactly a global reach.
I seem to remember that the old saying comes from Tanenbaum's "Operating Systems Design and Implementation".

Or not?
There will be a .pkg for that, if there isn't already.
implement x * y with no * using only +

ans = 0;
for(i = 0; i !=y; ++i) { ans += x; }

Turing completeness is a thing. For a particular data transformation language A might be easier to write than language B. Language C easier to read. Language D easier to maintain, Language E less chance of a latent bug. And language F might be brainf&^k. As soon as you think about it as a data transformation and note you can write an interpreter an any language A,B,C,D,E... to execute any other of those languages source code it becomes obvious.
How about “are you aware that this ‘segfault’ may be turned into RCE by a clever compiler plus a clever attacker”?

This may not be such a good interview question but, in most industries, C programmers should internalize this.
I’m not the person you responded to, but I found your comment needlessly imflammatory.
In regards to privacy, they aren’t brilliant, but they are probably the best of a bad bunch for most users. Chrome is very anti privacy, as is edge. Android is anti privacy. By elimating 90% of the market in this way, it’s fair to say the only remaining big players in either field are better for privacy than the standard.
Yes, but p29 gives you all the intermediate steps :)
Ask HN: 1 Branch vs. 2 branch Git flow?
Huh? Spatial locality knows no bounds. The hardware might not automatically prefetch across page boundaries but the application can initiate the fetches itself.
Be that as it may, that Xeon is post Nehalem, it’s not at all related to Netburst. Netburst was an evolutionary dead end.
Not really, this one has small progressions between each steps, and seems like a cool reference, while you're link is just a joke?
As long as you have a decent hash function that distributes the bits properly it doesn't matter. IME, it makes no difference performance wise if you the golden ratio (1.61...) as the growth factor or 2.
Sure, but I think the thread attempts to answer why linked lists specifically are so popular in interview questions, as opposed to some other relatively simple data structure like e.g. ring buffers.
We have a decently popular kids app, Kodable, that helps kids learn to code. While this is something we’re mostly already in compliance with and have never actually included ads, I worry about the analytics.

We use anonymous analytics to track things like user completion through level funnels. Nothing nefarious about it, if one of our levels is too hard for kids and there’s a big drop off from one to the next, we want to know about it and tweak it. I worry how this will effect stuff like that, but I also wonder how you can even differentiate “proper” analytics usage.
An ideal candidate would have been bitten by bugs where the segfualt never happens because the offending code got optimized away. Once you've been bitten by that once, it become hard to answer with just "segfault".
Wasn't there also a DARPA failsafe communication protocol painting digits on the sides of tanks?
> ...just as they port them to Microsoft Windows.

Just as they ported them to MacOS Classic back in the day.
In the UK generally similar experience I think. No one does unnecessary work at night. I am a huge advocate of sleeping plugs, and try to get them introduced at any ward I work at. Usually they are not enough though, but it’s the only feasible solution currently.
Prediction: on detailed analysis, this measure will turn out to have the ("unexpected!") effect of reducing the taxes of billionaires, and raising mine.

Just like last year's "tax cut".
I was just referring to the fact that I work from home and put in about 10 hours per day behind a computer. Sedentary life is hard to avoid for programmers even though I'm into athletic activities. The bike allows me to get in a class during lunch, after work or late into the evening. The rest of my free time is spent with my family- driving to the gym 30 minutes away to take their classes would take away an hour of my free time just in driving.
Until you have a big enough community, just assume the BDFL role. Once the project is big enough, you can resign your position to be democratically elected as chair of the round table.
How are you going to do all these amazing things? When I go to bloom.sh and click About, I learn that the core team is one product designer and one graphic designer.

If you're asking for support, I think you'd benefit from learning from the Kickstarter model -- go to great lengths to prove to supporters that your goals are realistic.

Comparing yourself to Google doesn't help you with that, IMO.
And yes, I meant deaf people! Although to verify a death you do have to check a lack of response to loud verbal stimulus too...
Ebola doesn't transmit very easily....this does.
Civ IV will never work again. RIP.
this is cool, i'm about to be doodling some animals
I don't intend to be mean to new entrants.

The crypto/distributed space has an issue with vaporware and not living up to claims. Arc.io has a lot to prove, in other words.

I'm hoping users will think twice before using infrastructure that's not ready, or up to par, or not likely to have longevity.
In my opinion, it doesn’t matter what they ask at all. Give me a question about Kubernetes deploys for a shader programming job if you want. I’m a programmer, my job is to solve coding problems both inside and outside my sphere of knowledge.

If you “get stuck”, what are you going to do when you bump up against your limitations at work?

Part of the job is getting yourself unstuck. If you can show you have ways of making progress when you are out of your depth then you aced the interview, even if you were nowhere near the correct solution.
The site is in French. It's possibly "blog spam" in that it points to another French site as the original source:

https://bibigreycat.blogspot.com/search/label/dessiner?updat...

On both sites, the images can be clicked to enlarge them. You probably don't need to know any French to figure that out, but I thought I would mention it in case it was helpful to someone.

Edit:

This info is from the top of the article:

sur le site de l'Agence Eureka = from the site Agence Eureka

(cliquez sur les images pour les agrandir) = click on the images to enlarge

Per another comment here, there is an English language blog it points to and Wikimedia at the bottom of the page. The other French site appears to be the original source, not Wikimedia nor the English language site.

It also says "Images on Flicker" and links to this, which some people might like better:

https://www.flickr.com/photos/taffeta/sets/72157618009562834...
It was a typo to deaf, but you do actually have to confirm death by checking a lack of response to loud verbal stimulus.
Never had it when I thought someone was dead not respond to voice, but I have had it where they only responded once we started chest compressions.
Neither part of the above comment is accurate. I’m on mobile at work but feel it’s important to clarify that not only is the ABC independently rated as highly factual, the government does not have direct editorial control. The comment or above is also stating that the ABC is a communist cesspit at the behest of a conservative government - i.e. nonsense.
Resuscitation can be a fairly violent medical intervention. That to me paints a fairly stark difference between the autonomy to sign a DNR and something like euthanasia.

If someone is not able to sign a DNR it must be because they have no autonomy over their medical care at all at that point. Which of course happens regularly but needs precise controls and protocols, and of course is rife for abuse.

Generally the presence of an intervention versus choosing not to intervene provides a clear dividing line. In this case, the choice not to force feed someone who is refusing food is why this is not euthanasia.

I think for example if someone has a previously executed DNR, I would say a valid medical proxy would not be able to override it. I’m trying to recall an instance when I filled out such a form for my wife before a procedure, I seem to recall there even being a section on resuscitation and whether the appointee could make that call?
This is exactly the kind of virus we need to understand how to build a vaccine. Something like this in humans is scary. Here is to hoping that our understanding of biology is reaching a point where we have more methods of attacking these kind of things.
Not to be a downer on your joke, but if we had more doctors, medical care might be cheaper, which would also save lives.
The peacock though is pretty close to the meme..
Despite being functional, Elm is quite minimalist when it comes to type system features. For example, functions can have generic type parameters, but there's no good way to require that the type be able to support certain operations, e.g. being printable as a string. Haskell's solution to this is "typeclasses", which are the same thing as Rust "traits" and Swift "protocols", and somewhat similar to Java "interfaces". Elm has a handful of builtin typeclass-like things that work by compiler magic, but there's no way to define your own. For a somewhat colorful rant about this, see "Elm Is Wrong":

https://reasonablypolymorphic.com/blog/elm-is-wrong/

Elm is also very opinionated, e.g. the compiler itself restricted the ability to bind to JavaScript libraries to only approved organizations:

https://discourse.elm-lang.org/t/native-code-in-0-19/826

The community is also fairly toxic; check out this passive-aggressive response by the /r/elm moderators to a (mildly worded) blog post complaining about the aforementioned restriction:

https://www.reddit.com/r/elm/comments/9a0hc6/elm_019_broke_u...

Personally, I decided I would never touch Elm again after reading that.
> I asked them what hardware runs pretty much all BSD's. Vermaden narrowed it down to a few Thinkpads.

What were the recommended models?
Run your code in as many sanitizers and UB detectors as you can (ubsan, ASAN, valgrind, ...). Send code reviews to smart and detail-oriented people on your team.