skysight-inc/HackerNews huggingface dataset:
I wrote a self-hosting C compiler in 40 days (2015)
Good insights. I think it is worth mentioning the frequency of exit overlays too.
Vodafone's Indian unit and Idea Cellular announce merge
They will reduce energy usage by 10% and then raise prices because they aren't making enough money. It's happened in Canada with Ontario hydro, and in California with water.
'Could' applies to patents being too long too. 20 years could be longer than necessary. All scenarios in this argument have already happened in large numbers, companies have both failed and succeeded to realize financial protection and gain from their patents, in both too long and too short timeframes.

Shortening patent life will hurt big businesses somewhat. It might completely kill the use of patents for small startups and research groups, and completely eliminate whatever protections they have left, if any. Patent protections already heavily favor big businesses. Big businesses will be fine either way. Shortening patents will have little effect on whether they survive. What I wonder is what we can do to make the patent system useful to small businesses, like it is so often claimed to be, or what alternatives there are to incentivize and protect small business innovation.
It's not too different in London, to be honest. In December the sun is only up at 8, during which time a lot of people are underground on the tube, and by 6 the sun has set again when we're doing the reverse journey.
Thanks for this clarification

>> What do you mean by half a hash table?

What I'm trying to get across is my impression that you don't have to load an entire B-tree index into memory to use it... you can traverse it. Whereas a hash index can't be "streamed" or traversed like that, you have to use the whole thing.

I read some papers on hash indexes and hash joins several months ago, and know little about the Postgres specifics... just wanting to wrap my head around it, so please help me understand if I'm off base with this.
How does the coastline help? I've never heard this explanation before.
Tips for developers to get promoted (audio)
There's a solid base of racist idiots in the UK - proud "patriots" who don't understand how to invest in the future, but do understand tribal flag waving and imperial nostalgia.

They think politics is a football match. Their team won the match and now they're oh so happy.

May is playing to that base. But she's using them to pursue far-right extremist Tory policy - which means the end of the welfare state, the end of affordable public health insurance, the end of free education, and so on.

A small cabal of business insiders, including not a few US corporations, stand to profit mightily from all this, even though it will leave most of the population in permanent financial insecurity and/or catastrophic debt.

Of course it's nonsense, and will turn the UK into some kind of fascist North Korea for a decade or so.

The EU is the only organisation that has some interest, no matter how patchy (sorry Greece...), in maintaining humane government and corporate oversight across most of the region.

With the EU out of the picture, the radical neoliberalisation of England can proceed at full speed. (Scotland will probably leave, Ireland will turn back into a mess, Wales is making noises about leaving, so is London, and so to a much lesser extent are some of the regions.)

Most of the people who voted for Brexit will be horribly damaged by this, but by the time they realise they've been conned it will be too late.
Codecs, as expressions of abstract ideas (mathematics, primarily), SHOULD be ineligible for patent. Nothing physical about anything necessarily involved in the implementation of a codec is novel these days, except the algorithms, and they're patently (badump-bump) ineligible.

But judges and PTO examiners have been getting it wrong so long they don't even know what's right anymore. But the letter of the law is quite clear and the SCOTUS is starting to come down harder on the side of the law, especially since rulings like Bilski.
Apple is building augmented reality technology, it could end up in smart glasses
Except for the part where they specifically researched this

A new study commissioned by the German Environment Agency (Umweltbundesamt – UBA)
has revealed that the lifespans of electrical and electronic appliances are
becoming shorter, with the amount of appliances replaced within five years due to
defects increasing from 3.5 per cent in 2004 to 8.3 per cent in 2013.

That is quite a significant difference in reliability.
Does this explain why the Scandanavian countries are the number one preferred destination for refugees?
Thanks. Yes, that's the link. Joe is one of those teachers, who try to simplify the concepts while preserving the elegance of what is described. Kind of like minimalistic simplicity in teaching. While teaching, every time he would emphasise the intuition behind them. He avoids the complex formula's/algebra, calling them ugly ... and often presents one line proofs to them !!. After getting through the first few of lectures, you seem to get the underlying trend in his approach. That all the complexity is just hand waving over the the simplicity of underlying concepts. (Sometimes i think if the maths is complex to explain a phenomenon then we are not using the correct theory to explain it. But i am not a mathematician .... )
But when you only need it for the next funding found, the means justify the ends

Organic marketing means you have 10 million dollars from other people and 500 instagram followers and begging your own employees for likes. It means you waste $10,000 per day celebrating over a brief 200 person bump in your daily active users. It means one retweet has you saying "we're blowing up!"
Golang irritates people for various reasons. For some reason I've begun to feel the language is was partly designed to put prima donnas who push theoretical languages in blogs all day rather than ship in their place.

These Haskell and Scala people talk talk talk all about correctness and syntax tricks. Meanwhile golang is nimble and just winning every race. I wish they'd learn from it rather than get so defensive.

Also, it's just a confirmation people get too attached to complicated features in languages as a crutch. YAGNI

Programming can be straight-forward and clear. Without it spiraling into a contest of clever tricks. You look clever when you get product out the door.

I've been programming 10 years professionally, and 15 years as a hobby. I've yet to hear what a sum type is until yesterday.

I got nothing wrong with people dabbling and hacking on the weekend, but sometimes it irks me when people split hairs over being "correct" and never actually get stuff done.

I think a lot of the "syntax tricks" is a mechanism used by people to feel superior. It's like, "hey if I can't actually build something useful, at least I can blog about how to write a monad transformer".

I'm not trying to be offensive, I'm just failing to see the value in this and trying to make sense of what I'm seeing. Where was the business issue that could only be solved through sum types in the language syntax? Enlighten me.
15 Funny Awkward Fail Moments Caught on Video
People have such a fundamental misunderstanding of Apple's business model. They do not invent—they refine. You won't see Apple release a VR/AR product because they simply haven't been in the market long enough. Their strategy has never been about being the first or even an early mover in a new technology.

It has always been about taking technologies which have been on the market for a substantial amount of time and iterating on a version that gets all the small details right until it reaches their very high internal standards for usability. Apple isn't interested in being the first to do something, they're interested in being the first to do something right.
This is true that you can buy replacement parts. I did that a couple of times with my previous Lowes grill. I find those parts are a race to the bottom as well though in terms of the metal quality. I just got tired of replacing/rebuilding/etc. I found my AOG on clearance at a local shop for $1k.
I think Google Glass is more where they will go. Except, just like the first iPhone, they will make it actually look like a normal pair of sunglasses. Apple has NEVER made new products, but they have refined existing products at key times to come out with something amazing. iPod, iPad, iPhone were not the first, but they were breakthrough staples that rules their area. Apple Glasses would do the same if done right.
1st Birthday Party Ideas for Girls
AR will become mainstream, yes. Apple will do well in AR, maybe but future is difficult to forecast.

Anyway, my prescription glasses are maybe 25 grams (0.89 ounces). I think the current technology is a long way from giving us something as light as that even if the bulk of it rests in our pocket. I expect to read about the upcoming AR revolution for many years.
> " It does make me feel a bit less inclined to play old RPGs now, knowing that I’m grinding just to increase a few bytse of memory."

Superficially, most games can probably be judged the same way, even physical games like golf etc.

"You mean the main purpose of this game is to get a ball in a hole with as few hits as possible, why would I want to do that"?

or Idle/incremental games: On the surface the whole point is to play the game, just to play the games faster.

Of course we all know that there is far more going on here than meets the eye!
Can Preact be the lightweight solution to client hydration we’ve always needed?
That Is Not My Child Process
I would just like to note that March 25th (Saturday) is the 60th anniversary of the Treaty of Rome, which created the European Economic Community (from which the EU evolved):

https://en.wikipedia.org/wiki/Treaty_of_Rome

Imagine serving divorce papers on your spouse on a significant wedding anniversary, and now consider the message it sends.

It's like Theresa May has carefully picked the time to trigger Article 50 of the Lisbon Treaty that will cause maximum offense to the people she's about to negotiate a critically important trade deal with (from a position of inferior leverage).
The coastline is required to make a nice-ish reference to THHGTTG.
Uber remains illegal in Norway as all taxi drivers need a permit granted by the government. The subject is under heavy debate though.
taxing companies on every item of theirs which goes into landfill

Just tax each sale at the cost it takes to recycle.
It looks to me like they're the same book, only different editions.
I couldn't get a job in Canada, because your immigration policy required a bachelor's degree. That was even if I had a job offered to me before seeking a visa.

I think Canadian immigration policy is a bit over hyped for being 'great'. Trudeau took a lot of great PR with getting some Syrian refugees, but getting into Canada is still hard. Just easier in comparison to your neighbour to the south.
As I understand it, it's not the vascularity, but because the cells are anisotropic and arranged a bit radially.

Best thing I could find on a short search is serious eats (near the bottom) :http://www.seriouseats.com/2016/11/knife-skills-how-to-slice...

I'm pretty sure cooks illustrated has done this experiment, but finding their stuff on line is difficult.
I think that switching on types in Go is gererally a total anti-pattern.

In case you need to handle errors, in the end the type doesn't matter at all for you. You are interested what the implications of the error are, so the library exposing the error should just expose functions like isTemporal(e error) bool. In case you need to inform the user about the exact error, no problem, the returned error has the Error() function which shows the message, no matter the type, use that.

In case you're not matching errors, then you shouldn't worry about the type. The function returns an interface because all that should matter to you is that interface with its common behavior.

Otherwise you're just fighting the language, which doesn't make any sense, as you can just switch to Rust then.

EDIT: Though I'm really happy that people make more tools for analyzing Go code. Good job!
There is always an opportunity cost incurred when personally saving up money for emergencies, but at least you have the principal if/when the emergency never occurs.

However, if you had paid that money out to the insurance company rather than saved it yourself, then you lost both the opportunity cost and the principal.
Thinking of launching expensive product? Consider tools from corporate finance
> You don't hear about copyright trolls as often; it's not as crippled of a system.

Strongly disagreed. Copyright is at least as broken as patents, if not more. Mickey Mouse and most of the Disney catalog should have gone out of copyright years ago but they lobbied our corrupt Congress for an insane extension which is now uniformly used throughout the industry. Our public domain has been thoroughly robbed.

For more about abuse of the copyright system and courts in general, see the history of abuse meted out by Prenda Law against various innocent parties. That shit show never should have happened, and it took courts years to stop it. Prenda attorneys are now turning state's witness against each other because they're so busted.
You're right in general, but iPhone was the first touchscreen smartphone. Today, (almost) all smartphones look like an iPhone. (Though Apple didn't invent the touchscreen.)
It's a Douglas Adams joke.
Moodle remote code execution
Python2 and Python3 are different languages.

I think this is a bad example, because they want to abandon Python2 and move everyone to Python3, yet, almost 10 years later, many people are still using Python2. So I would say that the Python way is NOT how one should keep a language lean.
Well basically anything which says "let's just give up" is just not helpful. There has been progress.
[satire] This Is Your Life in Tech London
If you label every policy you dislike as the result of "corruption" you're not doing the fight against actual corruption any favours.

Highlighting NZ as exemplary is exactly the sort of reward that politicians need to be immune to attempts of corruption. It also creates an environment where people who go into public service do so with a concept of self that has "is not corrupt" as one strong component.
This is totally untrue. As someone from the north of england, now living in London I would say <5% of people I went to school with took a 'gap year'.

In London I would put that number closer to 25%, but that says more about the type of people that move to London than it does about Europeans in general.
Google in talks with National Grid to get access to every single energy meter reading in UK.
Should you install solar panels on your roof? Ask Google
Ah I see. Still disingenuous to call them editors since the page I linked to actually counts anyone who has made a minimum of 5 edits recently. Those non-editors with accounts wouldn't participate in the discussion anyway and are probably inactive accounts.
A hash index allows you to determine which bucket an arbitrary key is mapped to without having to look anything else up.

That means you don't load it into memory at all, you just jump to Bucket[Hash(KEY)] and then check there for KEY (it may or may not be there due to false positives and the bucket being full).
Heh, OK. I got the Douglas Adams reference. I just thought there was something beyond the joke. I guess not though.
I had the Pebble until they were absorbed and my watch just started having all kinds of issues. Replaced it with the Forerunner 630 (for a steal at $200).

While not really a smartwatch (its geared towards runners) it does what I want. Notifications, vibrating alarm, customizable faces, tracks my steps, tracks my sleeping.

And it can go at least 12 days off a charge if just doing the above (no GPS tracking). I charged at 30% so you could probably get another 4-5 days out of that 30%.
Add regression tests, replace with your own code. or quit.
Well they didn't want to reform when we said we were having a referendum. Previously when other countries voted against the EU Constitution it was repackaged as the Lisbon Treaty and lo and behold didn't require votes. Now we have EU leaders saying they want to hurt the UK so much that no-one else will want to leave - despite the constituent members making very different noises.

The EU is fundamentally irreformable to reduce its power, it is the modern embodiment of Whig history - the view that progress is inevitable towards every greater liberty and enlightenment. This is the sort of attitude that leads to things like Greece being allowed to join the Euro when it was patently unready to do so.

One of the things you need to remember about the older people who tended to vote Leave is that they either voted in or remember the circumstances of the initial EU referendum in the UK. They remember what the UK joined and how it was presented to the UK. Other European countries with a much more recent history of revolution or dictatorship might want to remove power away from themselves, that is a view that is much more at odds with how Britain perceives itself.
Here's another anecdotal story. I just got my visa for Australia so I'm going there in June. I also know 3 other friends who are leaving. We're all leaving because we don't want to be in a country that's so preoccupied with something we don't believe in, so we're voting with our feet. Over the next few years every other issue is going to be sidelined to deal with this.
This is a very un-republican thing to do, but as another poster mentioned, you could apply a tax/penalty/whatever to companies when their products are accepted into landfill sites. That would get passed on to consumers until it was cheaper to simply keep them out of landfills. Presumably your quality would go up in order to keep more of the profits of selling the units in the first place.

Not sure it would work in reality, but an interesting idea that is actionable by the government.

EDIT: typo
Our life expectancy increases despite, not because of our bad diet.
Drag and Drop Files with HTML5 and Flask
The risk in such cases is always that the defendant will use their own patent library to countersue. So the plaintiff has an incentive to settle.
Late reply, but just in case if someone finds this helpful...

Over there fresh fruits/vegs/bakery don't have any stickers/packaging/etc. You pick them, put in a bag and cashier rings them up along with barcoded items. They got a fatass book with pictures for newbies/self checkout and all experienced staff have muscle memory...
Must be Wasabi
Basically, politicians are locked in. If they try to stall or halt the exit process they get accused of being anti-democratic, going against the will of the people. Therefore though many of them knows it will likely be disastrous they are nonetheless doing what the people told them to do.
The person responsible for this makes his money on craigslist, probably buying and selling old appliances. So he probably has a lot to gain by getting people to buy old "better" appliances off of craigslist than the "terrible" new appliances at a box store. Sure, maybe he's right, but it is worth considering when reading this article.
Most wooden sash (I assume you're talking about wooden sash) were properly fitted at the time, but are victorian or edwardian and therefore over 100 years old. They've done pretty well considering their heritage. New wooden sash with double glazing are better IMO than plastic windows - as the parent noted, plastic doesn't do well long term when exposed to light.
The "World Happiness Report" is mentioned by name twice in the article:

http://worldhappiness.report/ed/2017/
It may actually have a bit of truth in it: The fractal coastline allows for many more coastline properties than the straight coasts of, say, South Africa.
> Microsoft's HoloLens uses apps from their Windows Store and those that they made themselves, which is a very big limitation for them, and when both devices are out in public and ready for use, Apple's devices will probably be more successful.

What does the current state of the various app stores have to do with AR? By that, I mean, AR applications are so fundamentally and significantly different than 2D apps that back catalogs are meaningless. Any new player to the AR ecosystem is starting with an essentially empty app store, regardless of whether or on they deploy it on top of a pre-existing, successful app store. We can effectively say that Microsoft has the largest AR app store in the world.

And, we can expect Windows Store to grow as they push Windows Holographic and their tethered, cheaper VR displays (the Hololens is still a $3000 "dev kit"). Apple is not just starting from behind, they haven't even started yet.
Being first may be irrelevant, but if you're never first then someone else has to come up with the tech first.

I believe parent comments are mostly making the point that we still have another generation before Apple would have anything sufficiently advanced enough that they could do their post-90s "polish and package" magic.
The Antidesktop (2002)
What are the areas that they target? I'm not too familiar with the communities surrounding either language.
> Even if it's not clear that salt intake and saturated fat is bad for you, why take the chance?

Pascal's Wager makes sense in that you have mutually exclusive options. Dietary choices don't work like that.

Practically speaking, if you avoid certain ingredients, you expose yourself to more of others.

Psychologically speaking, the average person only has so much willpower. It's best spend avoiding the worst foods and pursuing the best ones. Spending energy on pointless diets affects one's ability to pursue good ones.
While I'm not "old" yet, I'm not as young as I used to be and I can feel my life time of poor diet is starting to catch up with me. So I've become very mindful of my diet very recently. I've switched to a mostly plant based diet and avoid most processed food combined with some intermittent fasting. I'm feeling much better, I'm losing weight at a healthy pace and I'm sleeping much better, though that might be more related also dropping caffeine and alcohol. The rest of my family is also eating more healthy, though not with the same strictness as me. I went cold turkey and it's a bit more of a gradual process for them.
> Without self-driving cars, that strategy isn't sustainable, and so eventually Uber will find itself unable to maintain its advantage over Lyft.

I see the "Uber is a bet on self-driving cars" coming up in every discussion about their business plan. But even if that's true, why is there an assumption that Uber would have a monopoly on self-driving cars?

Google, every car manufacturer, and a whole series of startups and universities are working on self-driving technology. If for example Google perfects it first, they will sell licenses to car manufacturers, who in turn will sell cars to Uber, Lyft, and every taxi company in every city of the world. Even if Uber develops the technology first and keeps it to themselves - then others cannot be too far behind, the potential payoff is just too great.

In the end the situation is just the same as now.
There is this trend in online postings that I've only noticed recently with Trump and Brexit. Accounts come with huge walls of texts that always start with "I used to be super pro-EU/hippy liberal" but then they did their own research and found out that EU are actually mafia that eats babies and liberals are all pedophiles - opinions which are so out of the mainstream line of thinking that it's quite clear that they've never shared pro-EU/liberal values in the first place.

Is this "I use to be like you but then I saw the light"-sort of post effective at persuading people?
Counter-anecdote: my Bosch dishwasher lasted barely six years before the impeller motor failed.
There was also petition to ignore that petition which also had 100000+ signatures.
Seems like it would make more sense to use the feeds to extract the vechicals into a simulation the would make the data cleaner, more universal, etc.