skysight-inc/HackerNews huggingface dataset:
Wow, you’re right. Me too on ubu 16. Okay, I guess it’s not about pre or post increment. Maybe I should read the spec... ;) And good reason not to do this in code!
The initial question that OP answered was if US police would hurt civilians.
I think it does sometimes? At least for enterprise software.

We use both C and C++ embedded as well as C++/Qt for the desktop control system, and we have no issue keeping to a sane subset of C++.

There are clearly defined rules and code review does the remaining enforcement.
And it's not even hard or time consuming as everyone is pretty much aligned and every small issue can be easily resolved with a quick chat.
I'm a big fan of the 'let it crash' approach. A lot of code I write is hacker-ish stuff where I just want to get something done and I don't need it to be pretty. I've been amazed at how many of my projects in Elixir just kind of keep chugging along despite the fact that I mostly bothered coding only the 'happy path'.

A while ago I wrote some code that retrieves data from various online sources (cryptocurrency exchanges) at regular intervals. A friend of mine wrote essentially the same code in Python. His code was littered with try/catch statements and even with those the app would often crash because these API's sucked ass. As a result, there'd be gaps in the data, or he'd have to restart the app or set up whatever restart mechanism one uses in the python ecosystem.

Meanwhile my elixir project just kind of kept running and retrieving data, and barring permanent changes in the various API's, it would keep collecting data even in every once in a while the endpoints would misbehave.

My typical approach to projects is to tinker and cobble things together but then also overly worry about all the things that can go wrong. I know I'm not alone in being this way; I've met plenty of developers who seem to be a combination of just wanting to get results but then worrying excessively about everything that could go wrong.

Elixir is singular in how it allows me to approach projects in this manner while still feeling confident that it'll work well enough. And while that might not be the most common use-case, it's really helped reinvigorate my enjoyment of programming.
My amiga c compiler (aztex manx) allowed either 16 or 32 bit ints. All/most systems libraries used 32 bit parameters, despite this I insisted on the 16 bit version "for performance". In hindsight this was sort of insane: one missing L (say in "1L" for casting to long) meant a not so quick floppy disk reboot). :-)

Anyhow, for a computer with 16 bit wide data bus, having 16 bit ints might be justified by performance (and/or reducing memory usage.)
I was actually excited about pipes when they were introduced but in the end I'm pretty happy writing and debugging "unreadable" code.

I had a similar experience with Lisp syntax: Clojure's threading macros seem a neat idea but I do actually prefer old-style nesting of function calls.

Maybe my R journey is a bit atypical. I started learning R around the time you created reshape and ggplot and used them extensively. But as the "tidyverse" thing has evolved I have found myself more attracted to "base" R as I've become more familiar with its data structures and functionalities.
It appears that just like there are those that think C was the genesis of systems programming, with very little attention being given to what happened 15 years earlier and beyond Bell Labs walls, in 20 years from now same might apply to Rust and the languages that were its inspiration.
If OP is Native American or a minority, his or her perspective and context would be different.
Your router is going to have to support it somehow. It's much easier to just run a local resolver like stubby + dnsmasq.

Apparently Cloudflare also has some kind of daemon you can run on Windows, but I don't know if I would recommend that route.
s/hundreds/thousands/

same for self driving cars. software quality is too low.
Escaping Abstraction Hell Spirals
My experience is kind of similar. Unfortunately the way Rust interacts with memory is quite different from how Gtk does (and most GUI tool-kits to be fair). The end result is a kind-of awkward battle between the Rust borrow checker and the internal memory handling of Gtk+ leading to loads of Rc<RefCell<T>>. This makes also quite hard to implement custom Widgets in an intuitive way. In Python or C++ you would subclass the generic "Widget" class and start implementing the bits you need. With Rust things are slightly complicated; you can't just implement the IsA<Widget> trait and call it a day; at least not a straightforward way. Hopefully gnome-class [0] will probably solve this problem eventually.

That being said it's been a while since I've used gtk-rs so it is entirely possible things have changed. I'd love to be corrected if that's the case :)

[0] https://gitlab.gnome.org/federico/gnome-class/
And the rest: "As of January 31, 2019, Boeing had 5,011 firm orders from 79 identified customers for the 737 MAX" https://en.wikipedia.org/wiki/List_of_Boeing_737_MAX_orders_...

4,500 orders (edit: potentially) cancelled, any thoughts what that would do to planned income?
Why is there no mention of China Lake here?
If the quake was NE of Ridgecrest, does that put it on the rather extensive China Lake weapons facility?
Swedish ISP Blocks Elsevier for Forcing It to Block Sci-Hub (2018)
If you reject public stays public then I'll play with a pen and paper and record all the public information.

If you reject take backs they you aren't playing the most competitive version of your opponents.
> Yay because arguably it's the only way doctor offices are going to keep up with ever changing tech.

Keeping up with the tech is not the problem, it's keeping up with the ever changing regulations, many of which do relate to EHR. You basically need dedicated staff to handle the bureaucratic processes, which is only affordable for large organizations.
Fantastic work! What is your weapon of choice for your CNC laser cutter? I invested in a Glowforge during the KickStarter and it's an amazing piece of gear. I also own a CNCRouterParts desktop CNC router. They're both great, although it's night and day to operate between the two. The Glowforge is very simple and SaaS based whereas the CNC router is GCode run on Mach software connected to a local driver laptop. Both are great fun and great for unique gifts. I remember one of the first things I did on the laser were very intricate wood earrings. Amazing the level of precision gear you can get at home these days.
> It’s far more than Boeing at fault here,

at the risk of being obtuse, why, and who?
"Zen employs a dynamic predictor known as a hashed perceptron." When will Hollywood tap into this wealth of cool vocabulary?

Is this a gimmicky marketing term, or is it logical\descriptive\rational?
If I look after the kid between 5:30 PM and 6:30 and my wife takes 6:30 until 7:30, we both get an hour each day to do whatever we want. So... there's the slot in our schedule right there?

We could stretch it to 90 minutes apiece without sweating, which would account for us driving to the gym and back if that's what we did, but we both focus on bodyweight fitness at home instead so we really only need an hour.

The stuff about your phone times and commute wasn't really part of your original comment. I was just offering a point of view that you can "have a life" even with small children and hobbies, it's all in how you prioritise.
I dont think it is. Democracy does not rely on consensus, instead the majority rules over the minority. Bitcoin is a consensus. If 49% disagree, they can leave and create a second consensus among themselves, and this action does not somehow burden the 51% or vice-versa. If instead the 51% in a democracy decides to tax the rest, they can't really escape it.
It's possible to break laws without getting caught. This is not new.

In practice, there's still a reason companies avoid breaking laws most of the time.
I prefer to think of a reference to a type as a type in its own right separate from the borrowed type. Looked at that way, Rust does have affine types.

To bring the discussion back to my first comment, it would've been less likely for anyone to have invented the borrow checker if programming-languages researchers weren't paying a lot of attention to use-once variables, and languages researchers would've been less likely to be paying attention were it not for Girard.

I haven't read Girard's paper in 20 years, but I would be extremely surprised if it contained any mention of borrowing or references, so Girard must share any credit for Rust's borrow checker with later innovators, and here I would be remiss not to mention Graydon Hoare.
> Being able to say that sort of thing with a straight face is the tremendous privilege of being an American.

Because America is the only developed nation...
The post states:

>"Perceptrons are the simplest form of machine learning and lend themselves to somewhat easier hardware implementations compared to some of the other machine learning algorithms."

Can someone explain what is it about perceptrons that make them easier to implement in hardware?
I'll raise you an Airbus for 4500 dollars from the South China seas my friend. Boing is going boing my compadres. Rip boing.
Craig Wright faces tough questions over forged documents in court
Running your own VPN server doesn't provide you with anonymity, but if configured right, it'll give you more privacy compared to just blindly trusting some random VPN companies with your data. Your data that passed through your own VPN server will only be seen by you and your vps vendor (as opposed to your VPN provider and whatever vendors they used to run their services).
Will this have any implications for astronomy?
Cloudflare doesn't welcome you if you don't let it track you and run arbitrary code it injects. You can verify that by disabling javascript and/or using proxies, vpns, tor.
You improve what you measure. And right now, we don't measure our brain waves at all. I can see a future where everyone has access to their brain patterns in real time and is much better at exerting conscious control over their emotions and physiological reactions.
We're still far from seeing eSNI in mainstream.
Lexically scoped optimization is really cool.
Changing the rules not to include memorization doesn't eliminate competition, it just means the remaining skills become more important in the competition.
Expect this to change.

https://en.wikipedia.org/wiki/CRAIC_CR929
The cynic in me wonders how long before this assessment finds its way to a headline because some intrepid blogger found the chain, decided to do a piecemeal "summary" of it, said article summary gets shared ad infinitum, gets consumed and confirms everyone's suspicions about the other side relative to theirs, and soon you've got people on twitter accusing their enemies of being "bots" because it's a conveniently deployable slam dunk on a platform where you only get ~200 characters to manifest thought.
Had it on a floppy for my Amiga.

Brings back memories.

Jolly Rogers cookbook :)
Right now there are companies that want to sell to Hussein, but a single executive directive can stop that.
Market Values: Why are wealthy collectors getting fed up with abstract art?
Interesting that the founder’s elevator speech included nostalgia for late period USSR... I cringed a bit at that.
Since code is data, some kind of functional persistence might be the right path forward here. I lack the expertise to develop the idea further though. I don't much care about the exact behavior vis-a-vis functions on the stack, so long as it's well-defined.
U.S. is behind on 5G rules and deployment
Have fun and make things?
There's a reason that essentially zero websites default to a dark theme.

I may be in the extreme end, but in the rare occasion that I find a dark website, if I can't run it through a browser extension to make it light and readable: I leave and never return.
The original headline is extremely click-baity, but the content itself is much deeper than the headline implies.
NOTE: Most of my comments on HN are about "practice", so feel free to just read them.

I'd be curious what qualifies as "ambiguity" and "diversity of background" however. Is that simply a collection of smaller expertises that you can pull from? Many domains have a degree of ambiguity to them - how do you create a musical masterpiece? how do you beat your chess opponent? Knowing "the moves" only ensures you can implement a plan.
The Great Hack
if it were open source I would have submitted a fix for the alignment css issue. ;)

I don't see a good argument for NOT making it open source. The value of sites like this is not the code so much as the community that builds up around a particular instance of it (witness all the open source HN clones that don't detract from the value of HN at all).

Even if other folks created their own instances they'd still need to build up their own communities, which is fine, because, for example, we don't really want cute kitten posts here on HN but totally on a clone dedicated to cute animals.
that's pretty amazing. i've been looking for a gui framework that i can use with csharp on linux. i'll take a look.
I don't see any figures comparing the error of the formula with the previous error from numerical methods. While mathematically the discovery seems significant, it isn't clear to me this will actually improve lenses.
Maybe the posters are from the Middle East?
Pony 0.29
All you need for a perceptron is to add up all of the inputs after they’ve been multiplied by their weight. This would probably be done in parallel with a fused multiply add circuit which is fairly simple and some place to store the weights. When they change the perceptron all they need to do is record the current weights and load in the new values.
No it doesn't. No reason backed by facts available to the public for decertifying the airplane have arisen.

The worst case scenario (for Boeing), at this point, is the FAA and/or other aviation regulators, decide that the differences require different type certification for the aircraft and therefore mandate a unique type rating by pilots to fly the plane. That would require they be trained about those differences.
I also don't want a dark theme.
Here is a short course on applied category theory: https://ocw.mit.edu/courses/mathematics/18-s097-applied-cate...
It won't change the problems of the plane, but it will allow Boeing to actually fix them

The problem with the Max is that Boeing favoured the major airlines that wanted 2010s technology in a 60s airframe. But guess what, that doesn't work, in the same way you can't turn a Thunderbird into a Tesla by "just plugging a new engine".

Not that Boeing probably didn't have a vested interest in not investing in a new airframe and preferred the lowest cost project

Now if they can call the Max the 737-2, cut the legacy crap and work around the longitudinal stability by breaking backwards compatibility (and sell the plane at a discount) they could end up with smaller losses
I mean, this is exactly how card games work. People don't seem to have an issue buying into expensive Magic decks. You don't NEED to have the best though, no shame in drafting and pauper decks.
https://www.wikiwand.com/en/Perceptron

Looks like an already studied technical description going back to 2005:

https://github.com/ChampSim/ChampSim/blob/master/branch/hash...

https://www.jilp.org/cbp2014/paper/DanielJimenez.pdf

> Introduced by Tarjan and Skadron 2005

> Basic idea:

> - Hash segments of branch history into different tables

> - Sum weights selected by hash functions, apply threshold to predict

> - Update the weights using perceptron learning

https://ieeexplore.ieee.org/document/4492487
An unbelievably great series.
No, it's not a marketing term. That's literally the name of the branch predictor used. See https://www.cs.utexas.edu/~lin/papers/hpca01.pdf
I donno. I love my paying job. I find it generally very stimulating.
Blatant spam, yes, but if it’s like what’s being discussed here I’d be hesitant that it goes much better than amazon reviews. It’s just too easy to create fake accounts and you don’t need to be that smart to avoid telegraphing this.
I think they did the initial business model wrong, they should've started like hearthstone did, a totally free game with free cards, and the possibility to earn more free cards, and add the steam market later on or control the value early so it doesn't shoots up
At Pike Place Market, seniors and kids work well together
Canadian spies given new ‘disruption’ powers to combat foreign influence
I'm not an expert but I believe what accomplishes this task is the reorder buffer. This allows the instruction execution and its side effects to be separated.
That's a big bit of stereotyping you just did there. Newsflash: not all people in the US are the same.
Hashed probably means that some features are mapped to a desired perceptron weight via a hash function. This serves as an implicit regularization and can be much more efficient (no need for a predetermined feature vector, sparse representation etc.). It's called hash trick in ML. Perceptron is a single layer NN. Dynamic predictor, a branch predictor that adapts to program input, not just some predetermined state (like a formula that was shown to be good enough for a collection of programs).
Numpy dispatcher: when Numpy becomes a protocol for an ecosystem
> pilots are only experts in...

Since you are questioning the judgement of pilots based on their expertise, I am going to present my qualifications:

I am a private pilot with an instrument rating and over 900 hours and 23 years of experience. I was also an AI researcher in the first half of my career. I wrote my Ph.D. thesis on how to build autonomous vehicles that would navigate through natural terrain (I did this while working for NASA on the research program that led up to the first Mars rover mission). I was also the PI for the Remote Agent Executive [1], which controlled the first (and to my knowledge still only) fully autonomous interplanetary spacecraft. So I think I'm about as qualified as a person could be to make the following judgement: I would absolutely not fly in a fully autonomous spacecraft. No fucking way. I have no doubt that they would work fantastically well >99% of the time as long as everything was going to plan. But I don't want to be in the aircraft the one time that something goes wrong that the system is not equipped to handle, and watch my life slip away watching the aircraft doing something stupid because some minimum wage sub-contractor in Asia forgot to put a semicolon in the right place.

And I don't think you need to be an expert to realize that full autonomy is a Really Bad Idea. All you have to do it look at how the 737MAX MCAS debacle is unfolding. MCAS was autonomy writ very, very small, and 346 people are dead.

[1] https://ti.arc.nasa.gov/tech/rse/vandv/remote/
It's good until the last sentence that circlejerks about 1 memory card slot.
I am 40. Starting this year there was two work functions that required "khakis". And it took some online searching to figure out exactly what this meant. At first, I was confused about why the color mattered - thinking it was color. Do my cargo pants count? Can they be shorts? This article leaves this still inconclusive.

When I asked the boss, he said "just don't wear jeans". I was still confused, because I don't own jeans.

Suit pants seemed like too much, cargo pants too little. But the cargo pants I have are exactly like the "khakis" I've seen, only they have two more pockets. Same material. Same color. So, I thought, is "khakis" a non-English word for "less pockets" or "Four Pockets"? Still very confused.
The two closest options I've seen are the razer 13 and xps 13 but both aren't quite as thin or light as the mbp, or they have smaller trackpads etc.

Did you have something in mind?
Mario creator Miyamoto counters cloud gaming hype
IT will change certification for a long time.

EASA trusted the FAA to do their job and actually check the plane before certifying it. The FAA instead gladly outsourced the certification to...

... Boeing.

Which ultimately leads to the loss of reputation for the FAA, which is why EASA is now checking the plane themselves and finding numerous faults with it.

It's like University A would tomorrow get rid of all teaching assistants because it's cheaper that way and just have students self-grade their exams. Everyone will hence have only A+ and everyone is happy. Until finally a lot of really bad University A students will leave the job market unimpressed and thus hurting the reputation of University (FA)A.
They've past that point in my book. I'll never fly the MAX. They should cut their losses.
20 years of asking about Americans’ online news habits
I had been playing with something similar, but I’ve come to the conclusion that any anonymous aggregator / community at any scale runs into the same problem: eventually the incentives of the bad actors to behave badly start to outweigh the incentives of good actors to participate productively. Once that happens, it inevitably runs off the good actors behaving somewhat altruistically and leaves you with an increasingly toxic user base that ideologically slants to one extreme or the other. Sure, you can try to play both sides; but then you just end up with 2 toxic user bases at war with each other (which I’m not sure is any better, and certainly more expensive for the platform owner).

See also YouTube, Facebook, Reddit, MySpace, Twitter, etc. Instagram is pretty far down this path as well. Unless you have an editorial process that involves real humans with the ability to censor bad actors, this whole situation seems inevitable (remember private editorial censorship is not government censorship)
Ask HN: Is it safe to use .io for email?
I have a fuzzy memory about reading somewhere that using an .io domain for email is dangerous. I can’t remember the reasoning and I’ve been unable to find the article or any others touching in the topic.

Is it safe to use .io for email or are there any known issues?
Hopefully this will increase the sweet spot in the VR headsets.
People are a lot more willing to dump money on a physical good that they provably own (because it's literally in their possession in their home) than on digital goods.

Artifact uses the microtransaction model to the very extreme, to the point where it costs real money to play a ranked game (not even to get new stuff, just to play a game). This has understandably turned off a huge number of people. With AAA games that have microtransactions, at least your initial outlay is buying a lot, and you don't have to continue putting in money just to play it.
The PR fail with the 737 MAX might also bankrupt the company if no one wants to fly on them. I know what I would do as CEO facing those two dire futures.
In the US, we know that ISPs and government agencies are harvesting data for their own proposes.

So using a VPN comes down to the fair gamble that someone who promises not to log and use your data is possibly better than the guys who definitely log and use it.
some of them, very bad.
This is terrifying. It’s like the Patriot Act on steroids.

No democratic society should allow a government to have this kind of power. No matter how serious of a threat it’s meant to combat.
Phages make a medical comeback to fight antibiotic-resistant bacteria
"Average" is obviously not the mathematical average here, and pilots still have some required manual dexterity and health requirements

It's about: is the required strength on par with the required dexterity and strength needed for other tasks the pilots need to do?
Why is linear logic called linear? What is the connection to the usual idea of linearity?
> Say what you want about the USA's intelligence organizations but at the end of the day there's a path for change.

Not for the majority of people in the world. Why should I care more about China than about the USA as someone who uses technology from both countries?
Ah, but "chance favors the prepared mind", so it IS possible to improve your luck.
Show HN: A minimal port scanner written in Node.js