skysight-inc/HackerNews huggingface dataset:
> Compile time of this really simple example takes 2.85 seconds longer than the “simple C++” version.

Haskell, Rust, Scala etc. also have a lot of trouble with compile times. I wonder why, though - is it just a matter of priorities being placed on things other than optimizing the compiler, or is there some actual, inherent complexity in compiling these "modern" languages that doesn't apply to C or Go? (I suspect mostly the former, FWIW).
I think Vermont vastly overestimates how many remote jobs/workers currently exist

I’ve been trying to land one for over a year now

It’s slim pickings out here...
" if the insecurity of our elections isn't at least partly by someone's design."

For a lot of hyperpartisans it's only about winning. They don't care about fair elections.
There is going to be a 5 minutes lightning talk tomorrow at 11:50 UTC by one of the developers: https://c3lt.de/35c3/schedule/

Held in Hall Borg: https://streaming.media.ccc.de/35c3/hallb
Why is AMD microcode not open source to begin with?
Bangladesh slows internet ahead of election
Please do not pay attention to gender and potentially downplay woman’s own intellectual power.

Right. Valuing people more or less depending on what chromosomes they have or how the flesh they have under their clothes is formed is wrong and dehumanizing. People should be valued by what they do and make, not by how they are born and raised. This is how you separate real social justice from embittered identitarians posing as "social justice" -- are they truly against valuing people on the basis of identity, or do they use and exploit such tribal impulses for their own ends?
High voltage circuit breakers are actually very interesting, videos are on youtube. Some common ones are isolatef with SF6, and as long as there is fluor, it’s nasty.
Barack Obama’s Year-End List 2018
Gotcha. Serious Cryptography is good. Applied Cryptography is... not. Except insofar Latacora making stickers that make fun of it and people printing t-shirts to benefit charities is good of course :-)
BlockX Labs: Year-End Review 2018
The desire to overcomplicate and overabstract things does seem to have taken hold in the C++ community within the past few years. It's not anything new, however; just that for C++ to get the "Modern" treatment, is relatively recent. (Look at the Java and C# communities for example. What they don't have in terms of complexity in syntax, they make up for with an abundance of classes.)
More Flaws in Guardzilla Cameras Allow Remote Hijack of the Security Device
We use Elixir very heavily here at PagerDuty. The vast majority of our services are written in Elixir. There's generally a shared sentiment across engineering that developing in Elixir is indeed rather satisfying.

From a technical standpoint, it's highly suited to our business due to how well it does with concurrency along with its fault tolerance.

Here's a nice blog post by one of our Principal engineers on Elixir, it's a great read: https://www.pagerduty.com/blog/elixir-at-pagerduty/
The Go language has weak, C interoperability. The parents are strong in it. You wouldnt be going down same path. More like the opposite one that is closer to your actual goals.

I recommend Rust or D for your next try since compiler quality is best for those. D will be easiest to learn. You can always use unsafe in either if memory management gets in way.
Is there away to read this without hitting facebook.com? My DNS server sends all facebook.com requests to 0.0.0.0
The reader mode is the best tool in FF by far for folks who like to read the content. It filters out ads, lets you capture the content even if its behind a paywall (well, most paywalls are pretty dumb).
I was with you until "you cannot use references." Why not?
Haha, sorry if it was unclear, my tone was in jest.

Yeah, basically what Im trying to say is that this is awesome. It was several years ago so I don't have my old code anymore (different job), but it was in the printing industry, where we wanted to warn customers that their choices of color were...dubious.

However, it's extremely subjective. An example is certain shades of red/orange. The formula might tell you that using white text is a bad idea, but they're really the same to read, and white looks better.

One thing I'd have to play around more than my free time allows, but I had to deal with back then, was backgrounds with multiple color. Where it got really tricky is when the text overlaps multiple colors, you have to decide if you're seeing enough of the text that one foreground color is ok, or if it's too much and you have to say "no". It was incredibly tricky to do, especially with things like antialiasing involved. Training a model with that data probably would give much better results than my tweaked formulas of old.
The homeowner loses, Airbnb loses, and what about perpetrator? He gets off scot free?
As a former software engineer turned algorithmic commodities trader, my lessons:

* The VIX(futures contract) is the most accurate pulse of the equity futures market I have seen.

* The price of the VIX is no more important intra-day than the depth of the VIX's inside bid/ask.

* When VIX depth adjusts, so do equity future prices, over the course of 5-10 seconds.

* Be fast, I mean really fast. Or better, program your trading platform to be fast so you don't have to.
I think it's useful as a rough framework. Definitely overlays well over a lot of my own observations of life and people. And, yes, LSD is always helpful in these matters.
ML Kit's Text Recognition API: Android vs. iOS
Tabs, tiling etc are something many terminals offer, e.g. terminator or konsole. What they do not offer are things like running in the background or (re)connecting over ssh.
Hardware implants in the supply-chain
> What bothers me the most about this story is how marijuana is supposedly 'legal' yet some locals seem Hell-bent on treating it like an illegal and necessarily dangerous.

Marijuana is illegal in the United States. There may not be state-level prohibition in some states, but that doesn't make it legal in those states, any more than the fact that individual states may not prohibit fraud against the US government makes such fraud legal in those states.

The federal policy against enforcing the existing federal criminal prohibition of marijuana against medical use that complies with state law is an unusual complication, but the criminal prohibition still applies even in those cases (particularly, should that policy be lifted by Congress tomorrow, all the crimes that occurred while it was in place could be prosecuted—and criminal and/or civil forfeiture associated with them pursued—because neither the crime nor it's punishments were removed, so no ex post facto issues would exist.) And it's not clear what the boundaries of that policy are, and, more importantly, it's not clear that anyone but Congress itself would have standing or an available remedy should the executive branch act in a manner that is arguably outside of the bounds of the policy.
It's probably a few kilobytes of symbols, a few kilobytes of crt0, some ELF overhead, and a few hundred bytes of user code.
Validating Your Personal Relationship with Pandas DataFrames
It's a postmortem of the mini-crash we saw in February. No one was expecting it, and it happened very fast. One day the Nasdaq futures are trading at 7100, the next day they are at 6100. Moves of 100 points(a whole day's worth of movement) were happening in 15-20 seconds. Just for some context, 100 points(on the Nasdaq) is $2,000 gained or lost, using the minimum size you can trade.
...have you seen our country? It's nice that Europe is dense enough to use trains, but let's not pretend that your solutions scale.
It would also be less volume of stuff if Facebook only POSTED THE THINGS WE WANT PEOPLE TO SEE. No "likes" or such. Give people a clear idea what they're actually sharing/posting.
The sort of global history you want is possible with bash: https://news.ycombinator.com/item?id=3755276
Triangulate a volume of space. Let neurons be vertices of that graph. Every time you are at a certain point of space three or more (or four, for 3D space) neurons will be spiking depending on how close you are to them.

That gives you absolute positioning. Also the ability to increase resolution for certain volumes of space.
> those 5 lines generate hundred thousands of lines of code behind the scene.

That's part of the problem; most of the time, the "thousands of lines of code" that are created from type-generic code have a lot of useless duplication, and the compiler has trouble coalescing the duplicated and redundant code (I don't even think a serious attempt is made, AIUI). There's a lot of scope for improvement.
`with` is an oddball. It's a macro but it's also a special form that has unique syntax that's not used anywhere else. It's basically the only variadic function in the language and it doesn't fit IMO.

It could have been implemented without needing the same special treatment with something like:

with do
x <- foo()
y <- bar(x)
z <- baz(y)
blah(z)
else
err -> handle_err(err)
end
Comeau is a compiler implemented with the EDG front end. If the other way around was some how implied, then it was not the intention. As for Comeau and Cfront, Comeau Computing's CEO, Greg Comeau, provided one of the early ports of cfront to the PC: https://en.wikipedia.org/wiki/Comeau_C/C%2B%2B. Cfront is not just a preprocessor and if the comparison is limited to only C library implementations of objects such as COS, then CPre / C with Classes would be the applicable choice and not Cfront. But, the original point was not meant to exclude "trans"pilers or compilers that output to C such as Genie, Vala, etc.
Would be great to see similar critiques for Python and Go. Found only this for Matlab, on Dr. Kahan's page:

https://people.eecs.berkeley.edu/~wkahan/MxMulEps.pdf
It seems that the downloadable pdf doesn't have a couple of tweaks that have landed in master (https://github.com/crypto101/book). Any plans to generate a slightly updated version ?

PS: Thanks for your work ! Watched your talk and it was a nice quick primer. Glad you turned it into a book with more detail.
Sybil attacks are much easier on the dark web: make a few dozen sockpuppets to leave 'positive feedback' around forums vouching that it really works.
I was referring to private healthcare without reimbursements or insurance. And mind you: Norway has a pretty high cost of living so it isn't like this is a low cost country.

Which suggests to me that prices do not reflect actual cost, but rather inflated profit margins.
I find it amazing that buildings (specifically the last one, the hotel) can be maintained in essentially the same state for over 100 years. I guess to a European this is normal but it feels like here in North America old things are much more rare.
As far as I can tell, the positive qualities that Ellison could bring to the table (sales skills, toughness) are ones that Musk largely already has, and, what's more worrying, it seems likely that Ellison will enable the character flaws in Musk that the two share (hyperbole, unscrupulousness).

Meanwhile, Ellison adds nothing I can see in terms of manufacturing and and little in terms of adult leadership.

I would argue that the ideal director in terms of complementary skills would be somebody like Tim Cook (even though Tim himself would probably be too likely to have conflicts of interest to serve).
Here are ways in which they're not different:

* Both use C++

* Both multi-platform

* Both open source
Put it on the blockchain.
Thanks for the clarification. I guess like all trade-offs, it's context dependent. I see the advantages of having a realtime usable non-optimized build for debugging. Since I use modern libraries like Eigen, that option has not been available to me for some time.

With "modern" techniques, the performance ceiling is a bit higher - whether that benefit is worth it depends on a lot of factors.
PHP + Ajax scripts or the modern ecosystem dilemma
NASA spaceship closes in on distant world
> I haven't ever heard of a case of someone getting targeted by an online hit ordered through one of those websites, which you'd expect to if even a single one of them were actually legit.

Centralizing murder-for-hire is a good way to get caught, scam or not. I believe Kuklinski did it for a while but it's not a savvy way to go about your business these days.

There have been more than a few cases of people putting ads for wetwork on Craigslist that were successfully responded to. There was even one bizarre case in which a teenaged girl put a successful hit out on herself.

> Which makes sense from an economic point of view - there's much more incentive running a (relatively inoffensive) scam and making boatloads of money

Not everybody is intelligent/skilled/capable enough for organized crime. To a lot of people, a mere $5000 is enough money to get caught up on their late rent, car payments and child support. Pull-trigger-get-5k is a simple procedure, moreso than running elaborate darkweb portals and fucking around with Bitcoin.

Contract killing hasn't changed much over the ages. You don't need to retain a celebrity hitman, you just need to get in contact with some desperate nobody willing to do anything to make ends meet. Morality and ethics are luxuries for those who can afford it.
Admit it, you thought of aliens too.
I was a few miles away in Williamsburg walking outside when this happened. No line of sight to source because of the buildings. Just saw the clouds & sky turn orange and then bright blue and then it started flickering. Seemed to go on for a few minutes before it just faded away. My wife and I started to get concerned because we had no clue what it could be. I turned to Twitter and found out pretty quickly it was a transformer explosion, but there were about five minutes where we weren't sure what to do just caught out on the street.

LGA got shut down briefly because of the power outage. Amazingly, they had it back online in an hour. Which was great for us because we flew out of there this morning.
Great point.

This is why I used p2.js for javascript game physics over franken-emscripten Box2d ports.

The readme and source code are extremely accessible (https://github.com/schteppe/p2.js#sample-code).

When I was trying to optimize my collision detection, I stepped in to p2.js source to read narrowphase vs broadphase implementations. Last I used Box2d, I was reading c++ pdf documentation.
I'm a hardcore Ruby fan who moved to Elixir and rarely writes/maintains Ruby code. The language grows on you and once you master it, there's nothing quite like it.

You could argue this for other languages - But, I am an experienced programmer who has written production applications in quite a handful of major languages and frameworks out there. I've tried almost everything that trended on HN in the past years - Scala, NodeJS, Ruby, Python, GoLang, R, PHP, Java, and a handful more and I can tell you this - there's nothing quite like Elixir for me till date.

These days, even for my consulting work, I use Elixir. It's almost as if I just push code and forget. (Except for watching out for security vulnerabilities, other regular audits). Everything isn't as green since it's a fairly new language, there's still libraries lacking for some basic stuff - such as authentication (only a handful of them are maintained). But still, I wouldn't consider downgrading to anything else.

Elixir has drastically improved my productivity, and you get to find errors in compile time, leading to much, much better quality, reliable code. I love how fast I can develop apps, SPAs and what not with Elixir/Phoenix. Coming from a NodeJS experience, Elixir is a 100-fold upgrade from JS. In fact, you will realize how terrible JS is (as a language) once you start programming in Elixir.

The closest to Elixir that I like is Scala. They are almost like cousins. Elixir runs on Erlang's VM, Scala runs on JVM. In fact, I prefer Scala.js for my frontend these days, which converts Scala code to JS with strong typing support.

But, Scala is more verbose and way too advanced for someone new to the language. There's a 101 ways to do the same thing and it's very academic as well (The Scala book was over 700 pages when I bought it).

If you are looking for a new language/framework to learn in 2019 - pick Elixir + Phoenix. If not, then go with Ruby + Rails, you couldn't be wrong with either choice.
Tidb is built on top of tikv though.
A new generation of environmentalists is learning to love atomic power
Thanks and great to hear. My email is in my profile. Feel free to drop me a note.
The culture is great. One of the best reasons to live here.
Because C++ is a stable, reliable and well supported (read: production-ready) language that works on many platforms.

Last I heard D was definitely not all of those (it doesn't even have a straight story on garbage collection, as its creator said himself! [1]), and I'm not sure about Rust or Nim.

[1] https://www.quora.com/Which-language-has-the-brightest-futur...
It was. In the entire history of electromechanical switching in the Bell System, no central office was down for more than 30 minutes for any reason other than a natural disaster or major fire. There are books about Number Five Crossbar and how it worked, and they're worth reading if you design high-reliability systems.

The only central office downtime from a major fire was in 1975 in New York City, resulting in 23 days of downtime.[1] All the incoming cables and the main distributing frame had to be replaced. The switching equipment, on upper floors, survived and just needed some maintenance and cleaning. That was still a crossbar office; it hadn't been converted to electronic switching yet. Worst disaster in the history of the Bell System. Bell switched to less flammable cable coverings, like plenum cable, after that.

Widespread failure of 911 service suggests an overcentralized architecture. 911 requires a phone number to address lookup, so there's a database involved. Widespread failure indicates this was implemented as a remote query service ("in the cloud") rather than read-only database copies of the directory at each central office.

[1] https://youtu.be/f_AWAmGi-g8?t=110
emm... no, please. like the enthusiasm though
Getting Started with Group Programming
1. Tensorflow.js closely (not exactly) mirrors the python counterpart, and its api's, and thinking. We feel it does not reflect node ideologies well. And not the shify, what is in today is out tomorrow, thinking. The thinking that is practical, and applies well to business tastics. Brain.js started in node, and was original in its way it tackled the problem. Being data first, easy api, and then speed. It just works.
2. The vast majority of machine learning needs are encompassed within the library, and are only getting better.
3. The library can be learned in a matter of hours rather than weeks or months.
4. We can do it faster, simpler, than tensorflow.js. GPU support is coming in NodeJS, but is already partially implemented for browser, with fallback to CPU.
5. Brain.js was measured, where its benchmark was even better than industry standards, including IBM's Watson: https://github.com/jesus-seijas-sp/demo-nlp (note: project uses brain.js). Tensorflow.js isn't mentioned in this link, but I talked with the author about using Tensorflow.js, which he did try for this exact project, and his exact reply was: "with tensorflow.js same implementation I got a 0.91, but taked more time to train with CPU" (complete with typo)
6. Any corporation as powerful as those who maintain tensorflow should not have all the say in something as powerful as machine learning. Everyone should, and can.
7. We choose to.
You know what’s nice about these pictures? The near absence of brands --from franchise restaurants to clothing. It’s refreshing. There are some like Canada Dry, but it's sparse.
A spreadsheet in fewer than 30 lines of JavaScript, no library used
... 3!
A tech addict who works in the tech industry
Is it just me or is AWS is a nightmare for beginners? (Reddit)
YearCompass [1] is a also a great resource for doing this. It's well structured and I found it pretty valuable. Used it last year and plan on filling it out over the next few days again. I initially discovered it via reddit.com.

[1] https://yearcompass.com/
The article is about workers, not applicants. Nobody is disputing that a lot of people have been bamboozled into going to these code bootcamps.
>New Hampshire is literally next door and has no income tax

I wouldn't bank on it staying that way for long. Massholes from are moving in in droves and are voting for the kinds of politicians who would be very amenable to am income tax. Of course if they get an income tax all their other taxes will stay high too.
Isn't it more about what the typical program looks like? The generic languages like Rust and C++ generate a ton of functions, wrapper types, and indirections that need to be seen through and mostly removed by the compiler.

In C++, when compiling:

for (; *it; ++it) { }

it may look simple but deref is a function you insert (deref operator), `++it` is a function and so it continues on, with new function to generate each time it's a different iterator or even the same iterator with different template parameters.
Sure, I should get around to that :-) Really I'd like to make a docker image or similarly repeatable environment that can do builds -- right now it's way too tied to my own environment.

Also: I'm not sure org-mode -> TeX was a great idea.
The 'Why' of Machine Learning
It's firmware. Very little firmware is. In information theoretic sense it's much more surprising if some firmware is open source.
> The US has signed up to a treaty that requires us to treat marijuana as an illegal controlled substance. That requires an explicit act of Congress to abrogate, and no court is going to find otherwise.

It probably should, but you may be wrong about the weight of legal opinion: https://www.nbcnews.com/think/opinion/donald-trump-can-unila...

In any case, the relevant treaty is not self-executing, and there is no mechanism to force Congress to criminalize drugs if it chooses not to even without explicitly abrogating (or even the President unilaterally disavowing) the treaty. Foreign countries could try to bring a case against the US before the ICJ, but even if successful, that wouldn't actually force changes to domestic law.
I assumed the post I responded to discussing actually converting it to audio rather than merely recording something that could theoretically be converted to audio. In that case, it's just a different type of photo-microphone, which is well established as audio recording.
Really cool example!
> Tesla has made a living off customer service.

I'm curious what gives you this impression. I'm a Tesla owner and consider their customer service their biggest shortcoming at present. Fortunately, the quality of the vehicles and mission make up for it in my mind.
Oh sorry that was unclear. That is the hypothetical maximum, pretty much no one ever gets there its just a safeguard. Frequency is something I can optimize to, so if a lower frequency performs better I can hit users less often.

Agreed on outbrain/taboola/etc.. I don't know how tabloid clickbait generates anyone clicks or even revenue.