skysight-inc/HackerNews huggingface dataset:
I think what's confusing me here is haskells type classes, which I've never found intuitive (despite having "learned" them 3 or 4 times already..). The definition of return still baffles me, in the absence of some kind of module or object on its left hand side, I can't make sense of how it "knows" how to overload. I'm probably better of learning monads in the context of a language I'm more familiar with, like ocaml.

I appreciate the effort though.
I never said PRISM was the same program that engaged in mass surveillance.

I also never mentioned Google. Your arguments keep starting off by strawmanning my own.

But sure let's talk about Google. You really think Schmidt and friends are clean on this? He is a globalist authoritarian lap dog.

https://wikileaks.org/google-is-not-what-it-seems/

And you're also fundamentally confused about something. See, the NSA does not need direct access to all of this data. They allow/encourage/force various companies to comply with certain data collection and retention practices, and tap into this data when necessary. Why? So that people like you can claim they are not directly surveying their citizens.

All of the data still exists, and is accessed when needed.

It's like if my friend spied on you and reported back to me whenever I asked, but then I come out and say, "Hey mister, I'm not spying on you. I only ask my friend about things necessary to my investigation. If you're being a good dog then this shouldn't even bother you."
Who should pay for your training?
Tesla’s big Model 3 bet rides on risky assembly line strategy
The conviction that the world, pace certain "intrinsic" limits of the information-theoretic or quantum-mechanical nature, is understandable is a singularly powerful one. It's something lots of people think they believe, but it took me (anecdotally) until I was 9 or 10 to internalise it. The belief that the X-ray vision you speak of exists is enough in many cases for one to "get" it.

I do not mean to start a tangential flamewar, but the ability to accept and be comfortable with not knowing, while at the same time believing that the unknown is not unknowable, is something a certain kind of religious worldview precludes. This is one thing which I realised quite early on that my parents didn't share my beliefs on: for them, there's some underlying agent that chooses what happens in situations that we call random or do not understand:

"I don't know why this happens, but there's no reason why we never should/it's not computable/etc."

"Ah, child, it's time to accept things as they are. When I do not understand, I say God's causing it to happen."

It's a confusing mixture of the different positions one can take on determinism coupled with a sort of complacence I find remarkable.
119 Recommended Books – Marc Andreessen
In JavaScript it depends on how it is invoked: eval(a) has access to scope variables but x=eval;x(a) does not.
Coconut Oil in Coffee and My 9 Favorite Ways How to Use It
I think that the author does get the pun; they made another of a similar calibre in the title of the post!

Their main objection to the pragma would seem to be the MONKEY-SEE-NO-EVAL name; if you don't understand the reference, say you're a non-native speaker, or just have no idea what it's referring to, all you'll see is "NO-EVAL", and then get confused why the code suddenly allows EVAL everywhere. Levity and fun is perfectly acceptable, but is it just as acceptable when the language is less obvious for it's extended developer community?
In a browser, no less.
You want a useless product that will guarantee your death because it meets the dictionary definition of insurance?

This is why the real policy issue is lack of healthcare, not lack of "health insurance", which is a fake benefit invented to maybe get you healthcare.
Not really "incorrect". Dietary cholesterol does effect cholesterol amounts in the body, in addition to other food intake, hormones etc.
Those two operations make sense to me. Type signatures and all.

Is that all that is needed for something to be a monad?
> Once I adopted the mindset of a senior high school or college student and posted accordingly, I was able to increase my karma on Reddit from 1,000 per year to 1,000 per month.

Why, though?
https://news.ycombinator.com/item?id=14182152 ;)
Yup, that's what I've been running. Really like it, especially after I made a very simple little "on off" widget to display on my tmux status line. No more forgetting I have a timer running :)
> Homebrew and SSH to my linux desktop fulfill my needs, and after 4+ years I get ~6hrs battery life.

Possibly unrelated, but did you find a way around having to install XCode before being able to install Homebrew?
> I'm very excited to see the helmet cam video of Jeff Bezos serving a customary 8-10-12-14 hour shift at the Dallas Amazon Fulfillment Center

It's not quite the same, but I do recall that in an interview on a late night show (probably Leno), Bezos referred to shipping things out of his garage when the company started. The story he told was about finally having enough profit to buy a table and save his and his co-founders' knees.
> I made it very clear I wanted to work in embedded systems and write code for microcontrollers and they asked me questions about graph theory. Algorithms are not everything, especially for a company with such diversified technology opportunities. If I'm working on search, then sure. But embedded software? Can't they take the time to focus the interview even the slightest bit?

I'm not a Googler, but from what I hear, moving between teams within Google takes less effort than most places, so that might explain why Google tends to interview for a generic "Google developer" rather than a "Embedded developer" position. Who knows, you might progress from initially working on the Google home firmware, then move on to optimizing the search client code and then possibly the search backend for Home itself.

I'm sure there are a lot of specialists at Google, but I suspect those are fewer than generalists with a solid handle on data structures and algorithms.
Gostudents: Global Golang community for students
I work for one of the big three strategy consulting firms and our values / principles are intentionally similarly contradictory. There are simply things that cannot be black and white and where it is about constantly trying to make the best out of the grey zone in between. Some of the best and deepest discussions I had with colleagues was exactely about that particular grey zone and how to find the right balance
> I never said PRISM was the same program that engaged in mass surveillance.

You started off by saying you knew about PRISM because the NSA is building a large datacenter in Utah just to hold PRISM's data.

> I also never mentioned Google.

I never claimed you did. You claimed that PRISM ingested mass wiretapping data. That data would come from Google and other Internet companies according to the documents. My point was that your belief that it is illegally gobbling up all the communications done on Google's and other Internet companies' communications products is baseless.
I did respond: I said that you are correct that ecosystems are always changing.

The question is, what do those changes mean for individual organisms? Because that's what you and I are.

Changes to the climate and ecosystem are like changes to velocity. Whether the change is good or bad for people depends on the magnitude and direction.

I do think that your focus on who is "winning" an imaginary Internet slap fight is detracting from your understanding.
Ah, I do see thesmallestcat mentioned "ex", but as the topic was you, a current employee, that seems to be an error on their part. (I don't think the topic at that point was applicants, who would not have signed an NDA at that point, and the conversation had since moved to "Googlers defending Google on HN".) Correct me if I read this wrong.

The problem is that there are likely current employees with both positive and negative feedback about the company. However, you will only hear the former, because the latter would get fired for speaking. Therefore, at the very best, we have to assume your view isn't necessarily representative of the whole.

But more than that, I don't feel Google employees have a particularly balanced view about their employer. You can see my thought on the issue here, and Frqy3's response is succinct in the issue: https://news.ycombinator.com/item?id=14159213

But moving all the way back to the top of this chain, I do see a lot of bad interview stories with Google. Whether through malice or not, there is a lot of hoops to jump through, and as thesmallestcat indicated, people who don't have an incredible amount of enthusiasm for Google are unlikely to bother to continue the process. As it stands, each time one of those "horror stories" comes out, a variety of HN members often state that they would not want to work for Google, in part because of that process.
Sure! Most of the time, it just makes it easier to parse and interpret input in a safe manner.

* Racket [0], sometimes used when you don't want to use Racket's way of designing DSLs, or if you want to interface to databases simpler.

* Scheme [1], used when designing DSLs, interacting with databases. You often see it go hand-in-hand with X-Expressions.

* Lua [2] can, but it is rarely used.

Note, the link for Lua actually lists a whole host of languages where this can be technically done, but not all are entirely safe.

I think it's uncommonality is not because of it's inconvenience or rarity, but rather the mantra of 'eval is evil' in the programming community, even when it doesn't apply.

[0] https://docs.racket-lang.org/guide/eval.html

[1] https://www.gnu.org/software/guile/manual/html_node/Environm...

[2] https://rosettacode.org/wiki/Runtime_evaluation/In_an_enviro...
Because it's cheaper and more efficient to have them onsite.
To use the Bay Area as an example, one can look at Sacramento. Plenty of Sacramento residents make that commute every day (my dad was one of them, and he was a non-tech worker), taking advantage of the dramatically lower cost of living. Parking is not a huge problem if you're taking the train from, say, Davis. Commute costs are a factor, but negligible compared to the increased property costs. Commute time is right around 1-2 hours if I correctly recall the last time I made that drive; that probably varies if you are indeed taking public transit.
The Windows Phone app allowed you to select areas to loop, would attempt a seamless loop and did stabilization. Pity Microsoft never ported it away from that platform.
In 2004, the Coca Cola Company tried to launch "Dasani", in the UK. Dasani is tap water run through a de-ionizing plant, after which flavoring is added. They were laughed out of the business.[1] Not only did Coca Cola not try again, they gave up on launching in France and Germany. Now that was a humiliation.

An even worse failure was Odwalla's "Killer Juice". Odwalla made a big deal about their juice being "natural" and not pasteurized. Then they had a contamination problem. One person died, 66 sick, sales down 90% afterwards. The company was eventually acquired by the Minute Maid unit of Coca Cola. All product is now pasteurized.

[1] http://news.bbc.co.uk/2/hi/business/3809539.stm
Libreroot wants to rejoin GNU
Perhaps I'm missing some of the context, but I don't see the problem of publishing low quality fictional literature.

In contrast to science publications, where the reader expects that some scientific quality standards have been met, I'd assume that the market demand will be enough to wipe out low-quality entertainment publications.
No, that would be stupid - but you can't use a Date for that either.
This is really great insider information, thanks for sharing!
i personally have never understood john carmack's "genius" role. smart guy for sure. but in many ways, i tend to think of a genius being without a peer in their direct domain, and for john carmack, that's simply not the case. the most prominent example is tim sweeney. it's just that he isn't as big into marketing himself as carmack is. tim sweeney has arguably outdone carmack in many ways.
Yes thanks I just deactivated unroll.me
and deleted my account, make sure you change your email password and deny them access from your email provider as well.
Commander - Receiver
Instructor - Actor

Off top of head
In the enterprise space DB2 and Oracle are the two big players. DB2 on IBM hardware. Oracle made its mark on enterprise *nix hardware, e.g. Sun, HP and even IBM - AIX systems. Recently MS SQL Server (which is derived from Sybase) on Windows servers.

In big corporations you don't get fired for buying Oracle. BTW Oracle bought Sun Microsystems because it was the most widely used hardware platform for Oracle. On that basis Oracle could be considered the king of RDBMS. But it is nothing special technically and it is very expensive to purchase and the support contracts are eye watering. Larry Ellison can afford to lavishly play at Admirals Cup on the licence income.

Several years ago a package was released that allows you to run apps that expect Oracle on Postgres.

Of course startups do not use Oracle. In fact few even use Windows. Why spend huge amounts of money when you can get better solutions for free? And there are so many good choices, including noSQL solutions.
8 brilliant GOOGLE ANALYTICS HACKS you probably haven’t thought of
Isn't that like arguing that one should code only in the form of polyglots that would run on any major programming language? The reality is that bash itself is both highly portable and already widely ported: in 2017 (or 2007) my bash script will run on essentially as many platforms as your POSIX shell script (including the aforementioned HP-UX: the last time I had access to one of those I definitely had access to a copy of bash; there was no reasonable JVM available!! but I definitely had bash).
But there is limited space in a physical newspaper. With finite space some choice has to be made as to what goes in and what doesn't. It's the same filtering that occurs with new media, except on a less personal scale and for different reasons.
The need to change whole syntax when switching from two benchmarks to three is unnecessarily tedious. Single syntax for any number of benchmarks would have worked better IMHO.
They were great games hampered by some pretty abysmal controls, dual analogue wasn't exactly commonplace at the time (hell, the dual analogue controller was released the year after TR1 came out) so there was only so much you could do with just a d-pad. The controls got noticeably more tolerable as the series went on but even then it was the same tank controls full of animation lock-in (sidestepping being the main one).
Companies of the future: No CEO, no boss, managed by blockchain
> a bunch of predator journals have emerged to lighten the purses of these poor folks

Are the poor folks not getting exactly what they paid for in this instance? They wanted to be able to hit a published papers quota to get a raise/hired/not fired/whatever and the journal provided that. I don't feel like it's warranted to treat the journals customers as victims here. Both the 'predatory' journal and the customer are just playing the same shitty game set up by silly incentives being put in place by outside forces.
Is it me or is the solution not just letting Socrates cross and throwing him into the water?
BTW here's the monkey source code I wrote when I practiced with the book https://github.com/st0012/monkey
Syntax where symbols are used in leiu of words.

For example, I have no clue what >>= and <$> mean from a glance.

I have to look it up to get Monad and Functor. Why not use the word?
It's nice, but it has its rough edges.

Just look at the longstanding HISTFILE issue. (I would link it, but GitHub doesn't have search on mobile)
"(1) Example being I was born in the USA so somehow automatically consented to the rules of the land."

Your parents consented on your behalf when you were born. Parents everywhere are entitled to make legal decisions for their offspring before the children reach the age of majority; this is what yours did for you.

When you reached the age of majority, you suddenly gained the freedom to consent on your own (by remaining) or reject the terms of living in your country of origin (by leaving).

There's no mystery about being ensnared into something you didn't ask for; your parents did so for you, following a tradition and law as universal and old as time.
Bend It Like Granny [video]
> Leaders are willing to take a 100x salary compared to their line employees because they know they can hustle hard enough to live up to the expectations.

There are several reasons for the salary differential. But, fundamentally, one issue is that some things don't scale linearly.

To use a simpler example: Richard and Maurice McDonald created a hamburger stand in 1948. They created the original recipes, came up with the original ideas, and opened the original stores. Apparently, they even started offering franchises. But their ability to grow McDonald's was limited. Ray Kroc managed to make McDonald's scale. Without the McDonald brothers, there was no restaurant to scale. Without Kroc, there was no chance that McDonalds would eventually have signs saying "billions served." What is the fairest way to allocate their rewards based on their contributions?

What about Billy Durant and Alfred Sloan ( https://steveblank.com/2009/10/01/durant-versus-sloan-part-1... )? Durant figured cars were going to be profitable. He managed to get loans to buy several car companies and called the combination General Motors. He actually created a good sized business. At some point, though, the banks lost their nerve and convinced Durant to turn over control of GM to Alfred Sloan. Sloan's book, My Years With General Motors describes his approach to R&D, accounting, marketing, and trying to organize the world's largest company in some sane way. Without Durant (and the bankers) there would be no GM. But without Sloan, GM would have never grown as large as it did. When a company gets that large and accumulates that much capital, how do you fairly divvy up the revenue? Without the people on the assembly line, there are no cars. But without the people in the board room, there's no assembly line.

I don't think Bezos is a god, or a saint, or even necessarily a good guy. But it is clear that without him, there would be no warehouses and no inventory. We live in a world where small teams of people can create hugely profitable companies. When it comes time to divvy up the revenue, how do you reflect the fact that companies don't necessarily scale linearly based on the effort and contributions of their founders and executives?
Thanks for sharing. Loving it.
I assure you, millions of people pay good money for the privilege of having their eyeballs and viewing preferences sold to advertisers. As said above - we call it cable television.

Just because you are a customer does not mean you won't be monetized.
I find it highly unlikely that human labor is necessarily required to remove the backplate of an iPhone, remove flash storage and recycle the rest. But let me know if I'm wrong - the entire example is extremely contrived in any case.
> In this case, a divide by 3 is equivalent to multiplying by 0x55555556 and then taking the top half of the output.

What the fuck. That's amazing!
Last Minute Flights from San Francisco to New Delhi
Of course, you're right. The question is, how many climate scientists do?
Coasting is putting a vehicle in neutral or low gear when coming up to a stopping point (such as lights or banked up traffic) and keeping enough distance so that you can roll up to the stopping point giving it enough time to move..So you can keep your vehicle rolling and never actually stop/burn fuel due to take off. You learn to do it if you ever drive trucks/heavy vehicles because they burn fuel like no tomorrow just to get rolling.
Dreaming Outside Our Heads
Doesn't test kitchen just call vagrant by default?
Maybe it's part of the process. It's easier and cheaper to maintain good image to get people interested in working for Google (improving workforce supply) than to optimize the interviewing part.

It's the same with manufacturing. It's better to provide 96% reliability with warranty than to struggle with providing 99.9% reliability.
I work at Amazon and that's the explanation for our table desks we all have at work (unless you request a custom desk).
This is cool! I wonder why this got no traction.

Does it autoscale? I'm looking at it 4 days post, so maybe I see it working, but it fails when traffic is at peak?
Exfiltrating data from airgapped networks through malware controlled via scanner
Maybe they saw a bunch of people with outdated skills?
Blender blades produce heat which damages nutrition in juice.
How to Start an Android/iOS App Business
Wearable recognizes different sentiments in a conversation
A Tool to Test for NSA Spyware
> Is this why Apple won't allow WebM on iOS?

No. That doesn't even make sense. WebM is a video format, it competes with h.264/h.265.

Further it's incorrect that they don't allow webm, what they don't is implement and support it — I assume because they already have hardware-accelerated codecs which they're invested in and thus have little use for webm — third-party video players can support webm just fine (VLC supports it AFAIK)

> What is this even supposed to be beyond webm/gifv anyways?

It's metadata-information on a picture, the main media is a regular photograph (in full quality) and the "live" part is surrounding information (in lower video-level quality) and really quite nice, it provides a loop of live context (the "live" video is 1.5s before and after) for the picture.

There's nothing special at the technical level, it's just a video file next to or embedded in the picture file.
“Ghost in the Shell - Remake”
Can he cite a source published in the Urology & Nephrology Open Access Journal?
Mmmm i used to own an 80, best car I've ever had. 1hz diesel is up there in the list of most reliable engines ever produced, got near half a million k's out of mine...She was barely run in.

Also super surprised Americans don't get real land cruisers(no 200 series??!?!). Do they at least get the 70 series Ute's?
“Product Identifier” Gets Your PRODUCT PUBLISHED REAL-QUICK on Walmart
World's Smallest MAME Arcade Cabinet
I lost this when I watched this 2 minute video on how to make juice:

https://www.youtube.com/watch?v=-i0UugILBJg

"Your Juicero needs to be connected to Wifi to make juice"

WTF?
That was never true AFAIK. I recall one of the core devs did a comparison of storage engines years ago and found Influx unsuitable; that work led to the current-gen storage engine.
Very understandable, type classes + inference + monads + do notation is quite a stack of unfamiliar machinery to understand all at once.

The return type is inferred, and the type is what the type class machinery is driven by. You can get some more visibility into that by playing in ghci:

return 0 :: [Int] => [0]
return 0 :: Maybe Int => Just 0

Having behaviour driven by return type takes a bit of getting used to.
Live Photos pose another problem for me – peer mockery. Here how it goes:

— Press on the pic and it moves. It's magic. It even starts half a second before the press.

— OMG it looks like journals in Harry Potter!!! Send the Gif to me!

— Nope, can't, not a Gif

— What!? Hahaha! So you neither have proper earphones nor a way to back up your Live photos!?

I bought the iPhone 7 for the secure enclave and for Tim's standoff against the FBI, and Safari's reading mode is a bonus against ads, but the social standing of owning an iPhone is not what it used to be...