skysight-inc/HackerNews huggingface dataset:
Idris style/semantics question: why does the last line of the first example in the article use parentheses[1] instead of another dollar sign[2]?

[1]

caesar_cipher : Int -> String -> String
caesar_cipher shift input =
let cipher = chr . (+ shift) . ord
in pack $ map cipher (unpack input)

[2]

caesar_cipher : Int -> String -> String
caesar_cipher shift input =
let cipher = chr . (+ shift) . ord
in pack $ map cipher $ unpack input

To me the second one seems more readable. Are there semantic differences? Performance differences?
OK, we've updated the title from the (slightly edited) repo description of “Examples to get started with Deep Learning without learning any of the math” to this phrase from the description.
Please see my other comment. I've worked a $3.35/hr. minimum wage food service job before and it's hell. If you took 1,000 average citizens and threw them into minimum wage food service, factory, or warehouse work, I would completely expect a good percentage of them to burn out and quit within a couple days. Unskilled jobs are just too hard and require too much effort for too little salary to make them acceptable to a lot of people. This doesn't mean they are inhumane; it means we've grown accustomed to easy, white-collar jobs and are fairly divorced from the reality of hard, physical labor these days.
It would also be illegal and terrible for their image. Imagine, for example, the shitshow that would arise if they were caught intentionally blocking calls to emergency services, among other things.
Is there any other type of solution?

If some service demands my mobile number, that is a clear signal that I should not give them my actual mobile number.
Isn't this just evidence that the old school is ripe for disruption?

If a startup like Atrium can streamline legal workflows, then new school firms don't need to bill for writing that status memo.

That should lower prices and attract more customers. Seems like a win/win.
haha. fair enough! I've been trying to keep things more general as - in my opinion - there's a shortage of content that clearly communicates the broader ideas. happy to go deeper on future interviews tho.

and if you have specific feedback my email is craig@ycombinator.com
> How many designers and engineers who have the choice between Apple, Google, Facebook, Airbnb, Uber, Lyft....or literally any other company...would choose Walmart?

Well, Walmart is quite well resourced, has a lot of talented folks, the facilities (for engineers) are enticing, they offer the opportunity to work on stuff with huge scale, and the pay is relatively comparable.

What more do you want?
I was pretty impressed how easy it is to create new custom visuals for Power BI in R.
And the ones who bought stock (including those that did so at the 85% discount) will get the value of their stock. However, shareholders aren't guaranteed any returns. If they bought their stock in 2013 they lost money. Employees who bought stock with the 85% discount won't be quite as bad off as non-employee shareholders.

Imagine suggesting that any employee who was hired when the stock price was higher than the selling price now had to pay money to those who were hired when the stock price was lower. Fortunately, employees are not held liable for the valuation of the company at which they work. If they WANT to participate in that risk and reward they can buy stock--sometimes at a discount like Whole Foods offered.
>> Implementing this in stores would be a huge ethical issue.

> Not really. It's only effective on their own wifi network. Disconnect and you're good to go.

I don't understand how this response relates. It's still a huge ethical issue even if those people who are aware of it can learn to avoid it.

> That would have serious legal implications, so I don't see it.

I'm not as optimistic. ISPs have gotten away with modifying websites in the past, not as maliciously as this. But it's a step down that path.

> Or, you know, turn off the free wifi they are giving you?

Obviously I myself am not going to use the wifi. But I don't think just telling everyone you know not to use in-store wifi is a good long-term solution.
Had problems around 10AM (East Coast Canada) for about half an hour. Videos wouldn't load or the page would load halfway
Mathematicians deliver formal proof of Kepler Conjecture
Amazon Channels now works like a TV login for HBO and Showtime’s apps
Sorry for the confusion - what did you originally think it was?
I wish the EU would come up with some law that forces all computers to be upgradeable. At least RAM, storage, and batteries should be easily exchangeable by a normal user.
My comment was more to indicate the overall state of their own network, which didn't exist at all until very recently.

Linode may be 14 years old, but they've only been running their own network for a year.
I liked when I was tasked with "real" problems, one company paid for my services as a freelancer as part of the interview, another one "hired me" for one month as a contractor and would then make me an offer by the end of this trial period.

My current company made me part of the team for three days and gave me a real task but on the NDA it states they are not allowed to use the code produced during the interview process, it was a great experience and is what made me decide to join the company.
I've worked here for a year and have never seen that. I'm sure there are a few bad managers, as there would be in any company with 350K+ employees, but Amazon really tries to take a data driven approach to employee retention. If you think they don't know this causes burnout and aren't trying to optimize for long-term employee sustainability, you're underestimating their management talent.
Why? What's your point? Just sayig you can't possibly pin the benefits on capitalism—you know very well whole foods would avoid hiring anyone if they didn't have to. That is capitalism: minimize loss of money.

Whole foods is a good employer IN SPITE of being capitalist.
defense contractors like LM also employ smart people. The difference here is how incentives are structured - "building things faster and cheaper" on a cost+ contracts would be like saying "no" to free money, and that would be a breach of fiduciary duty :)
An ad blocker will take care of that problem. Disabling media is a good first step, and you might want to disable Javascript too.
Startup School was really a great experience for us. More than anything, getting into the mindset of delivering weekly results really changed the internal team dynamic. It also forced us to be very clear about our priorities, which in turn has helped us really achieve laser focus. The results are starting show with traction on our platform.

The other thing that I really appreciated was the fact that everyone in the batch that participated in the calls was treated individually by our mentor, Gleb. Not entirely sure how he achieved this but I can definitely say that if you put the hours in, the program helped organized thoughts and streamline energy.

To close out, my mandatory plug :)

We're building the first global marketplace for the space industry: "Digi-Key for space". Our presentation page: https://www.startupschool.org/presentations/465.

If anyone is interested in NewSpace, feel free to reach out!
The legal services industry is not a free market. There, I said it. First, the value (i.e. "provide better value") is opaque. That's why the legal industry relies so much on the proxy of prestige, because it's really hard to know if you are getting good representation, and then it's even harder to know if the cost is "fair" or whatever. The pricing structure is obfuscated and hidden, comparison shopping is hindered by ethical conflicts, and the billing practices (the dreaded billable hour) are asinine. The industry relies much more on personal relationships and perceived prestige than "value for the cost." And the demand in many areas of law is inelastic, and supply is...well, it's complicated by the whole obsession with 'prestige' and student loan debt.

Basically, no, the normal rules DO NOT APPLY to the legal market. And being 'cheaper' is usually not a good thing for a lawyer when dealing with big corporate clients. Less expense translates to lower perceived prestige, something this industry is obsessed with.

And to your last suggestion, here's the problem. There leverage in the law firm model is billing more hours by more associates and staff. The way that a partner makes more money is to have more people working under him, classic pyramid structure. If you eliminate the associates, the partner makes less money. Now, you might say, why not then charge more for the partners time? Because it's way easier to charge 3x associates at a going rate than a single partner at a 2x rate. Because clients see that big scary hourly number at balk, say that some other law firm doesn't charge that much, and why are you worth that much an hour. It doesn't work, even if the same amount of work gets done at the same price. And, the only measure of "amount of work" that lawyers have is billable hours! So a client would see a higher rate for less work. They don't take kindly to it.

I'm not defending any of the above, I hope you realize. I am frustrated with the industry because there are soooo many gains to be had here. It's absolutely silly how backwards and inefficient most law firms are.
The persistence in the use of Roman currency throughout Europe after the fall of Rome, the use of various currencies in pre-Columbian America, including the continued use of same by post-Columbian Americans, as well as other commodity monies: beaver pelts, cowhides, etc. These were frequently (though not exclusively) used in frontier regions, where the notion of a government regulating trade was all but absent, or between tribes with whom there was no single overarching regulatory body or legal code.

Wampum is the source of "clams" as a synonym for money.

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

http://factcards.califa.org/mli/tannery.html

The use of cowhides as money is also discussed in Richard Henry Dana's Two Years Before the Mast, a travellogue/history of early California in the 1830s. (Also mentioned at the URL above).

http://www.worldcat.org/title/two-years-before-the-mast-a-pe...

The code of Hammurabi: "Nearly one-half of the code deals with matters of contract, establishing, for example, the wages to be paid to an ox driver or a surgeon."

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

Citing: http://www.commonlaw.com/home/legal-history-and-philosophy/c...

William Stanley Jevons wrote at length on money in the 1880s, and discusses early forms of currency, including several mentioned above: https://archive.org/stream/moneyandmechani01jevogoog#page/n4...

I'll leave you free to conduct further research on your own.
I wonder if Nest is using it with their new cam[0], as it has person alerts now (with face detection).

[0] https://nest.com/camera/meet-nest-cam-iq/
And I expect AI-empowered medical jobs to be heavily regulated, such that the extraction of personalized results will have to comply closely with formal processes and strictures, thereby slowing and complicating their adoption.

It's possible that using AI to tune therapy techniques will thrive, like pacemakers and blood glucose monitoring. But diagnosis will take considerably longer to catch on, since the responsible party for making medical decisions can't be mere software.

I work at a pharma, and from what I've seen, the use of clinical data is often complicated and unrewarding unless your question is very precise and worth the extra cost/effort that all that regulation requires. Asking or acting on more general questions like those amenable to AI would be infeasable due to all the constraints against gathering a sufficiently critical mass of general personal data.
might want to look at MS Access and or sqlite.

You can import into a table then transform/insert into another export table

https://social.msdn.microsoft.com/Forums/en-US/d5432b8e-08f6...
In Canada we had the Big Turk chocolate bar by Nestle. It was a reasonably hard/chewy turkish delight covered in chocolate. Getting one of these as a child was akin to punishment. There were also the miniatures that old folk would put out, you'd expect to find caramel or nuts in the center, but nope, just horrors. Sometime in my late 20s I tried real turkish delight and enjoyed it. Sweet, but not unnecessarily so, with some interesting flavours, especially the floral ones. On one of my last visits to Canada I picked up a Big Turk again... and loved it.
That's a perfectly reasonable question, actually. There's no reason you should have been downvoted.

Being as the whole point to echo chambers (and the key to their magical powers of endurance and efficacy) is that, by definition, those caught up in them tend not to see them as such.
Price. If you're buying a "dumb phone" you either don't care about any fancy features OR may not be able to shell out even a hundred bucks for a phone. So less radios = less chips = less cost.
I'd say that biggest advantage Power BI has is that its plugged right into the Office 365/Azure world.
Maybe because you define a competent programmer as someone who works more that 40h week?
They already have this with Amazon Lockers. I get a majority of my packages shipped to the locker that's in the grocery store next door.
Studies show that autoplaying videos will increase the amount of videos that are being played by 100%!
Ah just saw this! So

You might be assuming something about what counts as valuable business from the perspective of the firm or practitioner (or partner) -- consider that 'we have an army of associates poring over every detail with a fine-toothed comb' was instituted by those very same people in pursuit of value, defined however -- but my assumptions from 3 years ago may have since been obsoleted as well.

Btw, a clarification about the nature of the research that's being purported to be being cut down on: it's not the type which is like "hey paralegal, go on lexis and get me all the cases in this motion" Which, yes, makes sense: it frees up more and higher-value hours for more time spent on the memo, etc. It's rather purported to automate the time otherwise spent finding, say, available expertise, seemingly contrary decisions, analogous circumstances, distinguishing principles articulated (or ideally by asking the first of ^, you can locate the second, match the third, and cite the fourth) etc.

And all of which, yea the more it were to occur, would deliver more value for all involved.
Israeli Turkish Delight is great. I always wash off the starch, though.
Probably that you actually get out of Vim when you're not editing anything, so it's not running at all.
Doesn't matter if Vegas does it or not the Casino I set up on Mars will!
Mini-review: The 2017 MacBook could actually be your everyday laptop
How to forget head(GC'd) for lazy-sequences in Clojure?
> and then noticed the kids are completely overloaded

eh? of course they are overloaded. most schools have still nearly no school at the noon. school in germany is from ca. ~8-~13 on two days you also have 2 days at noon. sometimes even 3 days, but not that many hours, you NEVER actually have something like 8 hours.
of course sticking more and more (the humanity learned more over the years and history is growing) into a max of 25 hours per week is challenging.

also I know the "need more workers" problem. my company needs more people, but it's hard to find one. especially trained ones. yeah we can raise one, however even after the "ausbildung" our trainee will not be as productive as he could be. a lot of that comes from the schools you maybe get said that you need to do things, but kids these days don't care, their school life is so extremly peaceful (and a lot of them don't like it, anyway). I was a "rebel", in these years, too. but I learned my lessons that if I raise my ass that I can make more money and be happier at the end and that I don't want to be a work puppy.
but a lot of people here don't realise that in school and they never will, cause our system is extremly flawed.
even in sports, we don't get prepared for the real life. we get prepared for the tests in our school life.
You're right, I worded that wrong. I should have said "What wins security is making it easier to be secure (rather than making it harder to do insecure things). The iPhone went the second route. iOS is undeniably easy to use right out of the box, and it's also really super secure. But if you want to circumvent all of their security, it's actually pretty difficult. You have to trade a lot of things for the ability to jailbreak your phone.

Windows went the other route. If you want to install unsigned drivers, you have to reboot into a special mode, and next time you reboot you lose that privilege again. If you want to install programs, you have to click yes on the UAC pop-up. In the past, none of those roadblocks existed. Rather than making it easier to have good security, they made it harder to do things insecurely.

Microsoft purposefully put in things to make it harder to be insecure, where Apple (with the benefit of starting from scratch and not having to deal with legacy cruft) was able to make being secure easier. Most people don't have to jump through hoops to do things securely on the iPhone because it was built from the ground up to make sure everything you need to do can be done within the sandbox/walled garden.

Things like SSH keys that require you to upload a certificate to every server, that's secure but all you're doing is making it harder to do things. People are more likely to fall back to passwords, so your only option is to not let them use passwords, which is just making it harder to be insecure. RSA tokens are a middle ground, not really harder than a password but far more secure. But a fingerprint scanner built right into a button you were going to press anyway? That is making security easier. It's good (enough) security and end users don't even notice it, let alone have any opinion on it. It just works. It's that easy.
So, could you use this to solve the image recognition captcha's that ask you to select all images that contain [object]?
> It's definitely anti-competitive in spirit

Where do you draw the line with that? What if you were in a store, saw a product, and then asked the clerk 'can I use your phone I want to check the price at one of your competitors?'. Is that any different? Even if the phone line doesn't cost anything per call (it's a fixed cost let's say).

Competition, honest competition, doesn't require you to make it easy for customers to see if your pricing is fair or high or whatever. Mostly if stores don't enforce this (even with taking of pictures) it's because from a practical standpoint they can't enforce it or get employees to battle customers. Not because they don't have a right to do so.
The obvious point is that terrorism isn't something that can be eliminated. It's just like violence. The only difference between terrorism and violence is honestly a political message.

If you want to say that the state can get away with things it couldn't before because of a war on something it can't win, I'm with you. The "war on drugs" is about as useful as waiting for Godot. But make no mistake, nobody thinks its about drugs.

But overall, you seem to be taking these arguments to extremes that weren't really needed, and I'm not sure why. Nobody said anything about living in the Islamic State, and anyone who would take it that way I think has some serious thinking to do about their perspective.
Chrysler, GM, Ford, United Airlines, American Airlines, Delta, and Lockheed have all also been bailed out by the government.
And lawyers are still ethically expected (by many state bars) to measure and log hours worked, even under fixed fees. Same with contingency fees. So let's say that a client is paying a fixed fee for work, then discovers that it's now taking half the time to do the same work. They're going to demand a lowering of their fixed fee in proportion. So even under alternative fees, there's still an incentive to keep high "hours" on the bill
Isn't it because people naturally assume e-cig smokers are actually ordinary smokers trying to quit? Most e-cig smokers I know fall in this category so I view all vaping people through that lens.

And in that cotext such dismissive reaction makes sense to me.
I'm actually working on this! Would love to hear your thougts
The Optimistic Promise of Artificial Intelligence
I would say it depends on the kind of lokum you eat. Even in Turkey itself you can find different kinds of very varying quality. My idea of lokum was what I would find in shops in Istanbul; lovely, though in my opinion a bit too jelly-ish. Then some relative sent us a kind made with honey from an artisan from Eastern Turkey and fell in love with it: sweet but not overly sweet or too strong, and it would almost melt in your mouth. I don't know if it counts as "true" Turkish delight, but it really seemed something that a witch would give you to put you under her control :-). Oh, and please don't buy it at the airports: you can find some nasty gummy-bear-kind-of hardened rubber that gives lokum great disservice
US meddles in Ukraine? Last time I've checked, it wasn't US who invaded Crimea.
I don't think those are running the Calibre Content Server. I was hoping to find a live instance so that I could see what the books look like in my browser.
This is clearly going after services like shapeshift.io. If you are unaware, shapeshift lets you transact between various cryptocurrencies on an exchange. The exchange doesn't hold record of the transactions, so you could legitimately buy BTC with a coinbase account linked to your bank account, exchange it to lite coin (or any other currency to) and have it deposited in a wallet you created anonymously, then exchange it back to BTC but to yet again an anonymously created wallet. At most it nips away a couple of percent, and now your BTC cannot be traced back to you even though you bought it with a bank account linked to your name. Its the easiest laundering that has ever existed. This bill would force shapeshift IO to maintain transaction records, game over.
The author starts out by complaining that current music theory is not scientific. I completely agree. The field is astoundingly full of technical-seeming, well-accepted textbooks containing a biological "explanation" of harmony that is either totally unproven or trivially false.

But then he precedes to dive into a mountain of unsubstantiated conjecture, saying:

1. Our brains are just computers

2. Evolution motivates less computation

3. Finding the fundamental frequency of a sound is worthwhile

4. Doing that is computationally easier if all other frequencies are in harmony

5. That is what has lead to harmony giving us pleasure

(The rest is essentially fluff around this core argument)

It's a nice theory, but there's nothing to substantively back up any of these points. He comes the closest on point #4, but only by making strong assumptions about the flavor of #1. The whole thrust of his argument is just totally tangential to addressing his initial complaints about the lack of science and rigor within the subject of biological harmony.

-

One thing he does get right is avoiding most common mistake that textbooks and laymen alike think about hearing: Our ears do not perceive the waveform of sound directly (for the most part[1]). Rather, we perceive sympathy vibrations at different parts our cochlea, rather directly sending nerve signals according to the Fourier transform of the original waveform. This can be measured (scientifically)!

This Vi Hart video does a remarkably good job at giving a layman's tour of our some of the phenomena in our ears:
https://www.youtube.com/watch?v=i_0DXxNeaQ0

[1] If this were totally true, we wouldn't be able to perceive phase at all! But it is the case that these sympathy vibrations are perceived with much more sensitivity than our perception of phase, and are linked more closely to peoples' idea of harmony.
User-hostile behavior by for-profit websites is the norm; any particular offense is just the fad of the day.