skysight-inc/HackerNews huggingface dataset:
Why omit the millions of dollars spent by the corn lobby or various seeds-related lobbyists (of which Monsanto is the most well-known donor)? Or very California-specific nuts lobby, and until recently bottled water lobbying? Excluding the food groups associated with major lobbying spending might not lead to an optimal diet.
Not when you need to pay people 100k/year. They aren't staffing a 7-11.
Flight Delay Insurance by Ethereum
Not impossible, but you'd be looking for the same caliber of recruiter as you were looking for engineers. Perhaps even more rare.
I try to call it inductive programming whenever possible. Because that's what it is: a programmatic form of proof by induction.

The analogy isn't exact (e.g. it could also refer to just recursion), but it's a lot more apt than "dynamic".
Honestly I think the real problem is the scope of the tests.

The "red, green, refactor" approach is (despite conflicting ideologies) best suited to tests which express a behavior in the domain where you're trying to solve a problem.

If you write a "unit" test where the "unit" provides some expected value or outcome absent meaning in the problem domain, of course the way to make the test "pass" is to hard-code some meaningless return value.

If you write a test addressing a behavior relevant to the domain you're solving a problem for, and then create the conditions for that test to fail, you're almost certainly going to write code that is meaningful to solving that domain problem in order to make the test pass.

The fact that the examples are using Rspec, a BDD framework, but writing traditional input->output test signatures, is a huge warning sign. Those kinds of tests are useful to catch boundary condition regressions (which is to say they're not totally useless; they should be written when there is hairy implementation-specific logic that needs to be preserved). But they're not going to help you write a program to solve a problem for human beings.
TOP THINGS TO SEE IN NYC CHINATOWN
I agree that it's cultural programming, but it seems to focus on one aspect (suicide) far too much where in other contexts killing yourself is fine.

Soldier jumping on a grenade to save buddies: fine. Here the 'suicide' is accepted because there's a greater principle.

But the greater threat in a burning building is all the pain before certain death, rather than no pain before certain death. I don't even consider it suicide, just the only option to escape the pain that happens to also end in death.
Not sure why we're still discussing this book. It's old, and it's been thoroughly debunked many times. One of few ~1000 page books from which I've learned nothing.
That's not really relevant. According to the guy's own definition, Scheme is as immutable as Clojure, which is what he was specifically asking. They both have something like set!. If you want to wank off about Scheme not being 100% immutable, go right ahead, but it's clearly not what was being discussed.
Don't you have to pay annual fees?
Not my experience at all!
New Social Community and a project management website
Once tipped a guy $11 for telling me an interesting story because I mistook the $10 as a second $1. Baffles me that the US hasn't upgraded.
The clearest way to think of AI and automation is in terms of a person, or multiple people, but it can also take the form of partial people. AI is already helping middle and upper management make better decisions.

Instead of removing the need for any of them it has instead increased their productivity. That is a partial driver for the increasing wage gap between occupations, and makes complete sense from an automation as personal productivity improvements.
Thanks for the feedback. I tried adding a meta tag in the HTML header and that actually makes a lot of things look nice (large, easy to hit buttons for example) but disables pinch zoom.

Also hard to make everything fit - the UI components are all scaled up which is nice but they no longer fit.

Lots to investigate!
I worked on an HSM system (hybrid disk/tape archival) which suddenly started having lots of I/O errors writing to tape. We tried new media. We tried new drives. We double-checked cables and SFPs. No luck.

Finally we tracked down the issue: when the contents of a particular file were archived to tape, the tape drive crashed. I suspect it was a tape firmware issue, maybe to do with the native compression.

The workaround was to mark that particular file as "not to be archived" and we stopped having media and drive errors.
4 files needed including a dB if you want to show a data table in Html. Maybe 60 lines of code to complete.
URL Shortener in 43 lines of Haskell.

http://bitemyapp.com/posts/2014-08-22-url-shortener-in-haske...
> This book was more valuable when it was a tree.

'nuff said.
I'm looking to see if I can fix this now but I don't want to make risky changes while a few people are watching. Will look into it though - Cheers.!
the existence of an ulterior motive does not necessary imply a lack of genuineness.

No, but assigning an ulterior motive is disingenuous.
Control plane based on docker built-in swarm( Apache 2 license)
Ok so this looks like Fuzzy Logic? Or does the system automatically determine the low/middle/high boundaries?
20 g carbohydrate per day is a very drastic diet. That's not something the ADA can recommend to the general public. It's not fair to expect them to do so.
what? eyes?? really? aren't you confusing the deep dream work with the style transfer work? I remember the dreams thing having eyes everywhere.

Can you show me an example? I'm thinking of something like this: https://github.com/jcjohnson/neural-style though I think there was a webapp to upload your own and try it out that I couldn't find now...
That same statement is a common complaint about HN.
The "simple" radar cruise control in my 2014 Mazda 3 Astina (ex demo; MT) is an amazing experience. I'm finding it remarkably accurate, even picking up objects (motorcycles, bicycles) that they explicitly state will not be correctly registered. The simple, yet effective HUD indicates current following distance (as a side note, most drivers are way closer than 2s). Coupled with the visual AEB system, I have autonomous braking for traffic and emergencies. I still have to steer, however the lane departure system warns if I'm exiting my lane without indicating at +65km/h.

It might not be anything like Tesla autopilot, but it's still a pretty sweet taste of the future. So stands to reason more can be done with it; I wish I had the funds for a Tesla... Maybe one year :)
Pure vegan diets work for some, yet lead to feelings of constant hunger, weakness, lack of energy, sleepiness or headaches in others. As a result, people who try them frequently revert back to their old ways with vengeance when they need that extra boost of energy, and yo-yo dieting usually leads to worst outcomes than no dieting at all.

If a pure vegan diet worked for you and your gut bacteria, that's great. It's a challenge for a lot of others.
The previous Prime Minister died in 1964:

https://en.m.wikipedia.org/wiki/Hossein_Ala%27

Mossadeq became Prime Minister in 1952. So he did not become Prime Minister by assassinating the previous guy.

The predecessor of Mossadeq's predecessor was assassinated however:

https://en.m.wikipedia.org/wiki/Haj_Ali_Razmara

I have seen no evidence it was by Mossadeq. The assassin was a member of an extremist Islamic group, not Mossadeq's secular National Front. You are right as far as him being released during Mossadeq's administration but there are many possible explanations for his release other than Mossadeq playing a role in the assassination. There were many other factions and political movements at play at that time.

As far as I know Mossadeq was not an especially violent man. He had the option of putting down the protests that led to his deposition but refused to give the order.
Hear your Dnsimple Domains
Yes, this is a simple expression parser, I transpiled this tutorial to C earlier this year [0]. If by some chance you would like to build my C version, you would need two other libraries that I built too. Compilers is the most interesting CS topic for me. That and language runtimes. If I could go to grad school, that's what I would want to research.

I also emulated Python's `raw_input` function to my own C version :)

It was also a chance for me to use `setjmp` to implement exception handling in C. Take a look at this commit: https://github.com/rmccullagh/calculator/commit/6afac5e5924b...

[0] https://github.com/rmccullagh/calculator
My career has involved working at an e-healthcare startup (like 25 people), then NetSuite pre and post IPO (probably no longer a startup), then a tiny startup that folded after 6 months, then a 20 person startup, then a 60 person startup.

So 4 definitely honest-to-god startups, and one post-startup. The only one I didn't get raises and equity refreshes at was the tiny startup that folded after six months -- because it didn't exist long enough to have a compensation cycle.

I don't think this was exceptional. I very much take exception to "very few" startups doing equity refreshes, raises, etc. Some may not. Most do.
I don't know. If something is defined as "lightweight" (their word, but same point applies to "minimalist"), I should not have to blow my entire brain memory stack keeping the filesystem structure in my head just to start to examine how it's done.
I mean if you engage in agreements with unions that are fundamentally impossible for the company to meet, I wouldn't exactly call that union busting. In fact from what I remember about this bankruptcy specifically, in order to continue operations they absolutely had to negotiate a new contract with all the unions. Every union but the bakers agreed. Because the bakers walked, they had to file bankruptcy.

I feel like this is an example of the failure of unions. It also seems selfish that given that if you know bankruptcy is coming, one union would bankrupt the company when all the others were for it. If you hated the job that much, you can leave. In the end, it didn't save jobs, it didn't protect their livelihood, and I think it's quite possible that it delayed what is obvious now: automation was inevitable and layoffs were necessary. Their workforce of 8000+ is now ~1200 and only now are the becoming profitable again.
What Happened After Portugal Decriminalized All Drugs, from Weed to Heroin
Yes, that is a particularly poignant set of posts. I am still fond of dancing links to solve Sudoku, and I can't easily see how I would have found that through TDD.

And yet, among the most agreed ideas you can ever make in popular programming circles is that you are fond of TDD...
It was supposed to a unique ID for Social Security and nothing more, but then the IRS and the Army (among others) started using it, and lots of others suddenly thought it was a good idea.
I've always wondered how effective this would be in different industries. In some businesses, leadership exists to make very easily quantifiable (and perhaps therefore more automatable decisions) - answering questions like "Should we build a new factory?; What product lines should we develop?".

Where I work, in consulting, the senior leadership exists almost solely for the purpose of building relationships with customers and bringing in business - really hard for AI without a radical change in the sales model (but I can imagine a sort of Consulting-As-A-Service, given that we already bill by the hour).

I really suspect (and worry from an own-career perspective) that the first thing to be automated will be the number-crunchers surrounding senior management. I spend my time doing things like calculating the marginal effects of extra pay on employee productivity, which is hard largely because most companies have terrible data. Once companies start implementing systems that can effectively and automatically track complex metrics like this, around 80% of my role won't be needed any more, and instead of paying $250/hr for a guy to whack out some R code, companies can get the same service wrapped up in whatever future version of SAP they're using.
If this is a Unix-like environment, have you thought about running a cron job that runs your script and decides to send a message based on the results?
The whole idea of a state of nature being "nasty, brutish and short" has long been debunked by many anthropologists. The original affluence theory derived from ethnographic studies of the !kung bushmen in the 50's and 60's (the guy in the gods must be crazy) asserts that early man worked like 15-20 hrs a week.
And you're not nearly tied up enough on the credit vs debit part. The whole point of a credit report is to determine your suitability for credit, which is something that simply doesn't apply to a debit card.

A ton of people suddenly become financially irresponsible just because they get a credit card. It's a massive problem, and that's why companies want to see some history. Being responsible with a debit card where there are hard limits on how irresponsible you can be doesn't mean a whole lot for how you'll be with a credit card.
Literary Dopplegängers and interestingness
heh a decent point, but to be fair the task really isn't "make a picture in the style of <artist>" but "make a picture in the style of this one other picture". I'm not particularly convinced an otherwise naive human could separate style from motif in such a limited setting.

It mainly demonstrates that the network learns rather abstract characteristics of the original picture, to be possible to factor them out. Hardly a way to create new masterpieces, but a nice demo of computer vision advancement.
That's a much better name – I may start using that. Viva la revolucion!
Hah but what is the flip side? You can give no hours to work and be stuck in a park bench. You get more prime hours, but is your quality of life better?
Damned if they do and dead if they don't.
If (like me) you mainly wanted the conclusion, here it is:

> As this language exhibits all the design features present in the human spoken language, this indicates a high level of intelligence and consciousness in dolphins, and their language can be ostensibly considered a highly developed spoken language, akin to the human language.

And:

> The results obtained in this study suggest the existence of a similar highly developed spoken language in toothed whales (Odontoceti), based on the similarity of their acoustic signals and morphology.
How do you explain France (high-fat diet, average amount of plant consumption, lowest rates of heart disease) and Mexico (diet heavily reliant on rice, beans and other plants, yet the world leader in obesity)?
If you're using Chrome, there's a plugin called video speed controller which will let you set the speed of any embedded video.
If a caching thing doesn't understand that order of HTML attributes doesn't matter, I don't want to be using that thing.
But why?

The glory of privately held companies is that they can say "Enough. There are things more important to me than another dollar."

And when I say "they" I literally mean a small group of humans, able to project non-monetary desire onto corporate behavior. The abstraction of public ownership does away with this, leaving only "more".
Did you actually experience the "brutality of [S.A.V.A.K.]" first hand or is this something you've read?

One of my uncles, pretty high up in the Tudeh (Communist) Party, spent two tours in Shah's prisons as a political prisoner. He also spent one tour in the Ayatollahs' prisons for the same issue: being a communist. A few years ago, when he came visiting States side, I asked him about it.

What he told me was that the Shah's prisons were a joke compared to the ones run by IRI. I have fond memories of him from the late 70s as a very self confident and charming man. Per family gossip, after his release from IRI's prisons he barely said a word for 2 years and was broken.

As for "image", it may interest the younger HN reader to know that the very meme of "Shah the brutal dictator" started in the early 70s in the West, with the (finally) now fully established role played by "human rights" organizations that are fronts for Western intelligence services.

Yes, SAVAK is a dark stain, having been trained by FBI and MOSSAD contrary to long standing Iranian mores and standards of conduct.

But I can point you to youtube videos of public trials of political prisoners during the Shah's regime and challenge you to produce ONE for the multitude of ("brutalized") political prisoners now held in Guantanemo and other undisclosed locations.
Would it be fair to say that you feel the company should have continued to pay low-skill workers for jobs that didn't need to be done because that would be better for the people?
Now that the cold war is over, it seems that everyone is working to make people click on ads. I'm not sure it's much of an improvement.
very very highly recomended. Once you can understand the basis of this concept you open your mind to a whole new area of math and things like the finite element method for PDE's and wavelet transforms follow much more naturally.
The config files for each distro seem to hardcode a mirror for each. Wouldn't it be better to have mirror configuration independent of distro configuration?

Edit: discussed in https://github.com/kimchi-project/kimchi/issues/611
Your point isn't without merit. It's also important to remember that it's usually only under great pressure (like successive bankruptcies) that creative solutions like this level of automation can occur. More so in a stale industry like baking.

Re your better way to handle the situ: if a business can operate with larger fixed upfront cost but significantly less operational labor cost, why would you not take this route?

Probabilistic thinking would have you believe the union would not negotiate anywhere near the labor cuts Hostess was able to accomplish with the bankruptcies.

I'm not talking bonuses and profits, their decisions look like sound decisions, albeit sterile and perhaps insensitive.
Men commit more crimes than women. Do you think we should eliminate freedom of movement for men? "Import replacement populations" of women to drive them out?

The reasons people commit crimes are complex. Visible attributes like skin color or gender do not cause people to commit crime, and using statistics to argue this is incorrect and racist.
"As to a better way to handle the situation; how about negotiate with the union in good faith"

The Teamster's union (not exactly noted for being pushovers in negotiation) audited the books and agreed that there was no more money to be had.

The baker's union disagreed.

The baker's union is the one that was negotiating in bad faith (or perhaps "stupid faith" would be a better term).

"given that the company came back"

No, the company did not "come back". The brands were sold off and the stockholders of the original company lost their money. This is a new company that purchased the right to use the brands in the bankruptcy sale.
Your premise is incorrect. Before bankruptcy, Hostess's CEO made maybe 50-75x what a worker made, but for every C-suite exec there were thousands of line employees. Cutting workers and the wages of workers is where the money is at.
Seems 'minimal' and 'modern' are just marketing terms these days.

Honestly though, this is the largest and most complex URL shortner that I can ever recall seeing.
You can choose to believe that narrative, but I think that's what the Hostess executives fed to the media. I believe they deliberately negotiated in bad faith with the goal of declaring bankruptcy and restructuring.

Some layoffs may have been necessary, but given how much profit they are making now I'm not sure I believe that all 6800 were. Plus, we aren't given details about how were these layoffs distributed? Were they all at the labor level or was anyone from corporate laid off? Did any executives take pay cuts? Are they all getting bonuses now? How much do they stand to profit from the upcoming public offering?

My point being; the media was fed a narrative about the union being unreasonable and the bankruptcy and layoffs being "unavoidable" and they eat it up uncritically, and then the public does too. I don't think it's that simple.

Unions are human institutions and like any human institution they can have issues, but they have served an important purpose in this country in creating the middle class. It is no coincidence that over the last 40 years unions have been systematically undermined, busted and halted everywhere and at the same time middle class wages have stagnated, with benefits that could have been expected at a middle class job in the 60s now being basically unheard of at a middle class job today.
It's weird how he talks about glass blocks like they are an endangered species. You can go on alibaba right now and get literal tons delivered to your port of call for approximately $1 per brick, in an incredible quantity of styles and colors. Have they fallen out of fashion? Sure, but buying your own wall of bricks will do nothing to stop that particular trend. On the other hand, perhaps writing an article about it in the NYT will.
You claimed the company was run into the ground on purpose to void the union contract/s so they could fire the workers.

1) You'd have to prove such a dramatic claim. I don't see where you've presented a single shred of evidence. Given the size of the claim, to then not back it up with any proof, more than throws the credibility of the claim into question.

2) You're simultaneously claiming the company was fine as it was (and or at worst needed a mild adjustment perhaps), and that it didn't need to so significantly restructure its labor costs. You also didn't provide any proof of that claim either. How do you know the company could continue to operate with seven times as many employees as it has now? What financial statements is that claim based on?

3) If it was run into the ground on purpose, and that somehow violated the agreements they had with the unions, then there would be a very large recourse for the unions. That clearly wasn't the case given the outcome so far. They clearly found no more evidence for that premise that what you have, which is to say: none. How is it you're in a position to know so much more than what the unions have been able to prove?

4) What makes the workers entitled to anything beyond the contracts they signed via the unions? The workers aren't going to keep going in to work if they don't get paid. Why should the owners keep operating a business if it's in an impaired condition and is going bankrupt?

5) Your premise is that the former owners intentionally ran the company into bankruptcy, so they could sell it for $410 million, all so that somebody else could get vastly richer by rebooting it over just a few years to be worth $2.3 billion. That's wildly illogical. It blows a hole in your theory a mile wide.

You may think my question was a straw-man - it was intentionally leading actually, to set-up these following points. You proclaimed a dramatic and empty theory with nothing backing it up.
No that wouldn't be fair to say at all. Please re-read my comments. I don't think you could come to that conclusion if you read them fairly.
I obviously understand the nuanced issue regarding the fact that he technically took his own life.

But given that is death was absolutely imminent within a few minutes, I really don't think this is a case of 'suicide' in any of the remotely classical scenarios.

It's not 'suicide' in any reasonable sense of the term.
Do you mean those strange cryptic characters at the end of the paragraphs?

That is not a lot like reveal codes, or like a markup language. Though I agree they are handy.
"TinyOS". It's on Github.