skysight-inc/HackerNews huggingface dataset:
Terrific! You named it -- Realistic Programming! Now you will be as famous as Dijkstra, Wirth, Knuth, Stroustrup, etc.!

Yes, I saw some sense in some of the criticism of the GOTO statement, but, yes, I still use the GOTO statement.

Main usage: In a function, some bad situation is detected. Okay, that code might write to a log file and should set a return code value. Then that code just does

GOTO OUT

which means, time to give and just get out'a here, ASAP,
where OUT is a statement label of some code that does whatever general clean up is needed and just returns.

There's another cute use of nearly a GOTO: For a loop, have something like DO FOREVER and in the code of the loop, maybe several places, decide when to get out'a the loop and then, do so with a statement LEAVE or some such which is really a GOTO the next statement after the end of the loop. It's essentially a GOTO and in some languages is implemented with an actual GOTO.

But there was a totally sweetheart use of a GOTO in PL/I: In some code could have a statement

ON FUBAR

where FUBAR was a condition that could be raised, and this statement ON was followed by some code to be executed if
condition FUBAR was raised. The ON statement made the condition FUBAR enabled and established what to do if the condition was raised. The code of the ON statement could have a GOTO.

So, the code of function A has such an ON statement. Function A is called and the execution comes to the ON statement. Now the condition FUBAR is enabled and that ON unit is established for condition FUBAR should it be raised. If the code of function A returns, then that ON condition is no longer established.

Function A calls function B which raises condition FUBAR.
Then the code immediately jumps to the code of ON FUBAR. If that code executes a GOTO to a label in the code of function A, then all the code in the stack of active code from function A and lower is ended (e.g., storage automatically allocated is freed), and execution continues.

So, look, Ma, a way to handle exceptional conditions that is easy to code and understand and does the usual, obvious stuff to clean up the mess for, e.g., no memory leaks.

And could do GOTO X, and the X could be a statement label in
any code so far called but not yet returned, and the label in the code most recently called but not yet returned would be the target of the GOTO. Again would get stack cleanup. Nice.

Ah, Dijkstra would roll over, screaming.

GOTOs are a common part of life: If get a flat tire, then raise an exceptional condition, cancel a lot of plans and work in progress, and go to the shop of the towing service and call a cab. If the computer processor fan stops and the processor overheats, then something similar. Lots of common situations in life.
this is how they clean ears in asia:

https://en.wikipedia.org/wiki/Ear_pick
Still at some point they did move up there. We come from Africa, where it's cozy.
No,

Or to rephrase, No React has not won the frontend war in the way and scale that jQuery won the front end war. At one point something like over 50% of all new (at the time of its peak) web applications big and small included it? No. I mean jQuery actually really lost its stranglehold primarily because the browsers actually started incorporating most of its core ideas into themselves to a point where it wasn't 'necessary' anymore.

However as far as alpha geek mindshare, react has definitely overtaken everything else in the frontend world. At least from what I can tell.
Indeed. Things like GraphQL and even OData should hopefully take over the vague idea of "JSON available at a resource" which is needlessly complicated for most APIs.
Nah, yeah.

Negations aren't rare in Aussie speech (see "litotes": https://en.wikipedia.org/wiki/Australian_English#Vocabulary).

If you're not too fussed about the less than positive implications, you can even use it for emphasis.

No reason not to embrace it.
Well, there were two ;) Thanks! That reads much much better.
I haven't gone searching for answers, but purely from speculation, the sturdiness of the USB Type-C ports seems like a regression with comparison to USB 1/2/3 ports. I love how rugged USB ports have felt in the past (that is, before type-C).
OK, let me try to summarize:

REST does not work well for JSON APIs

This is because HATEOAS for JSON APIs never worked out

JSON APIs will continue to move away from REST and towards RPC and SQL-like architectures

However, if you wish to adopt a REST-ful architecture for your web application (and I think it is a good one for many applications), there is a good way to do so: have your server return bits of HTML, which naturally allows for HATEOS, and use a library like intercooler.js to fully embrace the concept.

Does that clarify?
I too have wondered this. It seems like it would be relatively simple to create a device that can detect drugs more accurately than a dog. The only problem might be that creating such a device might cost significantly more than training a dog.
Phoenix the Elixir framework? Or something else?
I've emailed the Foundation to ask them for the reasons for the change. I'll post any replies I get here.
https://en.wikipedia.org/wiki/Electronic_nose

Electronic noses in specialized niche use cases is past startup phase and well into industrial implementation.

However, the nose of a trained dog exceeds electronic capabilities.

In fact, an electronic nose that good might be equivalent to a Star Trek tricorder.

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

http://mythbustersresults.com/episode74
Only generically; generic tangents aren't great for ontopicness. But the real problem is that it wasn't a reply to the very specific and informed comment we detached it from.
How to Identify Converting Keywords and Revamp Your SEO
Might have been different if they had chosen to embrace SQL, instead of just putting it on the roadmap and letting it rot.
Again, why is there a loop hole for illegal search and seizure?

There have been lots of news coverage on illegal search and seizure for last couple of years, but it still happens very frequently.

How can it be solved? May be a new constitutional right should made it to law that guarantees a no fuss recourse path for every law if you believe you have been wronged.

Without people actively participating in democracy, its going to rot.
Their site at http://www.findplanetnine.com/p/blog-page.html addresses the areas the Tyche survey and other surveys cover.

My TLDR:

* The WISE survey might only find Planet X at it's nearest approach. Kevin Luhman has redone the survey using the most sensitive WISE bands that only cover a narrow area of the sky and hasn't found Planet X.

* They reviewed the Catalina Sky Survey and eliminated most of the areas they'd expect Planet X.

* The Pan STARRS site survey didn't find Planet X.

Conclusion: Planet X is at aphelion, difficult to find with the Milky Way as a (stunning) backdrop.

I just found their paper: http://iopscience.iop.org/article/10.3847/0004-6256/151/2/22

I wonder how their conclusions match with David Nesvorny's paper predicting a 5th planet having been ejected from the Solar System: http://arxiv.org/pdf/1109.2949v1.pdf
Meteor RethinkDB
Back in April 2015 Corinthian Colleges was fined $30 million for

...falsifying job placement records, lying about graduation rates and steering students into high-cost loans dating back...

https://www.washingtonpost.com/news/wonk/wp/2015/04/15/how-a...
clear, precise, well-thought... great article!
I love Sandstorm, but IMO, the requirement of a wildcard certificate is a small drawback in setting it up on my server. I know I can use sandcats.io but if I am using something like Sandstorm, I want complete control over my data, including domains. (I am now using sandcats though so there's that but I wish I could get a wildcard cert for free or from Let's Encrypt :)
From the Vault of MIT
Even off duty cops (from different jurisdictions) aren't immune.
Part of the reason this year has been a bit of a mess is because MDG has been focusing a lot of resources on the profit-generating component of their business: meteor hosting and support. They launched Galaxy (their hosting service) just a couple months ago so it's still too early to say how successful that will be, but it could easily be in their best interests to cannibalize some of their older features if it helps to grow their userbase. For example, not having to spend developer resources on Blaze might enable them to get SQL support out the door sooner. I'm cautiously optimistic for them but wouldn't be too surprised either if they were still struggling next year.
They can get refunded from usps insurance, I believe.
I happened to be on the page for GPL violations by AllWinner today. That page also mentions AllWinner recently joining the Linux Foundation, and how their violations are getting worse! http://linux-sunxi.org/GPL_Violations
BJ&JG was a bit different, though. ;)

It's hard to say that two guys who were new to management at the time are entirely representative of the entire small company market. Inexperienced small company market, sure, but not the market as a whole.

Also, because real life slipping into HN - why the heck did your sound script pipe a python regex matcher's stdout to perl to have it immediately go directly to stdout for another pipe pick it up?! The context switches... the p&l impacting context switches.... ;)
> And Angular is… well, it’s not React.

Can someone explain what this statement means in terms of the technical benefits of React over Angular?
thanks very much for the explanation. That sounds like interesting work and a great solution
I think you'd need the cotton bit for Western-style earwax (which I suspect dominates in the US - see https://en.wikipedia.org/wiki/Earwax#Physiology), or some water. But it could just be a question of technique.
Appreciate it. I didn't realize who you were or that Sandstorm was a crowd-funded FOSS project until now. Just read through your site a bit, including advisory response to Ben Laurie. Nice touch, there. ;)

Anyway, overall results give me a good, default impression of this work. I'm semi-retired from high-assurance security but am considering taking on some OSS projects or contributions. I'll add this one to list of possibilities as you're one of the few doing quite a few things right. No promises as I'm often a procrastinator or trying to do too many R&D activities at once to commit to a codebase.

Except the sandboxing scheme and endpoint. The usual. (sighs) That's OK, though, for now to get adoption and testing of your software. Robust implementations on separation kernels or whatever can come later if it proves worthwhile. Just try to keep it portable, at least not too dependent on Linux model or toolchain specifics. That will help if someone decides to raise assurance level by porting it to high-security tech. It's damn near impossible for a lot of modern software that gets too clever with platform-specific stuff.

Not sure I could do it in C++, anyway, as I don't remember that language. Was too complex for high assurance. Main idea was to apply something like the Nizza Security Architecture and Softbound + CETS to it w/ extra attention to input validation. LANGSEC has a parsing system, too, so maybe someone could integrate their techniques with your middleware. Quite a few possibilities even with minimal modifications.

Note: Also, as you're already looking at syscalls, there is an old trick I used to use and which Poly^2 independently invented where you straight up rip sys call or optional functions out of the kernel code. Just put a return 0 or something similar in stuff you'll never use. Ditto with userland although you can just remove whole components or MAC them most of the time. Makes system leaner, too. I ran stuff on non-Intel, unpopular processors while removing evidence that I was doing that for added hacker frustration. ;)
Why would the post be business focused? The guy that wrote it doesn't run "Meteor the business", he just loves the framework itself.

I am not even sure how a CMS got mentioned and compared here.
And besides that, the commercial airlines do courier postal packages & letters for high priority stuff.

all the major courier services offer same day delivery across the US. I learned this when I flew from NC to CA and left my car keys in NC. I could have gotten them on the next plane to CA for about $300. It wasn't worth it.
I find the opposite. USB Type-C ports seem more sturdy to me than prior USB standards.

It's possible that's because my Type-C hardware is newer, and the other hardware I'm comparing it to has years of use. I find that with regular use, connectors and ports naturally loosen up over time.

One other possibility might be spec compliance. A lot of the third-party Type-C hardware out there right now isn't fully compliant. If you're shopping for Type-C adapters or cords, definitely only buy stuff that's 100% compliant.
I am amazed by how the article attempts to look forward to what the future will hold with JavaScript frameworks... and yet seems to be completely both dismiss or misunderstand (perhaps willfully) why previous frameworks have succeeded.

jQuery did not succeed because it was a 'good enough' competitor to dojo or prototype or mootools or extjs... it succeeded because it went completely the opposite direction. it did not attempt to be a fundamental ui framework like those guys, it didn't try to be full featured, it didn't try to change javascript to look like another language and didn't try to shift the paradigm of the front end development world.
I believe some consolidation helps them reduce costs and improve efficiency. I guess every market consolidates into two to three big players eventually.
If police departments were responsible for paying for the collateral damage they create and even deliberately exacerbate (time wasted, damage to the car, and emotional distress from assault), this problem would fix itself overnight.

"Probable cause" is not a justification for evading responsibility to their victims.
Not having to spend money on Blaze will make them more competitive as a hosting business. Frankly, when is the last time you saw a billion dollar unicorn hosting business? Or a hosting IPO?

I doubt we will see SQL support. We will likely see something with GraphQL instead.
Interacting with Haskell Graphically
Comments moved to https://news.ycombinator.com/item?id=10942294.
You'd have to get rid of the war on drugs. And then you'd have to prevent the government from pulling the same thing with a new "enemy" like terrorism.
Probably just means that Angular (at least seems to be) losing momentum and marketshare to React. It's hard to go a day without seeing something cool or exciting about React on the front page here, but all you see about Angular is either nothing or articles about the upcoming(?) transition to 2.0.
I think it's clear that's not the intention here. The message is basically "the clock starts ticking with funding, so expect to meet a higher bar".

This is similar to the notion that a startup can "sell the dream" up until the point where they have revenue, after which they're no longer selling dreams, they're selling the trend.
Ask HN: Leaving cushy job for startup (hire #1). Feed me your wisdom elder ones!
As it turns out, comfort bores me, a LOT. After trying the whole office job career thingy, I've decided it's either jump out the window or start taking risks again! (And promptly settled on the latter (I'm only on the third floor so it would only kind-of-hurt).)

However, I need a quick education on startup culture, jargon, inspiration, and how to avoid stupid mistakes. I know next to nothing about funding, dilution, employee compensation, etc. etc.

I want to be smart about this and make good decisions. What makes your personal list of the best no bullshit books / talks one should read before embarking on ye ol' startup journey?

I have asked for a reasonable salary (same as current) + equity. The company model looks like it will either get huge (already growing + actually makes money), or crash and burn like a glorious zeppelin due to regulatory issues. I find this very exciting as it's truly disruptive(TM) in a space that needs it.

If it does fail, I want to use this as a stepping stone / learning experience for a next venture. I do not, EVER, want to go back to boring 9-5 punch in and out life. After two years at a stable big-corp job, I've decided that it is my personal version of hell on earth (and I've been through cancer! which could come back any day! -- life really is short... and I don't plan to spend any more of it in meetings with middle management or building something that I don't own a part of just to make someone else rich... you know it's bad when hospital days feel like a welcome relief from daily routine). -- I also get bored of programming unless I feel I'm building something that matters or is challenging. I don't care about being a Professional Software Engineer, I just wanna build cool risky shit and play mad scientist with smart people.

Okay, now it's your turn to tell me what to shove into my brain before embarking on this journey (preferably in book or video talk form).
I just want to know if Planet X is covered by human-enslaving robots.
Enhanced BeagleBone SBC Has 1GB RAM, GbE, Sensors
It was an in-place upgrade on a 3.5-year-old installation of Windows 7.
I have read blog posts by Yahoo and Netflix.

While I believe you, I'm just curious how they are being used by Amazon or Apple. Do you have references about this?
If they can accurately smell drugs they lose probable cause to search cars and confiscate cash.

They are incentivized to have false positives.
I actually founded a get paid to surf website named PayBar that was the first to make it to market. It was far far smaller than AllAdvantage, and paid quite a bit less(no VC money = bootstrapped before it was cool). It was a sustainable model however until the bubble burst and rates went from $60 CPM to $2 or less CPM. The original founder of AllAdvantage has also tried in the recent past to do it again with a company named AGLOCO. I have a soft spot for the get paid to surf portion of Internet history, but I really don't see it coming back looking anything like it used to.
Olfaction is really amazing. (Even the crappy human version, to say nothing of e.g. canines.) We can build cameras that see better than eyes, microphones that hear better than ears, but there is no technology that comes close to matching a nose. Sure there are some special-purpose sensors that measure the precise concentrations of particular gases, but nothing so general as a what's found in all sorts of different animals. It's not even clear how to quantify smell, for that matter.
It's already at 2-3 big players. Further consolidation gets us closer to monopoly tactics. Let's just say tech consolidation is usually bad for the consumer. I see no reason that two, neck-to-neck competitors becoming one company will help us in long-term. We've benefited from those costs and product efficiency was great so far.

I'm sure their costs and efficiency will improve. As usual. ;)
Hollywood needs to Get off its High Horse
Finding the Tennis Suspects: Deanonymizing BuzzFeed’s Tennis Exposé
In Turkey, we've been literally calling them "ear sticks" (kulak çöpü). Only recently It started changing.

When the name is that, it makes sense to poke your ears with them.

I tell people not to use them in their ears but everyone is so used to the idea, it sounds absurd when you argue that ear sticks are bad for ears.
Is Blaze vs React really the issue?

Try running a Meteor app with >500 concurrent connections.
Why? It has all the features a blog needs. Who cares what it's called?
Even if Patreon doesn't have a big exit, it could still make a profit, and that profit could then go back to the investors.

According to the article, this gives Patreon a $47 million valuation, and Patreon has 17,000 artists.

That is only ~$2,800 per current artist.

Given that this investment is made with exception of growth, this does not seem like an unreasonable valuation.
>It seems like it would be relatively simple to create a device that can detect drugs more accurately than a dog.

It could be simple but tied up in patents I suppose. I have a feeling if it was even remotely simple it would be prevalent in airports though.
The industry definitely needs something like this. Congrats!!
This is just not true.

The internet example for starters is incorrect. See AWS for some idea on real costings. It's just most internet plans are a all you can eat style system.

The real answer is subsidies and trade agreements.

PS The penny post would be around one pound in today's figures, more than current letters costs.
It's about who maintains it.
Wrote this awhile back on streaming and dataflow:
http://www.jonathanbeard.io/blog/2015/09/19/streaming-and-da...

There are literally hundreds of data-flow streaming implementations. Quite sad that Google has named their system "Dataflow" which literally search bombs any other dataflow like system out there. Many of these systems are more data-flow in semantics only but more transaction-like under the hood. Quite nice for simple check-pointing/fault tolerance but not so great for performance. There's also some interesting work form Dongarra's lab on data-flow task sets (very OmpSs like). The earliest system was by Jack Dennis. Either way, I hope my blog post helps answer your questions.
I can't really comment of the ports, but the connector at least seems like a step up from microUSB connectors for phones etc.. Those have always seem flimsy to me, and I've damaged a couple trying to plug them in backwards. I don't foresee having the issues with Type-C (especially as it is reversible as well).
Thank you for your advice, especially on controlling the points at which to switch context.

I can listen, think, and talk. So I have no problem in meetings and discussions on either technical or non-technical matters. I am pretty good to go through code line by line with colleagues to trace down bugs. Only when it comes to the point to write down real code of a dozen lines or more that I have to be quite. I don't even mind my surroundings are loud or not.
When a friend was in med school, she was told by an ear doctor that a Q-tip removes only material that would have fallen out naturally, while at the same time pushing everything else in further. The doctor also said that Q-tips are what keep them in business.
Considering how ingrained authoritarianism and hierarchical thinking is to humans, good luck.
9-5 is shorter than 9-9, remember that.

Startups have a reputation of running developers into the ground. Corporate work, while boring at times, can be great if you want a work-life balance.

If you're going to be one of the first few hires, expect things to change as the startup fails to gain traction and the money runs out. Even if it successful, you'll probably find yourself in a management role as more people are brought in and you're the expert on the business domain (as well as the landing pages, marketing emails, CRUD apps, account details, etc.).

In some ways, a solid corporate gig can be more honest. IME you get hired for a role and you do that type of work. Maybe you haven't found the right cushy corporate gig?
Well, this isn't a particularly insightful comment, but my feelings about this are "fark :[". The AVR definitely has something Nordic about it. I first learned C when programming an AVR Butterfly eval board to take photos like [0] using [1]. I've found the AVR architecture to be much cleaner than 8 or 16 bit PICs. Atmel, for the most part, embraced GPL and GCC. Microchip has tried to squirrel GCC optimization features away from being truly FOSS.

[0]: https://c1.staticflickr.com/1/53/115619170_4445c593cd_o.jpg

[1]: https://c1.staticflickr.com/1/56/112758047_dc5b4bdc3b_o.jpg
Perhaps implement a sorting network?
https://en.wikipedia.org/wiki/Sorting_network
Good point. I could well be wrong on this.

Part of it, too, is that I'm drawing an analogy in my head to cold-water fisheries, which tend to be richer than warm water.