skysight-inc/HackerNews huggingface dataset:
Thank you for your perspective and a diplomatic peaceful language. You're a good manager. =)

One thing I disagree on however:

> Besides: managers are optimists, and in the absence of information to the contrary we will assume everything is easy. :)

To me, that's a tongue-in-cheek internal joke that's simply not translating well to reality. Most of the times managers come off as total pessimists to me, in terms of always assuming you're over-allocating hours because you want to lie on your ass, or work on your side projects in your paid workday, or simply because you're a crappy programmer. They are under the illusion that pressure = productivity.

Most of the time it seemed like the managers don't trust programmers and try to micro-manage them. I know you'll say this means they're bad managers but the fact that statistically they are most likely the majority isn't exactly helping as well, no?
Parallelism is available to any language through fork().
I think a variety of things could be going on. Tesla does it's own research on batteries, so it very well could be making batteries that simply last longer than standard Li-ion cells. They also likely try very hard to design the battery management system such that it does not overcharge or totally discharge the batteries, which improves longevity. They also probably try really hard to keep the batteries cool. Batteries in cell phones and laptops typically die fast because people repeatedly discharge them to 5% and charge them to 100%, which puts the cells through the maximum amount of stress due to volume change. There is also poor thermal management in these devices, so the batteries are often hot when you are using your phone/laptop a lot. Lastly, you get a new phone every two years, so phone makers optimize for the highest initial capacity rather than best capacity over time.
Sensors can't be the only reason, since humans can tele-operate robots through vision alone (no tactile or force feedback) to do things that no autonomous system today can.
I actually think the Bolt is not bad looking, it's pretty good looking actually.
How about we weight people's vote by an estimate of how long they've got left to live? After all, the longer into the future you'll live, the more seriously you have to take it.
Hey, as a followup to this post, check this out:
http://nodewebapps.com/2016/12/20/create-a-web-app-with-user...

Made it especially with you in mind. And it's free.
Of the two listed: 5510 hands down.

The reason why doesn't have much to do with the specs. I've rocked Thinkpads for years, but I just can't get behind Lenovo anymore.

Anecdote time: Couple years ago (in the T410 era) I was on an IT team looking for new laptops for a small company. We got a guarantee from a Lenovo sales person and someone from their support side that we could pay for NBD repairs and they'd fix machines with Linux. When our first repair need came up, they refused to do anything until we re-installed Windows. For a bad display (it was all pink), nothing to do with Windows! We ended up keeping a spare, vanilla Windows 7 HDD around for when we needed it, but it left a bad taste.

Couple that with their more recent headlines about spyware in Windows machines, and back doors on some their mobile devices, and well... Fuck Lenovo.

My vote for Thinkpad would be fueled by nostalgia at this point. I'd give Dell the money for just trying and doing a damn fine job making Linux laptops people want to use. I've come across threads where they're supporting alt distros like Arch.
3270font: A font for the nostalgic
If someone wants to know a little calculus for a small area of engineering, do they really need to learn various manual techniques for calculating integrals? Why can't they use Mathematica? (What if they're just taking calculus as a requirement of CS or premed?) They're not planning on developing new integrations techniques. Does a pilot need to learn fluid dynamics like an airplane engineer?

Maybe educational students should only require what's actually practical. That can include things that can be solved by computers if they teach ideas that have practical value.
The idea is interesting but I think the execution needs work. It's going to be a hard sell to convince people to pay for a monthly magazine subscription.

Consider writing an ebook or self publishing a book instead. Maybe publish some hacks for free on a blog to build an audience and that you can market your book to.
HOLY SHIT I SAID I LIKED THE POST. I have talked to the author on IRC. I was just playing off of what he wrote about certain people not liking the with-chip macro. The amount of downvotes I'm getting is ridiculous.
Massively Interleaved Sprite Crunch for the C64
Speaking from experience, I've had to worry about what implementation of sort is being used in many languages, from Java to C++, even Go and Python.

There are a lot of details to get right: how are elements compared? Is the sort stable? Is it efficient for small N? Is it efficient for nearly-sorted arrays? Is it efficient when almost all the elements compare equal? Is it guaranteed O(n log n) or average? If average, is there an input that reliably triggers n^2 behavior making it a DDoS vector?

Anything is a leaky abstraction when you care enough.
That soft response should be a 429, with the client performing exponential backoff.
Binary search tree rotations are hard to implement correctly, but relatively easy to test that you have them right.

There are a lot of subtleties in any stochastic algorithm (like a skip list) that are much harder to correctly test.

While we're discussing "easy to implement" algorithms, I find Tries (aka radix trees) to be by far the easiest to implement for both ordered and unordered sets/maps. Naive implementations are very space inefficient though.
I'm happy to note that my (newly released) library lua-http covers almost all of these concerns in it's default configuration, with even cleaner semantics around the read/write timeouts.

The only thing missing is an equivalent of the "Idle" timeout mentioned in the OP: I'm curious how you think it should behave in the HTTP 1.1 pipelining case, I guess only counting the time that the connection is totally idle?
We had to implement them when I took it with Dr. Waters at least (Summer 2015). CS 1332 is a pretty good intro course.
sigh this is why I don't usually get involved in arguments about whether something is considered AI or not; it just devolves into people trying to define and redefine what the word 'AI' even means.

Final word: I follow this stuff closely and read the research articles, and what we currently have is really great, but it's still just pulling the wool over your eyes. These techniques and algorithms trick you into thinking they are intelligent when in fact they are anything but. What we have now is a parlour trick in comparison to what the brain is doing. When true AI actually comes along, no one will doubt it.
hold on.. didnt they just recently solve this mystery? i thought they found amelia's remains in a remote island and confirmed it was her and she survived for months before dying.
I seriously doubt they are losing money on each car. Someone calculated a loss per car by amortizing all the current R&D costs into some number they expect GM to sell this year. That doesn't mean parts+labor is more than the sale price. If they make and sell a 100,000 of these things in 2017, they'll make a boat load of profit, trust me.

If they didn't want it to sell, they wouldn't have given it a 60 kWh battery. A car company can get all the fleet credits they need by selling a gasser with the engine ripped out and 20 kWh of batteries shoved in the trunk. I'm getting a little sick of people not giving GM _any_ props at all for doing something pretty amazing here.
> Tesla is operated very much like a silicon valley startup. They're growing rapidly in the hope of becoming profitable when they reach scale. But they sure as heck aren't profitable right now.

They have already reached scale, and are already profitable. They're just pouring their profits back into further growth. Yes, they're spending a lot on R&D, but that's not sending money into a vacuum, that's investing in the future expansion of the company. The article you link even admits this: "Would it be fair to include the billion-plus dollars spent to bring the Model 3 to fruition in a few tens of thousands of Model X and Model S gross margins? Probably not."

Incidentally, I would take anything from Seeking Alpha with a huge grain of salt. Anyone can post an article on there, and people often try to use that site to skew investor perceptions in their own favor. In fact, the author of the very article you link openly confesses at the bottom that he "may initiate a short position in TSLA over the next 72 hours." Conflict of interest, anyone? If you want to see how profitable Tesla is, I would recommend the GAAP numbers from their last quarterly report, rather than some Seeking Alpha author's selective reinterpretation of the facts.
Go does native gzip also, and you can load assets into memory easily for instant streaming if you don't want to use the linux file buffer (which should already have a copy in memory).

If it helps anyone, I published the recommendations here plus some other resources into a simple Go package for instant A+ server report: https://github.com/Xeoncross/secureserver
I still think I have different (lighter) needs when skimming code online. I do think an IDE would be the ideal solution. What I saw the parent looking for is a middle-ground, maybe you have something like VSCode, but cull out compilation, editing, and debugging to it loads more quickly.

> That "digging" is what I am talking about.

Those are examples I gave are where I don't need to navigate the codebase. The answer is in a single file. So far I manage with the current web interfaces. Locally, I'd use grep and vi. GitHub works ok, but it's hard (but possible) to compare versions or jump between files. Using Google Code or SourceForge I have trouble finding the "Browse" button to even find the code.
It's easy to waste money with Facebook. It's also easy to make money with it when using the right process.
Craig Newmark Fdn gives Poynter $1M to fund chair in journalism ethics
How to Create Calendar Invites That Don’t Piss People Off
Indeed, most of the GoAccess docs around pipes provide examples for using them to backfill missing expected features, like filtering by date range, file/MIME type, status code, etc.
I find it confusing that something is magically introducing variable bindings. I see the convenience it adds, for sure, but my personal style would be to opt for a more verbose approach that didn't do this.
Container Runtime Interface (CRI) in Kubernetes
This is not a time in which a sane, serious person looks to Silicon Valley - or the corporate sector in general - to solve society's ills. Look instead to your fellow citizens and voters.

Can the corporate sector solve a given social problem? Perhaps. Is it a good way to get solutions you will like? Perhaps not. Is it a good general way to order society? I would suggest it is certainly not.
"Millions" is not such a big deal. 10 Million of units shipped * 30$ ~= 300 million retail.

Google makes 330 million in profit every week.
And x/sync/errgroup if you want the lovechild of context and WaitGroup
Voice is great to have conversations. To give short commands, other interfaces are good as well.

For example, I can check the weather for today on my phone with minimal fuzz, clicking 2 or 3 times and getting much richer information (a full graph with short term forecast, a few hours in advance, etc) in a single screen shot.
Another example, ordering a pizza. I prefer a GUI over calling and taking to some human. The options are clearer, and I can review easily what I'm ordering.

Not to say that it's impractical, but voice doesnt carry a lot of info for a lot of services. We'd prefer a phone call over an specific tactile interface for everything, and that's not the case...
Water Protector, Chelsea Lyons Interviews with Real Progressives NOW
Take this for what it's worth, as it was 10+ years ago but...

I used to work for Dell's AES -- American Enterprise Support -- in support of the Precision line of laptops and desktops, along with servers etc.

For the most part, Latitude and Precision laptops were exactly the same hardware. Same motherboard. Same graphics. Same CPU. Same Memory. Different emblem on out case. Heftier price tag so you had better (American) support.
>Why are people so bitter that GM is competing?

The left coast hippies want to root for their home team.
Webpack Concepts
Anecdotal example that apparently stung you too deep. Sorry for that.

You should know there are some of us who are quite disciplined and self-reevaluate fairly often. If I was on the place of your engineer I'd spend 2 weeks at most and then just think it through the weekend -- why is this taking so long? Am I overthinking the possible future plans for this feature? (Very likely.) What are the main hurdles? (I'd write them down and analyze them one by one.) What makes me think a quickly put together code isn't good enough?

It seems you had a junior developer put in a situation too big for their non-technical abilities. Again, this is nasty and I am sorry that you have been bitten by that.

But please have in mind there are many other programmers out there who can do a much better job from the organizational (non-technical) side of things.
Slack's iOS app has like two side-swiping menus essentially stacked on top of each other. One of those menus (the first one) is NEVER what I want. The whole thing is so confusing, and I have to relearn it every time I actually need it.
This is really honest and I commend you for saying it. I think too many people don't think about all of the things that are involved before jumping into starting a company. I sure didn't.

It is not as sexy as the tech blogs, gurus and mainstream media make it out to be. Bootstrapped or not. Seems like there is this uptick lately with promoting bootstrapping. Don't get me wrong, it is the way I started and grew my businesses but it is hard. It is also soul crushing when something that you invested huge amounts of your own time into and most likely your own savings fails. You can't really blame anyone else but yourself.

I always felt that those of us that go down this path are a little crazy ;)
I believe that on Unreal Engine 4, you use C++ and it does have a feature that mimics "live coding" where it recompiles and hot-reload your game even while playing.

edit: here it is https://youtu.be/MOvfn1p92_8?t=580 (jump to 9:40 if it doesn't load at this point automatically)
Sounds like you work at Xerox!
You couldn't do face or voice recognition 30 years ago with if statements.
Actually no, just the opposite.

Is the idea so difficult? Tell the execs to say something interesting and informative and unexpected. Instead of the blahblah that they think is expected of them.
I'm a massive fan of Clojure (I spoke at EuroClojure this year), and have used Unity3D for 5 years... I was also the developer of the first big iOS Haxe game, another unproven platform at the time, years ago.

I would be very concerned about straying too far from the garden path while also trying to ship a commercial game.

Unity's GC isn't even generational, a very bad mix with garbage heavy Clojure code. Expect confusing, bizarre and transient performance and memory use issues. Debugging will be a nightmare.

And on top of that, Stack Overflow doesn't have an unlimited supply of Clojure JVM answers; Clojure .Net through IL2CPP? Forget it; you'll have to figure everything out yourself.

It's generally a mistake to make the initial development more pleasant at the expense of long term maintainability; and I think that's the trade off on the table here.
That's a succinct way of putting it.
Been using a MBP for several years now, the touchpad is second to none, and the keyboard is as good as any other (prefer physical switch, or buckling spring keyboards myself). Been looking at the Razer Blade Pro, which seems to have an interesting layout.

-- edit

The Razer Blade Pro is as costly as a rMBP, but imho more worth it. Switched keyboard, big trackpad to the right, is a really nice layout. The screen, by all accounts is incredible, and the raided M.2 drives are insanely fast. Definitely outside budget, but if you keep it for 4-5 years it's possibly worth it.
> If every major language provides an O(n log n) sort function, is it still a leaky abstraction?

Yes, if the performance is still not acceptable and you look into the problem and discover that your scenario could benefit from radix sort, or one of partial sorting, or some kind of intermittent sorting, all of which would require investigating the specific case at a "white box" level, ignoring the existence of a black-box O(n-log-n) sort API call.
Is anything worse than javascript?
Oh come on, it was clearly both. Try to tell us this excerpt is not an advertisement for the facebook SDK:

> I'd learn a lot about the state of AI this year, but I didn't realize I would also learn so much about what it's like to be an engineer at Facebook. And it's impressive.

> My experience of ramping up in the Facebook codebase is probably pretty similar to what most new engineers here go through. I was consistently impressed by how well organized our code is, and how easy it was to find what you're looking for -- whether it's related to face recognition, speech recognition, the Messenger Bot Framework [messenger.com/platform] or iOS development...

The rest of that paragraph goes through all the other developer tools you can sign up for in the facebook ecosystem, including convenient links. Then it continues:

> One of our values is "move fast". That means you should be able to come here and build an app faster than you can anywhere else, including on your own. You should be able to come here and use our infra and AI tools to build things it would take you a long time to build on your own.

It was a neat project, not denying that, but there is no free lunch. The CEO of a Fortune 500 does not write up a 5-10 min read without plugging his interests.

You can enjoy what he's doing, but also recognize what it is.
I really want to love Elixir, but man, it fundamentally hasn't succeeded in producing a readable, expressive language. Look at his implementations! They're a mess of gobbledegook just like Erlang, plus a bunch of weird magic on top that's not very intuitive.

Syntax aside, the final implementation of this feels like, okay, well, you have access to an in-memory store that's outside of the GC and which works well for your use case here. I'd actually be more interested in further optimizations of the first approach, in-GC, which seem like they'd be more generalizable to other tasks.
Those env vars should only be exposed to the same user. The same user can also usually attach a debugger and read the secrets from memory. (Of course, this is harder, so you may not want secrets in env vars anyway.)

The unix permissions model is designed to isolate one user's data from another.
Here you go:

https://lists.swift.org/pipermail/swift-server-dev/
You seem to have bought into the internet myths about Lithium ion batteries. What you claim just isn't true. They do degrade over time but your figures are nuts.

My four year old rMBP has barely degraded at all and my 2.5 year old Nissan LEAF has barely degraded as well.

Try getting some more real world experience with these products before quoting a bunch of internet horseshit.
FYI I've been using proto-repl, parinfer, and lisp-paredit in Atom and like that combination. If you like paredit more you can do without parinfer all together and get the paredit experience you're used to.
So what you're saying is that they're buying a Prius with marketing?
This is excellent.

Friendly devolution of sovereignty back to the various peoples is the moral way forward.
> My wife was very sceptic about this and is certainly no tech fanatic, she now loves it because as she said she can now turn listen to radio just like in the old days when all you had to do was turn on the radio.

Oh god please. I can't understand how complicated radio is these days. Fuck me, I'm forever returning or rescanning or some bullshit just to listen to something.
I use `find` to choose specific months and pipe the log files into goaccess (if you have lots of logs, that saves time instead of piping everything). Assuming the logs are in a bunch of gzipped files:

find my_logs/ -name "*.gz" | grep '2016/10|2016/11' | xargs -I file zcat file | goaccess
There are a lot of differences; here's a couple:

A skip list node contains one key and has a random fanout; a B-tree node contains 1-N keys and has fanout equal to <number of keys> - 1.

A B-tree is guaranteed amortized log(N) lookup/insert/delete time, a skip-list has a high probability of a log(N) lookup/insert/delete time, but does not guarantee it.

The advantage of skip lists over b-trees is that they can have a smaller constant-factor, and are more cache friendly under many workloads.
As far as I can see, they're the same chassis. It seems configuration options are all that's different. Though they refer to XPS 15 as 9550, not 5510.

On the Precision 5510 site I'm able to tweak CPU options, RAM, disk. The XPS 15 site, I can only pick from stock builds (and a bunch of upsell addons).

The Precision 5510 site also has the option to pick Ubuntu and avoid the MS tax. Not so on the XPS 15 site.

I think you can look at it from a website usability mindset: XPS 15 site is simplified for consumers and Precision robust in options for business.
What's your argument for keeping it in? I mean, what specific scenario do you need to account for where this is a must have?
Why don't electric car manufacturers build in some time-dependent margin into their range estimates?

E.g. Only display a range of 350 miles at the start of a battery pack's life even if the real range is 400 miles. To the user, the batter pack performance would appear static (to some limited lifetime, anyway). At the end of life the margin would be zero, and the actual life would be equal to the true battery capacity at that time.

I know Tesla and GM would much more happily report the new battery range than that of a tired, old pack...
Simple text parsing in PHP7 is also faster than in Python, Ruby, Perl and NodeJS. I recently wrote some 1-liners to parse a 19Mb log file with a regex on my 2010 quad-core Mac. Python/Ruby: 2.2 secs. Perl: 1.4 secs. NodeJS: 0.9 secs. PHP7: 0.4 secs.
I find it implausible.
Very fun and colorful. Nice job!
Venezuela Just May Be the Hardest Place in the World to Be an Entrepreneur
Anyone got the story on what was going on in Washington? Those are some odd votes.

If someone does try to influence electors in the future, the whole threats of violence didn't work, and personal appeals should know the sex of the elector before making the video.
I was unaware that we knew how how human intelligence works. </sarcasm>

If we can build systems that can fool us into thinking their intelligent (which I will agree that outside of limited scopes we have not), then we built intelligence.
Modern C# only has to be written object orientated if you want it to be, and works pretty well as a functional language if that is what you prefer.

Biggest problem with Unity and C# is the delay in adopting the latest language version - last time I checked Unity was C# 5, not 6. Hopefully Unity adopts .NET Core soon, getting around this problem.
At this point it looks it's part of a marketing campaign against any electric vehicle (Teslas are not classified as ugly, but attacked from other sides).

Just follow the money.
Calculate import duty and taxes within your shopping cart