skysight-inc/HackerNews huggingface dataset:
Why are you talking about download time?

By slower I don't mean that they take a long time to download, but that they run slowly, i.e. the performance is bad.

"100x slower" was a figure of speech. I know Atom is not 100 times slower (although sometimes it feels like it) ;-)

As for "Why would you pick harder development over practically no gain?", I think it's pretty clear: for those who know web technologies, using Electron to develop a desktop app makes for much easier development. That's what they gain from using it: being able to develop a desktop app versus not being able to.
> Throw some blocks together and look, the cat is doing things.

I don't know much about psychology, but I suspect a kid below a certain age is much less interested in how a cat does something than with the cat actually doing it. If they're interested, they'll naturally reach the limit of their tools, and learn about the cat's internals.

From an HN thread today on combinatorics:

list(itertools.permutations('abc'))

I don't want to have to know how that works merely to use it, and if knowing the implementation was required to use it, it would slow down my progress. If I was eight, it might slow down my interest.

Taken back to an extreme, a baby on your lap would not be interested if your finger pointed to the word 'cat' on a line of text in a book and said "cat!". But they would be interested if you pointed to a picture of a cat.

Whatever's appropriate for an age, and for an individual, is probably best.
Anyone recommend a good pop-sci book on deep hole boring? Seems like it could be an interesting light engineering read.
It breaks CAN-SPAM because there is no unsubscribe link, on reply "unsubscribe" the system does not remove the user. Email is not transactional, last time I logged into Etsy was years ago.

This is just a terrible way to introduce yourself. They clearly were aware of the law because they include their address(es) in the footer. An honest mistake would have been if the footer was missing. But the footer is clearly there.
fitbit is so hard to use, so inaccurate, which i bought one and throwed one week after. I dont trust any products made by fitbit
Iceland has discussed building a ~7TW (I think?) cable to transmit power to the UK.

At least in Reykjavik, hot water is piped directly into homes and used for heating (radiators) as well as hot water (with attendant sulfur smell). My host there told me "my wife doesn't like the smell so, we use heated cold water instead". I had to think for a few seconds to parse the phrase "heated cold water". Oh, right, that's what I call "hot water" :)

It's so abundant, they don't mind the waste. Just leave the windows above the radiator open, the radiator keeps the room warm, you get fresh outside air inside, and the convective flow keeps the air moving. That chilled water is sent back to the geothermal plant and pumped back into the ground to replace the water taken out. IIRC there are definitely been geological issues (earthquakes) as a result of this whole process.
Lithium is one of the most prevalent elements on earth. Spodumene (rocky lithium ore) is likely to be a very important economic source in the future as it is much more common than the brine currently used to manufacture batteries. Brine requires a water pump to extract, spodumene requires mining like any normal mineral. Spodumene is also found in extremely high quality deposits in the US, including single crystals up to 47 feet across. It produces higher quality lithium than brine sources.

Spodumene is found in and with granite and quartz. Granite and quartz make up 75% of the earth's crust. I don't know how much by weight is spodumene but it's certainly extremely common- much more so than any common metals.

Spodumene is ~6-7% lithium by mass and is mined in an open pit, so no worries about soil or water pollution. It's separated from other rocks by grinding, flotation, and then acid. Very few people like acid in their industrial processes but I will note that lithium production uses way less hydroflouric acid than oil refining. The final stage uses sulfuric acid and while again acid is never good, sulfuric acid is one of the most-used and most-produced chemicals. Most minerals require sulfuric acid for extraction. It comes in a bottle of drain cleaner. Mining lithium rock is as economically painless as buying blasting powder and excavators, and as environmentally painless as... well nothing. The pollution is basically negligible.
If you're a member of Etsy, then you have an ongoing commercial relationship with the site and this is an update on that relationship.

People also generally interpret "deliver goods or services as part of a transaction" pretty broadly especially if the user agreed to receive emails from you when they signed up.
Everything You Need to Know About Custom Mechanical Keyboards
>Fortran offers nothing that C++, C, Rust, Julia, and Python have that can't be achieved using the respective language.

We are currently preparing to develop and program new classes of algorithms (statistics) for use with (upcomming) Intel MIC processors. I recently succeded with implementing a customized synchronisation procedure based on atomics using Fortran 2008 coarrays. (In my opinion, customized synchronisation procedures allow to enter a new level in parallel programming). To make efficient and safe use of atomics, it was required to make use of several Fortran specific programming techniques, and tricks, that are all together hardly available in any of the other programming languages, at least not easily. (To be honest, Intel ifort does currently not support all of them neither -possibly a bug, I did request on this recently-). Also, to achieve our goal: C++ is too much OOP (runtime polymorphism) whereas C has too less support for objects to allow for highly efficient parallel programming (that's just my personal opinion).
See https://codedigs.com/
I just want to say that this is probably the best online discussion I have ever seen. Scott and Giulio respond to each other in clear, well thought out, detailed posts. Christof Koch and David Chalmers chime in in the comments section of Scotts blog, and all of the commenters there really try to contribute something substantive to the discussion.

I'm super impressed, as in, the internet is actually better than I thought! ;) I would really recommend to anyone interested in that discussion to take the 3-4 h it takes to read through it all.
My thoughts exactly. Wait until someone adds a '__call__', '__iter__', '__del__' key...
I'm curious if anyone would actually be interested in 1/8 scale:

- plywood

- 2x4s and 1x3s

- currogated metal

- PVC Piping

- roofing material

- garage door & track

I am thinking about biting the bullet and buying materials and milling my own as well as experimenting pouring concrete in small amounts and maybe making a drywall type material. Idk if other people would even want this, or similar stuff; but it's like $100 for some lousy balsa wood stuff and for that money; I'd rather cut and mill wood myself w/ calipers for proper scale

Edit: I also mean a bulk set to actually make something large. The bulk orders I have seen of full sized material go to a job site are for example; 2x4s arriving as a pallet of 104 pieces of lumber (stack of like 13 8 beams high) which could lay a lot of 16" on center walls. Each piece at AC Moore/hobby lobby is at best about 0.50 so just that is like 50 bucks!
OSGi is probably the worst designed piece of technology I've ever dealt with.

If all you want is basic plugins it is horrifically complex, obtuse and unwieldy. Which is why very few people can be bothered dealing with it and just stick with Service Loaders.
Nice, I will definitely try it out!
Yes, AMT is for remote management. Management Engine, the platform on which AMT is an application, hosts other applications, including at least one for DRM.
I see the value in the latter for code legibility. My gripe with it is, when I'm new to a project that uses a dict implementation like that: how do I know what happens if for example `that` is missing? Does it raise AttributeError, KeyError or just return None?

Personally I'd prefer a helper functions like

deep_get(dict_, dotted_path[, default]) -> value

You stil have to check the docs/source what exactly happens, but it is just one simple function instead of magic methods. And i can keep using plain dicts everywhere.

EDIT: To clarify a bit. An experienced Python developer should immediately recognize a call like `deep_get(value,'this.that.the_other')` as something project/framework specific and not built-in, while `value.this.that.the_other` is ambiguous.
Because you can also unsubscribe by replying "unsubscribe if there is no link. Part of CAN-SPAM.
To me this ranks pretty damn low on the list of email offenders.

It's Cinco de Mayo, someid3... Have a margarita and relax!
But could you launch it 300m away from a trebuchet?
I'm sure it was an accident. But if you have an active account on the site, I think it's reasonable to assume you have some level of relationship with the site.
Transaction would seem to imply a two way communication.

trans·ac·tion

an exchange or interaction between people.
Because "flowers" (the dense little resin-covered nuggets you buy when you buy pot) are a small part of the pot plant. The rest of it contains some THC, but is not suitable for selling to smokers. If it weren't used to make THC oil it would be thrown away.
> why the heck are we talking about JCP on HN

There was actually a lot of talk about JC Penny on HN when Ron Johnson took over
Modularisation isn't complex at all. We have had it for years with JARs. They are simple and easy to use for everyone involved.

Sure modules of this kind are a bit more complicated but they shouldn't be significantly so. Often the JCP tends to over-engineer and over-complicate.
First things off top of head: Box does recursion through lists, new dicts (and lists of dicts) added will also be dot notation without manually converting, Box can be a recursive default dict, Box will allow keys with spaces or other issues to be accessible as attributes, and can be frozen, and has YAML and JSON functions built-in.
Your idea sucks
Eeek, that should have been 14%, not 18% (sorry, my mistake!).

I'm in Australia, and the company is Wesfarmers (WES.AX), an Australian mining company that diversified into retail, bought the second-largest supermarket chain in Australia, and now 87% of their earnings comes from retail. I bought most of my shares at the very bottom when they did a capital raising at $13.50 (start of 2009). Today it pays $1.98 annual dividend per share. (Today's share price is $43.29).

I've obviously cherry-picked my best example ;) But I also got close with JB Hi-Fi (JBH.AX), bought them at $10.24 in 2012, today it pays $1.09 annual dividend per share (so yielding 10.6% on the price I bought at, and the share price today is $25.65).

I wrote more about my method in this HN comment a couple of years ago:

https://news.ycombinator.com/item?id=10904190

Basically I look for stocks that are yielding 6 - 8%, check for a pattern of steadily growing dividends, and make sure it isn't suddenly high-yield because it's about to go bankrupt or in a dying industry.

Hope that helps!
CAN-SPAM likely doesn't apply to the message in the first place, but even if it did it does not specifically require that you can unsubscribe by replying. That's just an example of one method they can provide.
ViaSat Tech Blog
That's not the point. The GP's error was calling the policy in question "socialism". It is not. Even if socialism->bad were always true, that doesn't imply the reverse, i. e. bad->socialism.

Spying on citizen has historically been used by every non-democratic regime, from the right-wing fascists to left-wing communists and west-wing Nixons.
Registering as a bone marrow donor is particularly valuable if you're mixed race. Bone marrow transplants require a very high degree of genetic similarity, so it can be very difficult to find matches for mixed race recipients.

http://content.time.com/time/health/article/0,8599,1993074,0...
I think you're correct--someone else in the comments pasted the FTC's definition of "transactional," and the transaction in question may be an already initiated commercial transaction, not an interactive transaction between two parties on email like I had thought.
How do I convince my boss to invest in marketing automation?
> It's usually better to admit what you're actually doing: Going with your gut instincts.

Not at all. If you're doing standups, try not doing them for the next month. If you're paying attention, you'll know if things got worse or better. Yes, that's anecdote rather than data. Yes, it's not statistically significant. Yes, it may be different outside your specific circumstances. But no, it's not just gut instincts - not if you're any good as a manager.
Though a stretch...announcing the leadership change could fall under:

"gives information about a change in terms or features or account balance information regarding a membership, subscription, account, loan or other ongoing commercial relationship" from https://www.ftc.gov/tips-advice/business-center/guidance/can...

But it also mixes in commercial bits, which makes it less acceptable...
I don't think I follow - why would you need to reason about your callers' internal states in order to prove properties about your own contract?
> given how off your tidal plant calculation is I wouldn't be surprised if it's way off as well.

he showed his work for his first calculation. Looked reasonable to me.
The problem is even if the interface says it's not activated, can you believe it's not activated? When you have closed source software running on a separate chip you have no control over you can never be 100% sure of what it does. Even if you trust the company completely you can't be sure there's no bugs in it. Especially if it's got a load of code your "not using" in there.
What do you typically use for enforcing a schema? I've been using Good[0], however since it is meant for general data structures, users don't get line/column printouts for invalid data.

[0] https://pypi.python.org/pypi/good/0.0.7-0
I don't have an active account. I've never bought anything on Etsy, and last time I ever used them was years ago.
This would definitely help. We all have yearly "performance reviews" with our next highest-up in command. 2 weeks beforehand they email a questionnaire (roughly 12 questions) which we are expected to at least read over, though it's preferred that we fill it out and bring it with us to the meeting so we can have a proper constructive discussion. AFAIK many things that are mentioned by multiple people are implemented in some form or other, or if not, management tells us their justification against implementation. The meeting is confidential and they remind us that any feedback that is passed on will be anonymous (though I'm guessing after mentioning 10 years in a row that we need a ping pong table, they probably know who it is).
I think he's mostly trolling Brexiters in this case :)
The author is unknown to me (and I am nobody!). FWIW, I just bought the book and quickly read through the chapter on bootstrapping. IMHO, it is really well written.
I found this story by checking Google for updates in the news... sounds like the TSA has reversed course:

http://www.bizjournals.com/kansascity/news/2017/05/05/tsa-fo...
Precisely. I believe it was on purpose.
Custom Vim Bindings in tmux 2.4
More than .15 per square mile.

According to Guns, Germs, and Steel, a population of 4,000 humans living in Tasmania were cutoff from contact with the mainland after the Bass Straight flooded 10,000 years ago.

In this extreme isolation, they regressed beyond even stone-age technology, including losing knowledge of how to catch fish or start fires.

https://books.google.com/books?id=PWnWRFEGoeUC&pg=PA312&lpg=...
Ask HN: Have you personally witnessed a machine replace a human job?
I was recently inspired by this NYT article: https://www.nytimes.com/2017/04/28/technology/meet-the-people-who-train-the-robots-to-do-their-own-jobs.html?_r=0

What are some of examples of your own experiences where you have seen AI and Automation replacing human jobs?

In my startup a big component of what we do is label recognition which is outsourced to a 3rd party Image Recognition as a Service provider. There are a team of people transcribing when the recognition has failed or been rejected, but over time as the vendor's service gets better and better we will be able to do transcription with less people.
In the golfing classes it's still a negative term, e.g. "the Sunday hackers are out tearing up the course today."
what's the problem with the slack bridging btw? the fact it needs webhooks? (a puppeted bridge is on the horizon that logs you in natively as your slack user)
Vitalik Buterin (founder of Ethereum) and his tweet about Turing completeness (now I only need to understand what a "rich statefulness" is):

https://twitter.com/VitalikButerin/status/854271590804140033
Exactly why NIST declares that sending 2FA codes over SMS is insecure and should be avoided.
Not really. A single organism (outside of the human race) cannot call the full force of an entire 'environment' against another species. And species (outside of humans) must abide by natural laws of energy transfer - for every advance there is an energetic tradeoff. The more different the organism is the easier it would be to target with drugs that only target precisely those differences. The less different, the easier our own bodies would work on it. The more lethal it was, the less it would spread. The less lethal, the more time there would be to figure it out. Without bringing to bear the force of an environmental change (shifting the equilibrium or set-point), there is very little that could be biologically catastrophic for the human race.

That is not to say that a virulent plague would not be a bad thing for a lot of individuals, if not the human species - but it'd be pretty challenging to even design worse than already exist out there - HIV, ebola, marburg or smallpox.
The idea is that this might harm YOU, not a person in Libya or a poor person in Kentucky.

If it materializes, I'm sure you'll set you priorities straight
We've seen this unsubstantiated denial before on YC, at "Why I’m dropping Rust"[1] and "Rust sucks if I fail to write X".[2] I once started going through the Rust library packages and listed uses of "unsafe". Try doing that.

The previous discussions made a few things clear:

- The big design-level problems with data structure safety are 1) partially initialized arrays, and 2) backlinks. The first is needed for growing arrays in Vec, and the second is needed for doubly-linked lists and some kinds of trees. It's very hard to handle either of those in safe Rust. A very small number of packages need unsafe code for those functions, and those should be tightly controlled.

- Foreign code remains a problem, and is inherently unsafe when calling unsafe languages. The most downloaded Rust crate is "libc". What could possibly go wrong there? Was it really a good idea to import unsafe "strcpy" into Rust?

pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char;

- There's a lot of use of "unsafe" code that's not strictly necessary.
You find unsafe code like "from_utf8_unchecked", which then turns up in the JSON decoder at (https://github.com/rust-lang-deprecated/rustc-serialize/blob...). There are no comments on the safety of that. Is there some way to create bad JSON, get bad UTF-8 into a string, and cause trouble further upstream? I don't know, but somebody "optimized" there, and created a potential problem.

I could give many more examples.

Most of these problems are fixable. They're not inherent in Rust. Fixing them is important to Rust's credibility. If Rust is going to replace C++, which it should, the holes have to be plugged.
It only takes one hole to create a security vulnerability.

Denial is not a river in Egypt.

[1] https://news.ycombinator.com/item?id=12474445
[2] https://news.ycombinator.com/item?id=13670366
I guess there's multiple approaches that depend on your goals.

The martyr approach works well if your goal is to get society to recognize an issue and fix it. It's like an extreme form of demonstrations; the entire point is to be seen and generate discontent. This discontent becomes the energy that changes the status quo.

But if you're not capable of (or uninterested in) changing the status quo, but just want to "do the right thing", then evading detection is a much better approach.
It speaks of a dysfunctional organisation IMO. Surely the CEO didn't send this out without it passing through an editing process and through some IT people (if they did then that may be worse). Why didn't they flag the issue? Are they incompetent; too afraid??

Regardless of whether there's a strict requirement to meet CAN-SPAM _all_ company emails should be following the spirit of that regulation, even those sent out in less regulated jurisdictions.
My wife's great-grandfather was in that low speed car crash that killed Patton in the German country side. He was Patton's chief of staff. I was always amazed how a warrior so great could die so unremarkably.
Go with Oracle or don't go at all. Yeah. That's community. NOT.
I am ok having to talk with people for three hours or more a day. I am ok having to coordinate and having to respect other people's needs.

I am not ok with being micromanaged on hourly basis. I am not ok when I loose all autonomy and have no responsibility. The whole 10 minutes of talk you put in is nonsense - you won't be able to split large tasks into microtasks in those 10 minuteš a day.

Last point - waterfall vs agile is false dichotomy. So is the strawman of evil badgering management who stands against pack of developers who have all awesome social skills and are natural born benevolent leaders.
Richard, we reverted this change after Qyron ran his test. Basically Melondream is failing to send an IPv6 UDP packet with an 8-byte payload. Maybe this is an Android 7.0 problem, or a problem with the interaction between golang's net package and Android. Sorry
Measles outbreak rages after anti-vaccine groups target vulnerable community
The law doesn't grant rights. It merely protects them. And the laws weren't created in a vacuum either. Laws that protect IP rights exist because we as a society believe that IP rights are something worth protecting. Yes, the laws can become divorced from what regular citizens believe they should be; the prime example here is copyright law being extended to cover a crazy amount of time. But I've never heard anyone before express the idea that someone should lose the right to control their own source code after 20 years have passed.
Feds propose heightened social media vetting of visa applicants
You hate spam and you publish your email address in a post that you submit to a high-traffic website?
Probably OK to drink if you use a gas or electric califont (zero hot water storage).
Building Unbreakable Encryption – Assumption 1: Any Encryption Can Be Broken
That's true. Ruby can often have a lot of magic that is hard to track down.

I solved this problem by using an IDE that has build-in code introspection (RubyMine), and by using tools like the Pry debugger.

Once I figured that out, the whole world of Ruby just opened up in front of me. Any time I am curious about what a method does, I just command-click it and RubyMine jumps to the original source code with documentation in the comments above it.

You can also use the method(:method_name).source_location technique with pry debugger.

But even those tricks won't get through a forest of black magic caused by an author's use of method_missing. That will require you to do some digging. Once you know how method_missing works, though, it's not too difficult.

Nowadays, good Ruby coders avoid using method_missing if at all possible.
That's only 16k per car, not outlandish considering they can sell for $80k+
The Springfield Strategy
context: https://twitter.com/broderick/status/860417948539920385