skysight-inc/HackerNews huggingface dataset:
> This premise of many bugs being "type errors" is overblown and certainly very recent

It really depends on whether your language is strongly typed or weakly typed. If it is strongly typed, then the runtime will catch type errors better, for instance if you try to add a string to a integer, it will yield an error. With Javascript it will yield nothing so bugs with accumulate and sometimes silently until the source of the bug becomes difficult to trace. Same for object properties. Let's say you expect foo.prop and you write foo.props . A strongly typed language would complain, JavaScript won't.

Some will argue :"Well duh, that's what testing is for". To an certain extent, and it might not catch type coercion bugs. Furthermore code bases with 100% code coverage are rare these days ...

> I speak from experience, having managed development teams for years. Junior coders need (and deserve) to be trained first doing stuff without hurry to allow for mistake, not used immediately or thrown into critical (or rushed) projects.

Juniors needs good tools in order to eliminate potential bugs. Static typing is one of that tool.
As opposed to now? Many of today's opiate addicts' supply is subsidized by the US taxpayer.
Show HN: Momixa – Custom playlist mixes using machine learning
I think the best approach is to allow each neighborhood to decide what recreational drugs, if any, can be consumed in public. And only enforce such restrictions with fines, not jail time.

Regulating at the neighborhood level makes it easier to live in or travel to the kind of neighborhood you want to be in. People that want to use drugs in public where they live can pick their neighborhood accordingly.

The more permissive neighborhoods can tax drug use to pay for any negative consequences of drug use. Maybe they need more enforcement of traffic laws, for example.

If we allow everything everywhere, eventually there will be pressure to control everything again. Better to allow people who want drug-free neighborhoods to have them, while ensuring that those who want to use drugs are still able to.
also to the "you must have lived" to have anything artistic to say... depends on your defenition of artistic. Certainly, in order to reproduce the piano compositions of middle aged European men, it might help to have lived, especially to the age of the composer. Maybe that gets in the way of your only children and the near-dead understand how to play Mozart. Martha Argerich and Pollini say hi, but when they were middle aged. This whole dusty notion of music is the basis of this completely un-artistic, elitist notion of classical music. Elitism is the good pal if monoculture. It promotes the homogenization and dumbing down of the arts and I fear it will do the same for computer programming if we aren't careful to look out for it and push back with diversity measures.
I can't wait to see Slate's interactive history of the Arab slave trade of East Africans (twice as massive as the Atlantic slave trade, and the male slaves were virtually all castrated), or the Barbary slave trade of Europeans (totaling one million over three centuries), or the Ottoman slave trade of whites from the Balkans (Devsirme), Armenia, and Georgia.
> Alcohol is terribly addictive and destructive. Far more so than many illegal drugs.

That's probably true. I doubt it's more addictive than heroin though, which was why I used that as my example for the other end of the spectrum. If alcohol was as addictive as heroin, I'm quite confident it would be just as illegal.
UXer’s quick guide to eye tracking
Still, Zuckerberg’s juvenile fascination with hackers never died – or rather, he carried it forward into his new, more mature incarnation. When he finally had a corporate campus of his own, he procured a vanity address for it: One Hacker Way. He designed a plaza with the word “HACK” inlaid into the concrete. In the centre of his office park, he created an open meeting space called Hacker Square. This is, of course, the venue where his employees join for all-night Hackathons. As he told a group of would-be entrepreneurs, “We’ve got this whole ethos that we want to build a hacker culture.”

If there's one thing Facebook is not, it is not representative of the Elder Gods that Zuck, at least according to this piece, nominally idolizes. If he really does, he failed his idols in the most catastrophic way.

Hackerdom, to me anyway, is C, Unix, K&R, RMS and (sigh) ESR, Linus, Ian and Debra, GNU, the EFF, and the Grail Quest that is GNU/HURD. It's Freenode; emacs, vi, and the editor holy wars. It's the Woz and a man with a magic whistle.

It is _not_ facebook, in any way shape or form.
Hence my saying:

> They could conceivably provide APIs that refuse to give detailed scans when a face is detected.
I feel like both the velocity of these articles about "The Facebook corporation" and people's awareness of their shady practices are increasing overall.

I guess I wonder will it manage to effect any change in people's online behavior and wholesale submission to this corporation's whims and agenda? I would like to believe yes but my anecdotal observations of people and their smart phones suggests to me there's no basis for believing that.
I honestly don't know why you are being so negative. It's an attempt to teach beginners, seems like a worthy attempt to me.
Part 1: http://dragan.rocks/articles/17/Clojure-Numerics-1-Use-Matri...

Part 2: http://dragan.rocks/articles/17/Clojure-Numerics-2-General-L...

Linear Algebra Refresher:

http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre...

http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre...

http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre...

http://dragan.rocks/articles/17/Clojure-Linear-Algebra-Refre...
I thought deep investigation into 'tulip mania' revealed it wasn't nearly as severe as people claimed. If bitcoin really is worthless, then it would have an unprecedented place in bubble history.
GraphQL Patent Infringement Issues
>In third world countries, populism is often triggered by promising people finances from government coffers.

I disagree. Voting for the guy who will bring in job subsidies, factory subsidies, farm subsidies, government investment in rural areas, government contracts, federal projects, etc to your area is absolutely finances from the government coffers and one of, if not the largest, campaign issue during the 2016 US presidential race.

>third world countries have people who rely on the government to meet their basic needs.

Most of rural America, nearly 50m people, would collapse overnight if not for farm subsidies, factory job creation tax credits, and all manner of welfare. Even with all these things the rural poverty rate is almost 20%. Poor parts of urban America are almost as bad.

I think you're dismissing how poor much of America is and how much these people depend on the government to survive.
Tulip references are the tulip mania of the 21st century.
Do a credit freeze - this means no companies are able to pull your report. If your credit needs to get pulled (for a mortgage or something) you will need to unfreeze. This will currently cost $5-$10 per agency.

Credit monitoring is only useful in that it will tell you when someone opened an account in your name. The damage is done: resolving the issue will take tens of hours of your time.
I made a game in 2009, it was quite popular, got a bunch of positive reviews, I gave it away for free.

I had to keep giving Apple £100/year just to let people keep downloading the game for free. At some point I tried recompiling it for a newer iOS, and I get hundreds of message about depricated APIs that I had to change to get it accepted by Apple. Instead I let it drop.

I can't even put a copy online for people to download, the game is just dead and gone thanks to Apple. I can still run Windows games from 20 year ago and with DOSbox, DOS games from 30 years ago. My own iOS game on the other hand is dead, never to be revived.
Here’s how to check to see which apps won’t work on iOS 11
>> But as someone involved in marketing the potential downside of this scandal doesn't seem worth the extra 5 million in sales from Coke used during religious rituals in Chiapas.

What scandal? Envelopes full of cash at night by a local manager and be done. Both sides will deny it.

$5 Mil in sales is nothing, but $5 mil here and $5 mil there...Surely Coca Cola want everyone consuming their products.
Looks like our click target for the close icon is way too small. Will fix, thanks for reporting!
Wait, why can't F-Droid ship normal Signal instead of LibreSignal?
How to negotiate your salary like a pro
Don't. "Monitoring" services only catch things after they have occurred (i.e., after a loan has been taken out under your identity).

Just freeze your file at all the firms, and you'll prevent those loans from even being given out under your identity (well, except for shady places that don't check anything, but there is no way to 'protect' against those anyway).
This is what I was looking for, thank you. I'm getting the DBC-32-1AES. It gives me extra nerd cred for having a model that ends with "AES".
My point was given how little they do, even a 40% profit margin is hard to justify. It should be in the 70-90% range!
"Trends off big data" can be very useful in a machine-learning sense, if you want to predict very accurately, but you're ok with being far off when you do make a mistake. They're not very useful at all for designing interventions, which in the end is more what we care about.
https://arxiv.org/abs/1703.07469
I wouldn't pretend I don't speak the language. I would simply request to have an interpreter present similar to how I would request a lawyer. I would check with my lawyer to see if I have the right to an interpreter. If I do, I would absolutely use it.

I'm more concerned that the persecution, understanding how stressful the situation is for me and how not being a native speaker I wouldn't necessarily be familiar with legalese or very formal lexicon, uses it against me to extract a confession due to my confusion, than I am that the nuances would be lost through an interpreter.
10 things to try with the new iOS 11
What impresses me it the amount of ships that never arrive.
The requirement to use the same wiring precludes the home owner from having an additional low-volate wiring in the house.

Most modern devices use low voltage nowadays, check what any of the power supply units for your laptop, phone, etc output to the device.

Low-volate is less dangerous, and international regulations (IEC 60449) reflect that. I'm not an expert, but it is likely that besides the law discussed here, such wiring would be legal even without approval. It definitely is in Germany, and to say the least, we like regulations.
But.. but.. an 'analyst' for CoinDesk said this was normal and the exchanges will just need to get a license and China welcome them back with open arms.

The bullshit artists that already 'invested' in this scheme will now tell you that China did not matter and the people under them will parrot it.

Anybody that disagrees simply doesn't understand Bitcoin or just mad that they could not get on the choo-choo train at the right time.
I love Linux, GNOME 3 is even a pretty decent desktop environment. IntelliJ and friends run just fine on it, Evolution works okay enough with my work Exchange account, GNOME Boxes provides adequate virtualization of Windows 10 when I need Visual Studio.

But you know what? Power management SUCKS. I've got a work-issued Lenovo W540 running Fedora 26, and while it gets the job done even light web browsing drains the battery like crazy - sure this thing has a power-hungry 65W CPU but it's also got a stupid big battery jutting out the back of it to match.

There's also the death by a thousand cuts issue to the desktop user experience, Evolution works just "okay", meanwhile Mail.app/Calendar.app/Contacts.app work flawlessly with Exchange like I'd expect them to; Boxes is a PITA compared to VMWare Fusion and audio support is still broken for Windows 8+ - VMWare Workstation locks my whole machine up or I'd just use it; Bluetooth audio is still rather janky to use; even USB audio is a bit janky, if I turn my sound down below ~30% my Corsair USB headset just goes mute.

I'm hopeful one of these days the biggest nag I have, power management, gets better on more recent hardware - until then I'll certainly prefer a Mac.
In the UK, it's never failed for me.
Request HN: Optimize vote-arrows and YC logo
tl;dr:

1) Please replace "grayarrow2x.gif" with Unicode arrows &#9650; and &#9660;

2) Please replace "y18.gif" with a higher-res YC logo image, or text "Y" with FF Meta Pro Normal web font

---

I've been a regular reader, and very occasional poster, on HN for nigh on ten years now.

I always loved PG's iconoclastic/idiosyncratic "brutalist" aesthetic, but the UI GIFs have felt obsolete since I got a smartphone. I remember the up/down voting arrows started looking blurry on my iPhone 3G, and then sometime later they got better on mobile with the introduction of the higher-res "grayarrow2x.gif".

Now on a retina display, by now I just take the blurry arrows (and YC icon) for granted. I was building an HTML table with column sorting today, and made use of Unicode characters ▲▼ "BLACK UP-POINTING TRIANGLE" (&#9650;) and "BLACK DOWN-POINTING TRIANGLE" (&#9660;). How about swapping out grayarrow2x.gif for these text arrows? I just tried the substitution via Chrome dev tools, and it was a trivial change and looks crisper to me. I'm not aware of any compatibility/support issues with these Unicode chars, but maybe some technical reason not to make this change...

The blurry 18×18 "y18.gif" could be replaced either with http://www.ycombinator.com/images/ycombinator-logo-fb889e2e.png, or with a box containing a text "Y" – looks like the YC logo's FF Meta Pro Normal is available on Typekit: https://typekit.com/fonts/ff-meta/details/meta-pro-normal

These might seem like niggling issues, but unlike other seemingly low-hanging UI improvements (e.g. increasing font size, which looks kinda tough with how the CSS is structured), I think both of these changes could be made in just a few minutes, and I'd appreciate it on every upvote!
I'm confused how they say they had 2,000 users and generated $6k in 2 weeks.

Also, they say that they had 120KH/s hashing power on average with 2k users.
You were being sarcastic but I agree - it's a new take.
The author is saying crytocurrencies shouldn't be about their valuation, yet that's the sole focus of attention (in the media) these days.

I'm bearish on Bitcoin yet bullish on Ethereum because of other factors besides their valuation such as roadmap, potential and usability.

Usability is also the biggest complaint of the author. It's one of the biggest factors preventing mass adoption.
Streamlined Deployment for Quantized Neural Networks
Non-technical people benefit from the application-level firewall just as well as technical users. Indeed the calling-home and also as an extra layer of protection against generic nastyness.

Of-course we also have a "traditional" firewall on the LAN. But this is not on the application level but on the network level.
Why isn't there a software union or guild?
We (software developers) wield an extraordinary amount of power inside organizations - but why haven't we banded together to harness this? With sexism, ageism, etc. we have a real chance to influence the workplace. I know that we find ourselves in a comfortable position doing work we enjoy but shouldn't we be worried about the wider society (poverty in the US, monopolistic practices, etc)? Mars colonization and asteroid mining is fine and all - but what's the point if society is devolving into a neo-Gilded age and a large portion of society isn't even able to have access to basic necessities (food, shelter, healthcare)? We have an important opportunity in front of us to enact real change - why don't we form a union or guild to achieve this?
For one thing: as soon as the price of an asset drops far enough in the active market, all those people in the passive market holding the stock are going transition from "passive" to "active" in a hurry. So that breaks the assumption set right there: passive stocks are never truly passive.
They could offer 32bit app support as an optional download, just like how 32bit Windows 10 still offers the 16bit NTVDM and MS-DOS support as an optional install on demand.

Really sucks to lose 32bit support for legacy apps that used to work, especially when it might be a companion app for hardware/equipment that cost much more than the iPhone X (like your car).
Go to google and enter

cache:devolutionreview.com/bearish-on-bitcoin/
Seems to only be 4 MB because it downloads 100 MB of "embedded browser" when you first run it. I smell an Electron.
>Edit: I feel compelled to mention that I trust my hard knowledge of the discipline about as far as I could throw it. It's well worth the CS-types around here taking the time to investigate the field - I recommend Kenny's 'A New History of Western Philosophy' if you've got time, or any old MOOC. After all, it's probably what you'd be up to if we didn't have computers.

Are the UEdinburgh MOOCs on Coursera ok?
I think all governments hate the crypto part of the currencies. You can't tax what you can't track. You can't manipulate what you don't have.

I personally fall a little to the left of currencies. I think these monetary systems are far right Libertarian's dream seeds. I do realize I am probably wrong but this is how they make me feel.
still using miranda-ng with OTR plugin.
cached version : https://webcache.googleusercontent.com/search?q=cache:https:...
Building a Vue.js Application with LoopBack – An Example
Ask one of your friends to text you if there is an event going on. As an added bonus, you might get some honest interaction with your friend.
"This is good news for Bitcoin."
> designed & implemented in Julia

Scheme specifically doesn't specify how something should be implemented, just the result.

> The Julia implementation of multi-methods looks 'modern' in the context of Lisp.

Does it?

Guile's methods are generic functions, like in CLOS, and get JIT'd like with Julia. And the dispatch, being based on the given arguments, rather than the given object, is identical. If no qualifier is given for an argument, Guile treats it similarly to Julia's Any. Julia and Guile eliminate runtime-dispatch in a similar way.
By "collective intelligence" I meant the net vector of each individual investor's decisions. Maybe not the best choice of words. In the case of index funds, those individual decision vectors are pre-alligned by the "central planners" who compose indices from individual stocks.
Interesting! What would you say makes it better than the others? I'm working on something similar but as-yet-unannounced and I'd love to know if we're tackling the right problems...
Ideally, yes. It may not've been popular at that point, but Linus did. But what about the next Linus of 2017? Something like that's not going to be possible anymore. Just the basic necessary hardware drivers alone. The hardest challenge for Linux was just avoiding Winmodems. These days the entire nouveau project with years of research can't even manage to change the clock speed of your GPU. VESA's been all but abandoned so there's not even a way to set a widescreen framebuffer anymore for pure software rendering.

Nothing is gained from having hopelessly complex technology.
How do you know an elastic money supply is not better?

What is your criterion : goal for measuring how good a currency is?
Man, Miranda was so fantastic. Miranda and Winamp are the only two programs I miss from my Windows days.
I agree but wish the article was better written. This is for a general audience address those readers dont need huge digressions into zucks well known personal life, nor the etymology of the term algorithm and hacker.
You claim drugs are illegal because they are addictive, then admit that alcohol and tobacco are addictive, yet not illegal.

Furthermore, marijuana is classified as a Schedule 1 drug by the DEA, making it illegal at the federal level (no known medical uses), which based on your reasoning, would indicate it to be addictive.

Yet, prescription opiates, which people are overdosing daily, is legal.

And, you spelled 'wrong' as 'wong'.
This is awesome. I can't wait until the future when we'll get more informal blog posts from programmers about even more abstract subjects which thus far are dominated in exposition by academics (who very rarely innovate in how they present the material). The day I see a good engineer-style post on HN about sheaf theory or algebraic geometry will be amazing.
I just tried disassembling the hex file. Unfortunately, the code protect bits are set (location 0x300008 is 0x00). This means that the ROM from 0x000800 to 0x007FFF will read as zero. And indeed, that entire space is filled with zero. So, I think we're missing much of the actual firmware.

Edit: And the reset vector begins with a branch to location 0x001ACA, which is all zeroes, so I'm pretty sure most of the firmware was not read out due to the code protection.
This overweights viewpoints that aren't actually relevant.
>Always warms my heart to see philosophy on top of HN. Philosophy is hard -- much harder than one would think. And people that contribute are incredibly smart -- far smarter than software engineers, by comparison. On the other hand, it's very political, and a lot of it is mental masturbation. Philosophy of Science, I think, is almost a completely bogus field. Philosophy of Mind, apart from a few great minds (Chalmers, Nagel) is also equivocal.

If they're so smart, why is their work so bogus? If their work is so bogus, how come we say they're so smart?
There’s some interesting pricing games being played by Apple. For all new models, The 256GB price is the same, the 128GB and 32GB have been eliminated and in their place a single 64GB model in between ( 700 ) the price of the 32 ( 649 ) and the 64 (749 ). Personally the 128 GB was the sweet spot - 32/64 are too little and 256 is too much
Somehow the same thing posted 6 hours later has a lot more discussion: https://news.ycombinator.com/item?id=15284020
I think the happy medium here, where you can still keep in touch with people but not get sucked into checking it all the time, is deleting the app from your phone. It used to be habit for me to unlock my phone and if I didn't have anything to do, just open the app and begin scrolling. Once that wasn't easily accessible I stopped completely. Now I only go on Facebook if I have a reason to, like looking someone up or checking the only group (fantasy sports) that is active. I also can still use messenger for those few people that prefer it.

I deleted the app because of the FOMO feeling that I was getting and now it's basically gone. I can still access it, but I check Facebook a maximum of once a day, minimum around once a week.
This, from Dune:

"Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them."
Recap of SF Ethereum Meetup
Eth? the one that keeps getting hacked?
The sustainable business case is permissionless nature of Bitcoin. Everything else comes down to it. This talk of blockchain technology being somewhat of a new wonderful invention that's supposed to magically make companies more profitable...? Not so.

The reason why Bitcoin exists is because governments want control over money. Bitcoin gives people freedom. Period. Everything else is noise.
> It could definitely be dangerous to feed high voltages back into the powered-down grid.

I said as long as the interface is according to spec. There are effective mechanisms to prevent this kind of feedback.

> shoddy home grid system

Then have an electrical engineer review and approve it. Still no reason to forbid it.
Iron Ox (YC W16) is hiring a roboticist to automate farming
Parsers for valid HTML are trivially easy to write. The hard part is dealing with garbage HTML tag soup and still rendering something that looks good. Browsers have to figure out what the page author intended and work around all the content defects.