skysight-inc/HackerNews huggingface dataset:
No, a normal ship. To minimize pollution, most ports now require cargo ships to run their electrical systems off of harbor power while docked (instead of using the ship's own diesel generators).
Interesting. I did not know that. I always figured they must need to manage heat, at the bare minimum by preventing huge draw for extended periods of time. Do you know where they radiate the heat, given that most Teslas don’t (to my eyes) have visible grill vents?
> Plus most of modern JavaScript has most of the same benefits as Clojure anyway

Except for the very elegant syntax. Your Clojure code will be at least half the size of equivalent JS code, probably much less than that. And without pulling in explicit dependencies on ImmutableJS, React and others.

Projects with less code have less bugs and are more fun to think about, in general. That's something extra Clojure brings to the table.
It is, quite obviously, absolutely clear that net neutrality is better in any way imaginable. Except for a small handful of companies that happen to be well-connected to the current administrations. Ending it serves nobody but them, not even "big business" if Google, FB (and the next Google&FB) are included in it.

There are two possible interpretations why it's happening: The benevolent perspective is that the political right has enshrined the "free market" as not just a heuristic that has served us well, but as an ultimate goal of politics itself.

The less benevolent interpretation is that it is precisely the opposition from consumers and everyone with expertise that makes ending net neutrality so valuable.

Almost any connection of reality, and the power of reasoned arguments, has disappeared from US politics. As seen with the efforts to repeal ACA, there are maybe three or four Republican Senators left who can be influenced with either appeals to reason, humanity, or who simply have a constituency that forces them to do so.

You cannot change this dynamic with arguments. You need to heal the culture wars. Somehow.

Case in point: a judge, who was twice removed from the bench because he fundamentally disregarded the most basic tenets of the rule of law, such as the Supreme Court having the power to overrule other courts, was the prohibitive favourite in his Senate race. He may still win, even though it is proven almost beyond any doubt that used creep on underage girls[0].

I wish I could give similar examples for the other party. But it'd just be an excursive in false balance. However, I wouldn't rule out such behaviour by voters from the other side. It's only that until now, that party and its candidates would not have had the chuzpe to just cry "fake news" and stay in the race.

Anyway: people have become attached to their party as they do to a sports team. They self-sort into states with like-minded people. The culture wars creep into anything, so that even the sports you play or the restaurants you visit will be politically homogenous.

It is quite obvious from above what my "team" is–and I'm not even a US citizen. What I try (and failed spectacularly in this post), is to apply a certain level of intellectual rigour even to "my team's" arguments. I also go out of my way to show appreciation for any acts of reasonable behaviour by people on the political right.

Two examples that come to mind: I had tears in my eyes, and frequently mentioned, John McCain's graceful correction of a citizen at a town hall who called Obama a "muslim terrorist". I have also defended the current President's airstrike against the Syrian government after their latest use of chemical weapons.

[0]: the proof here being his own admission that he first thought his later wife was hot when he saw her perform in a school dance. She was 15 at the time, and he was 30-something.
"Slight detail here though: if you suddenly can't use your car anymore because you happened to live in an area with heavy traffic that's not great"

Right, but if you can lobby the government to extend the boundary of the zone a bit so that you live inside it, then suddenly (i) there's a reduction in traffic near you, (ii) you get the resident 90% discount on the scheme.

People who live within the zone get the traffic reduction for almost free. Everyone else pays for it directly (having to pay full price for the congestion charge) or indirectly (due to increased traffic elsewhere).
Gaussian? Risk is asymmetric, so I'm sure they use something more like an extreme value model.
Bounty0x platform redesign bounty
Perhaps they’re looking into some even superer superchargers for the tractors. It’s a shame they apparently publicly abandoned the hot-swap battery system, although I can’t imagine they’re not still working on it, especially for the tractors.
how is this made??
Getting to drive FreeSWITCH with Python's hot new features - free. Trying to market your web product on the coat tails of someone else's post on new open source software - priceless.
The FCC is required to take the ideas and issues from public comments into account. When multiple comments raise the same issues or issues that were already considered in the initial policy recommendations, the FCC can ignore these comments without issue.

Separating the comment policy from the net neutrality issue - the comment policy actually makes sense. Ideally, government officials should be acting as technocrats - considering all the arguments and choosing the best policy. A vocal minority pushing an argument that is bad should not be able to prevent or indefinitely delay sensible regulation.

While this line of reasoning is frustrating for net neutrality advocates, it's easy to see why this is sensible w.r.t say vaccines. Regardless of how many anti-vaccination comments are sent, I want officials writing regulations that reflect the best solution w.r.t the scientific facts and the ethical concerns (both around government compulsion and the ability of a parent to hurt their child through neglect), not the solution that reflects the majority opinion of the small subset of people who submitted comments.
Consider a cycle of length n. Consider two integers, i and j that have arbitrary initial values in [0, n).

We want to prove that the following loop always terminates:

while i % n != j % n:
i += 1
j += 2

If we represent this as an equation over time, where t is the number of loops, we want to prove that for some t the following is true:

(i + t) % n = (j + 2t) % n

Solving for t:

(i % n) + (t % n) = (j % n) + (2t % n)
(i % n) - (j % n) = t % n
(i - j) % n = t % n

We can generalize for arbitrary speeds of the pointers. Let's say i moves at speed x and j moves at speed y:

(i + x*t) % n = (j + y*t) % n
(i % n) + (x*t) % n = (j % n) + (y*t % n)
(i - j) % n = t*(y - x) % n

This will always have a solution if (y-x) is coprime with n.

A trivial case where it doesn't work, for example, is x=2, y=4, n=any even number. Imagine if i starts on an odd number and j starts on an even number. It's clear that i will always be odd and j will always be even. Note that y-x (2 in this case) shares a prime factor (not coprime) with all even numbers.
> The project is about ~100,000 LOC

And I'd bet money that if that same project were translated into ClojureScript, it would be less than one-third that size for the same benefits.
Show HN: Movie recommendation, Read plot before name
Facebook isn't concerned about fake news, it's concerned about bad press and possibly facing regulation. Make the bad press about Facebook fake news go away and Facebook will stop caring about fake news on their platform.

https://www.nytimes.com/2017/11/19/opinion/facebook-regulati...
Which is an issue. Disabling a $400 gimmick so that your $3000 computer is “easier to live with”.

The sad part is, I completely agree. I purchased a 15” MBP in May and I finally gave up a couple weeks ago. My wife now uses it to play the Sims, while I switched back to my Dell XPS. She doesn’t seem to mind the touch bar, so maybe it’s how I rest my hands. She hates the keyboard too, though.
Not my screengrab.

That is a post in frisson where someone is posting a pic that supposedly will generate frisson. There is clearly a campaign to post subreddit themed references to the topic.

The vote counts seem aberrant to me as well.
I have pretty much the same functionality, including the printing, plus I have a home IoT setup.

Through the MQTT app on my phone I can view and control the home heating, see the output from various sensors (like house temp and outside temp) and control some of the lights - all without having to send my data to a commercial product's cloud service to manage things.

The IoT hub is an Atom-based Mini ITX machine running Ubuntu server, Mosquitto (MQTT message broker), Node-Red (MQTT message handler) and Home Assistant to manage some of the sensors and automation (although Node-Red does most of the work). I'll probably move the whole lot to a Raspberry Pi at some time.

This setup is more of a base to exercise my electronics hobby skills than a serious attempt to automate everything - for example, the home heating IoT stuff overlays (rather than replaces) the traditional electronic timer and temperature sensors on the heating/hot water system, so if the IoT cleverness goes offline, watchdog relays will return control to the old timer/sensors.

VPN access is through a Draytek xDSL Router (2860) - they have good inbuilt VPN support.
Wouldn't this logic apply to the anti nn side as well?
The second half of (1) is mostly true IMO.

Greggs is immensely popular and does huge turnover (£835m in 2015). It is full of greasy, salty, sugary crap. Others in top 10 revenue include KFC, Dominos, Pizza Hut, Subway, Nandos (tasteless, pre-cooked chicken, overpriced, small side portions)
Start a code school for kids in your free time
Let's not pretend cryptographic signing of emails makes them immune to tampering. This makes it essentially a guarantee that they were not modified between Point A and Point B but that's about it.

I'm not saying they were or weren't modified nor am I saying it's even a good theory they were modified but we shouldn't make cryptographic signing sound more capable than it is.
I'm just constantly surprised and exhausted at the kind of pessimism and cynicism on display in any Tesla thread. Even people who have no stake in the company or its competitors feel compelled to chime in just to say "it won't work!"

I don't get it. For better or for worse, Tesla has made the idea of electric cars feasible to the mainstream.

Surely, that can't be a bad thing. Why knock down the idea so aggressively?
> Of course the SSA's bonds are assets. If you lend yourself money, you create an asset and a debt (else where does the money go?)

And when you spend the money (the asset), you're left with just debt.

> This is an extremely mild accounting practice

Spending trillions, and then still calling it an asset?

> Forced who - investors who willingly buy Treasuries, understanding full well how the dollar works?

The US government gold bonds promised to pay in gold. That's why they sold at a premium. Are you arguing that the bondholders shouldn't have trusted the government to keep its word?

> There were rather more significant victims of the Depression.

The topic is how government bonds are "the safest, most reliable investment product in the world", not who is the bigger victim.
I think most Clojure devs would definitely agree with Norvig on this one (and on most things -- Norvig does actually know what he is talking about.)

Design patterns are indeed common and necessary in some languages that are not as flexible. But few languages are as flexible as a lisp, with all the pros and cons that brings. Focusing on re-usable patterns to force on very different problem domains is counterproductive in a language that gives you much better (and more creative) ways of solving problems.
> Magic keyboard

Are keyboards a big problem on macbooks? I've never heard of anybody having any problems with the keys.

> Great first-party USB-C hubs

Or just include enough ports on the laptop itself. In my entire life I've never needed to use a hub for anything.

> More ports

Couldn't agree more. SD card slot, 3x USB-A, 2x USB-C, Displayport, headphone port, Ethernet port, sim card slot.

> Back away from the Touch Bar

Yeah the touch bar is kind of useless and fucks up the already limited keyboard. Touch screens are the way to go for the occasional touch usage.

> Nicer charger

Apple's never been great at charging. Iphones have always charged slower than every other phone on the market. Even their wired charging is slower than my 2 year old Samsung's wireless charging. So yeah, much improvement needed.
After working as a government contracting for many years I'd lean more towards gross incompetency than anything complicit. All the people in charge of critical tech in the DoD that I dealt with here placed their through nepotism and had no clue what they were doing.

Granted I'm not saying anything of this is good I just think it's far more likely that they're all idiots over there.
There are still many non 100% butter products. Here is Utterly Butterly's ingredients list:

Vegetable Oils (Rapeseed, Palm), Water, Buttermilk (10%), Modified Maize Starch, Salt, Emulsifier - E471 Sunflower Lecithin, Preservative - Potassium Sorbate, Acid - Lactic Acid, Colours - Annatto, Curcumin, Flavouring

I'm not sure what most pre-made sandwich retailers use. I would guess whatever was cheapest...
>The majority...many

Notice I never said all or even most of the emails were altered.

That some of them may have been subtly altered was one point of my argument.
The paper has already been accepted to NIPS 2017. Poster session is Tue Dec 5th 06:30 - 10:30 PM @ Pacific Ballroom #94

https://papers.nips.cc/paper/6975-dynamic-routing-between-ca...
I've known more than one developer who successfully did this in their Java job. They were not fired. Some of them ended up speaking at Clojure conferences about it.
I'm about to leave Firefox on Android behind after running it for years (and even running Nighlies/Betas), because they broke the "Share Link To Bottom" plugin and the browser is literally - no exaggeration - causing me to curse and swear every other time I open a link.

I try to stick to Firefox on my desktop and find workarounds for broken addons, but on a mobile it seems easier to switch away.
> Will there actually be a serious court case? ... In the case of repealing one of their prior rules, instead of making a rule, is there really a plausible litigable issue?

Yes - just like creating a regulation, repealing an existing regulation has to be based on a logical conclusion from factually demonstrable conditions. I found article https://www.nytimes.com/2017/11/22/opinion/courts-net-neutra... to be a good overview of this situation.
It breaks the "laws of batteries" until it doesn't.
Has everyone lost their memory retention?
Maybe everyone on HN is Software centric and hardware hobbyist. Fair enough.
Big things coming in the battery space.
https://news.utexas.edu/2017/02/28/goodenough-introduces-new...
Eh, like anything it depends on your use case.

For instance, my current use case is an STM32F, which accesses CCM in a single cycle. And intrusive linked lists are a god send for managing pools in embedded systems without traditional memory management.
Let's assume that there is an email that looks bad for the campaign.

The email was slightly altered to make it look a bit worse.

Do they admit to writing the slightly less awful email, prolonging the coverage and erasing all doubt that they wrote it?
8 Home Remedies to Naturally Lower Your Creatinine Levels（5-8）
"As an aside, one silly thing that tarnished Mozilla's brand for me was the treatment of Brendan Eich. I may not agree with his donation of money but I think impinging on his rights is a far more fundamental immorality than what he was accused of."

It wasn't about his rights as a private person. It was that he gave a non-trivial amount of financial support to a campaign to remove rights from other people, which did not seem consistent with the values of the non-profit that he wanted to publicly represent as CEO.
And here I thought ADT almost always meant "algebraic data type."

Regardless, Rich Hickey's last talk (last month at Clojure Conj) offered a counter argument, why ADTs are usually not the best way to organize software (as part of his larger discussion against static typing).
Using SSH Tunnels is not TCP over TCP.

You have a TCP connection between local app and SSH client, then a second TCP connection between SSH client and SSH server, and a third TCP connection between SSH server and remote app.

There is no TCP over TCP when you use SSH tunnels. Lost packets between SSH client and SSH server do not cause retransmits on either application side.
I'd consider myself an average JS programmer and would love to try writing web apps in Haskell. I've spent some time on Haskell books, fell in love with the type system, got a basic understanding of monads but found it difficult to "move forward".

I think the issue for me is I predominantly build web apps. Can you recommend any resources for building modern web apps in Haskell or at least fitting it into my day to day at work?
Where will you get clothing, gas, spare parts, school supplies, internet/phone connection, healthcare? There's more to self-sufficiency than eating.
@learc83
'Innocuous party planning emails morphed into Pizza Gate, which was spread in large part by Russian trolls.'

Don't want to hijack an important discussion of deliberate misrepresentation of net neutrality citizen perspectives, but I think you will find there was a massive emergency cover up over 'pizzagate'. The sudden use of the term 'fake news' everywhere in the corporate media coincided with the pizzagate revelations as i noted here previously.

https://trends.google.com/trends/explore?date=today%205-y&q=...

There is very disturbing evidence of nefarious activities that should have been formally investigated in my opinion. Ben Swann, whose career was quickly destroyed over pizzagate, discussed the tip of the iceberg here. https://youtu.be/-GZFHLAcG8A
A Primer on Algebra and Number Theory for Computer Scientists [pdf]
similar, but for postgres : https://github.com/postgraphql/postgraphql
If they don't know about how, it means it could be ongoing. But they are only informing users from 2014.

This is what happens when you use a hashing algorithm to encrypt things.
How to create charts in PolymerJS
This was also my first attempt. But I was too lazy to extract all maps that way.
Cars and certain investment products are complex, yes but that's where the similarity ends. People don't generally buy cars with the expectation of a return like is typical for investments.

The article was complaining about how complexity can impede sussing out how much risk a sufficiently informed investor might be exposed to from owning a complex security, this is a different kind of risk from not being sufficiently informed while actively using a complex product (like your car example).
Marco has an opinion on this: http://marco.org/2017/11/14/best-laptop-ever
With regards to Levi's specifically, I've found that their highest quality jeans are made in Turkey. I can't speak to any "Made in the USA" Levi's, they cost more than I've been willing to pay. Made in Mexico Levi's have, in my experience, been the next tier down, and made anywhere else tends to be lower quality fabrics and workmanship. I haven't been to an outlet, but I have landed some really good deals on quality jeans on the clearance rack at the Levi's store in King Of Prussia, knowing that their online promotions are matched in-store.

While you can't look at those tags online, the MSRP on the Levi's website is typically a decent indicator of the quality you're looking at. Jeans marked down to $49.98 from $69.50 are a cheaper grade (e.g. cardboard patch on the back instead of leather, lower quality fabric used in the pockets) than $49.98 jeans marked down from $89.50 or $128. All that said, stick to 12oz denim and higher and you're looking at diminishing returns going upward from an MSRP of $89.50. I've snagged some of the higher dollar stuff during the summer "Take 50% off sale prices" seasonal blowouts, and aside from one positive comment about a pair of Made & Crafted, no one else has ever noticed if I'm wearing a $20 pair or a $120 pair.
Gonna bet that being an hypercar they got the space for batteries by having a lower ground clearance

That said I’m still skeptical aboutthe figures given but not because of the batteries - it takes lot of engineering to keep a car togheter at those speeds: most of the components will be quite close to the limit of material science and tesla is not exactly known for its quality control pipeline.
For everyone else, I recommend https://pritunl.com or https://www.zerotier.com to get VPN access easily. Pritunl is more traditional client/server while ZeroTier creates 1 giant LAN between as many machines as you want.
Ask HN: High functioning alcoholism – anyone?
Hi,

I'm in my mid thirties, rather accomplished, with a very good job (tech) that I like, family with 2 kids etc. I drink way too much however and I fear I'm already borderline alcoholic. I've recently found this 'high functioning alcoholism' term and realized this is me. Which scares me a lot. I do know people that drink a lot in my family (I'm from eastern Europe...) and until recently I've never considered myself similar to them.
For the record, I'm drinking on average 5 evenings per week, between half and a full bottle of wine (which is not that much, certainly I got used to it, so it doesn't put me in the drunk mode neither).

I keep an 'inner scorecard' which means I evaluate myself against what I used to be, and what I think I can accomplish (did I perform / accomplish something up to my potential, or did I just did a half-ass effort). Funnily enough, I always somehow discarded alcohol as a factor, justifying it (to myself) that it's not that influencing. Which is of course false. I should add that I work in the evenings very often (I love what I do btw) and most of those time, I drink too when working.

What made me realize this problem much more efficiently was running. I started quite recently and did some tests - how I perform, with the same training scheme, with and without alcohol for a period of time. Numbers don't lie. I run much better and also feel better.

As to why I'm drinking when I'm working alone, I don't really know (other than I like the taste). Not necessarily to forget problems or something. With perspective, this amounts to huge chunks of time, which certainly impacts my work on side projects / business. Sometimes I think I drink because I'm scared to actually succeed with this side stuff, and somehow unconsciously I sabotage myself.

Are / were you in this situation ? If you managed to stop, I would appreciate the 'how'.
You can't look up and down using this technique. However, you can move the horizon line up and down. You don't recognize the difference for small angles.
$12.50 for a tech softcover is amazingly cheap! Now the difficult part is knowing what Apress books are worth buying.
My only problem with this demo is that it is almost too realistic. It makes me uncomfortable to view something like this and not be able to decide if I'm looking at a computer render or if I'm actually in an airplane flying over real terrain.
Ctrl-F "therapy" "counselling".
Nope.
Hmm.
Most people use ShapeShift for this kind of thing. You don't create an account or use any identifying information on ShapeShift.
If there should be a remote chance that Tesla is able to sell a product in 2019/2020 based on new battery technology, they must already have preproduction cells in testing right now. 2 years is very close just to put something into production. So the prototypes shown must have at least the basics sorted out alread.
Pizzagate is a crackpot conspiracy theory. A rather bad crackpot conspiracy theory.

No one takes it seriously. Even Alex Jones has retracted his Pizzagate statements.

The term fake news started being used because people were spreading fake news based on completely absurd readings of leaked emails.

The "evidence" for Pizzagate is absolutely comical.