skysight-inc/HackerNews huggingface dataset:
I'm not sure - I've been writing Go for 4 years in a production setting, when we switched our API service from Python to Go at the release of Go 1.1. Since then our default language is Go, and I write Go everyday. Things like Generics I haven't been really bothered by.

But where I thought he brought up really good points are

1. nil. He's right compared to more recent languages, nil is awkward. I've been bit multiple times by the 'nil checks sometimes fail.' concept. Option/Sum types are so much cleaner, and having non-nullable types make a lot of things easier to reason about.

2. error checking. My main gripe is when you are writing a process that involves calling multiple functions that could return errors. You then need more boiler plate in order to stay sane and DRY - and I've admittedly bitten myself with the 'err' shadowing that happens sometimes.

I don't think a Maybe type would have made Go more complex, and I think it would have fit in nicely with the 'Zero Value' concept.
Futurenda: Auto Scheduler for Life
Go is what happens when you give people who have no idea about languages Google-level resources.
You're not wrong. I suppose I'd call my own statement a bit weak if this wasn't the third highly targeted policy in the past 2 months - in fact one of the few types of policies this administration has pushed all the way to action. It's possible my lens is broken, but it seems to me none of the policies considering the general populace of the middle east should be considered in isolation.
Sounds like NZ needs a destination based cash flow tax, like the idea that is floating around Congress now: https://mobile.nytimes.com/2017/01/07/upshot/the-major-poten...
I couldn't see any info about the founders or their company on the website, but it looks like the company is Tizeti Network Services, founded by Kendall Ananyi and Ifeanyi Okonkwo: https://www.tizeti.com/
r/MachineLearning discussion:

https://www.reddit.com/r/MachineLearning/comments/60hy0t/the...
You can use search (which is what I use to launch apps even on the desktop) and switch apps from a keyboard on the iPad. Could you not do it at the time you tried? Even my iPhone can do most of what I need—if only it had mouse support for Remote Desktop sessions my 7plus, at a native resolution of 1080p and with an hdmi adapter, would make a decent workstation (supported by remote Linux boxes, of course). They crippled keyboard support on it so I can't switch apps like an iPad can, but even so Search is a semi-serviceable app switcher.
Would it be possible to exploit the found bit-pattern in a "false positive" (that wasn't intentionally constructed to collide) to construct a second object with that preimage? Is a preimage attack in that situation more feasible?
From: http://science.howstuffworks.com/life/inside-the-mind/emotio...

"The phrase "having a good cry" suggests that crying can actually make you feel physically and emotionally better, which many people believe. Some scientists agree with this theory, asserting that chemicals build up in the body during times of elevated stress. These researchers believe that emotional crying is the body's way of ridding itself of these toxins and waste products.

In fact, one study collected both reflex tears and emotional tears (after peeling an onion and watching a sad movie, respectively). When scientists analyzed the content of the tears, they found each type was very different. Reflex tears are generally found to be about 98 percent water, whereas several chemicals are commonly present in emotional tears [Source: The Daily Journal. First is a protein called prolactin, which is also known to control breast milk production. Adrenocorticotropic hormones are also common and indicate high stress levels. The other chemical found in emotional tears is leucine-enkephalin, an endorphin that reduces pain and works to improve mood. Of course, many scientists point out that research in this area is very limited and should be further studied before any conclusion can be made."

Crying can, quite literally, act like a stress valve!
My personal pet peeve is when people say things like "we live in a dangerous world now". No, we don't. At least, not more dangerous than before (which is the implication). We might be breathlessly focused on some dangers, but those dangers are LESS than before, not more.

I don't want anyone to suffer, and definitely don't want anyone to die. I'm not calling for turning our backs on every idea to improve safety. Just don't apply this safety under the false premise that things are more dangerous than they were.
Piss off brown Muslim people.

Seriously. He couldn't get his ban through (twice), so now he's just going to make it as inconvenient as hell for people from those eight countries to travel to the US. It's a big 'fuck you' to Muslims.

The POTUS is a 3 year old in a man's body.
So, its critical that the border agents have power to coerce travellers into unlocking their devices. But it's also critical to ensure at least some travellers do not have all their devices?

boggle!
Maybe/Option/Result types don't work without generics, because you significantly reduce the type checking.
Is there a chance that you or somebody you know have a copy of the Buddhist Psychology by Eleanor Rosch you mentioned? It seems like the archival efforts missed this one. Thank you.
Oh no.. they've locked it to authorised users only. Anyone get a screengrab?
There are a couple things wrong with what you said, here's just a clarification after I've read the paper and some of the references a few times.

1) The cross section is given in an image in the original article, and explained in a Medium post [1]. It is Li-(fancy) glass-(Cu/C/S combination) encased in steel. I think for now, you can ignore the steel. Nothing is aqueous, as it's a solid state battery.

2) During discharge, e- leave the anode, travel through the wire and end up in the Cu/C/S cathode. This leaves a Li+ cation which then travels through the glass, (most likely) does not remain there, and deposits itself on the cathode. Hence, in the original paper [2], they see a build up of lithium on the cathode via SEM. From what I understand, the contentious part of the paper is that the researchers state that the S provides the driving force for the reaction, but then isn't reacted (the main point in [1]), hence the "perpetual motion" attack. The deposited lithium does have a sort of screening effect on the cell voltage, slowly decreasing it with discharge time. From my understanding, the battery capacity is limited by the amount of Li before it is all oxidized, and not dependent on the amount of reduction the cathode can handle, very interesting. This cross section at full discharge would be nothing-glass-Li-(Cu/C/S cathode), again encased in steel, but ignore that.

3) During recharge, the opposite happens, e- are forced back to the anode, and the preponderance of e- cause a driving force to remove the Li that has been deposited on the (Cu/C/S) and transfer it back to the metallic Li side. The key part is that the electrolyte shouldn't be holding onto any ions, if the paper description is to believed. The Medium article states that some sort of reaction may be occurring in the electrolyte, I can't really weigh on on that. Once all of the Li is back on its anode side, recharging is done.

4) It is important that the glass electrolyte is a solid, not that the cathodic atoms/ions cannot enter it. They most likely can, it would just take a recharging voltage much higher than the one they use to recharge the cell. The fact that it is a solid means that lithium dendrites (tree like growths) cannot grow during redeposition, as dendrites that span the distance between anode and cathode short circuit the battery.

Feel free to ask me any questions about it, I am not a battery person so there's a high chance I got something wrong, but I am a MSE grad student so I might be able to say something that sounds intelligent.

[1] https://medium.com/@steingart/a-potential-big-deal-in-batter...

[2] http://pubs.rsc.org/en/content/articlepdf/2017/ee/c6ee02888h
I already know a guy who's doing this. Although he chose to publish very short videos on various research (including many AI/ML), the concept and goal is more or less the same.

Two Minute Papers on YouTube:

https://www.youtube.com/user/keeroyz/videos
aalib is amazing, but you can also use fbdev, which gives you regular video playback: https://youtu.be/WgFfKpGK2Pg?t=7m
Nice tool!

> 6Mbit/s * 1.5h
9Mbit·h/s

It seems as though the "h/s" should be resolved and that the result should instead be "4.05Gb", without needing to explicitly specify that the resulting unit should be Gb:

> 6Mbit/s * 1.5h -> Gb
4.05Gb

It would also be nice if "month" and "year" were added. WolframAlpha uses "30 days 10 hours" for a month and 365 days for a year.
I recall reading that TSA has never actually stopped a real threat to a airplane. The screening is one of the least cost-effective security mechanism in use, so are we suggestion that doubling it and the costs is a reasonable way to improve detections?

A reasonable way to detect threats would be to hire more investigators and bomb dogs patrols. Both has shown to be cost-effective and to produce results, in direct contrast to the TSA screening method.
That's just not justifiable. Agree or not with the design decisions behind Go, its creators are at the far opposite end of "no idea about languages."
You are correct on the sine and cosine thing, the minus is switched. Will fix, thanks.
If you have debug symbols. Great tool, I have already used it for Android platform, and love it. But without debug symbols, you're going to have a bad time.
Nixpkgs includes support for generating Docker images: https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools

I've used it lightly and so far it has worked well.
Looks like the monthly plan is ₦1500, or $30 USD.
Golang isn't going mainstream either, and D isn't doomed to never got popular either. Let's not speak in such hyperbole. If you like language $X, use language $X and as long as you can find sufficient resources for it, don't worry about who else is using it (I personally can find sufficient resources for D).
I actually agree with your original argument, and disagree with sdf's as you interpreted it. I just interpreted sdf's argument differently. I described how I came to that conclusion in response to the comment you mentioned.

I think basically I assumed grammatical/syntactical correctness and a weird argument, and you and others assumed the reverse.

I hope sdf clarifies because I'd actually guess I'm prone to making this kind of communication error (if I'm in error, of course).
I'm convinced this ban is motivated by a protectionist desire from the US-based airlines, to dissuade business travelers from flying on Middle Eastern airlines like Emirates and Qatar, which necessarily transit through countries like the UAE.

If you're someone who flies for work, there's no way you're going to take a flight where you can't use your laptop.
You can run Windows 10 IoT Core on a Pi 3.
I can't recall where I read it, but it said that the Switch likely uses the FreeBSD networking stack running in userland. To me, this makes some sense, since if I remember correctly the 4G/5G/some-future-wireless-thing alliance uses a userland version of the FreeBSD network stack in their reference implementation.
If it lasts as long as the universe as we know it, I'm happy to call it 'perpetual'.
The Underappreciated Man Behind the “Best Graphic Ever Produced”
Wasn't Go Pike & Thompson leading development? I'm not so sure its easy to argue they entirely lack experience with languages..
Someone capable of cutting a padlock can definitely cut a cable lock, so I'm not sure who you're going to deter this way. You will, however, increase your loss if they take your gun case.

I think it's a fallacy that using a better lock makes you a bigger target. In a gym, thieves are looking for the same thing in every locker: money and jewelry. A better lock doesn't indicate that the Hope diamond is inside. It indicates that it's going to be harder to steal the $50 from the wallet inside.
interesting theory. but is keeping you from your laptop (but still allowing a smart phone) really much of a deterrent these days? most younger people are content without a laptop, using their phones quite a bit.
I still don't understand this. If a blob of C code passes a large structure by value, doesn't it go on the stack? Why would the compiler be required to pass such an object only via the registers?
I'd argue that criticizing a new President for taking bad policies even further isn't misguided.
Most of the things in this list are not specific to humans.

Interesting idea + bad research = fake news

this needs to stop so badly.
Well, now you need a Distill WYSIWYG, to make it usable (for most of the intended audience).

Hey let's be honest, most academics (that I know) still don't even use LaTeX (or refuse to do so). This is really cool, but requires way too many skills (in js/css3/html5/distill-extensions and node.js).

Personally, my team and I had really great experience with sharelatex.com, whom only I had knowledge about LaTeX. I liked that it's also opensource with a permissive license. I would rather host that on sandstorm.io the next time, or just pay for the comfort offered by overleaf.com (I've never seen such a beautiful colloborative LaTeX Editor).

• What about vendor lock-in?

• Can you export to LaTeX, Word or PDF?

• Can you selfhost it for your team or company?
Sum types aren't a "more recent" idea than Go; they've been around for about half a century. Go is just designed by/for programmers who have brain damage from writing C (in any language) for many years.
There's zero question it's intentionally narrowly targeting Islamic terrorism at best, and at worst is a staging ground for how much power of restriction they now have (or can get away with) when it comes to those sorts of things. The same way phone searches are a trial balloon that will inevitably spread to not just the general population at airports but the local / state law enforcement as well.

My point is specifically that I don't believe it'll impede freedom of movement meaningfully. People will simply pack their devices in luggage. Interestingly, it might result in fewer laptop searches at the airports (whereas they might have asked someone to open / turn on / provide a password), among that targeted population.
> "vaguely feeling a bit better in three months, maybe living an extra year or two when everything is falling apart anyway" as sufficient.

Once you are middle-aged (and even before for many people) it is much more than "vaguely feeling a bit better". Without reasonable muscle-tone and fitness your joints will ache every single day and you will begin losing mobility and getting injured more easily.

I hate exercising. I do it because it is too costly not to.
Intel edisons are not great for power constrained solutions since they either have full power or are off. Would be really nice to have the ability to scale the CPU frequency for lower power situations
Well, both Obama and Trump inherited a pretty broken TSA. That doesn't mean we shouldn't pay attention to whether the organization is improving or getting worse.

Generally I doubt that a president deserves credit, positive or negative, for changes in random agencies like the TSA. Like, does Obama really deserve bonus points for us being able to use cell phones during takeoff+landing? But you have to admit that a country-specific ban has Trump written all over it. People are rightly pointing out why it's a misguided policy.
Best of luck folks! Looks like a super cool problem to solve and work on!
Then how did they come up with Go? Alternatively, if they are knowledgeable about language design, what other good language designs have they come up with?

I am perpetually baffled by this particular defence of Go. Go has a number of real strengths, but it also has several howling, inexcusable, flaws. How can you possibly say that that this is the work of people who are expert in language design?
Looks like a bug with Cyrillic character highlighting. I'm guessing this is probably an issue with Rogue/Pygments[0][1] since I doubt Github is rolling their own syntax highlighter.

[0]: https://github.com/jneen/rouge

[1]: http://rouge.jneen.net/pastes/6nDQ
How does this theory explain the act of crying in private?

The theory explains why someone would want not to cry in front of people (loss of prestige/dominance), but not why someone would want to cry alone, in private.
The security check to get into the airport makes sense if you want to avoid terrorist attacks at the airport.
Domestication goes both ways, over time we may have developed a response to them whining.

I remember a test done where humans had to listen to dog and cat sounds and identify what the animal was communicating (to humans or other animals) and we were quite good at it.
Fractals and things by the co-creater of the mandelbulb fractal.

http://www.bugman123.com/index.html
Holy shit. 30% coverage for a city the size of Lagos is already an impressive success.
But why not just move the original check then to the edge of the airport, expanding the "safe zone".
Wow this comes with great timing!

I am a UI-developer who has been wanting to learn ML forever.
I started working on

1. fast.ai
2. think bayes
3. UW data science @ scale w/ coursera
4. udacity car nano degree

I'm going to write some articles about what I learn and hopefully move into the ML field as a data engineer in 6 months. I figure I got into my current job with a visual portfolio of nicely designed css/js demos, maybe the same thing will work for AI.
The article itself mentions thefts after the UK did this in 2006.
That's not how evolution works. If evolution builds a mechanism to make you respond to a certain stimulus in a certain way, then it's more work (and more unlikely) to then make that mechanism only act under certain circumstances. We wouldn't not cry in private unless there were additional fitness advantage to it.
I know someone in high-frequency trading who makes $150,000 and a bonus between $1m-$2m each year
Let Go be Go, let Rust be Rust, and let Haskell be Haskell. There's no need to try to make Go into Rust; we already have one of those.
Italy’s Struggling Economy Has World’s Healthiest People
...Those people who can understand the difference between a temporary stopping of visa processes and a blanket ban that extends to legal green card holders?
Trump supporters...
The second check to get into a plane is more exhaustive. They let you introduce liquids into the airport!
> Correct. Most financial reporting doesn't count GST collected as revenue.

You seem to be assuming that, if GST was zero instead of 15%, the prices consumers paid for Apple products would be 13% lower than they are now, and that despite these lower prices no additional purchases would occur. Why?
> had shedded some light

Grammar.
I can see where you are coming from. But isn't this a policy directly from the administration?

It seems they've taken a keen interest in making travel very painful for select foreigners. I don't think this is a policy from anyone other than the new government?
You may be right. But our government still pays into healthcare as much as Sweden, but then we pay out of pocket on top of it. How much marginal value is gained from the huge expense?
You may be right. But our government still pays into healthcare as much as Sweden, but they don't pay out of pocket on top of it. How much marginal value is gained from the huge expense?
> First, functional programming is particularly difficult in Go. In fact the language discourages functional programming.

Well, if I were the king of the forest, I'd move functional programming from Rust to Go. With Rust, there's a lot of this higher level stuff in a supposably lower level language that would be more at home and useful over in the two letter language.
When I was passing through Singapore once, two Americans in front of me started taking their shoes off right before the security check. The security officer gave them a weird look and said they can put it back on because he uses a scanner and doesn't need to look inside everyones shoe. Fast forward 3 years and i'm reading comments on HN about double security check not being bad heh.

Checked in bag is not free. Checked in bags also get manhandled unless you pay hefty to get the fragile tag and insurance. For someone cheap like me who carries a backpack which is free so far, the extra cost is my biggest concern. Hope something like this doesn't happen in domestic flights.

Edit: typos
Rust is really a language that pulled a lot of concepts that were done elsewhere, into a really solid nice package.

Go is unusual in the new language space in that in eschewed many of these modern techniques. Swift comes to mind as a comparison, which has many of the features that the author misses.

Personally I like the examples offset by a single other language as it's less context switching.
Leslie Lamport: Video course on TLA+
Mmm this so good
Look up Pike's resume. Look up Thompson's. Look at your own. Those guys have far more experience at designing (and even using) languages than you do.

You may not like the choices they made. Fine. But stop assuming that it was from ignorance or incompetence. It wasn't.
They had tons of experience with languages work in the 80s, which is probably why Go feels like C with its basic problems fixed.
Why is it that some languages which are lauded for their programming language design aren't used? Alternatively, if "language design" as you think of it was all that truly mattered, why isn't the programming world as you wish it would be?

(Such things were asked in the Smalltalk community for years.)
While the tech world obsesses about smart homes and living on another planet unemployment is sky-rocketing, the living standards of ordinary people are plummeting due to high rents and a significant percentage of the world's population will starve to death this year. Jeezus, the human race and its priorities. Most people I know will never own a home and are struggling to pay their rent so what is the significance of this holy grail, the smart home? The phrase "fiddling while Rome burns" comes to mind.
http://archive.is/53Cbd
Google no longer applies a demotion penalty to a site with spammy links, especially those from negative seo campaigns, but rather devalues the links. This is since the "real time" Penguin update at the end of September. You can still use disavow, but it's likely a waste of time...and if you don't know what you're doing could make things worse.
This is entirely incorrect. You may not agree with the design decisions, but to state that the creators were ignorant is unjustified.
Here we Go

We're rewarding these posts with attention. I guess on some level, these language wars are gratifying.
Dude, it's a 96 hour ban, all signs point to this being a targeted response to a specific credible threat.

Chill.
Consider that rather than "howling, inexcusable, flaws", people may have different ideas about what's really important in a programming language.
>>> "params[:sandboх] = true".decode('ascii')

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 14: ordinal not in range(128)
For b) we get the worst of both worlds. The US government pays one of the highest costs per person AND it costs the individual an exorbitant amount. Without significantly better outcomes.
Without doing any further research than what you did when you made this comment, how long do you believe this ban is for?
Right? I would highlight the negative aspects of any policy from any administration, no matter who or what is involved.

I would then make rational suggestions on how to fix it.

When an administration routinely refuses to follow logic, compromise, betterment of humanity- this law doesn't even help Americans!- then that administration earns my cynicism and disrespect.