skysight-inc/HackerNews huggingface dataset:
I used to commute in Sydney, 90 minutes door-to-door of which ~60 was on the train.

As I would leave early I would normally get a seat and spent that time triaging issues or writing code or just working on my own stuff - it was nice.

I moved overseas and my commute went to 15 minutes on the bicycle - it was much better for my health and well-being as well as being able to have breakfast with my kids, and be home in time for dinner - these didn't happen when I was spending 90 minutes a day commuting.

Since moving back to Sydney our requirements as a family were to find a place that was similar to what we had overseas - short commute for me and walking distance to shops / schools.

Some days I look back on the commute with rose-coloured glasses and the time I had to myself, but I often forget the amount of times I had to forgo social activities or the hours I spent waiting for missed or delayed trains. And of course with my kids getting older I wouldn't give up the time with them to sit on my bum on a train :)
Apple sells me a locked down hardware platform that requires me to go through them for all software purchases and all data purchases made with that software.

A. You can choose to buy an Android phone like 80%+ of the smart phone world.

B. You can buy content outside of the Apple store and use it within the app (Amazon, Udemy, Spotify, Google Play Music, every video streaming service, etc.)

It seems unreasonable to me that Apple should get a cut of my Amazon Video purchases.

They don't, in fact you can't buy Amazon content within the app.
Good thing i don't give a fuck about the bible and i didn't contribute to the great recession and brag about it.
Ask HN: What are my options for interviewing and negotiating advice?
I am currently approached by a startup who wary of working with me because of schedule conflicts from my university courses. They would like to know how much money I am expecting for this job. Of course I have many questions for approaching this. Should I offer to work hourly? Should I 'pro-rate' my salary accounting for the hours I would be available to work? What kinds of arrangements can I expect will be suitable for a similar company?

What I would really like to know is: Aside from posting here, I think the general audience would like to know what resources are available for working through this. Are there companies who provide this? People in the community?
Is there a test suite? Continuous integration? Test coverage being measured? Hopefully the answer to all of that is yes already, but if not, focus on that first.

Next pick a component which is particularly problematic, or which is a focus of business attention at the moment. Look at which lines/conditions are covered by the tests – are the critical parts of the code, especially the success cases, being covered? If not, write tests for them. (Covering error cases is less critical, although user errors – bad user input – are more important to cover than things like IO or network errors.) Don't get hung up on a numeric target – which bits of code are being covered is more important than a number.

Once your test suite covers the important parts of that component, start slowly refactoring it and cleaning it up. Then, once you are satisfied it is in a better state, choose another component to move on to.

Of course, that assumes you can get your management on board with you doing the above. But if they aren't keen, you could try to phrase it as "Can I spend 20% of my time improving quality, and the other 80% on new features and fixing reported bugs?"
Prosperity sure has increased all the way up to 2018 in the US, whether you like it or not. The median person today lives with luxuries that a Rockefeller was privy to 100 years ago.
I would withhold judgement and re-assess the situation in 6-9 months. I've seen perfectly great code bases, go to hell, for good reasons ... strange stuff where we had to use goto's and sleep(),flagfiles, etc to get around bad third party multithreaded libraries. Look at any microsoft code if you want a real life example of enterprise class production code gone to hell.

middle ground would be to write blackbox style tests and make them portable to the next revision of the codebase.

don't say that last person was a bad at coding, you won't benefit from saying that.
jffs2 runs on raw flash. SD cards have an abstraction layer in front of the flash to make it look like a normal block device and jffs2 isn't usable.
5 out of the 6 people who interviewed me at Amazon had foreign accents. Do Americans just not go into tech anymore? Are there not enough? Do they ask for too much money? Are they too lazy? Are they not smart enough? I don't understand it. I heard they'd been hiring like crazy - I'm a pretty good software engineer but I didn't get the job. Maybe I told them I want too much money.

No kids, no land, half of my wages go to a foreign landlord who I've never met. America.
I'm curious what language is used in the project ?
Discussion yesterday on a similar article titled: Cisco Said to Be Cited for Bias Against U.S. Workers (bloomberglaw.com)

https://news.ycombinator.com/item?id=17804755
How is not wanting competition from aliens in the labor market irrational for native workers? Restricting the labor supply in the market always and everywhere improves labor’s share of societal wealth.
What is more unfair is that Apple forbids apps to open/link websites where subscriptions can be done to “workaround” the iTunes subscription.

Slight anecdote, because of that policy, Amazon doesn't support links to Amazon from Kindle Books. Which is fine 99.999% of the time. Until you buy a book about AWS and you can't click on any of the links to documentation on Amazon's websites....
Great link. In finance, people make trading decisions even when p is .15
Nope. OSS was here long before redhat and everyone else, and it will be here long after.

Because, in your analogy, the librarians are all volunteers. That’s how we got here. If the pain of not having a problem solved is great enough the volunteers will fix it. Or they won’t. If you feel like the pain level is high enough. Hey maybe YOU should try volunteering to solve it.

This is what makes OSS powerful. It is a community service. If you aren’t happy with the service p become a member of the community and contribute.
The print will slow everything down as well.
I find it interesting how the url ends with "ietf_draft_proposes_encrypted_message_security_for_all", which is a lot better that the article's title: "Elders of internet hash out standards to grant encrypted message security for world+dog".

I'm willing to bet the one who chose the new title also chose the accompanying image.
https://www.youtube.com/watch?v=pboejsWb484

These got installed, but adoption was low due to cost, they were tied into the POS.
I'm sorry, but I could not disagree more. I've only used the store once, and it was just awful.

The search was crap, the recommended apps were crap, the way the data was presented is horrible, etc.
I didn't downvote you, but it seems obvious to me that their tools and design were not intended with UX in mind, but profits.
Watsi is hiring a Director of Product – Remote OK
Bad code is something like a constant factor, you cannot avoid them even in somewhere like Google or Facebook. The variable here is if people are willing to accept improvements. Unfortunately, people usually tend to stop you from bringing major updates to the existing code base because this "could" hinder their immediate works. In this perspective, you're very lucky. At least, you don't need to fight your way to make a simple improvement because someone else just want to keep it as is.

But keep this in your mind; if you make their life harder by your rewriting, then they will very likely make yours painful later on. Bring gradual, safe but immediate improvements and gain other's trust first. Then thing will get much easier next time, even someone else could do the job for you!
This book was written for OP (and many others). It specifically addresses the "there are no tests, what do I do?" concern.
The A, G, C, T system is apparently insufficient to completely describe the genome; See[0]. I would not be surprised if, in 20-30 years, there will be a Y2K-style "4 bases" effort to fix all software and databases to account for the missing bases; It's obvious that the extra ones play (at most) a small part, but at some point that small part might be what is stalling progress.

[0] https://www.sciencedaily.com/releases/2011/07/110721142408.h...
Which session was that? The Kinesis/Lambda one?
Alright I'll bite, do you work for Zenefits?
Crypto Cashback App Pei Now Has Thousands of New Ways to Get You Cashback
How D-Wave’s quantum machine could help exotic physics
Honest question: Is there any upside to the organization of strikes?

I’m from France and what I see is mostly people in a position of blackmailing society do strike. To the question of whether it improves working conditions, it seems as if it improved them, but at the expense of 1. underrepresented colleagues and 2. the taxpayer. If underrepresented colleagues (whom I used to be part of before I quit) are any meaningful part, then the results of strikes are at the expense of the majority of society.

It’s great that I have 7.5 weeks of holidays, but they are also mandatory... so much that a net salary for an engineer is 2000€ net pm. It’s like... a joke. “Everyone is poor” is France, compared to other countries I’ve lived in with fewer taxes and friction.

Strikes, more than ever, seem to be the imposition on weaker workers of the force of stronger workers. The benefits of the strikes are taken at the expense of all workers. It doesn’t improve the economy and adds friction, slowing down the economy. And what the new economy brings to me is so much more reliability of services, since they’re not on strike every second day or shut down at 3.30pm every first day. I like the no-strike economy, because I see what people suffer through in the strike economy. Besides, parties who organize strikes also organize to shut down free speech events, so strike isn’t compatible with free speech.

Is the fact that Uber doesn’t have strikes a pure bonus of the platform?
> favoring foreigners over locals on the basis of being able to pay foreigners less only

Hypothetically, if you were a Machiavellian hiring manager:

You would also prefer a foreigner on a visa because they would have less freedom to leave the company than an equally paid employee who wasn't worried that quitting a job would risk being forced out of the country.

Also this would make the foreigner more worried about the consequences of being terminated for unsatisfactory performance.
Does GDP per capita actually compare to median income? Sounds more like it uses mean income which is skewed by extremes (e.g. high earners).
Financial inclusion – enabling credit for immigrants from 150+ countries
> If you’re going to argue that Redis and Elastic are “doing open-source monetization wrong”, maybe you should back up your claim with arguments.

I did. Did you read my post?

> What do you propose as an alternative to what Elastic and Redis are doing?

As an alternative now? I'm not sure there is one. Their products are already out there being monetized by others.

As an alternative back when they started? They could have let everyone know that they were aiming to monetize their products as a business from the beginning. Then they would have been taking on for themselves the business risks that cloud providers, for example, took on by building infrastructure using their products and trying to sell it to users.
Ask him how it’s possible that you can see further at the top of a tower than at its base on a flat plane? Or better yet, ignore the troll/lunatic.
Namecoin (NMC) is missing.
What's wrong with a LibrePay or Patreon for your OSS project?
Face the Truth: Learning the Marketing Behind Food Advertisements
I can't think of a good counter argument to balance this. There are forums filled with people who have essentially been blacklisted from the 'internet' after being barred from Google search for whatever reason.

Some removed without explanation and assumed it is because they competed with Alphabet in some way.

Scary to think two or three companies effectively have total control over your digital business and you have basically zero rights without any course for appeal, you're absolutely at the mercy of good will if there is any (often none).

Regulation is needed here, the old 'regulate thy self' is a sham soundbite, proven time and time again.
This should be the top comment. At my company it is amazing how clueless young graduates play politics from day one, while doing no real work other than going from conference to conference and self-promoting on Twitter.
I am a senior dev managing a large and relatively messy codebase. Let's see if the way I read the situation checks out:

> I've already made some comments about rewriting it and the response was basically "ok".

This means that the person in charge of the code is probably aware of its shortcomings.

> The person in charge of this project was working on it alone

This suggests that probably the codebase started out in a neat form and became messy over time due to understaffing/bad planning/feature creep. There is only so much he/she could do as an overworked single dev having to manage a large system.

Your senior is probably very happy to have another dev helping with this. I wish I had someone helping me. Take it as an opportunity, dealing with legacy is a challenge but you can grow a lot as a developer!
this was me a few years ago, here's some stuff I learned about diving in to a codebase like this:

- don't be rude but make it clear you think the code is messy and you can clean it up. Explain it to non-programmers in terms of time needed to add new features and the much greater chance of bugs and side effects

- get a few style rules going (do A and not B, group regions/routes/modules -- with only comments at first, if needed) to apply ONLY to new code going in.

- every time you have to touch old code, bring it up to style, even if your changes don't directly address spaghettiness

- slowly (and more confidently now that you're more familiar with the code) refactor parts of the code

- get at least some sort of test structure in there

It'll take a long time but it'll mostly work and you'll probably find it very satisfying. I know I do. Be polite but firm. Believe me that everyone knows the code is a mess and if someone is willing to put in the legwork, every developer worth their salt will respect you for it. You'll have the authority you need to enforce your stylistic choices and the future structure of the code.

Remember above all else, though, that your job is to write working code, not pretty code that developers like. Your goal should be to infect it with order, not tear it out and rebuild it.
Households today spend more on cell phones and communication but also spend less on fine china, dress clothes and food. When you net out all the pluses and minuses households today spend much more on housing, healthcare, daycare, transportation (two cars, for two jobs) and education.

When you look closely the two bed, two bath detached home it’s likely in a school district that is underperforming and while the home may be slightly larger than those in the past it’s 30+ years old.

This is detailed elegantly in the Two Income Trap by Elizabeth Warren.

The thing that is crazy is that there is any debate in the subject. Real productivity growth has averaged 2% for the last 100 years in the US. Early in the last century they they were speculating that if productivity growth kept up at that rate their grandchildren would only need to work a couple of hours a week and what would they do with all their free time?

How did we get here?
"Edge" computing seems like a term invented by people who grew up with ubiquitous cloud computing. Go back in time 10 years or so, and all this automation would have been onsite by default.

You cannot seriously tell me that creating a predictive model for cooking french fries requires a lot of computing power.
Right now, the actual title in the page is: "Elders of internet hash out standards to grant encrypted message security for world+dog".

> Politicians can whine all they want, but they can't change standards as easily

If politicians put people in jail for implementing a standard, it doesn't much matter what the standard is. It's not like a new standard gets passed and then everyone clamoring to add backdoors into messaging systems I just going to throw their hands up in the air and give up.
All code is legacy, the only code that’s not is the code that’s not written.
It's the most common one, that's why I put it first :D
> Which means that in an environment of abundance, the cost often exceeds the rewards.

The problem is that environments of abundance basically do not exist, because the population of a species quickly grows to consume any excess. The situation that humans in the developed world face is novel. We are not evolved to deal with abundance because abundance has only ever occurred during the brief gap between when we invented a new technology and when the population has expanded to fill the new, larger ecological niche which that technology enabled.
How did he lose his girlfriend/wife? Working long nights? Did he move into a big, but empty mansion?
Are there tons of global variables?
Making software open source doesn't mean you can't make money from it. Depending on the details of what you build, who uses it, how you license it, etc., it may be harder to make money from it than if you made it proprietary. But that certainly isn't something you can just take as a given. You also can't take it as a given that the project would make money if it was closed source either. Maybe you made something nobody needs. Or they need it, but there are better alternatives out there (possibly some that are Open Source). Who's to say?

Somebody yesterday (maybe DannyBee, not sure) made a very insightful comment in saying that sometimes the value created by Open Source software is created exactly because it's Open Source.

Anyway, you can always charge for software even if the code is Open Source. You can stick it on the web and make it a SaaS app, or you can make the source available but charge to download binaries (ala JBoss back in the day), or you can make source and binaries freely available and sell subscriptions, etc. Aaah, wait, I know, you're asking "who would buy a subscription for something that's free to download?" Companies. Companies will, for things that are mission critical, because they typically need for their to be a contractual relationship (eg, somebody to sue) in place. Or you have a manager who needs to spend her budget or lose it, and she understands that you need to make a profit in order to stay alive and keep enhancing the software. Etc., etc, yadda, yadda, ad infinitum. My point is, it's not as simple as "Oh, I made this Open Source, so there's no way to profit from it".
This response, created by nailer on Hacker News, illustrates the awkwardness of mentioning the credit before the content.
Dude. I'll pay you money for your playlist. I had a worldbeat phase in the 90s, but now I'm an old man very much out of date.

Music discovery is still a challenge. I used to lean heavily on labels and festivals with supporting roles from radio shows like Wo'Pop and Positive Vibrations.

FWIW, One of my all time faves is Habib Koité https://en.wikipedia.org/wiki/Habib_Koité One of my bucket list items is going to Mali and seeing him, and everyone else, perform live.
Oh please. The description in the app stores is pretty clear about this behavior (https://play.google.com/store/apps/details?id=com.onavo.spac...):

"As part of providing these features, Onavo may collect your mobile data traffic. This helps us improve and operate the Onavo service by analyzing your use of websites, apps and data. Because we're part of Facebook, we also use this info to improve Facebook products and services, gain insights into the products and services people value, and build better experiences."

Running a VPN isn't particularly cheap. I'd assume that any free VPN is one of:

1. criminals collecting and monetizing your information
2. state actors collecting and ?????????? your information
3. companies collecting and monetizing your information
4. too small to need to do one of (1)-(3)
I hadn't thought of suburban strip mall like stores as an opportunity like that but there they are big buildings being built and rebuilt all the time. Too bad we don't have anyone willing to try such things now.

I need to get on my city planning board (or whomever approves these things) and set a "no normal buildings" rule.
at the beginning of my career I read somewhere if it ain't broke don't fix it. If that is making money and you can black box it, then do not fix it, for sure you could always add some test around the black box and then move on. Try to create new software outside of that box that reflects the same ideals that you would have put into "refactoring" the "bad one".
Conflict resolution is a separate problem that isn't addressed by Eventual Consistency. If I make a write in an EC system, that write may eventually be accepted, it may be rejected, or it could be resolved through something smarter like a CRDT. EC just says that I won't know that immediately; that different parts of the system can have different views of the truth at the same time. And for most business systems that's usually okay, if you're talking about consistency that resolves on a good-enough timescale.
Hard to guess their motives but it is easy to click on their username and see that they post a lot from it.
> Despite that confusion, I don’t think the community’s outrage is driven largely by that. RedisLabs’ post wasn’t ambiguous about the licensing of Redis itself.

Yes it was. It has since been edited to be clearer.
Modern science journals, in the same way they don't accept articles without proper reference to previous work, should not accept research articles unless there's a link to the source code in the article.
This does not work for many data models, for both technical and economic (e.g. increasing costs by multiple orders of magnitude) reasons. Many real systems would require hundreds of millions of active encryption keys, encrypting data that is smaller than the encryption block size.

Every database architecture that exists today is designed with the deep assumption that scalable fine-grained deletion will never be required, largely because we don't have good computer science for how to do it. As experienced database operations people know, if you are required to do this kind of delete then the sane way is to completely rebuild your storage with the data to be deleted filtered out, if you have ample excess capacity -- it is often much faster than editing the existing storage. For some large-scale systems, there is no plausible solution.

This is an interesting computer science challenge -- a database kernel designed for efficient deletion -- that I've thought a lot about over the last year dealing with GDPR compliance. It definitely isn't a thing that exists today and encryption doesn't help.
I'm glad somebody else said it. It seems lately a new meme is coming around (by many people independently) all saying:

Wait, event sourcing / immutable data doesn't scale.

I was doing event sourcing in 2010, and loved it. It was incredible. But by the time I started hearing people call it "event sourcing" I had already moved on to:

State-based, graph CRDTs.

They combine the best of event sourcing with the best of distributed state replication, and are super scalable!

Now even the Internet Archive[1] is running it (in 2014 I implemented it into a library that they are now using - https://github.com/amark/gun )

[1] https://news.ycombinator.com/item?id=17685682