skysight-inc/HackerNews huggingface dataset:
What people tend to forget is that Google and others were involved in anti-poaching deals that kept the wages of workers down. What people don't realize is that this affected you whether you worked for Google or some company competing with Google. After all, if they could match Google's artificially lower salary, or get near it, they were good. Those actions hurt everyone in the industry.

While it's great they are working to train workers, it's not hard to imagine them having a conversation about this regarding lowered salaries.
> For example, if you use Church encoding for your numbers, how do you do static analysis of bounds checking?

I dunno; I wouldn't use Church encoding in that situation. For the same reason I wouldn't use infinite precision rationals to represent 24bit R/G/B colours on a microcontroller, and I wouldn't use floats in a computer algebra system.

You seem to have strawmanned "functions are a perfectly good datastructure" into "always use functions for everything", which is (a) obviously not what I claimed and (b) not even the point I was trying to make; it was just a footnote pointing out that "code vs data" has nuances because sometimes our "data" is code.

> If you implement if-statements by passing two functions to a function which calls one or the other for truth and falsity, how do you determine dead code at compile time?

Supercompilation. Still, there's not much point taking something as expressive as functions, and using them to implement something impoverished and abstract like booleans. Much better to implement something actually relevant for your domain; for example, using functions to implement booleans, then using those booleans to implement permission checks (e.g. `if(isAdmin, doAction, permissionDenied)`), is harder and more complicated than just implementing the permissions checks directly using functions.

Note that this is something the actually happens all the time! Any time an OO programmer has two objects with different implementations of the same method (say, an `Admin` object whose `doAction` method does the action, and an `UnpriviledgedUser` class whose `doAction` method shows a "permission denied" message), they're essentially "implementing if-statements by passing two functions to a dynamic-dispatcher which calls one or the other for truth and falsity". It's not a problem.

Note that Smalltalk actually does implement "if statements" using objects with different `ifTrue` methods. Yet the only reason they do so, and in fact why any language has things as inherently-meaningless as booleans (and functions, strings, arrays, etc.), is because the language designers/implementers aren't able to predict the domains that we'll be dealing with. The best they can do is provide generic building blocks which are sufficiently expressive for us to construct semantically-meaningful domains for ourselves. Hence any attempt to implement <generic building block A> using <generic building block B> is usually pointless from a practical perspective (although is useful for learning): it's basically a constructive proof that <generic building block A> is expressive enough that we don't need <generic building block B> at all, and hence is self-defeating!
Certainly unrestrained resource extraction and financialization of the entire economy- generating wealth for a select few with complex financial instruments that has no real purpose for the general public- are bad. But surely much of tech does provide some benefit to society. What happened to software is eating the world?
Hey HN! Fouad here from Segment. I'm really excited to announce the results of our first fellowship program.

If you’re interested in applying next year, enter your email at https://open.segment.com/fellowship and we’ll send you a reminder once applications are open. Questions/comments? Feel free to send over to open@segment.com!
Wringing the truth out of user conversations
Too much generalization?
Here's one for just the Apache frameworks:
https://databaseline.bitbucket.io/an-overview-of-apache-stre...

Not sure how Wallaroo compares though.
To the critics in this thread- maybe it's time to consider unionizing tech workers after all?
How about the guy after Xi? After that? The power, once concentrated tends to remain so, and eventually you roll a Hoxha, Stalin, or Pol Pot.
Perhaps. There would also have been political costs incurred due to the overcrowding on the southern end of the WCML and that then being apparently a lower priority than providing a quicker link between two cities.

And yes, I realise the XC trains around Birmingham (inc. to Newcastle) are frequently overcrowded, but there's a comparatively cheap solution to this: buy more trains.
That script was provided by Fireclick, so they're the ones that hardcoded it. It even specifically says "Please do not modify this code".
>Is there perhaps another factor, such as an existing ecosystem or that it’s widely used in the academic field?

Yes, it's widely used in science in general. Don't underestimate the learning curves of other languages when your audience is scientists and mathematicians. Python is incredibly easy to use, even when using numpy and other scientific tools.
Can anyone explain what "proof of stake" actually is? My understanding is that it's a virtualized/simulated proof of work system.
What? GBA is clearly easier than NES. Just set up a single tile layer in mode 0, and you got what's practically a NES with more colors, sprites and a much more powerful CPU that you can program in C++ if you like.
Tesla gets to play the auto game by Silicon Valley rules
Can you go home at the end of the day, look into your kid's eyes, and say 'mommy made a difference today, helping a dictatorship government control its own people, and spread its controlling message, eventually to the world'?
The article mentions that they were "small 12mo", which is a standard size (also called a duodecimo) corresponding to 5 x 7.375 inches.
Another major glaring problem that no one wants to admit is that lots of tech work requires (at the very least) college-level-IQ, which excludes the majority of the population. And the lower-IQ jobs are quickly being automated away.
Boohoo, poor Silicon Valley! I can't sit outside comfortably drinking my kale smoothie today!
Carmack really should have quit Oculus when Facebook bought it and gone on to work for Musk at SpaceX. Both are workaholics, too, so they'd probably get along quite well. Plus, Carmack is a big fan of space rockets.

Perhaps Musk needs to go to him and tell him, Steve Jobs-style:

"Do you want to work for a company that invades people's privacy for the rest of your life, or do you want to come with me and change the world?"

Carmack's skills are being wasted at Facebook.
Who determines who should get a training slot? What kind of subsistence shouls that training command?

The commitment of capital to tanglible jobs that lead towards ojt is not handwavy at all. That said, i bet the tax breaks from the schooling is substantial
Yes, that's why we have labour unions. The cost should be high because we demand it to be so, not because of a shortage.
That's a great idea! We'll get that on there later today :-)
Most likely nobody uses /bin/true (/usr/bin/true).

Executing true without the pathname will run the shell embedded function.
I'd argue that this is only a secondary purpose at most -- and in this case not intended at all. Also, there are other uses of the word forking outside of VC. For instance, I have heard it in the context of threads first... O:)
If Google hadn't been involved with a scheme that helped keep the salaries of employees artificially lower (and by extension, affecting the rest of the industry), you might have a point. But as it stands, Google's own actions means it's imperative we question their motives. After all, if Google and others hadn't done what they did with the anti-poaching scheme, would the resulting salaries be higher for all involved?
That doesn’t answer my question, let me reformulate it: what’s the rationale behind this behavior?
The Missing Career Path for the Technical Expert
Do you have more information on how to do this? I'm thinking that doing the same thing makes sense going forward.
> How about wrapping the tube in insulating foam

At that point why not just bury it? It swaps the thermal problem for the water problem, but we know how to build tunnels.
Several products are already stationed in Europe so it is just a question of how much. Ireland does mostly support, yes, but both London and Zurich owns products.
"Proof of work" proves that you have performed some calculations. "Proof of stake" proves that you have a certain number of tokens.

[edit] The whole idea of each is to make sock-puppeting when voting on the truth unprofitable.

With the first, you need a near majority of the compute power in the network to have people believe your "lie" with the second you need a near majority of the coins in the network to do so.

[edit2]

Imagine that banks don't exist, instead everyone writes down every transaction that happens. Then at the end of the day we all get together in the village square and vote on who has what money. This would make it so that no minority of the village can steal money from anyone else.

We can't do that with bitcoin &c. because how do you prevent one person from just running a billion bitcoin clients and voting all the money to themselves? So instead bitcoin (very roughly speaking) requires you to prove that you have done some work to get to vote on what the ledger looks like. This is proof of work. If instead it were "one dollar, one vote" that would be proof of stake.
Awesome. We'll get that sorted out within 24 hours, these silly false virus alerts are thankfully easy to get around :-)
The article you linked to provides a trivial solution:

"the trains take one hour to collide (their relative speed is 100 km/h and they are 100 km apart initially). Since the fly is traveling at 75 km/h and flies continuously until it is squashed (which it is to be supposed occurs a split second before the two oncoming trains squash one another), it must therefore travel 75 km in the hour's time."

So if von Neumann was solving it by explicitly summing the series, as the anecdote claims, then he was doing it wrong :)
On average? You going to measure that in a lab and show me your margin of error, or is this now a political discussion?

And "male privilege" is dumb. Measure it - show me your science. Otherwise I'll think about how many men die on the job versus women, how women receive more lenient sentences for the same crime, or how women now receive the majority of degrees, and a women who never has kids or marries, will make significantly more money over her life than a similar man, and I think "Weird, it's like biology strangely enough, affects our culture in all sorts of crazy ways that having nothing to do with some nut job conspiracy theory about male patriarchy."
Not only does it exist, but it's insanely good at packing go static binaries. I don't remember the compression ratio, but I think it's something like 20% of the original size.
The only people who care about efficient allocation of resources for the society are socialists and academics. Certainly CEOs with multi-million dollar annual compensations don't think they're contributing to allocation inefficiencies by negotiating their compensations. Neither do doctors and AMA, who we all love and respect. Neither do military leaders or politicians, who demand half the country's budget for military expenditures. Etc, etc.

Increasing the skill supply is the right thing to do if you're Google stakeholder, or broadly speaking, a capitalist. It's much more questionable if you're in the labor force.
Maybe - or maybe it just requires a specific way of thinking about things i.e. Problem Solving and Time/Task Management? As well as the ability to learn the task of course.
On the job training was pretty standard in the tech industry in the past. I worked with a guy at an HP (oldest high-tech co. in CA) spinoff that was the head embedded software architect and worked his way up from the machine shop in the '70s. He started out manning a drill press and learned to program when they started using NC (numeric control) machine tools.

Do you think Google lets anyone to work their way up from front desk admin or barista?
If I go into a doctors office and I see one of these tablets or tvs pitching drugs to me, I'm out of there. This is ridiculous and beyond exploitive.
In theory, it means that if minerA has 100 coins, and minerB has 1 coin, minerB will need 100x the hash power to mine the same amount of blocks as minerA on average. Not sure how the implementation is done in Ethereum, but I imagine it involves easier challenges if you sign with a wallet that contains X coins.
TOP10 Misconceptions about Financial UX Design
> They can easily funnel all internet traffic to Toutiao

They can't force users to download the app and use it (without us knowing it), can they? They could control the content it shows users, but how does that make the stats inaccurate?
Implementing a PKI on a Blockchain
Carbon credits don’t really do anything for the environment. Giving up a car, picking a smaller house, not traveling, and not having kids would be meaningful steps, but that’s not really an option even for people who make their livelihood from environmental advocacy, such as Al Gore who lives in a mansion, has 4 kids, and flies everywhere in a private jet.
How does flooding the market with more developers who can't pass their interviews help them lower salaries?
Ask HN: Would you work for Equifax (or the likes?)
The Equifax hack(s) have resulted in impassioned discussions on security, patching and due diligence in general. Many CISOs and security stalwarts have had a lot to say on the matter and yet we don't see any security leaders actually wanting to work at companies like Equifax.

So I am curious to learn what would it take for the security champions to be enticed into working for Equifax et al.
Link to the issue?
Needing a program that returns true comes up more often than just shell scripting. For example, maybe a system reports an event by launching a named executable. Specifying /bin/true is the equivalent of redirecting that event to /dev/null.
> Personally, I prefer to describe "thinking about manipulating people's emotions" as _empathy_, but that's just me.

Empathy is the core skill, yes, but there's a sort of... I almost want to say an instinctual disgust? that people also have to overcome, when they want to turn empathy around to use it to change someone else's mind, rather than just using it to predict someone else's mind. You have to become at least a little bit of a sociopath, is maybe the problem.

See, other people have different foundational beliefs—different axioms they're working from. To use "empathy aikido" on them—to come up with arguments that will convince them of something, not slowly and laboriously from logical first principles, but by building up quickly from what they already assume to be true—you have to be willing to make arguments that are true under their axioms, but not under yours. That is, you have to be willing to use arguments that you think are false, just because the person you're trying to convince will believe them.

It feels weirdly like lying; like you're a politician swaying the populace with empty rhetoric. But you're not saying things that nobody would believe (if given long enough to think about them); you're instead just getting into the head of—empathizing with—the person who holds those axioms, and then saying things that you—as that person—really do believe.

This is why, I think, there's a big divide between people who like or hate the idea of "salesmanship": some people fundamentally see it as lying, while other people fundamentally see it as empathizing.

Personally, I think it can end up either way—some people "sell" an idea while holding back a bunch of facts that, under their axioms, are total deal-breakers. Others, though, "build a bridge" between their interlocutor's world-model and their own, using their arguments to help the other person build a world-model enough like their own that they can then present the facts that they believe to the listener, and the listener can understand them through the "consensus schema†" they built.

† https://en.wikipedia.org/wiki/Schema_(psychology)

People who are said to have "reality distortion fields", I'm guessing, are just good at making those kind of points that build a consensus schema, that they can then state plain "facts" against which will seem—within the consensus schema—to be obvious, rather than having to convince you of each fact through argument. Despite the gnawing feeling that accepting that consensus schema into your brain is sort of an indoctrination into a cult, it's really the less ethically questionable of the two options, in my mind: the speaker doesn't have to say anything they don't actually believe (other than the arguments required to build the consensus schema.)
Yeah - we worked with a company that bought some traffic on a cost per impression basis relatively recently, and all of a sudden we had a significant burst in errors being reported.

The user agent for the devices experiencing the errors were all an old version Firefox.

Turns out that version of Firefox was the default for some version of Selenium, and all of that traffic was coming from bots running in data centers.

Moral of the story, don't buy cost per impression from any company with anything but the best reputation, because that market is saturated with bots.
Equifax website redirected visitors to fake Flash update, it's #malvertising
TerrariaClone – An incomprehensible hellscape of spaghetti code
Oh, awesome! I swear that Spencer said this didn't work at the NYC 1.0 meetup. I considered this a hard required for production readiness, glad to see it's available.
I guess one of the silver linings of living in a "cyberpunk neo-Gilded Age but with better UX than '80s cyberpunk" world is that dueling tech magnates might accidentally craft something that could help society.
My first reaction was "how do you write with Vim on paper?"
Or, more bluntly:

Google should pay high salaries. The market will supply the skilled workers when the salaries are high enough to attract more workers.

(Google does pay high salaries. If they want more skilled workers, raising their salaries is the most efficient way to get that outcome.)
From your link:

>"The Internal Revenue Service signed a $7.25 million contract with Equifax last month. The no-bid contract, first reported by Politico, is for Equifax to provide the IRS with taxpayer and personal identity verification services. The contract stated that Equifax (EFX, -1.34%) was the only company capable of providing these services to the IRS, and it was deemed a “critical” service that couldn’t lapse."

The IRS in the US needs Equifax to provide tax payer and verification services? Seriously what does that even mean? The IRS bas no other way to verify citizens?
I'm not sure that bit matters, it's hosted on an Equifax server and served in their pages. And pulling in a script from a very sketchy domain.
I disagree, I see people fail learning programming over and over again. Even after three years completing a computer engineering degree, they struggle with how a for loop works, (No this is not a joke in Europe).

Learning to program takes a lot of dedication and focus. Which a lot of people have no interest in, it is just too much work and too difficult. Every student that takes a engineering degree here, have to have a class with introduction to coding. And everyone, except those few who enjoys computer science, says that class was the hardest class to pass by far compared to the rest.

So I believe the opposite will happen. The demand for software developers will grow beyond our imagination.
Universities need to start focusing on skills instead of general education. Imagine the amount of skills you could learn if you didn't have to take 60 hours of nonsense credits and focus on skills you require.

Programming / Networking / Hardware need a new type of University that is similar to Trade colleges but focus primarily on the skills and nothing more. The first 1-2 years could focus on the foundations while the next 2 years focus around solid design principles and actually developing projects (real or fake).
I'm sure somebody else will nitpick this, but on a high level it's cost and control.
F-35 stealth fighter data stolen in Australia defence hack
Responding "this is entirely untrue" to someone who is saying how something feels to them is not only overly harsh, but entirely inappropriate. You cannot dictate people's feelings. You might think they have misconceptions that are leading to how they feel, but that doesn't make how they feel untrue.

I can understand if you feel frustrated because you don't think this feeling is warranted, but this is not a constructive way to express that, nor fix the problem.
Migrate hundreds of millions of records from mysql to mongo without downtime
Oh how quick we forget that we bitch about $35k/year H1Bs
Compressing them this way however makes situation worse for memory manager.

If you use uncompressed (or transparently compressed by the filesystem) binary, your process has mmaped the memory pages, which can be discarded and then reloaded, as needed.

If you use self-extractor, your process has dirty pages that it itself wrote, that cannot be discarded, but must be moved to swap if needed.

The more you use the same executable for multiple processes, the worse the effect is. The ro mmaped pages are shared among them all, the written pages are private to each process.
Cryptomining as payback
$35k/year developer on H1B
Deepnoop.js: Noop object with arbitrary number of nested noops
Yeah, more bootcamp trained JS-"artisans" and Ruby-"artists" for all of us! If they wanted to do good, invest in the school system, use your power to monitor Betsy DeVos and call her out for the bullshit to come from her. If Google could raise interest in STEM in High Schools already that would be way more organic.
Might be worth asking why you want it? Simulated monitor(s) in VR on the first generation of VR hardware run into blurriness problems from having low resolution displays relative to the monitors they're simulating.
Chrome on mobile doesn't have extensions. :) I still use Chrome on desktop.
Which gives me this idea to train my loud music playing neighbor to behave. A sensor listens for his music to go beyond a certain level and triggers my Pi to play loud music back to him. Then stop and check if he has lowered his volume, else rinse and repeat. I know its evil, but apartments in Montreal are so bad.
Meaningful Alerts – Top Ingredients to Prevent a Production Crisis
Whoops, I meant 80/15/5 :)
Yeah it would be good in that case but would the buy go up since it was cheaper and go down when it was more expensive sort of thing.
You'd need a scanning electron microscope to detect the tiny violin playing for people complaining about labor oversupply while making integer multiples of the median US household income building up an industry premised on automating away everyone else's jobs.

Stop worrying about your wages! Your job will eventually be automated away. A basic income is sure to protect you.
They're also all taller than you, so you'll have to get used to looking up.
I know, I work there. Most I know don't even bother applying since it is hard to get an interview, they don't see getting into Google as an alternative. All Google would need to Gobble up all talent in Europe is basically to start pestering every developer like they do in Silicon valley, they already pay twice of what 99% of developers are earning so taking everything would be easy for them.
Keep in mind, this is the same company whose head of HR (Laszlo Bock) literally says he does not believe training helps at all develop people.

Laszlo Bock stepped down in July of last year. Eileen Naughton is the head of HR:
http://fortune.com/2016/07/27/google-eileen-naughton/

https://qz.com/744740/googles-hugely-influential-head-of-hum...

He works here now:
http://www.humu.com/