skysight-inc/HackerNews huggingface dataset:
I generally agree you shouldn't ask pass/fail "trick" questions, but in most domains there are some questions that can tell you a lot more about someone than it might seem to an outside observer. For example, in an android domain interview, I've asked people to make a view blink onscreen. It's totally fine if they roll an implementation on the spot (and it's an easy question anyone can handle), but someone seasoned with the framework or who's read a lot of framework sources might know there's an undocumented feature of LayoutInflator that builds blink layouts if it encounters a <blink> tag while parsing layout xml. At least to me, that extra info is valuable. I'm sure there are analogs in for example C++ about quirks of the language that change with and without RTTI or exceptions etc that would tell you a lot about how much real experience someone has working with a given tool.
Fixing Meltdown for Lazy People, using BOSH (Immutable Infrastructure)
That particular way seems extremely unlikely, at least in the case of Bitcoin. It was specifically designed so that it should be impossible to dilute the currency like that. Nobody is supposed to be able to directly control the supply of BTC, and the rate at which new BTC is created is steadily decreasing toward zero.

So going to zero in that particular way would presume that there's a vulnerability in the protocol that makes it possible to manufacture effectively unlimited bitcoin outside the normal channels, and that nobody is able to figure out a way to defend against it.
I think it's unlikely that the remainder of the population would double their meat consumption.

The more obvious failing point might be the fact that as the price of meat goes down, people (e.g. in developing countries) who weren't able to afford meat now can afford it and so consumption goes back up, so actually the production doesn't go down, instead standards drop as the consuming population becomes even less discerning as to the way the meat is produced. Grr.
Serverless with istio
I had a real hard time reading this post without being disoriented by the lack of capitalization.
Note the lack of specifics. It's much easier to hold a viewpoint that can't be refuted if it's not measurable in the first place.
And the people who misallocate their UBI and can't afford food?

At the end of the day, there has to be some personal responsibility, true.

It seems what UBI supporters truly desire is a maternal figure in their lives.

Not really; if I had UBI I'd almost certainly donate it to charity while I was working. My interest in UBI is as a low-overhead, efficient mechanism for social stability.
Hm. Surveys are really dangerous tools, especially for UI questions:

https://medium.com/research-things/on-surveys-5a73dda5e9a0

I'm not sure how they'll get much use out of this one. They show (not very representative) screen shots and then ask broad questions, like "Would you say this design is rather confusing or clear?" and "Would you say this design is rather boring or inspiring?"

Setting aside that I don't understand why "rather" is in all of the questions, they're still not great. Is the design of a screwdriver inspiring? I guess not. Is that bad? Definitely not. I don't need my tools to be fonts of warm fuzzy feelings. I need them to be useful.

Even if the questions were material, asking it about a whole screenshot composed of many different design changes inevitably muddles things. And asking it only of 1 old and 1 new screenshot invites people to judge on novelty, not utility.

So my suspicion is that the survey isn't really testing any useful hypotheses. We know that some people like new shiny and some people like old familiar. I don't think much is gained here.
Again? https://hn.algolia.com/?query=public%20domain&sort=byDate&pr...
Creating an online space that empower women, like Leap, is one example of a solution.
The banking system is rather complicated. I think it would be possible to overdraw in some situations.

See also this article where hackers stole $45 million from ATMs:

http://www.nytimes.com/2013/05/10/nyregion/eight-charged-in-...
i've found the value proposition of lyft/uber less compelling over time.

typically i can either (1) take a bus or train or (2) take a lyft line (or uber pool, if it's much cheaper for some reason--i don't mind uber paying part of my trip). but because my trips are often 2-3 miles or less, the time savings of a lyft is taken up by (1) pickup time, (2) driver confusion/mistakes, (3) poor driver routing due to not knowing the local traffic conditions, and (4) other riders added behind us en route. so no time savings, which (to me) is the big advantage of lyft/uber. the buses and trains are on a schedule, but they usually come often enough that the time savings of a lyft would be less than 5 minutes.

i can pay $1.75 for the bus or train, or pay $4-5 for a lyft line. lyft line is usually more comfortable, but sometimes the car or other riders smell bad or are rude, so that's not always an obvious win.

and if i'm not really rushed, a little walking on either end of the trip is a good thing.

consistently paying 2-3x for short trips on lyft don't seem to make sense, and so my usage has gone down over time (occasionally i'm in a big hurry or are going farther, and in those cases lyft does work out better).

i don't think this bodes well for lyft or uber solving the last-mile problem.
Huge fan and user of Graphcool the BaaS! My question concerns permissions.

I thought Graphcool did a phenomenal job of permission/authorization. The tutorials seem to kick authentication to the application layer. That seems appropriate.

I think one of GraphQL's pain points is lack of a permissions pattern. It's typically hand rolled at the field / resolver level, leaving a lot of messy code. Will permissions be a part of Prisma and, if so, is there a road map for how granular they can be?
It seems kind of magical to be able to encode the intent of a program outside of its actual function. Theoretically this is what comments are for, but obviously those have zero enforcement value at the compiler level.
Not OP but to me it looks like a Reddit clone with a few more "fun features" with the emojis. It could very well be based off of reddit considering it's open source.
Yes, one tends to forget about ads ;)
> Ah, but what makes it an invalid reference, apart from convention?

It's an invalid reference in that a reference which does not refer to an object is either dead code, or an unrecoverable error.

There's no point in checking if a reference refers to null, because (unlike pointers) it cannot then be assigned a useful value, and also because any such check will be removed by the optimizer, because null references are undefined behavior (in both C++[1] and Rust[2]).

> Indeed, though in Rust (like most other safe-by-default languages) you do need that glaringly obvious "unsafe" keyword to perform the conversion, which is a hint that you should be checking for null at that point.

It is an improvement but (obviously) the unsafety in this case escapes from the "unsafe" block into the surrounding "safe" code and other "safe" functions.

It's also possible, even in entirely-"safe" code, to crash a Rust program by attempting to dereference a null pointer.

fn dereference(nullable_ref: Option<&i32>) -> &i32 {
nullable_ref.unwrap()
}

fn crash() {
dereference(None);
}

[1] https://godbolt.org/g/TjexTp

[2] https://godbolt.org/g/eeXAnn
I'm also interested in #1!
It appears to me that sievebrain's criticism lines up with any plausible interpretation of cbcowans' comment. One cannot claim the benefits of inclusion while also excluding half the population, and arguably more than half of tech professionals.

That's not to say that there's necessarily anything wrong with exclusion -- it is a fact of life in many ways, and can be fruitful. I am a member of some exclusive clubs and I find them to be highly rewarding.

Perhaps "hypocrisy" and "delusion" are inflammatory words, and should not have been chosen. I think a better way to characterize cbcowans' comment is "doublespeak," as the inherent nature of Leap is quite the opposite of her description.

Still, in regard to that particular HN site guideline, sievebrain's point applies to even the strongest possible interpretation of cbcowans' comment. There is necessarily a logical inconsistency between establishing an exclusive organization and then describing it as "an inclusive community."
No, you didn't get that right at all. Doubt and skepticism are inherent parts of creating new ideas, and at no point did I express that the people who are skeptical are wrong.

Rather, I am surprised to see comments on a technical website like Hacker News that are treating the long, drawn out development of cryptocurrencies and blockchains as something that is completely different than the long, drawn out development of the personal computer and the internet. It took the Internet more than 10 years to be useful, and so I think saying "shut it down, this is going nowhere" about Bitcoin today is not a useful viewpoint to take. Even if you doubt the technology itself, there is no reason to stifle its continued research and development.
Yea, probably turning it off.
(Improvising musician porkpie hat on)

All music based on western harmony is about dissonance. Or more to the point, the movement of dissonance to consonance, tension to resolution. I once had an excellent lesson that explained it to me. Movement around the Circle of Fifths is a measure of increasing tension - each step becoming increasingly dissonant, until you hit the halfway point (the tritone) and start resolving back toward consonance.

So even a simple fifth is "dissonant". It creates tension and demands resolution. It's not perceived as "dissonant" because it is "normal". It's only when you push out of the listener's comfort zones that it becomes weird and wrong. In other words, the perception of dissonance isn't musical, it's cultural.

Jazz music pushes harmonic dissonance a lot farther than "classical" does, so jazz listeners are much more accustomed to it. It doesn't sound wrong to hear tritones, or minor seconds, or diminished and altered triads, or stacked fourths. Dissonance is welcomed and encouraged. Even resolutions are often decorated with dissonance.
In C or C++ you can't rely on multiple ++ in a single statement doing anything sensible.
The Antitrust Case Against Facebook, Google and Amazon
Elements Electrical Conductivity Reference Table
An exception is motorways, where pedestrians would get fined ( bicycles, mopeds and horses are not allowed either).
(linking to twitter to get around paywall)
I really dislike these kinds of headlines not because they are obvious (jazz and classical require different kinds of thinking), but because they make it easy to jump to the conclusion that the ability to play classical or jazz or xyz is dependent on the physical nature of the brain. From there all sorts of erroneous arguments stem from the "fact" that "oh I'm just not wired to play xyz"instead of the reality that it takes consistent work in a style to understand that style better. Basically the whole nature vs nurture argument, except that people tend to worry about nature rather than work on nurture.
There are various schemes to address this. A simple one is to make the legtth prefix variable, nad use the high order bit use the highorder bit of each byte to indicate there is another length byte following the current one. This gives you 128 possible values for each length byte. The max string size for a single byte prefix would be 127 (2^(8-1), the max size for two bytes would be 16384 (2^16-2), etc.

It's not necessarily a good solution, there are likely ones that are much more performant, but many solutions exist, and a few have even been implemented in widely used languages.
I've been thinking a lot about misogyny in video games.

I'm currently 80 hours into "Zelda Breath of the Wild". It's a beautiful game, and the heart of the story is basically a typical "save the princess" dynamic.

But I've killed hundreds of dragons and other beasts in order to save Zelda... with the full expectation that my character (link) will be getting laid at the end of the game. Princess Zelda has no agency in my ideal game. And worse.... I don't want her to.

If I found out the end of the game resulted in me requesting a relationship from Zelda and it only potentially happening, I would be so beyond upset. But shouldn't Zelda have a choice? I would like to be a person who was at least OK with her having one.

Is this game conditioning me to be rapist? Or at least the type of man who thinks he should receive sexual reciprocation for purchasing dinner & drinks on a date?

Maybe I'm just overly invested in this game's story line. But games do contain meaningful experiences that you can remember for a lifetime. I think it's good to think about how those stories effect you.

We know video games aren't turning kids into mindless zombies, but the narratives in this games can become part of the lenses we see the world by. Some video games may even make you think differently not just about the outer world, but how you see own your place in it.

EDIT: I've got a lot of good responses here. The consensus is that these thoughts say more about me, than the video game, which I think is a fair assessment.

I'm a 'sort-of-bad' person who would like to 'become-a-better' person, and I also really love video games. So I think about the evolution of my moral character in the context of the games I play.

Maybe I think too much about it like you guys are saying, but don't put me in the camp of blaming video games for societies problems. I'm just saying video games are fun, but they can also get in your head and be more than that. They can open up dialogues and make you think about things in new ways.
Specifically Bitcoin, other coins have more robust difficulty readjustment mechanisms.
Yes, since ramjets with performance such as this one were outside our engineering capabilities. As the article states, even this one was not possible a few years ago.

It’s also not entirely true, tomahawk cruise missiles for example use turbofan engines with a solid state booster.
I'd still like to see what mine contains. I know my ancestors back to the late 18th century with one exception - my fathers grandfather appears to have been an imposter, as he does not exist in any record he should (Prussia), or at least his background was not known to anyone I ever talked with who knew him or knew someone who knew him. Genealogy is fascinating but hard to find data that may have been destroyed in wars or country upheavals. At least at little DNA information might provide an alternate connection but of course that might itself be confusing. The past is often nebulous.
I worked at a company where co-workers dated and even married. It wasn't against the rules as long as one did not have power over the other at work.

Nonetheless, I was asked for a date by a senior programmer in the department I had been hoping to transfer to. This helped kill my hopes of having a real career at the company and helped me make my peace with just leaving the company shortly thereafter.

Some people know how to navigate such situations effectively. Some don't. Culture may help skew those percentages one direction or the other, but I think certain settings introduce inherent problems that need to be accounted for and navigated around. Working together is one such situation.
Well that's the exact opposite of what I'd personally like in terms of Thunderbird dev time spent. The UI is already perfect. It doesn't need to be re-made to fit smartphone aesthetics.
But it's part of a sign and all things that are part of a sign, are signs. ;)
That's the bubble mentality of someone who lives in the city and/or doesn't have a family. How about you try hauling a baby in a stroller, diaper bag, and two other kids to a metro train (if you're so lucky to have one close) and then onto a bus. Ride sharing doesn't solve those problems, either, especially since you'd be in need of carseats. So no, automobile ownership is not dumb. There's plenty of use cases where it's the obvious solution.
> It can all go to zero

But there is more room to go up than to go down :)
One factor is that games are not realistic concerning violence. I can't think of a single game where the kill would be realistic in terms of how human brain and internals look like or how human in big pain sounds like. Soldiers came from world wars talking about "horror", but modern games are carefully engineered to not give you feels about those killings.

The other factor is that basic training involves sleep deprivation, loss of individuality, some ideological brainwashing, socialization in close group of people isolated from rest of society and other such factors. You can't compare the two.
I don't know about the other distros, but it's now the default on Ubuntu, which is one of the most popular.
Exactly the same for my 20 year old daughter. This is really going to restrict where she can live in the US. I wonder if this may have the effect of making cities compete with each other for improving public transit.
Is no one going to point out the fact that Miles Davis is not a pianist?
Space isn’t owned by anyone. You are legally allowed to have satellites over another country. Flying over another country is completely different.
Just tried it in C with a thread, which did work like you say.

int a = 1;

void *brute(void *vargp){
while(1) {
a = 1; a = 2; a = 3;
}
}

int main(){
pthread_t tid;
pthread_create(&tid, NULL, brute, NULL);
while(1){
if( a == 1 && a == 2 && a == 3 ){
printf("woo\n");
return;
}else{
printf("fail\n");
}
}
}
But it's part of a sign and all things that are part of a sign, as long as thry are attached to the sign, are signs. ;)
hence it's important to have a good understanding of the chordal context when performing jazz. Outside notes that are too far away from the progression would likely be mistakes, but then there is this exception of atonal music. The more I studied harmony and theories, the more I'm overwhelmed by the possibilities when it comes to composition and improv.
Steve Jobs Introduces the MacBook Air (2008)
I was going to mention that in my comment, but forgot. If you define "classical" as composed, academic music, then much of its 20th century output is just as dissonant as jazz, sometimes more so.
I remember reading a book decades ago about how people that play musical instruments tend to be good programmers. It might have been Jeff Dunteman's Assembly Language Step by Step, but not sure.

But that always stuck with me, and makes a lot of sense considering patterns and preciseness that you need when playing piano or some other instrument.
Ok. Would you say the same thing about Google stock? If people stop using Google tomorrow, the stock will plunge right?
Most people aren't frequently in a position where they have to make a split-second decision about whether or not to fire a gun.

I'm worried about people training themselves, in marginal cases, to accelerate rather than brake to avoid possible conflict, or to go round corners a bit too fast.
Hmm it should have been editable but I've done a thing to reopen it that should work. If you edit it I can delete my replies here.
Note that difficulty adjustment happens every 2016 blocks. If the miners all decide to call it quits shortly after the previous difficulty change, the next 2016 blocks might take far longer than 10 minutes per block.

Which of course means the next difficulty adjustment would take far longer than two weeks to trigger.
China's Alibaba Launches Crypto Mining Platform Despite Restrictions
Hey, it's exhausting work dealing with these kinds of people and I see you doing it in this thread; thanks for it, and keep it up.
Investigate a possibility to support JSX | https://github.com/bridgedotnet/Bridge/issues/808

Bridge.NET translates C# to JavaScript, but JSX is not currently supported.
I could see utility in being able to rapidly deploy a team of special ops, or specialized unanticipated equipment, to a faraway location.

This won't be landing on any improvised airstrips, and a hypersonic configuration won't be able to go slow enough to drop paratroopers.
There is one author who does not use memcpy, strcpy, etc. He wrote his own "standard" C library routines. Others have used these routines; they are public domain.

The security track record on the authors internet-facing programs is better than most. In fact, I cannot think of any author writing similar software with a better track record.

Sometimes the most popular solutions are not necessarily the best ones for every purpose. Whenever I write programs in C from scratch, I use byte.h, buffer.h, etc., from the above mentioned author. I do not use memcpy.

In doing this, I am not a professional programmer and I am not writing internet-facing programs for other users. I am a student of C learning how to use C, the language. If I know how the language works, then it stands to reason I should be able to use a variety of libraries, including alternatives to the "standard libraries".

Otherwise it is arguable I would be just learning how to use a standard library, not a language.

The C language has utility on its own, as form of a notation, and it is that utility which I seek to learn about. Historical records indicate there was C language in productive use for some time before there was a "standard library".
I agree that having that option would make sense. But arguably the default should be correction, because most users are probably making typos.
you've thrown suspicion on the study without any reasoning behind it. unless your population size is small, all studies extrapolate results. why do you think it's incorrect?

for example, maybe the 52 cities they surveyed aren't representative of the whole population (this can be true if they chose the 52 largest cities rather than a random sampling of cities).

give your comment some meat to chew on.
Last year, instead of replacing my mid-2011’s battery for a few hundred dollars, I sold all the parts and bought a mid-2015 with faster CPU and 8GB RAM.

After selling the included Beats Solo3 (academic purchase), it was close to a free upgrade.
> The public implementations are generally trying to verify current ownership of the specified email address.

Are there any implementations that don't? For example, when I create an account on news.ycombinator.com, does it really need to verify my email address, rather than using a signed message sent via HTTPS during the sign up process?

> Consider e.g. all of the sites which trust Google or Facebook to authenticate users and imagine what it'd be like if that could be extended so you could ask that trusted third-party which keys correspond to a verified email address.

Perhaps we need to rethink using email for verification. For server side authentication, we have certificate authorities to handle verification of a given server's identity. In your example, Google or Facebook (or both) could serve as certificate authorities for the client certificate used for a given website.

Again, I would say that most websites do not (or should not) need my email address in order for me to sign up for an account. My web browser should be able to manage verifying my identity with a website as well as adding other trusted web browsers.

> That last point underscores how much of this has nothing to do with PKI and everything to do with horrible UI: the failure mode for not having a valid certificate is generally horrible

Unfortunately, that is very true. It would be nice if some serious effort could be directed to improve the process. I think that if we were using certificate authentication, as opposed to password based, it would be much harder for people's accounts to be compromised, even through "social engineering".