skysight-inc/HackerNews huggingface dataset:
A few counterpoints:

* In the market oil is a very popular short. So much so that despite Iran coming back onstream, oil has since risen 20 points.

* Aramco's IPO will force it to open kimono on its reserves. Is there a negative surprise waiting there?

* Nobody is going to put electric cars into the southern hemisphere anytime soon, because the distances are too long and infrastructure too sparse. As Africa develops, oil demand there will increase, especially with increasing chinese involvement. Ditto Latam. Ditto central Asia, Middle east.

* We are seeing inflation picking up around the world, and oil is the classic inflation trade.

Finally, anecdotally, the economist has a long history of being a counter-indicator due to its susceptibility to consensus thinking.
Quick question, does design by contract, ie. invariants and so on, warrant calling dependent typing? I'm currently learning OCL, and Haskell next, hence the question.
Linode has bandwidth overages, just like LightSail, so I don't see how this compares. You pay more money if your Linode surpasses the quota.
It's not insulting them that you will persuade them. Try speaking their language instead. For example St. Francis from Assisi, patron saint of Italy, was the original eco-activist. He reconciled Nature and Christian faith hundreds of years ago. I'm sure Christians of all faiths would react to his message in a good way, if you just reminded them.
The cable network channels ESPN and Discovery are between a rock and a hard place. Bidding for content from entitled sports is more expensive but their customers are running.

Individual customers are cutting cord.

Resell customers are barking at the price of the packages. German public television decided NOT TO COVER THE OLYMPICS due to the high price Discovery was charging.

Emerging new channels (Twitter, Youtube, Amazon, Netflix) are getting their own original content.
I’ve just recently been deciding on an app to use for drawing with my Surface Book for illustrating all kinds of things, and I’ve settled with Krita in the last week. It’s best-of-breed, and free to boot.
Literally everything is out of stock or in pre-order mode ("Ships in November!" oh wait, what month is it?). Even their USB cables!

Not a good look, and with this news I wouldn't expect stock to ever re-appear.
> Yes, single threaded, because the contention to the various files and the cost of serialisation would likely negate the benefits of using multiple threads.

Multithreaded does not mean multiple files.

> But not using DirectI/O so writes end up in memory and only get flushed if it hits the commit count, or periodically - so, particularly for local disks, HDDs or SSDs, this in practice never blocks for more than a few ms when flushing, if at all.

Unless you are actually using it under a high throughput scenario which is why you would use a lib like this. It will work great until you hit the actual flush point, then possibly block for seconds even minutes.

If your performance needs are high, mandating XFS is not unreasonable.
What's wrong with mindless entertainment, as opposed to mindful entertainment, from an environmental point of view?
The company I'm at does two coding interviews for potential developer hires.

The first is kind of a standard phone interview with a Google Doc. There is no expectation that the code you write would actually compile or run. When I conduct this interview I'm always sure to explicitly say that it's not a test of memory and they shouldn't worry about remembering specific standard library functions, etc. If they need something that they know exists but they don't remember the specifics, I encourage them to make up something that seems reasonable and just go with it.

The second is an onsite interview where we plop them at a desktop machine, give them a relatively simple programming task, and ask them to produce a runnable program. They have access to the internet and really the entire machine. They can Google whatever they want and even use Stack Overflow. Nobody is standing there hovering over their shoulder. This interview gets weighted more than the previous one.
Or: we move all our shit-producing industries to Moon and Mars, places where there is no ecology to fuck up. Expensive but could be done, especially if we find out that those places have good minerals we can mine and work on right there.
Coding for Pre-Schoolers: A ‘Turtle Logo’ in Forth
I agree that it's become feasible, but even for relatively 'light' scripting my experience is that already very soon something like jQuery becomes worth using despite the increase in payload size.

For example, I'm currently working on a project with mostly plain js, and I've already had to spend quite a bit of time adding code to make relatively basic things work across browsers (including mobile).

Even though it's much less work than it used to be, it's still extra time and code that others will now also have to understand. And who knows what other browser issues linger or will pop up as more features are added!

The worst part is that if I'd be allowed to lazy load some of the images and make a few small other optimizations, I would've shaved off enough Kb's to load multiple version of jQuery...
This is one of those cases where I am slightly appalled by the violations of privacy, yet do kind of understand why they'd want to do this.

But as other's have pointed out, these are not restrictions from Amazon, rather from the third-party they have decided to hire. I guess there might be alternatives that could restrict some of the access that is not needed.

Either way, you need a way to determine who is playing fair and who is not. Flying someone out for an on-campus interview will be significantly more expensive (considering as well how many people apply), and there is only so much you can achieve with a skype interview.
Universal Search: A Retrospective
There is a way to hack this up, which is probably a bit complex for a single instance, but works:

- Setup a HTTPS endpoint on the server that listens for an SNS notification and performs an action (e.g. backup ephemeral data to S3 and shutdown). I wrote the service in Go and the action is just a shell script but choose your favorite language.

- Setup an SNS subscription pointing to the service endpoint.

- Setup an SNS topic for the message.

- Set up an SNS notification in AWS billing. I use "When actual costs are equal to 100% of budgeted amount".

The problem is that it's necessary to lock down the endpoint listener as it will usually need root access in order to shutdown the machine. This can be done by using authentication on the endpoint, setting up a locked down user to run the service under and granting that user the ability to run /sbin/shutdown in the sudoers file.

There are probably nicer ways to do it, but this does work to limit my spend on each instance.

You can also add AWS API calls to delete any other costly related resources (static IPs, load balancers etc.)

I've been thinking about writing a more modular and robust app that handles multiple instances etc but most of my servers are now in GCE so I don't really have the need.
I don't even think the level is at "do not want" I think it is at "do not know how" which is a much harder problem to solve.
Font Awesome 5 breaks $1m USD goal
List of Top Paternity Testing Kits
Font Awesome 5 $1M Kickstarter
AWS Re:Invent 2016 Keynote: Andy Jassy
I love the whole stack approach and found it very productive. Meteor up from Arunoda was brilliant. But supporting small side projects has been too challenging over the last few version increments and a lot of the packages that were useful a year ago have not kept up.
Why can't they just be a niche company that sells niche products? I like my pebble and I want(ed) the pebble time 2.

Can a company really not exist without growth? Or do they just don't want to?
As far as trees go, how many decades can you increase tree biomass continuously 1.5% year on year? Where does the extra land to do this come from? How do we build new land that can effectively grow new trees? It's fine, as far as it goes, but we'll run out of trees to plant long before we run out of fossil fuels to burn.

Phytoplankton stimulation is a lot better, in that we can do it year on year. Indeed, it can, optimistically, remove around a billion tons of CO2 per year from the atmosphere, with advancements in technique and extremely widespread use, for a relatively low cost.

Humans emit roughly 40 billion tons of CO2 per year into the atmosphere, though. Year on year, we add roughly a billion tons of CO2 emissions to our annual emission rate.

We can go into even more exotic methods if you like. But if governments are unable to implement a tax on carbon that accounts for its externalities, why do you think governments would be willing to pony up even more money to sequester those externalities after the fact?
> There is no point at which sequestering CO2 by use of electricity is going to make sense.

> Until the day that we burn zero CO2 whatsoever

That day will come. And we'll then be at the point where its time to use cheap renewables to pull CO2 back out of the air and store it in a stable state where it can't be burned again.
Please if you can point me the exact place where i'm not being civil or have a i insulted anyone?. Just pointed their beliefs and that's the reason why they look the other way. No opinion about their beliefs or themselves. Or maybe i'm offending your beliefs? Cause really i can't see where i'm not being civil.
I tried some of the problems and I am obviously a terrible chess player :)
Is it possible to view the correct moves without, for a bad chess player like myself, making an exhaustive search for all possible movements?
Interessting, it all depends on who create a project, not what the project does.
there already is a post about their record funding on the front page: https://news.ycombinator.com/item?id=13072311
Perl 6 Advent Calendar 2016
My alternative has been to use a Chrome extension, just search for wsj bypass:
https://chrome.google.com/webstore/detail/bypass-wsj-other-s...
The 10% overhead is largely advertising and a way to get preorders (after you are established)

But, while software (gaming), take a look at some interviews with Larian and Obsidian/inExile (I forget which one of those... probably both). They keep returning to the KS for fundraising and a large part of it is that even a successful campaign and perfect release doesn't necessarily give them the capital to start the next project without investors.

Personally: I backed the first pebble KS and got an okay product (looked like crap and not a lot of utility, but what it did, it did well). But I definitely got turned off by the multiple campaign thing (and the frequency of them) as it suggested a lack of long term support for the product.
How difficult is it to add a "zero cost abstraction" like the ones used here? For example, what would it take to make this compile:

for window in buffer.sliding_window(coefficients.len()) {
let prediction = coefficients.iter()
.zip(window)
.map(|(&c, &s)| c * s as i64)
.sum::<i64>() >> qlp_shift;
let delta = buffer[i];
buffer[i] = prediction as i32 + delta;
}

with sliding_window returning an iterator over slices of the buffer?
I'm not sure what the complaint is here.

The barrier to entry is literally clicking or tapping twice.
Show HN: A Serverless Photo Gallery with ZetaPush
Paypal is not using an EV certificate
Somehow this whole startup thing often puzzles me.

I read good things about RethinkDB, bad things about MongoDB and almost nothing about ArangoDB. But Rethink closes shop, Mongo is used everywhere and Arango gets big funding.

Same with Pebble, read only good things about them, now they sell for a "small amount".
Where do i have insult them? Please do tell me.
BS detector is high on this article

> But those sports rights costs are going up and those subscriber revenue numbers are going down.

i doubt sports rights are going anywhere if even espn can't pay them.
> Fortunately these structures are not allocated on the heap, as they would likely be in a language like Java or Python.

At least in principle, escape analysis would be used to allocate them on the stack. In HotSpot, simple iterators are commonly allocated on the stack (and then optimized further). When you have a JIT (which means you can afford one), general abstractions become zero-cost based on their use-site. The upside is that you get a few, general and powerful abstractions that are then completely optimized based on how they're used. The downside is that it is not guaranteed, and a JIT requires more RAM and power (and in practice usually a warmup period, although that can be solved).
How to Make a Paper spinner
Font Awesome 5 just hit 1M on Kickstarter
> Can a company really not exist without growth? Or do they just don't want to?

Certainly not if you have investors who want competitive returns, unfortunately.
> The problem is when one tries to make a general purpose solution out of that design.

yup. go(lang) / rust seems to be exploring some ideas with an almost similar approach, but not _solely_ focussed on n/w programming. are there other languages out there as well ?

and a slightly open ended question as well: in your opinion, do you think a language needs to implement a complete runtime (similar to erlang) with it's own 'process' abstraction, scheduler, i/o etc. etc. to provide concurrency support ?
I disagree. The point of NTP, and of time services in general, is that everyone agrees about the time. If an organisation wants to use non-standard time it can, but public-facing NTP servers should all agree and all provide the standard time. Google, for whatever reasons, is making its NTP servers deliberately wrong, and there is no mechanism in NTP for a server to say "I'm using time-smearing". So they shouldn't be doing this on public-facing NTP.
Contact them immediately! I had this issue on two of them and fixed it -- but they're also replacing them.

1. Turn off your OG Pebble

2. Remove the rear panel, either with the proper screwdriver or a small precision flathead

3. Gently lift up the panel and move it to the side. The vibration is glued to this panel, so go slowly. You do not have to remove the vibration piece.

4. Cut two small pieces of paper to fit the side of the pebble with the board exposed. Cut a space for the wiring, then slip it in.

5. Reassemble the Pebble

6. Turn it on.
While fascinating, this approach to manufacture appears to attempt to use a low efficiency method. Why not start with a sheet of plastic, and drill or pierce with holes?

Vacuum based plastic tooling has been around for a long time - would it not be more appropriate to use the 3D printer to generate the shape of the mould?
I've been writing our in house extranet with it, and the built in templating is very easy once you get the hang of it. The context addition makes it very easy to authenticate and pass that through to the endpoints.

The https stuff is done via Caddy server that automatically serves and updates the cert via LetsEncrypt - requests are then forwarded to the go app.
I do understand why Amazon might do this, but I just can't get onboard with this. Being treated like a cheater upfront is just not how I want to start my relationship with a potential employer.

Even when I was in college my university (Rice) had an honor code which meant, among other things: (1) professors didn't have to be present in-class during exams, and in fact they were encouraged to leave; (2) professors could give take-home exams and students were trusted to not cheat or otherwise violate the terms of the exam.

It wasn't just theoretical; most of my exams were not directly proctored in college, and I never personally knew of anyone who cheated. If you did cheat and got caught, though, you would have a trial before the entirely student-run Honor Council. If found guilty the punishments were extremely severe.

I know Rice is not the only school with this sort of honor code. I believe Caltech has one as well, and there are definitely some others.
Go with the Flow – A Static Type Checking Tool for JavaScript
If you have a podcast, at https://www.podigee.com we're about to launch a beta transcription service that is integrated into the podcast publishing workflow. Drop me a line if you want a beta invite for the feature.
> Another interesting observation is that, on cache-coherent systems, the maximum possible clock rate also tends to go down as soon as more than one socket is used.

Which is perfectly sensible if you think about it. No matter how fast your cache coherence mechanism is, it's slower than not sharing cache between two chips. It's fine if you are storing program code or independent data, but if you are operating on the same cache lines as another processor you have to flush the dirty lines over and possibly roll back a whole bunch of execution that might have been done there.

Sometimes this even happens when the data you are working on is different but shares a cache line (false sharing).

> Nowadays they are more of an historical anecdote, but some time ago Sun created the "niagara" line of barrel processors - a technique that is a form of simultaneous multi-threading, like Hyper-Threading, just with 8-16 threads / core.

We do a lot of contracting with a state government and I'm pretty sure they're still running these in their datacenter. It's some flavor of SPARC for sure, and I was talking to our sysadmin and he mentioned that they used a processor that I remember was a lot wider than hyperthreading, which sounds a lot like UltraSPARC.

From what my guy explained they are pretty nice in database workloads especially since they're also an Oracle DB shop. They are locked into Oracle products seriously hard and they're unwilling to contemplate moving to commodity products. Probably unable to, given their staff's skillset and in-house operating procedures. It shouldn't take a tiger team for someone to suggest restarting a misbehaving server. You get what you pay for though. The state doesn't pay much and people who have other options don't stay in that kind of work environment.
Strategies for Lead Generation in China
Stanford CS147 dt+UX Expo: See what 150+ Stanford students designed this fall
The fix is identical to the OG Pebble. Contact them first and they might replace it -- but you'll still have the same issue.

1. Turn off your OG Pebble

2. Remove the rear panel, either with the proper screwdriver or a small precision flathead

3. Gently lift up the panel and move it to the side. The vibration is glued to this panel, so go slowly. You do not have to remove the vibration piece.

4. Cut two small pieces of paper to fit the side of the pebble with the board exposed. Cut a space for the wiring, then slip it in.

5. Reassemble the Pebble

6. Turn it on.
> but should I expect 5-6K per employee per year to cover insurance?

That's about right. I've seen startups cover anywhere between $250-500/month in health insurance premiums, with the rest on the employee.
It's actually the sport teams/leagues that rode the gravy train.

ESPN paid huge amounts because they had to outbid the competition.
If sportsbroadcasting gets less profitable, sports will get less profitable.
When oil is oversupplied. Only a fool would think demand has decreased.
Yes, this basically socializes the cost of figuring out how to hedge (assuming the state actually hedges, which it probably doesn't), since the intersection of oil producers and prudent users of derivatives is probably rather small...
Excellent advice!
Remarkably spot on! Everything.
I agree the books claims about the brain are mostly nonsense, but it does teach you to draw what you see, instead of what you think you see. I think that is a great first step in learning how to draw, feels very satisfying and gets results quickly
Ohh, thanks that was it :). I thought it had something to do with my browser...
The trouble with Twitter is there are no downvotes.
That still isn't risk free, a producer could sell some futures contracts and not be able to produce on delivery; then they either have to sell the future on at a below market price (it will be closer to the spot) or purchase oil to make delivery. It only has less risk on the buy side.
It's like 0.5% of their subscribers.
Average commute time in the us is lower than almost all of europe (https://goo.gl/r8DJqz) and public transport not only needs billions in investment to be built but there are very few places where it doesn't run on subsidies. So yeah you're asking americans to a) take longer to get to work b) constantly subsidise a system that will keep on losing money. Based on the political makeup of the country i'd say you can keep on dreamin' :)
You can't omit Bitcoin transactions from your tax return just because they seem anonymous. Concealment is the very definition of tax evasion, "Evasion... involves deceit, subterfuge, camouflage, concealment, some attempt to color or obscure events or to make things seem other than they are"

Quoting in full since its among the most misunderstood yet important distinctions in tax:

http://www.irs.gov/irm/part9/irm_09-001-003.html

9.1.3.3.2.1 (05-15-2008)

26 USC §7201 – Avoidance Distinguished from Evasion

1. Avoidance of taxes is not a criminal offense. Any attempt to reduce, avoid, minimize, or alleviate taxes by legitimate means is permissible. The distinction between avoidance and evasion is fine, yet definite. One who avoids tax does not conceal or misrepresent. He/she shapes events to reduce or eliminate tax liability and, upon the happening of the events, makes a complete disclosure. Evasion, on the other hand, involves deceit, subterfuge, camouflage, concealment, some attempt to color or obscure events or to make things seem other than they are.
How the Singapore Circle Line rogue train was caught with data
>strict

I am eager to point out, how lazy is to call lazy strict.
They discuss various ways of smearing here, but I haven't seen their actual implementation code: https://developers.google.com/time/smear
I'm really like pebble and it looks like fitbit isn't looking to maintain any pebble product.
Currently I cannot see any alternative smartwatch that could offer me full week of battery life.
I hope this deal won't succeed.
> things like habit tracking, habit reversal therapy, time tracking

What apps do you recommend for these purposes?
Both of the suggestions "Champion has draw odds" and "tiebreaks before the match" means that one player can just go on the defence for the duration of the match.

The only way to get both players to attack, that I've heard, is the classic "first to 6 wins" or some other number. In that version, no side ever wants to draw.