skysight-inc/HackerNews huggingface dataset:
Yeah, I don't disagree with that, and one of the things I do before I hand off a code base to others is beef up test coverage somewhat, especially in places where the expected behavior of a bit of code might need to be codified to a certain extent.

Regarding your "legacy code" quotes: I don't write code that isn't easy to change, or easy to read. If I write code that's hard to read, I delete it and start again. If I absolutely cannot write something that's easy to read, I write tests around it and document the hell out of it (I'm iffy on comments and docs as well, because they _always_ end up out of date, and then are more of a hindrance than no comments at all).

I think I'm pretty good at what I do, but I wouldn't consider myself a "god of programming". Writing clear, concise code isn't hard. It really really really isn't. In my experience, the main blocker to that is ridiculous time lines and pressure to ship. I know it can be hard to push back against that pressure, but you owe it to yourself, future maintainers of your code, and the company you work for (even if the company doesn't realize or appreciate it at the time) to slow things down and do things the right way. A former colleague used to say, "It's not right because it works; it works because it's right". Just because a bit of code produces the output you want, it doesn't mean it's right. Write the right code -- readable, maintainable, verifiable, testable -- and you don't even need to worry about it working, because of course it will.

I lean on type systems heavily. If I were writing python or ruby, I'd have 10x as much test code as application code, because I just do not believe you can trust a dynamic/weakly-typed language without them. This is why I avoid such languages; I think any gains in rapid development that you get from such languages are quickly wiped out by the need to write extensive tests, or, lacking those, all the bugs that come up because you don't have them.

These days I write most things in scala, if I can. No, it's not a perfect language (honestly, I'd say a half to two thirds of it is crap, but the rest of it is amazing), but it has a strong type system that lets you lean on the compiler so much more than many other languages. Simply the fact that it compiles gives me much higher confidence than with most other languages.
Ohh.. well, I have this as my ringtone since Knight and Day released. Roy Miller (Tom Cruise) had it as his mobile ringtone in the movie.
It isn't neither part of the Android SDK nor NDK, or even supported in Android Studio, which actually matters to Android developers.

Actually the NDK is not even finished migrating from makefiles into CMake, let alone switching to even something else.

As you describe it is work in progress, not fully done, without any perspective if it will ever be part of the official SDK.

Also last time I checked AOSP sources where actually slowly being migrated to GB, the only place where Go is kind of used in Android.

So what is again the business value of supporting an unofficial tool, spending development resources, just for getting a few brownie points?
It's good that you're able to fix this sort of thing when it's on the front page of HN, but Google's lack of support is legendary, and I don't see why people should expect anything if they aren't making the news like that. My own experience with Google Glass DevRel was about as bad, except no one made any attempt to set things right, or even apologize.
Inside Google’s Slow-Mo VR Moonshot
I thought MRI used superconducting electromagnets?
In the "WHAT IS ALLURA?" section

The first link takes you to: https://forge-allura.apache.org/p/allura/wiki/Features/

Which tells you a LOT of information like "tickets" or "git" or "activity".

now, if you are a tech person, you won't need any more information, this is already exactly same as soureforge, if you are non tech then my above comment does not apply to you.
I'd strongly suggest you not to do so.
If you want secure communications over email, you can use GPG (GNU Privacy Guard) which is a free and open-source encryption tool. There's also an iOS app for GPG.
Google Play Protect
Where is that place where Internet advertising business is done?
that's basically the root argument of libertarianism - that forced transactions are unethical and thus taxation is theft.

I'd still argue that a business does not have to provide a good or service to be considered a business though. The Medallion Fund that I mentioned solely exists to make money for its owners - it does not provide any goods or services.
this is one of the biggest TurboGears projects out there. loved it that they open sourced it.
Mobile Application Development – Benefits
KotlinTest – flexible and comprehensive testing tool
VLDB 2016 paper with some benchmarks here: http://www.vldb.org/pvldb/vol9/p1377-scotti.pdf
You are irrational expecting any other outcome.
Hmm, this post isn't showing up on any page of HN for me. I guess it's been flagged or moderated into oblivion.
This: https://www.theverge.com/2016/7/15/12187508/mountain-lions-c...
Conflict of habitats.
I wish I knew the Functional Way :)
how do they create needs you didn't have? Your language removes agency from the consumer - no-one is forced to buy something they saw in an ad.
This is historically where the Mafia came from, as a means to keep members of a price fixing cartel mutually honest. The old saying about "no honour amongst thieves" being solved by outsourcing to a body to provide a parallel system of contract enforcement.

Harder to achieve online but not impossible, though plenty of criminals make enough without essentially having to place themselves at risk of physical attack from organised crime.
from the first click I could see I would never want to use it...
OnePlus partners with DXO for the upcoming OnePlus 5 camera
Show HN: Bugfender – A State of the Art Remote Logger for Mobile Apps
I can't seem to find it anywhere, so I guess it can't but can it use Hive?
For a playful yet pretty interesting take on "psychogenesis" I recommend reading Diaspora by Greg Egan.

Also, we are born with very good models (for faces, cognition of human languages + speaking and hearing them, seeing things on Earth, movement coordination, other cognitive fundamentals, like counting, categorization, and so on) plus all of that really well packaged as a starter kit, a do-it-yourself general intelligence, with amazing supervisory framework (parents, peers, society, reflective optimization about one's actions) and reinforcement (emotions, memory coding is waaay too drastically modulated by emotions).

And we're still not sure what else is in there, how all this communicates. What's the operating system of consciousness? (We "know" that consciousness is just a "program", but is it the main thread, is it a scheduler, what's the right mental model for understanding the interaction of brain faculties, components of cognition and consciousness itself?)
Looking at your example, I see that more a problem of our general social organization than as a problem with divorce. In some cultures, extended families are close-knit. Cousins, aunts, uncles, and parents all help with taking care of and raising children. The Western concept of the nuclear family vs. extended family just doesn't really exist, or is at least minimized. Divorce there doesn't really affect the divorcee's livelihood, or that of any children.

I'm not saying that's an ideal structure, just that it's a possible structure. The idea that Western nuclear family structure is the be-all end-all is a little silly, though. It's very fragile in exactly the ways you describe.

The point I'm trying to make is that divorce is hard on people in large part because we as a society have decided that divorce should be hard on people. It doesn't have to be; we've just set up our family and community structures and support systems in such a way that divorced people (especially divorced people with children) will often have a harder life.
I wish I had taken the time to understand LISP earlier.
Leadership and conflict solving through empathy. Also public speaking.
Here are some more items I can think of: speakers, earphones, magnetic switches (eg. laptops), relays, sensors, CD/DVD ROM, maglev.
It's been changed. Lol at that.
Learning new things is great but don't be afraid to reach for familiar tools.

Using one or two new things on a project rather than 10 you'll be both more likely to get somewhere, and more likely to pick up the newer elements well.
But the canned tomato experience is never going to be the same as fresh tomato. Perhaps as good or better in someways, but there are going to be fundamental differences in texture and taste.

There may also be a health issue with BPA exposure particularly with acidic canned contents.

Also food portions being routinely over packaged (here in small metal containers) is looking increasingly dubious in these times of overstretched and wasted resources.
DNA Test Kit Is the Answer to Dog Breed
What does the name of an individual have to do with that of an island?

Wayland: I think it's the name of some America place. Should afghans, syrians, viets, [put whatever country the US invaded] stick to X11 because of this?
Maybe it is because of Facebook Ireland Limited, which technically is the company everyone outside of USA and Canada does business with
I second this very much. As pretty everyone says, it changes how you treat code and data. Surprisingly even when they are not the same thing :)
Puts the 17m into a more appropriate scale, imo.
If you think you are in for the long haul then please buy a standing desk!
Discipline: using, creating and sharing (among the team) checklists.
That while C# is probably a better language than Java, the Java ecosystem is so much more innovative and open.
I was working hard to learn more about the language I was using then.

When I look back at that period, I think I enjoyed what I was doing but in terms of technical knowhow, I wouldn't change much. Of course I know more now than then but I walked a certain path and I enjoyed it. The process was part of being where I am now. So, I think I'm happy with it so far.

What, I would like to have had since then: A good perspective on how the business functions. More empathy.

I've learnt these over time and even in this case, I think learning these was part of life. I don't really feel like "I wish I had the chance to go back and change things". I just feel foolish about some things I did then but I acknowledge that at that time my level of maturity was different from now and even if I had more (relevant) information or ideas, I'd not have been ready to use them.

Finally, I'd say that as long as you tend to reflect on what you do and where you want to go, you'll do fine. Conscious and intentional incremental improvements take you quite far on the long run.

Good luck!
This is interesting. I am an Electrical Power Engineer, and at my tech school, our Senior Thesis projects are essentially real Engineering firms coming to the school and assigning a group of engineers to work on a project they are actually working on in real life.

The company I worked under makes electric motors for navy ships and other government contracts. There are enormous machines in side of these things, but rare earth metals are economically volatile, on a scale unlike most other industries.

China and Malaysia have most of the rare earth metal mines (we had a bastanite mine in CA where you can mine for rare most of the rare earth metals, but the liberals did not want the pollution in California, so as a result, they closed down the mine (before it reopened for a bit and then went into Chapter 11 bankruptcy last year) and made America dependent on rare earth metals from Asia, where for a long time, and probably still now, they have zero emissions policies so we are effectively polluting the planet more (but not in my backyard so it feels good to feel clean and drive a prius as long as all the rare earth metals and pollution caused mining it are done by people working 1/26th the pay in China breathing in that air in not me, it makes me feel green), until Elon Musk has recently come and been working with mining companies in the U.S. for his operations.

At the time in 2011 when I was a senior working on this project and the explicit motivation for investing in research for this, China had overnight banned global trade on rare earth metals with 24hrs notice for 6months, to focus on their internal development, skyrocketing the price of 90% of the worlds rare earth metal production by over 9000%

At that time, my engineering group was contracted to come up do motor design and look for utilizing either less rare earth metals while meeting the same specifications for output or looking up for alternative metals.

We ended with a form of a Halbach array, which arranges rotor and stator magnets in a permutation of an orientation where the magnetic field is increased on one side and cancelled on the other, reducing the amount of loss not going into the relationship between the stator and the rotor and increasing the magnetic field where it did.

There is still a lot of need for this kind of design and optimization, and I ended up in a different niche of Electrical Power but, people were and are dishing out alot of money around this kind of work for good reason.

I looked up patents a few years after I graduated around this kind of thing and they have spiked up significantly in the passed few years, particularly with halbach arrays.

And you are right, most people don't realize rare earth metals are required in electric motors, wind turbines, inverters for solar panels and most movements we associate with sustainable energy, despite the fundamental components being extremely rare economically volatile, and relatively no innovation going on in the space of addressing these issues.
Group Your Constants and Enums
How to Manage Your Brand’s Mobile Reputation?
Agreed. There are plenty of people who work hard their entire career and don't get any kind of windfall. Of course there's a lifetime of choices and circumstances spicing up the mix so who can say how much is one vs the other, but the point is they are out there.

I think the underlying point trying to be made though can be summed up by this quote from a movie clip I saw channel surfing in a hotel the other day: "You want the job after this job, but you need this job first."
Facebook just got hit with a $122M fine over WhatsApp
Disclosure of a Major Bug in CryptoNote Based Currencies
Websites with ads are selling eyeballs to advertising companies, who then turn around and sell them to your local cranberry juice company.

There are two types of eyeballs:

1. Those who don't end up buying cranberry juice: In this case, you've wasted their time showing them the ad - especially if they never talk about the ad to anyone else. Companies have a very direct incentive to avoid false positives, so you don't need to do anything there.

2. Those who end up buying cranberry juice: Unless you have a problem with the cranberry juice itself, the only problem here is that the cost went up slightly to pay for the advertising. If I'm willing to pay 10 cents more for cranberry juice than an alternative like tomato juice and 10% of the total cost is advertising(on average), then the benefit of advertising is:

dValue = dBenefit - dCost = 0.10 - 0.1 * cost

which is negative if the juice costs more than $1. (This assumes that without advertising, I would've picked the alternative)

In order for dValue to always be negative(your claim), either nobody anywhere is innovating(dBenefit is never very large) or advertising companies are charging too much(dCost is very often large).

How cheap would advertising have to be for you to consider it a net positive? Give me a number as percentage of total cost for a few example items. Unless dBenefit is always 0, such a number must exist when you subset to the case #2 group. This number seems like it would be related to your proposed tax, too.
Tabular Data Representation in Modern HTML Emails
Use strongly typed languages for large projects
- Don't stress about code coverage metrics.

- Don't use the next big thing before actually understanding the benefits only because someone else tells you to. (Looking at you, Angular and Docker!)

- Stay away from programmers who have strong opinions about certain things. Most of them can't back them up with skill.
How I built Twipsum in two weeks
Facebook feed change fights clickbait post by post in 9 more languages
Most companies seem to prefer folks who have a broad base of general computing knowledge plus one specific area of expertise. This is sometimes called a "T-shaped programmer". There are definitely exceptions, but is a good place to start.

Other than that, practice, practice, practice. And get out of your comfort zone when you practice, don't just do things that are easy for you. You are only learning when it is hard and it makes you wonder if you might be stupid.
Education system really works.
That almost every job you get will highly prize pragmatism and general problem solving skills over pure technical know-how
- Keep it simple, stupid. Advanced is not a compliment.

- Languages and frameworks don't matter. There's a closed set of concepts they're all reusing. Especially if it's hot shit: that means someone mined ideas from 30 years ago.

- Most problems tend to fall not to cleverness, but to compute power and the right glue. See previous two points.

- Everything is a tradeoff, everything is a moving target. Programming is about the battles you choose.
That nobody cares which language/stack/libs you use as long as it works.
Isn't that an argument for more urbanisation and less destruction of habitat via suburban sprawl?
Sure, but that's not really answering the question is it.

I think I wouldn't necessarily put that I use Hitler on my CV, due to the negative feedback I would receive from others not in the field.

But on the other hand, barely anyone in the United States has even heard of the island Kotlin, so I'd feel more comfortable doing that.
>€110m seems to be a cost of doing business for Facebook.

Another way of looking at it is that the courts deemed €110m the cost of the misleading information to society, in which case FB pays a fair fine.
I'm more or less on the same boat. My advise is, don't let it overwhelm you, learn as the need arises (or you have a burning interest in something). At work I've done a handful of languages (web development can do that quite quickly these days) and I've not been here a year. On my own time I experiment with D and Rust, and maybe soon Kotlin. Those are my languages of interest, I don't do something every single day for hours on end, but now and then I open up an editor and play around with one of those till I find something to build on my spare time. Chances are as you get new jobs you'll learn new languages and stacks, so don't be overwhelmed. How many co workers do you see doing 50 projects in 50 different languages and stacks all at once? ;)
and exercise!

no point knowing how to code a web server in 6502 assembler if it hurts every time to sit in front of a computer.
You can compile Kotlin to Javascript, as a start. You get the benefits and drawbacks of static typing and object-oriented (or rather "class-oriented", if we call Javascript object-oriented) programming support.

But if you choose to stay with the JVM, you get:

- the JVM - multithreaded, highly tuned and high performance JIT VM, well documented and continuously being improved

- mature tools

- libraries from the Java ecosystem - for pretty much anything you can think of

- coroutines (with Kotlin 1.1) for async support.

XML configuration is being phased out slowly (I guess you are talking about Spring here), in the last ~10 years annotations have become much more popular. You still have to support those legacy apps though.

This made me laugh: "then I thought of Java and images came up in my head of thousands and thousands of files being installed" - well, don't check your node_modules directory then, or you might be in for a surprise :)
They did say multiple iterations and individual salt. Of course, it's easy enough to do with md5 but that sounds like a good description of bcrypt out of the box.
The Pixel phones use Qualcomm's flagship 64-bit SoCs, and they have a last update date of October 2018. Google's update policy is not good enough, especially now when they've started to charge premium prices.
Why a fine? Why aren't they being banned from operating WhatsApp in the EU? And being forced to delete any data connecting the accounts to Facebook accounts if they want to continue operating Facebook within the EU?
...by abusing existing terminology in confusing ways, clouding the issue. Exactly like http://catb.org/jargon/html/E/English.html , named just so marketing team could claim "You can program our computers in English!"
No, sorry, it's pretty much a hunch/guess/anecdote/observation.

I only found software rates https://www.blancco.com/resources/rs-state-of-mobile-device-... though I know nothing of the veracity of this ... study.

https://www.statista.com/statistics/218777/failure-rates-for... ..

Ah, finally something a bit more relevant: https://www.squaretrade.com/cell-phone-comparison-study-nov-... 2% for iPhone 4.
> Those services that were banned are either the most outrageous war propaganda outlets

That's what most totalitarian states say when they limit the access to the information.

> Imagine half of all Ukrainians communicating via a social network that is fully controlled by the enemy

Oh, yeah, I see now. You were being sarcastic, isn't it?
Show HN: EasyGit – Git repos on iCloud
This is an app I released a few days ago. It implements the Git protocol on the frontend and uses CloudKit for the backend. So basically a git server that listens on localhost and saves data on iCloud. Let me know if you have any questions. Also, if you’d like to try the full version and can’t afford it, send me an email to give you a promo code.
Here are a some benchmarks across a wide range of CPUs: https://github.com/borgbackup/borg/issues/45#issuecomment-22...

However, none with SHAEXT; they just weren't there yet. But the Zen numbers should give you a good idea.

Note that these benchmarks are made using a plain C implementation of BLAKE2 (the reference one), which is not vectorized by any compiler. The fastest (AVX2) BLAKE2 implementation is about 40 % faster than the scalar C implementation (on Haswell).

As far as I'm aware no mainstream crypto library ships optimized BLAKE2 versions. I believe some Go packages do/did make up their own version (not the one from Samuel Neves), but at least one of them mixed SSE and VEX/AVX insns with the predictably bad results (60 MB/s or so) - perhaps this is fixed by now.

So in summary, BLAKE2b is imho the best candidate on perf, and if you use a good implementation it should be within ~30% of SHA2 (512) with SHAEXT — with the numbers we have so far. I understand that Zen's aggressive (=good) power mgt makes it somewhat difficult to benchmark hot loops consistently, so we'll have to wait and see for practical results, I guess.
More respect for testing on larger teams. Code regressions cost teams I've worked on 1000's of hours of debugging.
Don't be a snowflake.

If everyone are using X, don't go with just Y because it is slightly more elegant or efficient.