skysight-inc/HackerNews huggingface dataset:
I know one anti-spa guy and his argument is that's basically reimplementing poorly things that were well implemented in rails without any obvious bemefit.
It would be neat if VOC had an interpreter in addition to the compiler, kind of like Gambit Scheme does (and other Lisp implementations). That way you would have the benefits of compiling to Java bytecode (to easily interoperate with the API) while also being able to use the interpreter to modify the app while it's running, for easy development (i.e. live reloading).

Without it, my feeling is that you lose the benefits of Python's dynamic nature and still suffer the drawbacks - the compiled code is ten times slower than CPython, according to the FAQ. Given those tradeoffs I'd prefer Kotlin, even though Python is my favourite language.
>I'm not sure why people struggle so much and fight abstractions so much but I guess that's a sign a techie is getting "old".

Yeah, it's a sign they are older, and have seen the same shit play again and again, and starry eyed newcomers fall for every new fad with shit-eating grins...
I am not criticizing the concept, just that making an announcement of something hidden is somewhat paradoxical.
And it's awesome. Music shouldn't be singing olympics; self-expression and original ideas are worth more than technical skill.
You're nearly right: but premature optimization is no myth, but a massive source of both bugs and wasted effort.

The backlash (e.g. your statement?) against it's misapplication seems to be causing as many problems today as the misapplication, at least in my experience.

It is true that "premature optimization" is used as an (invalid) excuse for lack of or poor design, but if wasn't there another excuse would be found. That's not what Knuth was talking about.
It also puts them in a better negotiating position. They still want and need the content but if they're producing their own, it allows them to be more selective in what they take on.
What's there to be misinformed about socialism when they gave us the Berlin Wall and big socioeconomic disadvantages that were not solved even in East Germany today (not to mention Eastern Europe as a whole). Those are facts, not misinformation. Not to mention the usual excuses of "not real socialism"

And those were the ones who got the "best" socialism

"Class consciousness" is divide and conquer crap
Yes, if online advertising was strictly a deal between the media (online newspapers etc) and the advertisers.

But there's a useless middle-man industry that is the cause of all these problems: the ad-networks. They don't quite care that the impressions are no good to the advertisers, and they care only very little about the brand-damage to the media, caused by malware and bandwidth-waste. Or (dangerous) inconvenience to the consumers.

We wouldn't have any of these issues if the media were just to strike deals with advertisers themselves (like newspapers used to) (or maybe hiring out to an advertising agency, but still keep full editorial control, no newspaper would regularly allow an ad agency to inject their content last-minute before press, without any editorial oversight).

They would basically just self-host the ad banner, with a click-through link, self-hosted analytics for the advertisers, and everything would be fine. Ad blockers don't block self-hosted banners. No viruses, no malware, not as much privacy risk, no bandwidth wastage.

The ad-networks are really bad for all parties involved.
Netflix is where great stuff goes to die. Compare the Netflix versions of Black Mirror and Sherlock Holmes with the ones put out by the BBC. The Netflix stuff just drags on-and-on to fit their format.
Kickstarter.
I'd like to see the behaviour near the end of life for these packs.

Packs in laptops seem to last 3 hours, 2 hours, 1 hour, then 5 minutes, 5 seconds, and "won't even switch on". I wonder if the car packs will have a similar performance cliff.
House of Cards was not the first. Lilyhammer was. https://en.wikipedia.org/wiki/Lilyhammer
Acer Travelmate 4150 retrofitting to Raspberry Pi Laptop, Part 1
That doesn't really answer the question though. Is all the effort to create a fake 1 GBP coin worth it? Unless you have access to the right equipment, I can't imagine it is based on the effort to make each coin.

If you can make 8x1 GBP coins a hour, then you clear a cool 64 GBP each day. Better than nothing (and tax free!), but there are a lot of jobs that pay better than that.
While the point you are aiming for is correct, your "napkin math" is wrong and ignores the equivalence principle.
How much it costs to rent a 1-bedroom in 30 major cities around the world
Okay that makes sense. I thought it was from the perspective of a John Q. User who has a Facebook account.

In your example though the Ads are the product you're paying for. Not the Facebook account that is purchasing them, though I see how they're inherently linked.
>There. The simple fact is that most of our past vulnerabilities happened because of logical mistakes in the code. Logical mistakes that aren’t really language bound and they would not be fixed simply by changing language.

That's wrong. A lot of the C mistakes are indeed "logical mistakes in the code", but most of them would be indeed fixed by changing to a language that prevents those mistakes in the first place.
Catching these kind of programmers mistakes is exactly what distinguishes a language as "safer". Be it because they are ruled out by the type system, memory system, or at least the run-time checks.
It's more to reduce degradation - lithium batteries don't like being at <20% or >80% state of charge. If you never let them get there, they will last a lot longer.
PyDev of the Week: Roman Sirokov
That is going to be a different for everyone. For me, it involved systematically examining my beliefs and feelings, and discarding the ones that didn't serve me. Additionally, I've found that there is a certain flow to life; you can struggle against it, get carried away by it, or harness it. Accepting the way things are and learning to surf the currents rather than raging against them helped a lot.

If you want a shortcut, in terms of interpersonal skills the two highest impact changes for me have been:

1. Derive your personal value entirely from within
2. Develop compassion for other people

If you nail these two changes, you will be attractive. You might not be "persuasive" like a salesman, but that is a specialized skill-set that needs to be developed on its own.
Or even simpler: don't put any kind of writable software/firmware on the dishwasher in the first place. Beyond maybe some scheduled washing options, why does a dishwater need to be IoT'd? Seriously, I think all this is meant to pad the price of the appliances rather than give users an actual working product.
The second half of your comment really resonates with me. I was generally pretty good at really understanding how things worked at the system level, but there is one friend I used to work with who was simply amazing at it. He was the guy who would go deep on our web farm, figure out what was wrong in the garbage collector, monkey patch a workaround, and send a bug report to Microsoft with what needed to be changed on 16-core NUMA machines, saving us 25% of performance across the farm AND reduce page times by a 100ms or so. Or troubleshoot a sporadic network issue by isolating the issue via testing in production (without access to the network gear) and tell the network team where the bottleneck is. (Needless to say, this can ruffle some feathers of the easily offended, or with the people who believe that purity is more important than functional and that one simply shouldn't write code that understands you're running on a NUMA machine, but it was amazing to watch time after time.) He's moved on to another local company where I've heard from him (and others) that he continues to do the same over there.
And they definitely do product placement.
No, it didn't.

See quote from the author of Ragel in the comments:

There is no mistake in ragel generated code. What happened was that you turned on EOF actions without appropriate testing. The original author most certainly never intended for that. He/She would have known it would require extensive testing. Legacy code needs to be tested heavily after changes. It should have been left alone.

PLEASE PLEASE PLEASE take some time to ensure the media doesn't print things like this. It's going to destroy me. You guys have most certainly benefitted from my hard work over the years. Please don't kill my reputation!
But, that has the same problem as the "hollow laptop is a bomb" scenario - terrorists can simply route through a major European hub to avoid the ban.
Netflix has distribution rights for it in many countries. Outside the US, with shows like this, they release it one episode at a time with some delay (days to weeks) from the initial US broadcast date.
Maybe, but for me, I'd mark that person out in my mind as someone not to be trusted, and I'd be looking to get rid of that person post haste. Not only would would they be sneaky, but they'd be bad at being sneaky.
Now that you say that I feel like cell phones now need to have a "guest mode" web browser, maps and phone, but everything else walled off
>Avoidance of problems in a safer language doesn't mean when things happen, it's the language's fault.

Actually that's exactly what it means.

That's the only way people mean "It's because of C". That a safer language would have prevented those classes of errors"

That's regardless whether a more careful programmer would also have prevented them in C too.
Rust could expose a C ABI while keeping safe internals. The interface itself would be unsafe of course. There are a few things that rust doesn't handle natively (like varargs functions IIRC) but other than that you could probably write a Rurl that would be completely backward compatible with Curl.
The Netflix version of Dirk Gently was substantially better than the BBC UK version even controlling for the difference in budget (however BBC America was involved).
I honestly though Brexit was good for the EU and the rest of the world. The GBP was terribly overvalued. Why did the UK get a free pass on not implementing the Euro and not being a part of the Schengen Area?

It's been nine months and starting the article 50 process is suppose to happen soon, but I have a feeling the UK will negotiate its way into the Economic Zone instead, keeping trade and immigration without work visas, while forfeiting their place on the EU parliament. Either that or they'll just ignore the will of the people and never leave.
Reader didn't have enough active employees to keep it running. Nobody inside Google worked on it any more, so it was just a zombie product running on inertia.
No we cannot prove that. However it is still better than the "write it in C" option because once you fix a bug in the generator, it's fixed in all current and future generated code. In other words, we no longer make the same mistakes over and over again.
Oh man, I used to be an RSS junkie for webcomics of all things. I don't read any of those anymore, but I assume they're doing ok with Patreon.
>Allow anyone to request that an account is deleted?

"anyone" with the proper access credentials?
Weird. I've been to Italy, Scotland (via Dublin), and Iceland and never have to scan small devices separately.

The laptop gets pulled out and placed in a bucket. The tablet and phone stay in luggage.

It's all so inconsistent, it makes you wonder if any of the security agencies half any clue at all.
The Launch a Python Related Patreon Campaign
Well I read about the imposter syndrome on HN, and when talking about this idea to people around me, nobody knew it was a thing...
(btw I don't live in France anymore, I felt politicians there suffered a severe lack of imposter syndrome)
> So lots of people internationally who would watch it on Netflix will be pirating it.

Unfortunately that's what I have to resort to at the moment. I'm in Australia, and The Expanse is a marvellous series. I watched the first episode of the first series on Netflix when I couldn't find anything else to watch - I then binge-watched the entire first series at that point.

Now that the second series is out, I am back to good ol' pirating each episode as they air in the United States, as there is no other way to obtain it. And because of this, Netflix will unfortunately miss out on me binge watching the second series on their platform and won't get the viewership / statistics for it because I would've already seen it.

Why can they not do what they're doing for The Last Kingdom, another show I discovered on Netflix and subsequently love, and air the episodes in a weekly fashion as soon as they air in the producers domestic market?

Oh well, their loss. And likely ours when the series will inevitably get cancelled due to "lack of viewership" :-(
There are a lot of experts in raising children. No one is an expert in your child, particularly when combined with your priorities, morals, family history, etc. If anything, it's a curation challenge: given the excess of good advice, books, experts, friends, parents, intuition, etc.—you have to wade through all that to find something that works for you and gets the results you want.
Chess can be life changing. To get to any decent level you have to think how your opponent will respond to your next move.

I found myself applying this to day to day life situations.
At some point we are going to have to realise that terrorists are always going to want to target aircraft and just live with it. This ban makes no sense because $BAD_GUY can just via some intermediate airport with their iPad Bomb.

It's interesting that El Al has not decided to ban laptops (despite undoubtedly being a target) and, in fact, advises people not to put valuables in the hold: https://www.elal.com/en/PassengersInfo/Baggage/Pages/Policy....

"EL AL reminds all passengers not to pack valuable items in baggage send to the hold of the plane. These items should be carried in the hand luggage"
Haven't seen that, thank for the tip.
It does use the same engine as StarCraft II. It originally started as Blizzard All-Stars and was supposed to be a custom map for the SC2 arcade, but the team ran into technical roadblocks that pushed them into making HotS a separate game.
General relativity is a continuous theory as well.
How users change colours on websites
My brain wasn't sure how to compute seeing the phrase "fuck like rabbits" right next to use of the work "heck" instead of "hell."
Ask HN: Which non-technology book has influenced you the most and why?
Rules:
1. Only one book.
2. Can't be a technical book e.g. 'Programming C' doesn't count.
I actually did a kickstarter campaign for the project a long time ago, but I think my kickstarter video could have been better and the campaign didn't reach its goal, so it wasn't funded. I may launch another kickstarter and try again at some point.
> You entirely missed my point and reduced it down to simple, naive, economics again. How depressing.

Of course it's about economics as it deals with policy and impacts on people. Simple arguments are better.

Not using economics is a cop-out from using rigorous quantitative analysis. It's interesting that on say climate change HN will be all like we should follow the science, yet economics is the science relevant to our discussion.

> There's far more to life, and to a country, than GDP.

True, so what? More money is still better. GDP per capita is a good measure of peoples' living standards.

An interesting read about "The Economics of Happiness" is https://www.federalreserve.gov/newsevents/speech/bernanke201... by Ben S. Bernanke, former chair of the Federal Reserve (the part starting from "As you might guess, when thinking about the sources of psychological well-being" is most relevant).

https://www.gapminder.org/news/hdi-surprisingly-similar-to-g...

> As for ordinary people "owning" companies, that's either a naive or disingenuous argument.

The stats don't back your stance. "Compare that to the middle class, which has a median value of a mere $14,000 a household."

Also, bond yields (and bank interest) go up when stock yields go up and (I don't know if CNN counted this or not) people invest in retirement funds which invest in stock. And insurance companies also invest their customers' money.

(http://money.cnn.com/2014/09/18/investing/stock-market-inves... )

http://www.valuewalk.com/2013/03/retail-investors-hold-38-of...

"A surprising fact revealed in the report is that retail investors have invested $9.8 trillion in the U.S. equities, or 38 percent of the total $25.8 trillion corporate equity holdings. Additionally, $812 billion hedge fund assets belong to US retail investors. To put in context hedge funds have total assets under management of approximately $2 trillion. This would mean that approximately 40% of hedge fund assets come from retail investors in the US, the remainder comes from foreign investors and institutions."

> They're a tiny percentage. It is widely acknowledged the benefits of economic recovery has almost entirely been captured by rich people and ordinary people haven't seen an effective wage increase in a decade.

The stats don't back your stance.

https://en.wikipedia.org/wiki/File:U.S._Income_Share_of_Top_... here, rejoice that the top 1%'s share is mostly static

Meanwhile,

https://fred.stlouisfed.org/series/MEHOINUSA672N it's increased by 7.3% from 2012-2015

Interestingly, you said "The stats don't back your stance." while not using any stats yourself and only using weasel words like "It is widely acknowledged the benefits of economic recovery".
I have noticed that a lot of old 10p coins are noticeably a lot thinner (presumably worn down rather than starting out thinner)

Prior to about 2010, 5p and 10p coins really were thinner. They were changed from copper/nickel alloy (Cupronickel) to nickel-plated steel to reduce costs. But in order to maintain the same weight, the coins had to be made thicker.
Papa the Investor
I've been to a couple private clubs where cell phones are banned, except for in the phone booths that were installed 50+ years ago, sort of odd to see them disappearing everywhere, but then staying oddly relevant in random places
More generally, I don't understand this argument. Assuming you can trust the C compiler (big if, but at least some validated (large subset of) C compilers exist; see CompCert), I don't get why this would be worse then generating machine code in a safe language.
FFTW[0] is also written like that (generator written in OCaml emitting C).

[0]http://www.fftw.org/
Haha it's just a name I usually use.
Because there's an enormous spectrum of talent at those schools and outside those schools. For every top MIT/Stanford/CMU grad, there are 20 more people someplace else in the world with the same raw talent and ability.
It did that, in this one particular case. Facebook has what, hundreds of millions of users, maybe billions? No system anybody can come up with can handle every case that every one of those users will have perfectly. They have something that their experience leads them to believe is at least pretty good for most cases. They're not going to change it because it did the wrong thing for one guy.

They don't even know right now that it did the wrong thing. Presuming the root cause is a login from somewhere else from a password DB, all they know is they have 2 logins with the right password from 2 widely separated places. How are they to know which one is the right one? Asking for a real ID sounds like a good start, but the author refuses to provide one. Understandable, I suppose, but how else can he prove that he's the real account owner and not the other guy?
Can't edit it but that should have been.

PS: The US democratic party is moderate right/centrist, the republicans are right, left is outside of the discourse.
EasyPost is Hiring – Build APIs for the Fortune 50
> The plain fact, that also isn’t really about languages but is about plain old software engineering: translating or rewriting curl into a new language will introduce a lot of bugs. Bugs that we don’t have today.

Don't rewrites, even in the same language usually lead to a better version of the software? I can't really imagine a seasoned C developer introducing completely new bugs in a code base they are already very familiar with
Coincidentally, I recently felt the urge to do a braindump and write a few blogposts. I had learned new things, and it was hard finding that knowlegde, combining sources etc, so I thought I should share it. It is technical content targeted at developers.

My last blogpost was four years old, I wrote it on my company's website, were it got buried after a redesign.

So I opened an account on Medium and did my braindump there. I want to write three posts, have published two now, the last one yesterday. I promoted each one with a single tweet.

I have been happy with the response: the first article got 1000 views, the one posted yesterday already has 4000 views on the first day, probably because it has a broader topic. I got many retweets and likes, and I'm an absolute n00b on twitter. My first post got mentioned in a vlog.

I didn't really know what to expect, but the response seems very good to me. So I do not really share your observation: It seems that there is demand for good technical content. I did spend quite some time researching the topic and trying to write it well, as a non-native english speaker.

I do think good content has to add something new and interesting, shallow or promotional content will have a hard time attracting readership, as there is too much of that.

p.s. last post is at https://medium.com/@MaartenSikkema/using-react-redux-and-web...
One data point :

Their Hackernews clone based on their own SPA framework is much slower than the plain old HTML site.
Custom| Professional| Mobile| Android| App Development| Company
Was it treason when Canada left the British Empire?
How to choose the right IoT cloud platform
So no code is safe? All code before execution has to be lowered to some evil, unsafe language, most commonly the assembly language of targeted CPU.

The mystical process of "programmatically generating code" in also known as compilation. The case you are describing is a compiler bug. The compiler wasn't able to generate target code (in this case C code) with semantics and/or guarantees of the source language.
But El Al is also profiling passengers before they even reach the airport. They stop people on route and question them to gain any subtle clues as to whether people might be nervous or acting strangely.

They know weird shit like who you've met after being in Israel. A gay friend of a friend went to Tel Aviv Pride, and was taken aside and asked why he'd chosen to sleep with an Arab as he was leaving the country.
Lilyhammer is prototypical of what I now expect from Netflix originals -- a good hook and solid first season, followed by hours upon hours of the same thing dragged out ad infinitum.
> And lastly, why is there a delay between the ban being announced and it taking effect?

Would this not simply be to give airlines and people time to adjust policies?

Was there a delay on the Note7 ban? Or perhaps they decided to implement one after some lessons learned from it?