skysight-inc/HackerNews huggingface dataset:
That's a good point. I think something like this would work extremely well in manual workflows and personally I can see myself using it from within my text editor, such as vscode.

Scripts, as you said, might be better off with sed/awk.

Edit: Or, as OP said in a sister comment, using -t and using the Perl command in scripts makes a lot of sense.
> VMs are slower than bare metal. News at 10.

The other interesting part of the benchmark is the i7-8559U (Coffee Lake, 4C8T, 2.7GHz) macOS vs i7-8750H (Coffee Lake, 6C12T, 2.2GHz) Ubuntu, on a single-threaded benchmark ("We are going to adopt parallel testing for our dev environments this year").

MacOS took 1.6x as long as Ubuntu, despite a 1.2x GHz advantage, for an overall 1.9x slowdown core-per-core on the same microarchitecture.

Would you like 2x performance? Just replace macOS with Ubuntu.

"There is no other operating system out there that competes against us at this time" - Greg Kroah-Hartman, 2018
> Now for the rest of my life, I will always have something to hack on. :)

This is such an inspiring and humbling sentiment!

Thank you for all your hard work on this impressive project.
"Funnily enough, the over-coverage of Trump by the media actually gave him an edge when it came to the election. Despite the fact that negative news on Trump were the norm, they only gave Trump more publicity. A prime example that, the lower the media sinks, the more it backfires on them."

THAT is the only part of the article that rings true. Trump deserves all the negative media coverage in the world, but the media's lack of tact and professionalism ends up helping him and reinforcing his narrative.
They found a workaround: https://twitter.com/jrwr/status/1112511926557396992?s=21
My company just switched from Slack to Mattermost, love it.
You can't use components this way though, unfortunately.

I like Vue, never really jumped into react, but I hate using npm and all of the javascript build tools.. I end up fighting with them for a while and decide it's back to jQuery and simplicity. Always works.
still fuck more working time and no repaid.
>Most of the kids in the elite education system are alright, they didn’t build this world and generally believe in an equitable one.

When I went to (not an Ivy, but a well known) college I ended up in a very nice fraternity with ridiculous numbers of guys that had trust funds (I think the highest number I knew of was 30M - although that guy was a chill stoner than didn't want much from life). A few had families with private jets. One owned a chandelier in their house that was worth 2x the house I grew up in.

I absolutely believe that these people would say they believe in an equitable society. I also know 90% of them are pretty solid people, a few assholes but I know lots of middle class and poor people that are assholes, too.

The issue is, they do not understand what life is like for middle class people, much less lower-class people. They do not understand the degree that making a society equitable would take and much of those ideas when discussed, even among friends, were vehemently scoffed at.

The problem is, lots of these people get to go on to become the decision makers of our society. And while completely fine people, they do not understand the realities of 80% of the country. I'd much rather Harvard and Yale and USC take the Cal-tech route and fill their halls with much more deserving kids (who are moreso likely to come from middle and lower class families than what's happening in present day).

It's ultimately the question, are you a bad person if you make a decision without understanding or knowing all the implications? I think the answer is no. But these people do not understand all the implications because they don't understand how most people in our society live. We should do our best to make our decision makers people that truly understand how most of us live - as unrealistic as that idea seems.
I agree that not everyone will want to live in small apartments. And not everyone has to, they can decide what tradeoffs are right for them. If they want a big house with a yard and they're fine commuting 1.5 hours to work across perpetually jammed bridges, that's still an option.

I live in the SF Bay Area, and I've spent a decent amount of time studying this problem. These debates are raging in the city council meetings, with homeowner groups fighting against city councils who were elected on a platform of trying to get more apartments built.

I agree that job vs. housing density disparity is the cause of many of the problems. The way you fix the disparity is that you boost the housing density - you upzone near transit (SB 50 in the CA state legislature is trying to do this across the state), you increase property tax rates to discourage people from waiting for the land to appreciate without doing anything useful with it (ideally by gradually phasing out prop 13), and you streamline the redevelopment process by making it such that if you comply with a clear set of rules, you can start building with the knowledge that homeowners associations won't bog you down in endless lawsuits. And in my dreams, you change the zoning to mixed use commercial/residential so that you can colocate offices, restaurants, stores, and residential, making everything way more walkable and easing the burden on road infrastructure.
It's "free" in the sense that we aren't giving them money directly, but they make their billions by relying on us to use these services. Implying users who aren't entering a credit card number are of no value to Google is either disingenuous or short sighted.

Beyond just that point I think a critical dependence on these services, mixed with a general tech illiteracy and an uncaring corporation is a dangerous situation to be in. One could argue that it's the user who is responsible for maintaining access to their email account, but the reality is that the vast majority of users are not educated in these areas and absolutely need help. A corporation that won't help them use the services they provide deserves to be replaced by one that will -- unfortunately, Google is so dominant that the chance of someone seeking out and finding ProtonMail or rolling their own server is tiny. It's hard to compete with Gmail, even when you have options like ProtonMail which provide excellent customer service (with phone numbers!)

I'm just thinking out loud. It seems like a problem to me. Dunno how to solve it.
No, I did not know what you meant. There is a difference between guessing and knowing.
Many companies have done the sums on this and have dedicated churn teams. If you call and tell them you're planning to leave because you can get a better deal elsewhere they'll often match or better it in order to retain you.

It's a bit iffy since if everyone did this all the time the incentive to advertise low rates gets removed. As an individual bonus, though, it means you don't need to do all the paperwork it takes to change providers.
Lol, thanks for pointing that out as I was not aware of it. Looks like now FileZilla has support for a master password that's used to encrypt stored passwords.
Discussed yesterday: https://news.ycombinator.com/item?id=19528287

I think we can treat the actual name as significant new information (https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...).
some notes on the sample awk/sed/perl one-liner given:

# input line has to be explicitly printed
awk '{gsub(/Jack/,"Jill")} 1' file.txt

# -i will do inplace editing, unlike the awk command
# -i by itself won't work on non-GNU versions, needs backup extension
sed 's/Jack/Jill/g' file.txt

# use single quotes always, unless double is needed
# -p will behave like default sed
perl -pe 's/Jack/Jill/g' file.txt

personally, I prefer the terseness of these commands over verbose SQL like syntax (and also the fact that I don't know SQL like tools)

However, I would agree that initial learning curve is tough for sed/awk/perl. Once you get familiar with their idioms, they become the swiss army knife of cli text processing (along with grep). I have an entire repo dedicated to such tools[1]

[1] https://github.com/learnbyexample/Command-line-text-processi...
Display and Probe a J Sentence Graphically
I’m the same, I’ve been in extreme pain before and just lived with it, but discomfort drives me up the wall. I had an impinged nerve in my neck and it took me months to see a doctor, who was shocked that I hadn’t come screaming in on day one. Meanwhile a humid day brings me down like a sack of dirt.

I don’t get it.
Why do people run their server software on their desktop systems instead of, say, a proper server? Back in the days our desktop systems were VT102s, NCD X-Terminals or underpowered laptops and developing on the server through rsh/ssh or even VNC was natural. Does Ruby somehow require locally running GUI processes?
>If I want to do software development is it plausible to teach myself in 4 years? Am I hirable at 45?

As always, it depends.

Assuming retire means you’re going to get some kind of pension, you could definitely be in a nice position to take contract jobs and let the pension smooth out any income fluctuations. Also if you can start trying to pick up contract work on the side now, you’d be a very good position in 4 years.

If you want to find a full time, entry level job, that’s doable as well assuming the economy is doing relatively ok in 4 years.

You could also try to find a programming job where your existing experience would be relevant so you're not starting out at the bottom. Maybe a programming job with a company that makes forensic software or just a company that works with law enforcement in general. Domain expertise is the big differentiator once you have a few years of programming experience.
>Perl is installed by default on common operating systems.

Aye, but what about the uncommon ones? For your consideration, I'd like to share Perl's configure script:

https://github.com/Perl/perl5/blob/blead/Configure

It's my favorite configure script of all time, but I would hate to be the guy who has to extend it with a new platform :) And I have!
It is unfortunate that there is no comparison against an Ubuntu host with an Ubuntu guest.

"I was paying a pretty high tax for deciding to stick with Windows” was likely "I was paying a pretty high tax for deciding to use a VM”.

I have little love for Windows, but I would prefer to see numbers that place the blame correctly.
Right, but if 12 weeks was too short to get a job then how are people getting jobs...? You’re saying that the people who do get jobs would’ve gotten them had they gone through the program or not?

Looks like Lambda school is 9 months now (I though it was 6 but perhaps they increased it). That is equivalent to a full academic year...whats your experience with Lambda school grads and are they objectively much better than one graduating from an in person one?
It depends on where you keep your keys. If it's in your pocket, the Chico Bags are too big: these things are about 3"x4" and at least 1.5" thick.

You can easily clip them to a belt loop if you don't mind the aesthetics of the result. And if you have any sort of purse, bag, fanny pack, etc, they would probably fit in there, or clip on to it, fine. But actually putting them on a keyring that lives in a pocket doesn't work, at least for me.
This was me trying to get the Zonda in one of the Gran Turismo(3?) games. Raced a mustang around the Daytona track sooo many times.
https://news.ycombinator.com/item?id=19512332

230+ comments
> I would far prefer to employ somebody who has a wide range of experience and knowledge over somebody who has churned out what is essentially the same CRUD web site anyday. Even if the job is to produce CRUD web sites.

Do you also prefer to pay the premium price that someone with a wide range of experience and knowledge commands? There is an even higher premium to get them to accept doing CRUD work for any length of time, if you can convince them at all.

> One employee will just be able to produce what they have always done, the other will be able to look at the particulars of the problem, analysie it and potentially produce a product that is far more likely to meet the customers requirments.

It seems like you're conflating "once had this knowledge" with "currently has this knowledge", this is only true for recent graduates, after that you starting forgetting everything you don't use regularly. I'd encourage everyone to go an khan academy for a refresher on everything they've forgotten since middle school, I'd even forgotten things I was extensively drilled in like long division.

I'd also strongly disagree that a comp sci degree teaches you to break down problems and come up with optimal solutions.
Not wrong. Just a difference in how fonts display them. Like how ‘a’ sometimes has a little hook above it and sometimes doesn’t.
Which medical company doesn't want to move costs down?

You don't need high costs to charge a lot.
Wildfirechat, yet another cross platform and open source IM solution
Perl's ./Configure Script
I program on an XPS 13 and an XPS 15, both running Fedora. No complains, love them both.
absolutely if you have a filesystem heavy operation and are accessing files inside the container in aufs instead of a local mount, you are going to pay a massive docker tax.
Yes I agree. However the calculus may change for people in smaller countries that are diplomatically closer to China than America (increasing the chance that their government will do business with the Chinese government.)
Soft power influence out and defensive action against influence in are two different ball games. Again, I'm not denying that the Chinese gov't is worried about a general miasmic incursion of foreign values, just that that's relatively low on their list of concerns. I think it once was a bigger deal to them, but they've since realized that it's not such a danger.

Thing number one is preventing their own citizens from communicating and organizing among themselves. Thing number two is the international soft-power push, mostly aimed at muddying the waters of public discourse enough that they are no longer the unquestionable bad guy (the goal here is simply to damp down international criticism). Preventing the spread of "Western democratic values" and "universal human rights" in China is a concern, but probably doesn't make third place, or even fourth.
A Mac screensaver showing nothing but current screen
This is basically just a font difference. The angular version (in the text of your link) is the more typewritten style, while the version in the stroke order graph is the more handwritten style.

It's roughly analogous to the way "g" would usually descend on the right when written by hand, but descends on the left in most typefaces.
He did make it somewhat relevant to the article though
That got us where we are today. Market rate housing is good but there are limits to what a community can tolerate. It's why we have these places with cute little 1950s houses but nobody can afford to live near their work.
Having used windows for several years, linux for several years, and currently macos for several years (because that's what work gave me) - linux is by far the most stable and easiest to manage OS, after you get past the initial learning curve. The main reason is you can actually fix problems. You pretty much know why every single bit of software is there for and how to configure it. You google the problem and someone has released a patch, or instructions on what configuration changes need to be made. Or you can roll back to old versions of software easily.

Also you are a hero because you catch and fix production problems nobody else sees or understands because production is running linux.

If you have a problem on OSX you just get 500 people telling you to reset your pram, and really you just need to wait for the next osx update. You certainly can't rollback an osx update. Nobody knows whats wrong because nobody has access to the code. Even if you did - each update is millions of lines of code. It is crazy town.

Same for windows except there is not pram to reset. You just reboot until the next update I guess.
There's certainly nothing stopping you from doing Ruby or JS dev work on a remote server. I run Windows on my laptop, so when I wanted to start contributing to Discourse on the side a few months ago, I ordered a VPS at DigitalOcean and did my work there over SSH. I used SSH tunneling to access the dev HTTP server.

Edit: It helps that I use vim as my editor.
This is cool! I’ve wanted to explore something similar but incorporating a broad range of Unix commands.

I imagined a drag and drop interface (sort of like the Scratch programming language) with English descriptors of the functions being performed. You’d make it a web UI or something that generates a bash script you can paste into the terminal.
Now, the docs are Chinese, but i18n is on going.
There are 2 parts to the cost.

1. is the VM
2. is handling filesystem mounts across operating systems

(2) can be debilitating in dev environments on Mac for example where you want to edit files outside the container but have the container have access to them. Docker have done a lot to improve this over the years but it is still very painful.
If you are running on a Linux host on bare metal, Docker containers ARE bare metal - they use kernel primitives such as cgroups and namespaces, not hardware virtualisation.
A moderator raised it to be a top-level comment because its original parent was flagkilled, and yours was a fine comment which seemed to stand on its own. Sorry for the confusion.

(It's on my list to write code to supply a link to the original parent when we do that.)
Because of the performance, size, and ease of deployment.
Natalia Fileva: Russia airline co-owner dies in private plane crash
I always heard horror stories about accepting counter offers. But I accepted one and it turned out to be a very good decision. I nearly doubled my salary over the next two years and made some fantastic professional connections.
> The entire purpose of government is to overcome the free rider problem.

Can you expand on this?

The U.S. was founded by people who fled to find reprieve from taxes and a government that you could describe as a"free loader".
Hour for hour 9 months of a Lambda School schedule is actually closer to two academic years.
You can read why GitLab pays local rates on our blog post [1]

[1] - https://about.gitlab.com/2019/02/28/why-we-pay-local-rates/
> an AI to make a judicial verdict?

There is some discussion towards this direction: https://www.wired.com/story/can-ai-be-fair-judge-court-eston...
Now, the actual tragedy of PHP isn't that coding in it feels soul-drainingly tainted, but that it was always ‘good enough’ for armies of people. Because, as a result, there wasn't any incentive to add features outside of the paradigm of one-shot scripts.

E.g. there are at least three async frameworks, with barely any adoption―and this new ‘Swole’ one is advertised like ReactPHP never existed, with its promises and everything.

Meanwhile, somehow, the poster notion of PHP's versatility is that it's purportedly just fine for desktop GUI programming, of all things―while being single-threaded (its ‘pthreads’ aren't threads). The topic of UI freezes never comes up in these pamphlets, for some reason.
I added parallel tests to our app last year. My 4 core/8 thread system runs the tests pretty well with a process count of 6. The suite runs about 4 times faster, which makes a real difference

No need to wait for Rails 6 to get this boost
A word of warning. If you try this, make sure the last command is started on boot and runs before D-Bus! I completely forgot I had done this, and I just spent a few hours trying to figure out why my system was hanging on boot. It turns out that D-Bus reads /etc/machine-id on start-up, and naturally by design, it will wait until it receives data from the named pipe before proceeding with execution.
Currently on front page: https://news.ycombinator.com/item?id=19540037
that would depend on a lot of factors

sed provides only BRE/ERE which has lot less features than perl, however in my experience speed is better with BRE/ERE than PCRE, except patterns with backreferences. see also [1]

a simple example:

$ time sed 's/at/AT/g' /usr/share/dict/words > /dev/null
real 0m0.041s
user 0m0.037s
sys 0m0.004s
$ time perl -pe 's/at/AT/g' /usr/share/dict/words > /dev/null
real 0m0.056s
user 0m0.051s
sys 0m0.004s

$ time LC_ALL=C sed -nE '/^([a-z]..)\1$/p' /usr/share/dict/words > /dev/null
real 0m0.049s
user 0m0.048s
sys 0m0.000s
$ time perl -ne 'print if /^([a-z]..)\1$/' /usr/share/dict/words > /dev/null
real 0m0.041s
user 0m0.033s
sys 0m0.007s

[1] https://swtch.com/~rsc/regexp/regexp1.html
ISRO: Launch of PSLV-C45 Emisat Mission – Live from Satish Dhawan Space Centre
Ah, googling for some awk wizardry. Best done with a sandwich.
That's exactly what I thought - a 50% faster test suite run is nice I guess, but they're all still way too slow to be running all the time. I'll run the tests in 1 file or subset of files or rspec describe block or something that's relevant to what I'm doing and finishes in <10s. Save the multi-minute full runs for CI or big changes where you have no idea what will happen.
This guy does a pretty good version, I tried it, not bad at all

https://www.youtube.com/watch?v=29u_FejNuks&t=311s
Kind of an inane, fear mongering question. Why foment an atmosphere of malignant intent? Paranoia and a suspicious tone of this sort is unnecessary, when it's trivial to reason what should be considered typical and ordinary.

What does a brand-new ball look like?

What does a worn-in ball look like?

Expectations should be somewhere in between.

The only reason a the rules of the game don't require a factory fresh, new ball for every turn, is because it would seem and feel wasteful. But in other sports and games, organizers DO go to great lengths to enforce authenticity, and prevent equipment tampering. Casino gambling uses fresh decks of cards, and extra shuffling, to prevent marking and counting, otherwise, the playing field acquires memory, reducing chance, and conferring advantage to attentive players.
Plenty of people have actual friends and relatives with those backgrounds.
That’s cool I didn’t realize MoltenVK was maintained by Khronos.
They surely do not understand they are looking at bodies. They're seeing a bunch of nerd speak about "DDoS" and "dropping database tables" and their eyes glazed over. But they understand their site looks pretty...
I gave Hyper-V way too much of my time last tried setting up a development environment on windows (around September 2018). The Hyper-V tooling just isn't good enough for the developer use case compared to Virtualbox and VMWare, and once you enable Hyper-V, it owns the virtualization environment within Windows, meaning you can't run other hypervisors on the OS. That was a deal-breaker for me, as Docker for Windows wouldn't even run out of the box.
Amazon Announces AWS Breakers, Circuit Breakers as a Service (CBaaS) for Homes
That doesn’t answer the question. Businesses that need software developers could just as easily say that they can’t afford to pay software developers so the government should oppose salary caps on them and not let FAANGs pay as much as they do.

Someone obviously can afford to live near where they work or the prices would come down. If companies couldn’t attract workers because of the high cost of living they would locate to cheaper places or be forced to pay more.

The answer is not government regulations.
At my current company we do exactly this. It’s nice because it’s someone else’s problem to make sure my dev environment works, I can recreate my dev environment with a single command, and I have a shareable URL to my Rails instance that anyone on the eng VPN can use (makes it easy to show works in progress to teammates or to the product team).

It does kind of suck in some ways though. I can’t develop without internet, and debugging is worse than debugging locally. The debugging issue could probably be alleviated with some more investment in developer tooling/editor integrations.