skysight-inc/HackerNews huggingface dataset:
> Nishanov dismisses stackful coroutines out-of-hand because to be memory efficient one would need relocatable (i.e. growable) stacks. But that begs the question of how costly it would be to actually make the stack relocatable. I would assume that in a language like C++ where stack layout must already be recorded in detail to support exceptions, that efficiently relocatable stacks wouldn't be too difficult to implement.

No, this is a common misconception. Unwind tables only store enough information to be able to locate each object that has to be destroyed. It's an entirely different matter to move those objects, because a system that does that has to be able to find all outstanding pointers to an moved object in order to update them. It's legal, and ubiquitous, in C++ to hide pointers to objects in places that the compiler has no knowledge of. Thus moving GC as it's usually implemented is generally impossible (outside of very fragile and application-specific domains like Chrome's Oilpan).

The best you can do in an uncooperative environment like that of C++ is to allocate large regions of a 64-bit address space and page your stacks in on demand. (Note that this setup is gets awfully close to threads, which is not a coincidence—I think stackful coroutines and threads are essentially the same concept.)
It is easy to love a company that is tossing free money at you to use their service. It will be harder to love them if/when they are a de facto monopoly on public transportation and are limiting service and raising fees to recoup their years of investor subsidies.

Enjoy your cheap rides!
PE continuing education requirements are a joke compared to what this industry expects. Texas, where I used to work and considered getting my PE requires 15 hours per year. What person here in their right mind is going to claim a software engineer can keep current with that little independent study?
> it's no fun for them

Have you considered that maybe it's "no fun" for them because the societal expectations of what girls and boys should enjoy begin from an early age?

Perhaps the forms of play that lead many to programming (eg building things with lego) aren't encouraged as much as playing with dolls. These pressures and expectations come from family and friends from the day we are born, it's the classic problem of separating nature vs nurture.
> Dispatch via app is a solid improvement over the old phonecalls or street pickup, automatic credit card billing is an improvement over cash, and in cities with shady taxi drivers, GPS tracking is an improvement over potentially hacked taxi meters.

It's also the easiest part to copy, most taxi companies have already. Now try asking they investors why the spent so many billions of dollars to break into the taxi business?
Downsides: volatility, still new-ish, non-trivial to secure for regular folk, zero recourse if hacked/stolen

Upsides: Money/valuestore that is infinitely divisible, scriptable (m-of-n, "smart contracts"), reliably and inexpensively transmissible world-wide, offers financial services to third world and unbanked, potentially less volatile than some fiat currencies, potentially resistant (not immune) to manipulation by governments, potentially usable as backbone for "internet of value" applications (side chains, colored coins).
Understanding the Angry Mob at Middlebury That Gave Me a Concussion
Experimental evidence suggests that having lots of users isn't a guarantee of stability. See Venezuela (right now), Zimambwe Dollar, German Reichsmark, Argentine Peso, Mexican Peso, Thai Baht, etc. All of these had tremendous collapses despite a solid user base.

However, I think you are right in that a small user base implies some level of volatility. A large user base is perhaps a necessary, but not sufficient, condition for stability. Bitcoin's instability is also generally overstated, in my opinion. There have only been a few instances where it was so volatile that you wouldn't want to use it for day-to-day transactions.
Are you kidding? They proceeded to create an incubator of competitors with both of the biggest players out of the way. I've watched several of these apps grow and thrive because of the market that Uber & Lyft created and then abandoned.
Metadata writes can be considered atomic, so an integrated checksum is written at the time the metadata block is written, or overwritten. Whereas with data, you can't do overwrites of either data or checksum, it's not atomic and any kind of crash or powerfailure will result in mismatching data to checksum. So unless you have something really clever to work around this, you need a copy on write file system to do data checksums.
"A lot of power"

2/50 senators = 4%

55/538 electoral votes = 10.2%

Compared to:

Population = 13% of US

GDP = 15% of US
Is Zerigo (DNS provider) shutting down?
I've received an email (purportedly) from Zerigo, saying:

Dear Zerigo Customer,

Effective April 30, 2017, Zerigo DNS will shut down permanently. We thank you for your
business and apologize for this inconvenience.

If you are managing a public Web site or other Internet domain using Zerigo DNS, you must
migrate to an alternative DNS provider prior to April 30th, 2017 in order to prevent a DNS
error message from displaying when a user visits your website.

They go on to suggest migrating to Route 53. However, I can't find anything on their website, only a Reddit thread (https://www.reddit.com/r/sysadmin/comments/5nt8dh/zerigo_shutting_down_dns_service/). Does anyone have more information on this?

Edit to add: the email looks legitimate at first glance, and unlike the one on the Reddit thread does not come from "Rexx.com". It hasn't fallen into Gmail's spam box either.
Yes and even beyond smash and grab, the more serious crim would still need prior knowledge of the target system in order to know whether to "bring their RF jammer" and so on.

It's good to expose the flaws, but criminals don't know whether the relay switch on the window frame is hard-wired or not, or whether a camera is hidden which records to its memory card and not even part of the IoT. The array of cheap devices we have available to protect, deter and monitor our homes is awesome.
Jesus, that's dumb.
Here's a cool technical and short article about the Clear Containers by someone worked on the project to bring you up to speed with what is going on: https://lwn.net/Articles/644675/
All testimony in a trial is under oath. You still haven't heard the testimony from any of the accused, and you already came to a conclusion based on the single testimony of the plaintiff? "Welp, that's good enough for me, I guess Levandowski is guilty. Let's wrap it up, everyone!" I hope you realize how ridiculous this is.

You don't know he dumped anything onto a USB drive. As far as the testimony knows, he plugged in a USB drive to the laptop. Any lawyer worth her salt would rip that to shreds. Do you know he didn't copy a movie onto the USB drive and watched it from the laptop? Do you know he didn't use the USB drive to copy information onto the hard drive? To qualify that as "Dead to rights" is particularly stupid.

The only person being unfair is the blogger, and you, by coming to a conclusion without hearing all the evidence. It's not solid analysis, it's lazy and premature.
They will have to change their entire organization, structure and how they do business, to accommodate this. It's as "easy" as copying Apple's vertically integrated model - many have tried...
I like to pay for software I use. Especially if it's something I use to make money.

But if you don't ask me, I won't pay. Too many people are afraid to ask. I'm happy Jason is working towards changing that.
It's still using callbacks, though. So while there may be a single allocation, code conciseness suffers.

Using Rust futures' and_then, or_else, etc interfaces, try writing a parser that consumes data byte-by-byte, where reading each input byte might block. (Similar to using fgetc() in a C state machine.) It won't be very easy to understand, especially compared to threaded code.[1] Doing that with coroutines, even stackless coroutines, would be much more clear.

That's the problem with futures. If futures were so great, we'd use them for all control flow. There's a reason we don't, just like there's a reason we don't use purely functional languages everywhere. But at least purely functional languages are consistent, and usually have other features (like lexical binding and garbage collection) to make alternative control flow patterns easier and more concise.

Ask yourself this: if resizeable, relocatable stacks were a freebie (i.e. already provided, or because there was 0 desire to support a pre-existing calling convention and most of the instrumentation needed for moving stacks was preordained by exceptions), would you ever not implement stackful coroutines? The future pattern API could be easily implemented as a library for when it made sense. Decorating calls with "async" would become superflous, but people would still be free to do that. Message passing and consumer/producer inversions would become free and natural coding patterns. Stackful coroutines are clearly the more powerful abstraction. But implementing them is difficult, especially in the context of legacy environments (e.g. C runtimes) and so people compromise and often choose a less powerful abstraction.

[1] In reality you're likely to use a mismash of patterns and language features because futures will just be too intrusive of a construct for fine-grained control flow manipulation. All of that adds to the complexity of a language and to the solutions you implement in the language.

Back when C10K was first written, the big debate was between threaded vs asynchronous (implicitly callback based) code. In terms of performance asynchronous won the day, but I think the threading proponents were always correct that threaded code was more natural, more clear, and less buggy (ignoring preemptive multithreading). Even though I've spent over 15 years writing asynchronous I/O networking code, I think the threading proponents were correct. For control flow, threading is the best default model and should be the gold standard. Stackful coroutines are similar to threads in terms of how they relate to normal calling conventions and function types. When it comes to the theoretical code conciseness and performance possibilities that's no coincidence.
I especially dislike the "let's make spotify, but on blockchain" approach the community has. They simply don't get that people won't switch over to their solution just because it's running ethereum blockchain.
Could be all sorts of reasons though. I am a guy who loves or rather loved programming, learning every possible language, doing all sorts of projects in my spare time.

Yet nobody can predict the future. I never would have thought I'd burn out/get depressed or whatever happened. I am not sure how to label it but I certainly lost the spark big time. I had a long period where I frankly enjoyed doing laundry more than programming. I am not kidding.

That can be a bitter experience because so much of my life was centered around programming and that is how I kind of defined myself. It is actually a time I wish I had not been so in love with programming and it was just a job, because then I would have had another life to fall back on. If programming consumes too big part of your life, you are screwed if you should happen to lose the interest.

I am slowly getting back to enjoying it more, but my take away is that shit can happen to anybody. Doesn't matter how excited and passionate your are about it now.
If you're willing to take it a step further and have some experience with hardware (or you are willing to learn), you can even buy a bare e-ink screen and interface with it. For example, the ED060SC4 is cheap. The datasheet is not very helpful, but if you look carefully, you can find some drivers on github, or more generic tutorials on e-ink drivers.

http://essentialscrap.com/eink/ is probably one of the most helpful resources out there if you want to do this.
On the other hand, if they think that Uber is likely to go down anyways, a big settlement could allow Alphabet to recover a disproportional amount relative to other investors. Timing would be key, ideally they would want to settle while there is still cash, and use the legal battle as an excuse to find a buyer for their stake while there is still hope.

Thinking in conspiracy theory mode I wonder if it could be possible that Alphabet knew about the theft for longer than they admit, waiting for Uber's self driving projects to grow more valuable, kind of like a secret stake. Would that even be legal?
Preact: Shattering the Perception That Open Source Must Be Free
> "See? Trump was right!" rathole. And here we are.

Not at all. I don't care whether Trump was right, but I do care whether we have a system where an audit can be done that can actually provide reassurance that inappropriate surveillance is not being done. Note that I am not arguing that surveillance of Trump (if it occurred) was even inappropriate, since there were widespread concerns about his ties with Russia, and the administration in office at the time had an obligation to provide due diligence.

There has been very little focus on the rule of law and limits to the surveillance state. Trump is not a privacy advocate, but nevertheless his remark made some of the relevant issues around unchecked surveillance timely.
Some of the things CA "receives" from the federal government are zero percent interest rates and preferential access to vast capital markets, a heavy implicit labor cost subsidy via immigration policy, an implicit promise of massive earthquake insurance, access to the Colorado River, copyright & patent protections for its primary industries...

Looking at fiscal inflows and outflows isn't the benchmark of who gains from a relationship and whether it is positive-sum.
what's your definition of law?
i.e. you can be both investor and employee in the company. But you have to run payroll which means company must be generating money or be VC funded
However, LSoE is not the same as Goldsmiths, which is the college mentioned here. London colleges are generally good but there is quite a lot of variance - between "great" and "the very best".
كلام+عن+الاب+2017+شعر+عن+الاب+جميل+جدا+كلام+جميل+عن+الاب
Huh? Even BIP-101, the original Bitcoin XT BIP to have forever increasing block size, mentioned this as a risk [1]. It argues that the effect is insignificant, but I would hardly call it watertight.

[1] https://github.com/bitcoin/bips/blob/master/bip-0101.mediawi...
> Algorithm questions could be last resort, design questions might end up making myself the interviewee...what else then?

Go for the design questions.

Let him show his design skills and show his ability to teach it to you. That's what you expect from a more experienced, isn't it?
For an example of the top of my head, take tax returns. In the UK the vast majority of people don't need to file one—your employer deducts the right amount each month from your salary and off you go. Moving to America I found I had to spend at least half a dozen hours trying to figure out what I had to do, eventually giving up and paying for a service to do it for me and am still unsure I filed correctly.

For another example, take getting a driver's license. In the UK you fill in a form online, they extract any other relevant details from your passport records and put in your credit card details and they send you a license within the week. It's a 15 minute process. In America I got to finding out I had to go to the DMV (and that I should go to the DMV in another city because it's somehow superior) and promptly gave up.

I know you said aside from healthcare, but even if you had the hypothetical best insurance available, with no co-pay or deductible, just keeping track of all of the arcane and opaque numbers, policies and restrictions is a huge administrative burden.

Now to be clear, I understand why some of these systems are the way they are and, in some cases, can see the necessity, but the fact remains that in almost any other developed nation there simply wouldn't be an equivalent administrative burden to just existing.
I guess the 4yo was lucky the lab identified another suspect... intuitively this sort of error should plague all "dragnet" type DNA "investigations". How would an innocent person defend himself 33 years after a crime was committed? No alibi could survive such a long time. I would have no problems with DNA as one of several pieces of evidence, but by itself I'm going to hang any jury I sit on. This is a good reason to keep one's DNA out of the databases if at all possible.
Most folks who say they "know" 12 languages barely can code in most of them.

From personal experience hiring programmers and dabbling in programming - the guy who devotes his life around being a Java programmer and grokking the entire ecosystem is far more effective at writing Java than the guy who is a stellar C guy who has been using Java for a year.

I think the "languages are just a tool! pick up the best one for the job!" trope is over evangelized. There are exceedingly few competent programmers who can pick up a language and be a true expert at it within a few months. Those guys are not who we're talking about in the article.

The more average programmer (e.g. guys who would let skills rust) is likely struggling with the basic concepts to begin with, much less picking up an entirely new syntax. These guys would take time measured years to get up to their same basic productivity as their first language.
^ to reiterate. This is a bit arbitrary since investor capital is not actually used this way, but the numbers would be:

- 41% of Uber's corporate expenses are paid for by the customer, 59% by investors

- 100% of non-corporate costs (driver, car, fuel, maintenance, etc) are paid for by the customer and 0% by investors.

But this instead somehow got interpreted as "the customer only pays for 41% of the ride cost". Which is completely false.
Shell Scripts Matter
Can't find info on Argo (not looking properly, most likely), but Cruise raised over $18m before being bought (for ???). It looks like a solid effort to launch a product/startup that was snatched up. Otto was ~6 months and bought for $680m. I think there's a pretty large delta of strangeness there.
Wow - Mesmerising is correct! Tip: Stay on the page for a minute at least.

Loved watching those outlying transaction dragging tendrils through others as they were associated... I actually found the visualisation helpful to mentally mapping how blockchains work - I had a more linear/tree representation in mind when thinking of them, but this shows that it is almost like a fractal function...
on the front page: https://news.ycombinator.com/item?id=13861980
Who is expressing their disdain for manual trades? What's wrong with coffee shops and STEM majors?
Sounds similar to what http://hypercontainer.io is doing.
SQLite has been in Python for ages, and before that gdbm and friends...
Molten Salt Reactor Claims Melt Down Under Scrutiny
Three Ways to Overcome a Big Ball of Mud Software Architecture
Right. I have heard people make the literal argument that while we should go after illegal aliens, we should _NOT_ go after those who hire undocumented workers, as to punish or penalize them for doing so would be "unfair" to them, because it would make them noncompetitive against other employers doing the same.

And at the same time they stammer that the idea of a drug dealer telling a cop "It's unfair to me, because all these other people are out here selling drugs too!" is somehow in no way the same thing.

Capitalism writ large. It's perfectly acceptable to break the law to make a profit if you're a company, but not to be breaking the law to give yourself a livelihood.
We're seeing +10 minute delays for updates to resources.
Forseti: Security scanning, inventory and enforcement for Google Cloud accounts
i think on paper everyone will agree with you. i've hired for [insert specific language] and struggled with the same contradiction.

the hard part is there is no obvious cost/reward outcome. the ideal scenario is hiring someone with the relevant knowledge immediately. so you shoot for that. a month in you're saying "we're close now, though...". when do you cut your losses?

hiring someone who doesn't know your stack comes with some extra risk, and compared to alternatives, seems like settling.
I tend to tell this to people quite often, but depending on the use-case – it might actually make sense to use something like Mechanical Turk to get complicated scraping done.

But if the content is pretty neatly and easily scraped then the other recommendations make sense.

Though a bit of Javascript can now take you a long way ;)
Yeah, but google says no.
I like how even the URL has a "bug" (year 2106?).
Well, to some extent they could get a good deal of this information from being in bed with the phone company and the mail service. The difference nowadays is that making things digital has drastically reduced the cost of operating a surveillance dragnet (e.g. cost of copying / storage).
I'm not saying republicans are corrupt. Democrats are corrupt. I can work with corrupt. Republicans are crazy and dangerous. Keep fiddling while Rome burns. Hopefully no one will be aggressive to you...but then you never really had to worry about that did you?
What was this like...1990?

This is 2017. Are you not putting all of your transactions in an ordered table in a database with creation timestamps? That information should not be lost and should be easy to figure out, in UTC. Figuring out the conversion of some other time/date is a solved problem.

There should never be a question of when some work happened if you're following sane practices.

I do huge ETL projects that live or die on the accuracy of our timing data. Give me date(time)s in UTC and I'm happy. Anything else? Pain.
To your last point - yes, you can mix your view controllers (or Activity/Fragments on Android) between pure native and React Native implementations.
So a programming career is so fragile that one mistake kills all past experience gained? I don't think mistakes should be so costly, and in the article the father tried to remedy mistakes and was met with misfortune.
When that's what senior GOP officials are calling the party themselves, and have been for years, well before the recent election cycle, and how it's referred to in mainstream media, you might care to reconsider your position.

http://www.rollingstone.com/politics/news/how-the-apocalypti...

https://www.washingtonpost.com/opinions/lets-just-say-it-the...

http://www.newstatesman.com/blogs/mehdi-hasan/2011/09/republ...

http://www.thehypertexts.com/Republican%20Insanity.htm

http://www.slate.com/articles/news_and_politics/politics/201...

There is such a thing as false balance.
> Additionally, I'm not so sure my reply is that great of a defense, I am only stating facts because I do not believe that spreading misconceptions is very helpful to discussion on this kind of topic.

This is an interesting point. Over the past few years I've come to think that the most responsible perspective to adopt as a citizen is that officials and government are all, to some extent, bad actors who deserve a good measure of scrutiny and accountability.

The biggest breakdown in the democratic process has been a lack of appreciation on the part of the public for all that we consent to by not actively dissenting and demanding answers and accountability.

Frankly, the response by officials to the Snowden revelations was deeply embarrassing to our nation.
PocketBook, I guess. I never tried programming it myself, only installed some plugins, but it's basically a Linux underneath, so, I guess, a lot can be done. And unlike all these shady Kindle/Kobo/Nook/whatever they don't have any notion of DRM, they are just a device.

My own is quite old and the screen is not top-notch, I don't know how advanced and expensive they come right now. But give it a look.
John Oliver had a segment on subprime lending back in August:

https://www.youtube.com/watch?v=4U2eDJnwz_s

According to the video, there was a 31.45% default rate in 2015.