skysight-inc/HackerNews huggingface dataset:
I don't see why big companies like Google, AWS and the like wouldn't fund open source development, precisely because they have realized great returns using those softwares to reap monetary benefit. If I were a CEO and my core business was built on OSS, I would allocate budget to help the projects used within my organization. It's just common sense to do so. Reality might be different but then that makes for some really short sighted decision making on behalf of those companies.
Well, many times those SO style responses are fine.

"Guys, how much gasoline should I pour to put out a fire?"

"Why are you pouring gasoline on the fire? Use a fire extinguisher or water if it's not an electrical fire!"
The timing for reviewing a case already concluded and the rare step of inviting western media suggests narrative play.

China did warn of severe consequences. At the very least, China wouldn’t have allowed a low level official to determine international discourse. Perhaps China is at least suggesting the same thing to Canada -- don't allow a low level process to interfere with high stakes conversation.
Maybe, maybe not. I do believe that if he wasn't Canadian, we wouldn't be hearing about it.
I felt the same, but exported just my profile from LinkedIn and the import worked all right.
The majority of people don't know how or even want to be an administrator on their phone. They'll just as quickly hand the phone off to someone else to fix it, or call support, or even just get a different new phone. It's way too much of a leap to assume most users will make the connection that their poor battery life is linked to an app misbehaving, then track down that app and uninstall it in favor of an app that is better on battery.

If Samsung kills the apps, the app maker gets a bad review. If Samsung doesn't kill the apps, Samsung gets a bad review. I know which one I would pick if I was Samsung. At that point it's up to the user to decide if that choice is something they want to subscribe to.
I was laid off in 2008 during the recession.

I always wanted to start a business but preferred the safety of a salaried position. When that was taken away and no one was hiring I had no choice.

I bought a laptop on my way home and started calling my professional network. Within a day I had signed my first web design client.

5 years later I sold the company.

Both starting and selling my web agency were incredibly rewarding for my professional growth.
400KB is not much for a full database implementation, considering Google.com need's double as much to show a logo and a search field.
This. Works in proprietary formats will be lost to time after supporting vendors lose in the marketplace.

At best, there will be crippled, lossy exports -- lossy because vendors chasing lock-in and network effects don't want to make it easy for customers to leave.

I've cited the demise of Opcode and Studio Vision in the past when making this argument, but that's niche. The Death of Flash brings down the point with greater weight.
The moment anyone starts using a death row felon as a bargaining chip, the death sentence turns into
a political murder.
There was a time when the web was not able to handle SVG and Flash was the only option for rich interactive websites.
Write Beautiful Curriculum Vitae in LaTex, that ensures twenty seconds reading
Or maybe a Rocket Scientist - it's obviously not cool to be an accountant.
That seems reductive
> I've seen a lot of remote startups offering salaries around $100k USD, independent of location.

As long as it's within US?
Ren Zhengfei’s first wife was Meng Jun (the mother of Meng wan Zhou), the daughter of the former Sichuan Provincial Vice Governor Meng Dongbo. Meng Dongpo served as deputy secretary general of the East China Military and Political Committee.
Director of the Infrastructure Department of the Ministry of Metallurgy,
Director of the Metallurgical Industry Department of Sichuan Province, Director of the Provincial Economic Commission,
Secretary of the CPC Dukou Municipal Committee, deputy governor of Sichuan Province,etc
I work because I must provide for my family. That's enough meaning for me.
Hence the confusing comment

The site clearly has a link to rail travel in Russia on the first page, and clearly any international train site worth it's salt is going to have one of the most famous train journeys of all time on there (indeed it's got it's own page)

So clearly the parent wasn't talking about the site covering Russia as a subject.
>they have no tolerance for drugs due to the horrors of the opium crisis.

Are you sure? They are the huge exporter of Fentanyl to North America while the Chinese Government turns a blind eye.
SICP Goodness – Functional vs. Object Oriented Programming?
Amazing, do you have issues on planes too?
I agree with this. When I had to look for work last, I asked myself what was the biggest problem I wanted to contribute to fixing (for me it was climate change). Then, I started researching and networking with people who worked for companies in that area. Eventually, I got a job in renewable energy. So far I've loved every minute in this field because I feel it is so meaningful.

There's lots of 9-5 jobs that are meaningful. They may not pay as much as a meaningless adtech job, but if you're in software engineering, they still usually pay pretty well.
$15 TCL earphones have no right to sound as good as they do
You also bring up a good argument in favor of supporting the social sciences. Often times the arguments against providing a minimum standard of living boil down to "but if we give people things they won't have any incentive to work hard to get them themselves!" Is that true? Maybe, probably not, we can't really know unless studies are done and we work out the facts.
This isn't about whataboutism. I'm not referring to any hypocrisy here. The problem is with the criteria being used to define "propaganda".

In this case I argue that, when the same standards are applied to Western media of this type, the same (invalid) conclusion must be reached. Therefore, the evidence presented is insufficient for the charge of propaganda.
I was product manager for fast growing product, but I was waking up at 5am every morning, just so I can do some coding before work and then do another coding session after I get back from work.

That managerial job was ok and it paid well, but still my morning/evening coding sessions is what I was looking for all day. One day I was like "Cmon somebody will always pay me to write a code." I had some savings, didn't have kids or mortgage, next day I resigned.

It turned out well, I find maintenance contract doing programming job nobody wanted to touch (writing internal application in Delphi) that lasted for decade. I haven't made that much money, but I was able to travel the world few times over, failed few startups, read a ton, play a music and even bought a farm (dont ask).

I am in my 30s, having two small kids, mortgage and that farm. Everything is going well and I am still happy to code everyday and when money get low I go and consult for startups or something. If I stayed at that job I am sure I will have some career going on and more stable live, but I am still glad I did jumped the ship.
I appreciate that your implementation follows the Haskell one. But the point of IO isn't the implementation, it's to make it easier to maintain code that interacts with the real world. That's the part that feels cargo-culty to me (having gone down the same path in Python once): if the type system can't actually enforce that your monads are composed correctly then you pay the same cost you would in Haskell but don't get the main benefit.
Yes, the problem is finding a good phone that supports it.
I once implemented a [partial] Z80 emulator. It is a fantastic learning project, especially if you haven't had to touch a lot of assembly in the past. Even back when I did this, there were a plethora of resources on how to emulate the Z80.
> implicit assumption that two civilizations cooperating would develop no faster than a single civilization

From memory, the basic tenant of dark forest theory was 'In the time it takes to communicate, you could become more powerful than me.'

My point is that if two+ interacting (I don't believe cooperation is strictly necessary) civilizations make technological progress at an exponentially faster rate than a single civilization, then they are highly unlikely to be outclassed.

Furthermore, this provides a disincentive (where 3BP notes none) to wipe out other civilizations, as you're giving up their potential benefits.

> history of China

https://en.wikipedia.org/wiki/History_of_China#Qing_dynasty_...

tl;dr - late-Qing+ China (like the Muslim world) goes from a thriving, scientifically leading, expansionist trading society to an isolationist stagnant one, then suffers 200 years of being taken advantage of by foreign powers.

Culminating in both the British and Japanese invading with radically advanced military hardware and imposing their will.

It's hard not to see parallels, but a bit terrifying that the 3BP take-away is 'you should launch a first strike on your enemies the second you can obliterate them without retribution.'
I've been having the same questions which led me to so good they can't ignore you. The concept of career capital really resonated with me. For me it's about bringing more value to my current organization and to myself to stay in my current job and role, current job new role, new job or on my own.
> These companies are some of the biggest contributors to open source.

I wouldn't expect AWS to make a lot of code contributions to MongoDB when they've built something else that's 3.6 compatible, though. It's not like they're going to make contributions to a new, incompatible version of MongoDB. They've already made the call to fork.

I agree with what you're saying about other products, but not this particular case.
Yes, macOS seems to be heading in the right direction (even if it means frustrating legitimate usage patterns at times).

In particular, I like that it kept it simple by either an application being sandboxed with explicit user permissions for certain features, or not being sandboxed at all. Contrast with Linux FlatPaks where even "sandboxed" programs can have a wide range of implicit permissions based on the image configuration, which aren't obvious to end users when running `flatpak install` in the same way that macOS's privacy settings are for each sandboxed macOS app.

I remember some FlatPak applications defaulting to allowing unsandboxed home directory access without prompting me on installation, which seemed to defeat the purpose somewhat. It does block nefarious control flow attacks against programs that declare a strict sandbox, but that doesn't seem to go far enough in my view.
Wait, they're advertising Facebook itself? Like "Sign up for this new social network...it's called Facebook!"
Science funding is a gamble so let’s give out money by lottery (2017)
You can stay in London, e.g. Facebook pays mid to high six-figures (GBP). Seven-figure is also possible for some (incl. bonus), even for IC engineers. They are poaching engineers from finance sector.
I don't think that tourism is as much of a big deal to China as you think, and additionally I've got a feeling that most potential tourists wouldn't be aware of this news item or could dismiss it as "those people probably did something stupid, it won't apply to me"
To be fair, the only description was "your safe meaningless 9-5 job". There was no explanation at all whether this was a personal feeling and the person's particular circumstance, or a more generic association of any generic 9-5 job with the qualities of meaninglessness and safety. In fact, the wording and explanation seems to lean towards the generic association of 9-5 <-> safe and meaningless. more than the person's personal experience.

I mean, it's not like nobody in HN ever romanticized creating startups and pursuing dreams over "meaningless 9-5 jobs", right?
Mezzano: an operating system written in Common Lisp
Read Mastery by Robert Greene, great resource that talks about this topic widely.
Based on your measure of what makes them "most or least worst" you may be correct, but I disagree with the premise that whether or not their motives are virtuous makes a difference. The fact is judges rule over the system and that in itself make them the worst of the bunch, and actually the fact that they have less incentives yet continue to enable such a broken system to hurt people might be the best reason they are the worst.
You'd be right, except Hetzner's €3 server's vCPU is actually not dedicated. Check out their pricing page, and look at "default" vs "dedicated vCPU"[0] (they start at ~€9/vCPU).

Hetzner is an excellent service by all means (I thoroughly use and enjoy it), but I'm not sure exactly what the performance of a 1vCPU "default" plan is -- honestly it's probably enough, but noisy neighbors might be a thing.

[0]: https://www.hetzner.com/cloud
ok that explains how they know pretty well.
Some simple things, but little timesavers:

function mk() {
mkdir -p $1 && cd &1
}

alias gpm='git pull master'
alias gcm='git checkout master'
alias grh='git reset --hard HEAD'
alias gs='git status'
alias gd='git diff'

alias h='history | grep' # Use like, "h ssh" to see all ssh in your history
That's always the case. Interpreting international relations as spats between gang members (or 8 year-olds) clarifies a lot of things.
When the lone 80-year old that participated is weighted against the hundreds 20-year olds (I'm exaggerating, I hope) we still don't know whether her opinion is representative for the other 80-year olds that didn't respond. There is no point of weighing her more than a 20-year old.

My glib comment was about the fact that before weighing, I could have at least attempted to imagine who would typically respond to such an online-survey. It's a biased sample. But it's a sample. I could say: Well at least this many people out of the whole population answered this or that way. Once weighing mixes things up I don't even know how people responded anymore.
I bought a side project from someone else that was doing 2K per month at the time and 4 years later, I have turned it into a 10+ person company (yes bootstrapped so slow but controlled growth and I own 100% of the company). So pretty happy about it. It cost me 60K upfront though which I had saved by working a miserable Wall St. Tech. Job.

I just couldn't figure out how to get out of that routine. I had tons of ideas but could never work on any of them. So I decided to take someone else's validated idea and grow it further. The point was to get STARTED somewhere. Force yourself into it. I forced myself into it by buying that side project and then quitting my job 4 months later. My income went down but couldn't be happier.

EDIT: So a few of you asking how I found the project. It was flippa. Yes, I know it is needle in a haystack. That is where I guess the luck factor comes in. I was just browsing that day and came across that project for sale. It looked perfect for me and I talked to my wife and put a bid. Leap of faith really. I never met the seller but he was an excellent marketer. THe software was crap but he had already built a very small paying audience which I knew could do a lot more.

If anyone is interested, I wrote a blog post on how to buy an online business. Linked on profile.
Inclusive Color Sequences for Data Viz
I worked in a support position w/ the DOJ for several years. After my pay was frozen for two consecutive years, I realized I hated what I was doing anyway and quit. Attended a coding bootcamp and have been a paid dev for about five years. Best decision ever.
That these kind of micro optimizations are worth it. They reduce bulk and tail latency, and probably make the system more load-bearing. Of course, since now the system depends on a more "lucky" allocation of resources, it has more failure cases, thus a tighter operational envelope.
I was just looking for the G1 too. That was my first digital camera. I loved it!
They also disallow ad-blockers. So you really aren't missing much.
Type Inference: Scala vs. Rust
I read a comment on Reddit [0] from a Nokia user that had a large file transfer using Solid Explorer killed twice because he left the phone unattended and the screen shut off. It worked when he kept the screen on.

Would you mind testing if background file transfers work as standard and with manual battery optimization whitelisting?

[0] https://www.reddit.com/r/Nokia/comments/afkuh4/dontkillmyapp...
Probably not. Death sentence for drug-related crimes are very common in China. A British citizen got death sentence too a few years back.
You should try Diff2HTML - https://diff2html.xyz/ install the cli with `npm install -g diff2html-cli`

alias diff='diff2html -s side'
It's not clear to me how much gang violence is specifically driven by fights over corners, rather than other kinds of inter-gang fighting. But let's assume it's significant.

I think it's very unlikely a drug business can get to scale without reusing drops; the cost of scouting a good drop is significant, and the number is finite. Regardless, the value of a drop declines the farther it is from customers and from the dealers who supply the drop. So in practice, gangs will still have an incentive to claim turf and to harm other dealers using drops on their turf.

Even if that somehow doesn't happen, they'll still have the same strong competitive incentives. So they'll be very much inclined, as now, to discover rivals and take over their business through violence.
I'd guess that the whole arena is just so complicated and idiosyncratic that it's basically impossible to generalise the way you'd need to for a book.

Details/legalities are going to vary depending on where your company is registered, where your nominal "offices" are (some/most legal jurisdictions still insist on the fiction of a registered office, even though the whole point is to work completely decentralised) and where you're hiring people. So a book/website/wiki/whatever covering all the legal, tax, compensation, worker rights, healthcare, etc., etc. for all the combinatoric possibilities seems unlikely. A high bar and of limited value, since the rules are in any case shifting all the time. So it ends up roughly where we are, with each company hacking through the specific cases that cross their paths with their respective lawyers and accountants.

In this regard, the one thing I have seen is that most Remote First/Only companies I've tripped across seem to throw the questions of healthcare, home office allowances and even income taxes over to the employees... it's already too complicated for them to deal with unless they severely limit the number of countries they'll hire from.
Remember that your job doesn't define you.

If you think of a job as just a tool to make money, lots of the pressure of having a "meaningful" job goes away. The job has meaning because it allows you to feed yourself and your family.
I still have my Kodak DC-280. It can take very nice pictures.

http://www.w6rz.net/DCP_1040.JPG
The link doesn't seem to work :(
I found a much better way of handling this via SO one time, and I've kept it ever since:

# Up command, from stackoverflow. Takes optional number of
levels to cd ../
up(){
local d=""
limit=$1
for ((i=1 ; i <= limit ; i++))
do
d=$d/..
done
d=$(echo $d | sed 's/^\///')
if [ -z "$d" ]; then
d=..
fi
cd $d
}
Great list.

Reminded of my first digital camera I used - the Apple QuickTake camera appearing in 94.

While they were built by Fuji and Kodak, I believe the Apple Cameras predated Fuji and Kodak releasing their own.

https://en.m.wikipedia.org/wiki/Apple_QuickTake

Edit: I hope the author can add this camera to his collection, it's so comprehensive it didn't register when reading on a mobile device that it was more than a list.
Ask HN: Hardware guy needs to learn web application development – what language?
After spending the past 10-ish years in hardware development, I have a business idea that I want to pursue. I'm not going to seek funding, I'm not really (yet) even looking for a tech co-founder. I want to develop this application that will be web based, and I want to do it slowly and learn along the way. I have some crude C++ skill and intermediate Python skill. My web app will incorporate drawing and hierarchies, with a database back-end. Basically Evernote and Visio combined.

We've all been there when a guy walks in your door and promises huge wealth if you'll just build and "be the geek". I'm going to be both this time.

So, HN, if you're in my shoes and moving from hard stuff to soft stuff - what language or toolset gives you the best bang for the buck? I'd like to make progress quickly but also have something I can build to be robust and perhaps bring professional developers in with me down the road.
Is it possible to let people use software freely, but if they make money from a service that uses it, you have to pay for it? This seems to me to be the fairest approach, particularly in a hosted environment. Think of something like codepen.io but instead of premium pricing they only charge you when you process payments. In a way, this is what the App Store and Play Store are already doing, no?
That's a really great series, I just wanted to reccommend it myself. It's fun so see something done with such high love for detail and professionalism.
same to me. hard to invent another meaning so far..
I run Cisco Jabber on my iPhone, and it seems to run fine. AFAIK that is XMPP.
Apparently the app that kills other apps comes installed on Nokias with Android One as well.

https://www.reddit.com/r/Nokia/comments/actk7z/android_one_p...
Insanely so. I go to sleep thinking about what I’ll be working on the next day and rise excited to get started.

It’s an amazing feeling and I reflect daily that I’m blessed for having a career that I excel at, pays well, and whole heartedly enjoy.
>make the connection that their poor battery life is linked to an app misbehaving

that's why I mentioned, they could display some notification when app is using battery heavily (similar to ANR).

>The majority of people don't know how or even want to be an administrator on their phone.

Exactly same thinking as those device manufacturers. user = idiot (let's kill apps for him, what could go wrong, right?) This kind of thinking brought us here.
>I've long held an unsupported belief that life anywhere in any form would "converge" upon only a few interesting things left to do after having mastered rearranging atoms and forces in any configuration they desire.

Like plaguing Picard and crew on the USS Enterprise.
at risk of sounding like an edgy libertarian, what do you think is the difference between a government and a gang with internal rules?
Depends on the use case of the "fingerprint-protected". For me, the fingerprint sensor is just the fastest way to open my phone.

Even with no security/pattern you have to first press the power button, then swipe up. With a fingerprint reader, you tap your finger to the sensor and the screen is not only on, but the lockscreen (swipe) was bypassed.
Of course, political murdes aren't exactly uncommon in dystopian dictatorships.
Before I check in my code I check whether I've made any silly mistakes / forgot to remove console.log, etc.

alias diff='diff2html -s side'

This requires the diff2html cli - https://diff2html.xyz/ - install with `npm install -g diff2html-cli`
When you give money to redhat, you buy insurance that if you encounter a problem, they will support you. It is expencive, but there is clearly a lot of work involved in producing new release. IMHO redhat deserves its money.

When you give money to Oracle, you are financing lawyers who try to find the best way to make you pay more without improving the software.