skysight-inc/HackerNews huggingface dataset:
I think you're confusing the SHA-2 hash core with a MAC derived from SHA-2. MACs and hashes aren't the same thing. You can build a MAC on a hash --- in fact, you can build a MAC on a hash that would be terribly insecure on its own, and some of those MACs are state-of-the art; see, for instance, all the polynomial MACs.

That's what I'm trying to articulate. Hashes aren't MACs.

This is partially my fault, for playing loose with SHA-2 512/256 vs "The Prefix MAC built on SHA-2 512/256".

Again: I think we should just call that SHA-2-MAC. It's an unambiguous name that couldn't mean anything other than "truncated SHA-2 512 used as a prefix MAC".
Even if the details are a bit… inscrutable, I do like that figuring out the structure of this interpreter is quite easy as it's all on one page and easy to see all the “moving parts”. It perhaps looks a bit scary, but it is, IMO, much easier to understand than 1000 lines of Java spread out across 5 different files. In a way, there's less mental overhead.
Yes, I can second this! Game Programming Patterns is one of my favorite programming books of the last few years.
> Wrong. You most certainly weren't on the internet back then if you're going to stand behind that statement because it's 100% false.

I was on the Internet back them and I certainly came for the freely published content... So it's not 100% false.
You offer no particular evidence for your claims, they are unpersuasive and you manage to insult both older and younger employees in the space of three sentences.

A. You assume young people are "really good individual contributors" and older people aren't, which is very often exactly backwards.

B. It has been my experience that startups often hire people with management experience as they scale.

C. Your assertion that young people don't want to manage old people is unsupported and pretty much just sounds bitter.

The original hypothesis that younger developers are more likely to be overconfident about their chances of success and so are willing to accept lower effective pay makes way more sense than that older developers are less good at being individual contributors.
ES5 was supposed to have tail call elimination too, until it didn't. Now it's been pushed off to ES6 and it's looking like it's not going to happen there, either. So we're still stuck using trampolines (I explain trampolines here: https://taylodl.wordpress.com/2013/06/07/functional-javascri...).

If you want your JavaScript to look closer to scheme then use ClojureScript.
I respectfully disagree. Functionalism isn't really the ultimate value: our world would look different if it was.

The ultimate value is instead rather circular: how much something is worth, is how much you can make people think it's worth. As we head towards general AI, we can generalize this: how valuable something is depends on how much people and AIs/systems think it's worth. Whether it improves anything at all, is very much optional.
And data management / preparation is where major mistakes are made - get a join wrong and you may easily be missing data or double counting something just obscure enough to go unnoticed like "ancillary sales".

There is something potentially harmful, or perhaps that needs addressing, about end-user tools growing in expressive power. A good friend who does statistical genetics work once told me "but I don't want every user running their own regressions and drawing nonsensical conclusions from badly prepared data!"
Was this DO you were fundraising for? I would think sky high valuation for something that large would be exactly what founders want.
Hiring Software Engineers, Platform Engineers, SRE and DevOps Engineers
Thanks, this is a good idea.

We don't need fast, we need repeatable so that the same seed into the same prng produces the same number on different machines (different CPUs, different OSes) which is why we want to change from simply using the system facilities as we do now. Yet the number of calls to rand() in each simulation is high enough that we don't want to simply keep a large table of random numbers.
> Maybe... A union of employees

Wow that's a laugh! Last time I checked, even speaking the word 'union' is enough to be fired for cause at Wal-Mart.

Also, most of the people who work there have few or no other options, the only thing keeping them out of company towns is what little worker protection legislation that's left.
It depends. Am I solving the problem of how to implement this feature in an effective and efficient manner? Or am I solving the problem of GOD DAMMIT WHY THE %^&# WON'T ANDROID STUDIO COMPILE NOW?!?!?
Voluntary taxation: a lesson from the Ancient Greeks
very surprised nobody here or the author mentions Argon2, which is like scrypt except better, and is hardened against GPU attacks.

https://en.wikipedia.org/wiki/Argon2
It says they can "opt in"... why are you criticizing this?

And yes, they can also "opt in" whether to find a new job, and quit Walmart.
Cool stuff - someone else mentioned Thoughtspot - that was my initial thought as well. Very similar idea.

I wish that Google would take the same sort of "embed" idea further in G-Suite. I find it amazing that I can't (as far I know) reference slides from another deck in Google Slides. The use case would be putting together a series of "core" slides that are updated across your organization as they change. Given the web nature of G-Suite, this, to me, would seem like a no brainer.

Also, inserting charts from Google Sheets into Google Presentations looks pretty terrible. I often revert to Excel because the charting is fair superior imho (though just as challenging to wrangle).
> The article says the app finds possible deliveries that are on the employee's route home, so no extra out of the way driving is to be done... only a 30 second stop to get out and carry the package up to the front door. Seems very efficient to me.

Dude, you're engaging in fantasy. Walmart is going to want to use this for more people than just those who live on busy commuter roads that happen to be used by a Walmart employee. "On the employee's route home" is probably going to mean a detour below some limit that Walmart decides. Also, it only takes 30 seconds to deliver a package if it's small and you know exactly what house it's meant for, both of which are unlikely to be true in the real world. It regularly takes more than 30 seconds just to hunt for an unfamiliar house number.
Oops. Very sorry.
Can anyone actually live on $40 a day?
The last time I was interviewing was my first experience at evaluating non-public company offers. My recruiter at Docker setup a 30+ minute phone call just to explain what each of the terms meant, and helped me research and understand the offer much better.
That struck me as odd, too. A software developer complaining about being "stuck in problem solving" is like a taxi driver complaining about being stuck driving a car.
So... Will they lay off their delivery drivers?
It would be cool to see a lot of the Electron app crowd taking up ReasonML. I like BuckleScript, but I think Reason might be easier to teach to JS devs. I'd love to replace my react frontend with ReasonML.
> I imagined a lot of low income and poor people lining up for a shot they may not need, and in fact may be harmful

That's an interesting spin, which may be true of other types of injection. However for flu shots, it can save lives (the poor are particularly susceptible and potentially focal for infection clusters). In that way the financial incentive is progressive.
"Yeah, I think "a community for index fund investors" already exists, and it's the boglehead forums and wiki."

A community for index fund investors sounds oxy-moronish to me ...

What's to talk about ?
Report suggests millennials like esports as much as 'real' sports
We offer help with relocation costs to the UK, Friday afternoon L&D time, and our technologists go to worldwide tech conference on us!
Thanks. It's an interesting topic. I hope you post it on HN then.
Umm... You should understand that the use of all-caps in "COBOL", "ADD" and "GIVING" wasn't gratuitous.

Historically, programming languages (early 1950s, COBOL, FORTRAN, etc), not only had acronyms as their names (thus the names in all caps) but the keywords themselves (and thus most of the source code) was written (and supposed to be written) as all-caps: "GOTO", "IF", "THEN", "GOSUB", etc.
This thread is the first time I was ever aware that "SHA-2 512/256" was actually a unique and different algorithm. I've always thought it was just the last 256 bits of SHA-512.

Also, just looking at a reasonably recent version of Python 3.6: (dir(hashlib))

"'blake2b', 'blake2s', 'md5', 'new', 'pbkdf2_hmac', 'sha1', 'sha224', 'sha256', 'sha384', 'sha3_224', 'sha3_256', 'sha3_384', 'sha3_512', 'sha512', 'shake_128', 'shake_256']"

So - no reference to sha2_512/256 as a unique algorithm there either. Nothing in https://docs.python.org/3/library/hashlib.html either. So, the whole SHA-2 512/256 thing isn't that straightforward.

With that said, I would hope that anyone who was doing this for a real purpose would at least take 10 minutes to read the wikipedia page. And lots of useful information on crypto.stackexchange.com as well.
My read on the quote is the problem comes from the "being stuck" part, not the "problem solving" part.

For example, finding a corner case bug in a library you rely on is generally unpleasant. Sure, part of problem solving may involve either fixing it, working around it, or choosing another library. Before choosing an option, it makes sense to weigh the costs and benefits.

To make a long story short, if enough things pile up at the same time, it can feels unsatisfying because less new user-facing benefit is being created.

One solution, if it works for you, is to take a balanced view of productivity means; namely, a blend of short- and long-term value.
4D Toys: a box of four-dimensional toys
I agree, but possibly in a different way. The idea of interoception[1] (which I'm not sure how accepted it is) basically means that your feeling are just your body using a heuristic to assign a feeling to a physical state of your body (that is, there is no universal feeling for anger, just a physiological response you've trained your brain to think of as the concept of anger. Some culture's literally do not have certain feelings). Your body is changing physical states based on some subconscious reasoning (often remembered response), and your brain is then interpreting that physiological state broadly and assigning an emotion to it, and it doesn't always get it right (which is why we get angry or anxious sometimes and aren't exactly sure why).

If that theory is true (not sure, I literally just learned about it this morning[1]), your emotions do have weight in something like this, but it's filtered through multiple lossy abstractions and has a propensity for false positives. That's a much less rosy interpretation of how useful they are, and if true, means we might be far better off trying to cultivate a better understanding of the nuances that are causing those reactions and assessing them rationally (to the degree possible) than to using the lossy abstraction itself with any significant weight.

1: http://www.pc.rhul.ac.uk/sites/lab/index.php/research-themes...

2: http://www.npr.org/podcasts/510307/invisibilia
kbaker has done a good job of laying out the facts, but since he seems to lean towards the SegWit side, let me make the argument from the perspective of their opponents, the "big blockers."

Satoshi Nakamoto himself believed that bitcoin block size would have to increase rapidly, and that on-chain scaling is good enough for nearly all transactions. He wrote that blocks could scale up from the current 1MB to over 700MB as bandwidth and disks got cheaper while Bitcoin got more popular. [1] He foresaw the day when a "full node" would not be someone's laptop, but rather something the size of a data center. There would only be maybe a hundred full nodes in the world, run by universities or major bitcoin stakeholders, and everyone else would use various kinds of thin clients to interact with the network.

Gavin Andresen, the developer that Satoshi hand-picked to lead Bitcoin after his departure, shared this vision. He believed that on-chain scaling via bigger blocks is technically simpler (and simple is good!), and the resulting loss in full node count is nothing to worry about.

I'd also like to point out that one of the most modern coins, Ethereum, actually has both. They let miners vote on block size (big blocks), and they support off-chain scaling (like SegWit). They have both, and Satoshi thought Bitcoin should someday have both.

So let's get both! =)

[1] http://satoshinakamoto.me/2008/11/02/re-bitcoin-p2p-e-cash-p...
You're both assuming that this must necessarily be exploitative. It might actually be a good program for Walmart workers.
You could be totally right, but honestly this whole idea sounds like something a union would do. I don't wonder if this is to throw the employees a bone, in hopes of staving off employees trying to unionize.

My main worry is the safety. Who is controlling how many hours are worked? This may not seem safety related at first, but many state DOT's might have a problem with 8 hour shift employees then going and working 5+ more hours on the road. What is the safety oversight? For UPS, Fedex, etc, there are state guidelines about how many hours they can drive consecutively in a day, in a week, so on and so forth. Are these employees going to have to get a DOT health certification (checking vision and such)?
All currencies trade 24/7 (if they are traded).

The volatility has quite a few causes, among them:

- Other currencies are used for all sorts of things that don't involve trading them–i.e. when have you last thought about exchanging those USD in your pocket for Euro? That creates stability. Compare to bitcoin, where almost everyone owning any keeps an eye on the market and is principally willing to buy or sell when they think they see an opportunity.

- Markets for real currencies operate under government supervision and regulation, and the facts that influence their value, such as employment numbers or GDP growth, are public, and reliable. For bitcoin, some rumour from China can move the market because nobody knows which information to trust.
The OP is not suggesting a technical solution but a contractual one based upon law and trust. The hypothetical scenario is that if she pays Google then Google shows no adverts and does not log her activities for beyond the bare minimum to pay the site its share, Google does not use the logs for other purposes and deletes the logs as soon as legally possible.
I'm a fan of the idea, but unless the data is completely hidden from local management, it's difficult to imagine this not being mandatory in practice. No matter what the posters in the breakrooms say.
Or just turn off the GPS.
Because a market decided that it is valuable. Same with crypto.
I believe this is the stuff they put on the roads in PA during the winter. Other places put down sand or gravel when it snows; PA put down ash. It was gross.
As long as Walmart doesn't indirectly force people to participate, I don't see a problem.

By indirectly force, I mean, "you will effectively get fired for some BS reason like poor performance if you don't do some deliveries and take the meager compensation" type stuff.

I for one rarely go directly home after work. I have other things I like to do in the evenings before going home. I don't want work telling me I need to do otherwise.

It emphatically needs to be voluntary.
There's basically no chance I'm going to download an iOS app for this, and I'm not super sure why it isn't just a web page..

But the landing is nice! (except I really wish this was an svg https://www.stocknerd.com/assets/img/logo.png)
Anyone know what editor and theme they used in the screenshots? It looks like VS Code.
Bots will help us become better versions of ourselves
This hits it right on the head. Wal-mart has all the data and resources to analyze it for efficiency opportunities. Not only that, they also have have the marketing muscle to "brand" this program internally and make it seem appealing to their lowest wage workers.

Meanwhile, the average Wal-mart worker (many of whom are actually on food stamps and struggling to get by) has none of the resources or education or even time to properly evaluate this deal. No single mother with a high-school level education holding down 2 jobs to feed her family is going to have the time to properly discount the statistical increases to risk of injury; vehicular accidents and the subsequent insurance premium increases; the myriad of vehicle-related depreciation costs; the fuel consumption implications; the increased risk of encountering crime; etc.

Ultimately, the power and incentive structures at play here are inevitably going to lean toward exploitation in the absence of protections being built in to the program.
Also add that the largest manufacturer and user of ASICs is most likely covertly using something called AsicBoost [1], a patented [2] chip optimization for Bitcoin's proof of work. They (Jihan Wu/Bitmain/Antpool) have stated that the capability is manufactured into their chips but they are currently not using it [3] for the greater good of Bitcoin, though this would cost them millions in mining profits.

Activating Segwit as a soft fork would prevent the ability to use AsicBoost and therefore a lot of people suspect that most of this debate is actually just a delay tactic by Bitmain to maintain their mining dominance with covert AsicBoost. They likely have no intention to support Bitcoin Unlimited (they don't seem to be running the software).

Segwit recently activated on Litecoin only after the threat of a User Activated Soft Fork (much easier to execute on Litecoin). The Segwit activation threshold on Litecoin was 75% of the hashpower (compared to 95% on Bitcoin). At one point Segwit had achieved 75% of the hashpower until suddenly 3 mining pools increased their hashpower by about 300% in 1 day to block Segwit (the same day that Jihan Wu, CEO of Bitmain declared that the Litecoin miners to be shipped needed "additional firmware testing"). These pools were Antpool, LTC.top, and LTC1BTC [4], all of which controlled a much smaller fraction pre-segwit. For this reason, it's likely that Jihan Wu controls both Antpool and BTC.top and therefore about 30% of the hashpower on Bitcoin.

[1] https://cve.mitre.org/cgi-bin/cvename.cgi?name=+CVE-2017-923...
[2] https://bitcoinmagazine.com/articles/bitmain-may-be-infringi...
[3] https://blog.bitmain.com/en/tag/asicboost/
[4] https://www.litecoinpool.org/pools
To add to that, a lot of doctors at urgent care clinics (after hours, at least) are moonlighting.
I'm just stating that the real question about how good this will be or not will be what happens in practice. If not enough employees are volunteering for this, then entire program could end in failure. Will there be pressure to make this work from upper management?

The opt-in nature of this from existing employees is what makes this suspect. The question is will Walmart use their current employment relationship with these people to try and coerce them into opting in. Hiring outside help from people that Walmart has no previous relationship with doesn't raise such questions.

Walmart also doesn't have a great public image, so people are more likely to go over their actions with a fine-toothed comb.
Trump shutting DoL division investigating Google
No, fundraising for DO wasn't like I've ever seen before as the revenue growth and customer growth was straight up and to the right when I joined (~employee 15). This was for the startup I founded after I left DO: https://techcrunch.com/2017/05/24/stae-helps-cities-take-adv...
Yep, and if they happen to get in an accident on the way to a delivery, guess who pays? Not the employee's insurance, unless they have commercial coverage, and I'm guessing not Walmart.
And when it doesn't, the manager will see their bonuses going away and the workers will be labeled non-team-players, their performance reviews will be harsher and some slackers will have to go to make room for dedicated people.

Labor unions, when they work, are a beautiful thing.
The Bay Area doesn't have Walmarts? Mountain View, Santa Clara, 4 in San Jose, Milpitas, Fremont, and that's just in the South Bay.
If it really works as advertised, I'd happily purchase it right away. But I need Windows or Linux version.
This solves a slightlu different problem, but with a very interesting approach:

https://median.tech
It is VS Code. Same as the demo they posted: https://www.youtube.com/watch?v=PJRag0rYQt8.
this is just a more complex version of the issue where go can't safely do the daemonize dance for a privileged port
4D Toys: visualizing in the fourth dimension
How about Plot.ly?
What if they offered overtime to workers who wanted extra money, or offered promotions to people who work particularly hard? Would you have the same dim view of these as you do of this package delivery thing?

If they were able to cut wages in the future, surely they'd do it regardless.
How the media's weapons fetish primes us for war [video]
Who. He killed Prolog, not him killed Prolog.
How to lose weight in 30 days
Losing weight fast Losing weight fast in 30 days may or may not be possible. For starters, it depends on how much weight they have to lose. Someone who has 5 kilograms to lose is much more likely to reach the target than someone with more weight. To lose 0.5 kilograms you have to burn 3500 calories. If you are going to spend 500 more calories than what you eat every day, you will lose half a kilo per week. The best way to do this is through moderate exercise and a healthy diet. Often, eliminating junk foods, such as those high in fat and sugar, is enough to start losing weight fast... for more information:
http://www.howtoloseweightinyourfaces.com/2017/06/lose-weight-in-30-days.html
This isn't a tangent, this is the kind of incredible on-topic story that's the highlights of an HN comments section.

Have you considered writing this up as a full post somewhere?
Seems similar to what Wolfram Alpha does, but restricted to a smaller data set.
The idea isn't to borrowing against your home to invest.

Rather, the idea is that after you have your mortgage, you put your extra money towards your stock/bond investments rather than putting extra money into the mortgage to pay it off early.

This is because the interest on your mortgage is quite low compared to the long-term stock market returns (7-8% after taxes/inflation). So your dollars are more valuable there than spent paying off your mortgage.

In other words, if you take two people, each buys the same home, but one pours all their extra money into their home and the other pours it into the stock market, in 20-30 years the one who poured all the extra money into the stock market would have a much higher net worth.
Hmm. Google gets money to show you ads. Google gets money not to show you ads.

Who is winning? (Google)
Who is losing? ( everybody else, especially you)
Ask HN: When will the software be done?
How accurately are you able to predict software project completion dates and what tools or techniques do you use?
Spreadsheet comparing 98 hacker-friendly single board computers
Nested Coroutines in C#
If a test looks for the presence of something which isn't apparent, how does any subject pass?

I don't think interviewers are specifically looking for fake in preference to genuine, but they perhaps tend to be satisfied with appearance as an estimator of substance.
It's not a unique and different algorithm. It is simply a truncated SHA-2 512 hash.
It may turn out to be a competitive market, I just don't think it should be. In a truly competitive market Peter Thiel could just outbid a sick person for a particularly choice pint. In this market system whether a person gets blood or not will depend on their ability to pay for it not their need of it.