skysight-inc/HackerNews huggingface dataset:
Just like USA would be a very different place if 300M people had a vote that mattered, China would be a very different place if 80M people had a complaint mechanism that mattered. We'll never hear of the city clerk who complains about the excesses of the latest giant project imposed upon local citizens. There are probably hundreds of those people, and they have all been taken care of. (Most of them in standard bureaucratic politicking fashion: "she said this terrible thing about Xi" "there is corruption in his office" etc. Kicking down is a great way to move up, when an official a couple rungs up approved the project and wants the complaints to go away.)
To be fair, this is Sun (or probably Innotek) code almost certainly. Sun I generally trusted in production.
Self esteem is not related to confidence.

If you had very low self esteem and someone asked you what the result of 1 + 1 was, you would probably still be 100% confident that the answer is 2.

If your emotions or self esteem gets in the way of your logical reasoning, then your reasoning skills were probably not that great to begin with.
There is plenty of land in most states and it's not the 'more mountains' that makes Cali expensive to live in.

The air quality problems is most cities are in fact due to geography, prevailing winds etc..

We all drive pretty much the same cars.
The foot gun happens when you assume that the string representation's length is equal to the number of unicode characters. This is true in C if all your test data uses ASCII characters. Its true in Java / C# / etc if you only test using ASCII + any characters in the lower unicode planes. And thats most but not all of the characters used in the world today.

In Javascript, all the standard APIs make the wrong assumptions about unicode. Unless you think about it and actually test using exotic characters, its very common to make mistakes where certain characters would crash your software. (I'm talking about you, iMessage).

I ran into a bug just the other day where emoji in a comment in a rust file with RLS caused a weird rendering error in VSC.

In javascript String#length and naive array indexing is basically always wrong, and as far as I know there's no official API that does the right thing. But because its mostly right, people use String#length and don't think about it.

$ node
> "𝄞".length
2
> "𝄞"[0]
'�' // oops!

In Objective-C, even though large NSStrings use a 2 byte encoding under the hood, the API that NSString provides encourages you to do the right thing by default a lot more than javascript does. We could talk about whether language or the documentation is responsible, but either way the difference translates into fewer bugs.
AI detects Alzheimer's disease SIX years early
UTF-8 is very inefficient for some character sets - of course it shouldn't be the only option.
My mid-2012 MacBook Pro works like a dream and has never had a problem, FWIW.
Are they fucking crazy? Turn out that light!

Our first encounter with space faring aliens will probably go about as well as native Americans first encounter with Europeans.
ProtonMail has significant quality of life issues that I wish they'd work on.
I was really hoping this object would have been named Rama. Arthur C. Clarke would have approved.
Well, quite a few C suite folks seem not only to believe it, but to be convinced that anyone who disagrees is effectively committing sabotage. This is because every vendor is telling them this is so, and offering to sell it to them. This is dreadfully damaging, and a time of reckoning will come, but don't expect justice.
EEG measurements offer objective method of assessing pain
> A measure of death risk to the general public, i.e. people not directly involved in the production of the energy. It's important to distinguish internalized vs externalized risk.

That's kinda creepy. Like we should be ok with Appalachian coal mining's horrible safety record because the general public never dies in mining collapses or gets black lung. Who cares about some faraway people just so long as I can run my crypto farm at under 5¢/kWh?

Very "Hunger Games".
I just finished reading the series a few days ago. That's how I look at our universe now.
IMO one of the most worthy goals technology should try to solve: shortcuts to acquire wisdom
Views are ... Hit and miss. I think java has flip-floped on that one. The issue is cases where you parse a config to extract a single property name and that keeps the whole thing around.
Your response is precisely why I said "best fit" and not "minimally qualified." Your definition is the best fit for your company.

However, if you're seriously arguing that you'd hire an MBA for the front lines of a minimal proficiency call center "so they can grow into the company," then you're exaggerating.
Read How I Found Freedom in an Unfree World
As someone who used to write SPARQL queries for a living with some of the most established players in the Semantic Web game, the idea of SPARQL and GraphQL serving the same purpose is pure misconception (usually by folks who haven't yet taken the dive into GraphQL).

GraphQL allows the backend to say "here's the data I offer and how it's structured, pick which fields you want from that" and the frontend query just specifies the "what." It's like picking from a menu (although fields can have parameters), and the results you get back are structured objects with nesting.

On the other hand, the data offered by a SPARQL endpoint has no inherent structure, the query is what gives the data structure. You not only ask what you want (the projection) but how to resolve the fields using (often complex) relational logic. It's orders of magnitude more powerful, which is awesome, but also more work and more confusing. Its biggest downside is that, like SQL, the results are row-oriented. For anything other than completely simplistic queries, the resulting data often needs to go through a transform/reducer step instead of being used directly, because real-world needs aren't always row-oriented (especially on the frontend). If you want to request information about both entities and the "children" of those entities, the projection is going to be (1) incredibly messy and (2) full of duplicate data, or you're making multiple queries.

I wouldn't want my frontend communicating with a raw SPARQL endpoint for the same reason I wouldn't want to expose a raw SQL endpoint (and basically nobody does). GraphQL puts the frontend "on rails" so to speak and lets the backend worry about the "how." That can be a positive or a negative depending on what you want to do, but in the frontend world (where REST is the norm), folks consider that a positive and it's the direction they've generally chosen.
No. I did my first exit polling in a small town in Texas and no one had any problems scoring the candidates.
That’s not unfair that’s random distribution of fortune. You make terms with it by making the most of what you’ve got and being thankful for the good while not letting the bad get you down.
>There’s a level above exploitation where you value other intelligent life and cherish it.

That sounds like a hope/belief, not a fact.

There may be levels of regard for intelligence that are below pets. See, for example, "To Serve Man". [1]

[1] https://en.wikipedia.org/wiki/To_Serve_Man

edit for misspelling
How we would agree on a handshake? Aliens don’t know English let alone Morse code.
It’s just a flesh wound! /obligatory
Eh, I'd distinguish "wisdom" from "knowledge" in this example. This 20 year old might know a lot more about this trail, and thus be "better" at driving it, in a technical sense.

At the same time, a wise person would approach the undriven trail, and apply what they have learned about driving, unfamiliar terrains, risk balancing, etc. to the experience of driving it. Maybe they'd even decide, "Screw this, I'm running late and want to go have some beer instead."

In the end, who did it better? Maybe it doesn't matter, but I see wisdom as the ability to apply hard-won experience to novel situations.
I'll knowingly violate HN's rules to say that's a Vogon conclusion.
It turns out that iOS prediction will make a provisional guess based on what you typed and will go back and adjust its autocorrections as you type subsequent words. You can see this more clearly if you use dictation, but allegedly it won't do as well if you use the word corrections every time.
Heptio got a world class team. Congratulations to the founding team. Having played with and followed the Kubernetes ecosystem for the last couple months, I'm wondering if this was not all planned:

Find a hot niche market (Kubernetes). Play the "Cool" card on social network, and hire all the "most famous" Upstream kubernetes contributor (typically those that tweet a lot). Those newly hired contributors, make the company even cooler and there is now a perception everywhere that the company is the next big thing. The product build by the company is not as important as the hype they got (as shown by the other posts that wonders what they actually do).

At this point, a big business jumps in desperate to get some of the hype branding for that new market (Kubernetes) and pays big money for what is essentially a huge acqui-hire (mainly acquiring the Heptio reputation).

This existed before with Openstack, and other similar hype cycles.
because the source is important, it tells the buyer they have a future if they no longer like your services; closed source means they are locked into whatever fresh hell might come upon your company which in turn unleashes fresh hell upon their decision to buy in.. in 2018+ it's just a smart decision to make
Show HN: MerkleX, the fast decentralized exchange you've been waiting for
You're just picking one element. People have to understand and believe the system. A system in which you weigh the full set of a:b, a:c, b:c would be too tedious for anything but the board of the mathematical society.

If we could only get those pesky humans out of the loop...but we don't.
From my experience living in Massachusetts, it's not all that surprising! There are plenty of Republicans in Massachusetts who are successful politically; they just tend not to be as conservative as Republicans from other parts of the country.
Agreed. This is truly astounding. Neutrinos seem to encapsulate an unnaturally high degree of complexity and information in such a tiny package ;)

Formalism of Neutrino Oscillations

https://arxiv.org/pdf/1802.05781.pdf
The point is no one is average by definition. If you acknowledge the contextuality of wisdom then you’ll find a lot more of it out there than if you assume only a few elite outliers have useful knowledge and perspective.
You mean someone who does stuff like TopCoder competitively?
Have you read "Candide"? Voltaire wrote it as a satire on certain overly optimistic and positive philosophical views. It's really short, and I thought it held up great despite the age and translation. Douglas Adams' "Hitchikers guide" series is another satire I can't recommend enough.

Life is as strange, terrifying experience that is often absurdly unfair for no good reason at all. But it can also be kind of hilarious for the exact same terrible reasons.

Develop your ability to see the humor in deeply dark and unfair situations. They aren't going anywhere. You could try to convince yourself they aren't there or that they aren't so bad with some religions/philosophies, or maybe you'll convince yourself that you'll triumph in the end - but most likely you will just end up angry, resentful, and not particularly well-liked as a result. Humor though... that's something other people (and you) can work with.
good catch i dont see it either..weird
I'm too busy building a robotic factory that makes breweries.
Voting in the primaries would help. IMO, a ranked choice ballot would help even more.

I don’t need to choose between people who will make essentially the same policy decisions as much as I want to be able to vote for a third party without throwing away my vote.
Model checking is a proof method. If all possible states are explored, that is a pfoof (Proof by exhaustion).
https://en.wikipedia.org/wiki/Favourite-longshot_bias
> Obviously, there is large political disagreement on this issue (viz: conservatives vs. liberals, to use American jargon).

There is not as much disagreement as it can sometimes seem, between those particular groups, as ID'ed using that jargon.

The American Conservatives and the American Liberals both think that laws should be the knee-jerk reaction to certain sets of problems. Their differences lie in which problems those are: by and large, the Conservatives say that those are the social problems, and the Liberals say that those are the economic problems.

But you are right, there are many who think they should be a last-resort measure in all-but-every case: the American jargon calls them Libertarians, and the American first-past-the-post voting system calls them personae non gratae.
It has TB3. If you need more storage you can add it externally.
No one ever got fired buying IBM, err... AWS
Ask HN: What are the data needed for quantitative trading?
What kinds and quality are of the data? How to get and organize those data?
Guide d’achat accessoires moto
>When we define ourselves, we become more like that which we define, in what philosopher Ian Hacking calls “the looping effect of mankind.” Biological phenomena will carry on regardless of what it is called. The heart will continue beating whether the act of muscle contraction is called “the heartbeat” or something else. Not so for the intricacies of psychology: the proud introverts become more introverted, the neurotic more neurotic, some people buy T-shirts that say no, i’m not a sociopath, I’m just an intj.

Is it even possible to construct a "personality test" that avoids suggesting people identify with negative traits?
> Ted Cruz is still using a blacklisted Cambridge Analytica app developer

"Hollywood anti-communist blacklist

The Hollywood blacklist was instituted by the House Un-American Activities Committee in 1947 to block screenwriters and other Hollywood professionals who were purported to have Communist sympathies from obtaining employment. It started by listing 151 entertainment industry professionals and lasted until 1960 when it was effectively broken by the acknowledgement that blacklisted professionals had been working under assumed names for many years"

Is what comes to mind.....

I just wish there was some sort of system were random people didn't just create lists and then get everyone they could to punish these people on the lists and punish these who didn't follow the lists.

A system with oversight. A system people could appeal. A system with evidence. A system with measured justice. All a pipe dream I guess.

The left used to boycott, now they blacklist just like the right. If that's the way it's going to be might as go all in and be right.
OVH has POPs all over despite being a value server provider. You get quite a bit for how little you pay, plus they have working IPv6 (really important for mobile networks) unlike the major cloud vendors.
My experience differs from the rest of the comments you're getting. I've benefited most from cross-pollination with _other programmers_. Pairing, working on short projects together. You can't ask a book a question when you're stuck, and a book has nothing at stake if you don't understand it (nor do you, whereas if you write embarrassing code and you know the person who's going to review it, you have a reason to up your game.)

I know way more (maybe 10x more) tools, more approaches, and more languages, than if I'd just stuck with self-taught approaches like books and tutorials. Those have some utility, but it's a very distant second.

Plus, actual people help you get better jobs (or investors) even years after you part ways with them.

In short, best practices require practices, not theory.
I added some text to the title page about arrow keys, revealjs, and WebGL.
The Secrets Behind Influencer Marketing
After reading the description of the exploit, it's not clear to me who is at fault. It almost seems like there are several bugs in the Intel E1000 driver, and not VirtualBox. But then again, the hypervisor should probably never allow a guest kernel to escape the VM.

If the issue actually lies with VirtualBox, VirtualBox is owned/maintained by Oracle, and based on other interactions I've seen with Oracle I wouldn't be surprised if others have submitted exploits to them before and they were ignored.
As I understand it, it's not chip speed. It's chip voltage. Everything is a conductor if the voltage is high enough, and the closer the traces get, the less resistance the insulation provides. The problem is that at the temperatures we run computers at, the conductor traces need a fair bit of voltage to push the current through the entire chip.
I’m guessing that by the time someone needs an “expert” at something and is willing to pay consultant rates, they’re probably incapable of such vetting.
With wisdom, one follows (good) advice and prospers from it. But usually it takes personal experience of some sort before one follows advice.
But the company may fold from the usurious AWS charges...
No mentions about finding meat here, but you might be interested in this story at IEEE Spectrum about the construction of IceCube from 2011 [1].

[1] https://spectrum.ieee.org/aerospace/astrophysics/icecube-the...
Who decide what's best in humanity? Who decide what's civil discourse?
I guess those in power. So, go away.
Engineers develop ultrathin, ultralight 'nanocardboard'
Full paper: https://www.nature.com/articles/s41467-018-06818-6
The bug is in the VirtualBox code that emulates an Intel E1000 device. There is no driver code involved.
Yes! I love to build teams with average people that create above average results due to their configuration. It's my secret sauce.
There are enough unconfirmed assumptions in this claim that the first open question is "are the author's assumptions justified?"
But any alien that can build a receiver knows math, and understands physics, and probably has come to similar conclusions about computation. They might be so different from us that communication would be impossible, but it's not likely.

If nothing else, you can draw simple two-color pictures by sending pixels in a NxM grid, where N and M are both primes. Enough minds thinking about the problem will eventually figure it out.
I feel with Amazon you can intrinsically tell by the formatting and lack of consistency in design between pages the hodgepodge of code running
In theory, yes. In practice, probably very difficult. They did detect a deficit in neutrinos from the direction of the moon though [1].

[1] https://icecube.wisc.edu/news/view/131
Hacking Robots and Eating Sushi
I think this post is really just arguing for some kind of ranked choice voting system to better support third party candidates. You’re criticizing a specific implementation of ranked choice, but I think the author was just using IRV to represent the general concept. It’s possible they are not aware of the technical differences.

Could you elaborate on why you think plurality is better than IRV?
Transportation makes up 25% of the carbon emissions worldwide.

Cows make up like 8%.

The US military is the world's largest polluter. Most of their most serious crime against the environment is detonation of nuclear warheads.
It's not quite that severe, but as you note the substitutes are a lot more painful than they were with CFCs. Plus the problem is much much larger. We aren't getting out of this with just a little sunburn.
They're talking about interstellar communication, not how long you've lived in your house. 40 years is just a few years.
There is a categorical difference between "a [specifically designed] image that can be construed as a duck or a rabbit" and "a human can regularly mis-categorize random pictures of ducks as rabbits if a weird filter is overlayed". The first is well-known and fun and trite -- the second is unheard of and probably impossible for humans, yet provably possible for trained computers.
> One of the big ironies of all this is how well C has stood the test of time. C strings interoperate beautifully with UTF8 - all thats missing is some libc helper methods to count & iterate through UTF8 codepoints. strlen / strncpy / strcmp / etc all work perfectly when dealing with UTF8. The only change is that you need to supply lengths in bytes not characters.

That's exaggerating the truth, I think. Programmers can and do presume strlen's result is things like the length of the string in characters (and the typename "char" does not help), or the number of terminal columns wide a string is. E.g., I'm pretty sure the mysql client can still, to this day, not properly format a table, and IIRC, it is written in C. strcmp() does a byte-for-byte comparison of strings, which in Unicode may very well be meaningless. strncpy() has its own footguns w/ leaving the buffer unterminated. (But yes, as long as your indexes into the string make "sense" — aligned to code points that will make sense at the destination — it works fine.)

If you have to write any of the helper methods to count & iterate through UTF8 codepoints, you have to watch out for the footgun that char is sometimes signed, sometimes not, so attempting to get the high bits to determine things like "is this a continuation byte?" with >> or & is either implementation defined or UB, depending on the specifics of the platform. (>> is UB on negatives, which char can be, and often is; & on a signed int doesn't make much sense, and it's implementation defined what it does in C (it operates on the bitwise representation of whatever the underlying signed integer representation is, which is implementation defined. Yes, yes, all the world is two's complement. The earlier UB is much more likely to bite you.))

unsigned char * is better for both raw binary buffers and dealing w/ buffers of UTF-8 data.

(Honestly, I'm not even sure that C requires the character literal 'A' to correspond to an ASCII "A". But all the world is ASCII…)
In a perfect world, where my bills got paid and there was food on my table regardless of whether I passed someone’s arbitrary screening questions, I would never study for an interview. It’s stupid and encourages companies to design bad interviews. But that’s not the world we live in.
It is called darknet :)
The apathy far outweighs the fraud.
A relativistic kill shot would take out a lot more of Earth's biosphere than humans are likely to. If we kill ourselves, bacteria and cockroaches will live on. Not so much, if Earth is vaporized to make way for a hyperspace bypass.
I think there might be some reasons to be optimistic. Any civilization that might notice our signal and decide to interact with us has with us has existed much longer than our own civilization with high probability. Thus, there is more evidence of long-term stability in such a civilization than our own. With stability comes the potential for experience, with experience the potential for wisdom.
Thanks.

> There is no driver code involved.

Yea I see that step #1 in the 'exploit algo' is to remove the e1000, I missed that earlier:

> An attacker unloads e1000.ko loaded by default in Linux guests and loads the exploit's LKM.
It is a Latin-1 byte array, not a UTF-8 array. This is because Java exposes some details like the length of the UTF-16 character array through the string api.
I always thought that if an alien civilization is trying to communicate with earth, they would do it via neutrinos and not radio waves, because if you know where you are communicating to, you don't need to worry about signal attenuation as much as with EM waves.
Florida passes Amendment Four, restoring voting rights to convicted felons
Those people are just aged idiots. They were like that when they were young and have learned nothing along the way.
Reminds me of Chesterton's Fence
https://en.wikipedia.org/wiki/Wikipedia:Chesterton%27s_fence
Unicode is complex enough it is often best just to not think of it in terms of a character count unless you are doing text layout (in which case you care about grapheme clusters, not characters).