skysight-inc/HackerNews huggingface dataset:
To the extent Europe has avoided American-style mass layoffs, it's been through direct and indirect government funding of continued employment. Businesses and employees are being kept warm — they're in the cache.

In the US, this is anathema to the ruling party, so even trillion-dollar nominal relief legislation is structured to channel money with little oversight primarily to corporations, and erect preferential barriers to relief reaching states, local governments, and citizens' pockets.

There is more concern in the US ruling party over the "moral hazard" of a fast-food worker in a big city on the edge of poverty receiving unemployment that exceeds their $8 per hour salary, than there is over shell companies thrown together in a week receiving $55M no-bid contracts to resell PPE seized by the federal government from the states [1].

[1] See Blue Flame Medical, Oren-Pines, Panthera, et al.
One wired article != fact
>But after a couple of arguments, fields inside an object become more appealing -- this is about taste.

I don't understand this. The difference between passing a structure implicitly or explicitly will always be a single argument.

>But even if you have free functions, as they become more complex, you tend to group them together, so at that point you might just slap the "class" keyword somewhere at the beginning of the file and just call it a class.

Sure, but at that point you're not really using any class features. If you're just using classes as modules, why not use modules directly?
The French Revolution was largely fought internally. Hong Kong’s situation is more like occupation than civil strife.
A new spec for microSD cards (microSD Express) was announced last year, which would let them use similar protocols to SSDs. I don't know if this means they'll support things like TRIM, without which their performance may initially be fast but degrade over time. Still, it would be a significant improvement.
Why are options a bad thing? What's the default? Is it reasonable?
In the first wave of outsourcing, companies saw that the contract organization provided more or less equivalent results at substantially reduced cost.

What they failed to realize is what they outsourced were their bottom tier workers, the unproductive people. They got excited by the reduced cost with minimal reduction in effectiveness.

When they try to outsource their better talent that’s where they failed to recognize good talent is costly everywhere. You might save some salary but it’s offset by lots of other things from time shift to organizational culture.
Do the people that host their blogs there get an indication of how many readers bailed at the paywall?
This is a worrying thought! Does someone like Twilio do this? Might be worth having a look. We grappled with the same problem because we do device authentication as a single factor of authentication. In a SME setting, ideally the business signs up using ops@example.com and then they can register any number of devices to carry out the device authentication and remove any device remotely if, say, Barbara from accounts retires on Tuesday.
As someone who has worked remotely and worked for remote teams for some time now, I can say that you need hire a higher caliber people with excellent communication skills who you can really trust to deliver.

I think remote work will just make sure good people are in higher demand, which means that the market may even get hotter for better people.

Companies who just complete on price will fail spectacularly.

Bring it on.
It does, if your extensions are provided as wheels. In which case the resulting pyz file will be runnable on any machine using the OS those wheels are compiled for.

Let's try an example with numpy:

$ py -m venv foo
$ foo\Scripts\activate
$ pip install numpy
$ code hello_numpy.py
# import numpy as np
# def main():
# print(np.arange(15).reshape(3, 5))
$ python hello_numpy.py
[[ 0 1 2 3 4]
[ 5 6 7 8 9]
[10 11 12 13 14]]

Now with shiv:

$ copy hello_numpy.py foo\Lib\site-packages
$ shiv -e hello_numpy.main --site-packages test\Lib\site-packages\ -o hello_numpy.pyz
$ python hello_numpy.pyz
[[ 0 1 2 3 4]
[ 5 6 7 8 9]
[10 11 12 13 14]]

So it works fine, but remember:

- it will only run on the system this particular numpy wheel has been designed to run on. In my case cp38-win_amd64.

- it will comes bundle with numpy. Numpy is quite big, which means your hello world pyz will be 14.1 Mo.

- it needs to unzip, so the first run will be slow
I decided to drag myself kicking-and-screaming to the 21st century and start writing my handy-dandy utility scripts in python instead of bash. All was well and good until I made them available to the rest of my team, and suddenly I'm in python dependency hell. I search the internet and there are a lot of different solutions but all have their problems and there's no standard answer.

I decided "to heck with it" and went back to bash. There's no built-in JSON parser but I can use 'grep' and 'cut' as well as anyone so the end result is the same. I push it to our repo, I tell coworkers to run it, and I wash my hands of the thing.
His tweets suggest that he believes his privacy had previously been invaded by FISA court-approved wiretapping under the Obama administration. Like most things he says, that seems to be mostly false but based in a shred of truth: someone from his campaign was subject to wiretapping approved by a FISA court as part of the Russian election interference investigation. He’s linking FISA to his “Obamagate” conspiracy. This explains his party’s push to add language to the bill providing additional due process before a FISA court could approve wiretapping a candidate for an elected office in the federal government.

A win for civil rights is a win for civil rights though. I hope.
The same set of people aren't saying both things. The people who believe SV and NY have top talent are exactly the ones who think remote work is great. I'm excited about the trend; a bigger pool of talented engineers for me to work with means I'll be able to accomplish more and have to compromise less on my career goals.

The people who worry that remote work will be a disaster are the ones who never believed SV engineers were more talented in the first place.
I've made the same observation. Does it have something to do with US tax or other regulations?
Show HN: Dropy – Make lists, share text content, create public or private pages
Python + Functional = http://coconut-lang.org/
"The deepest hole humans have ever been able to create was about 12km deep."

This interesting: We've sent humans 384400 km away from our planet, we've sent an object more than 22E9 km away [1], yet we cannot drill a hole deeper than 12 km into our own planet.

[1] http://voyager.jpl.nasa.gov/mission/status
When I read these comments I'm left wishing we could be a more supportive community when peers try something new. I hope we can find a way to support Niko.

It saddens me that many engineers don't start projects for fear of embarrassment from forums like these.

My first startup failed for all sorts of legitimate reasons. My second startup sold to Facebook for millions. And all of them sounded like a bad idea at the start.

Let's not be a modern slashdot and miss the forest for the trees. What if Niko or someone here is successful? How will history judge the incessant critiques?

No wireless. Less space than a nomad. Lame.
Why can't it be both? Companies locate where the talent is; the talent goes where the companies are. Your standard positive feedback loop.
European scientists want to break Google's monopoly on Internet search
Here’s a recent, though very limited, example of Germany giving asylum for Hong Kong independence activists in 2019 - with China’s public response at the time:

https://www.reuters.com/article/us-china-germany-hongkong/ch...
There are multiple layers. I think SV will remain a hub from a commercial standpoint, so if you're fishing for VC money that's still where you want to be.

From a purely technical standpoint, we'll see, but tbh, as others have said, outsourcing has been happening for decades now and if anything the wave is currently retreating.
Tcl used to be a pleasure, then again I haven't touched it since 2002.
Not anymore. Ruth Porat has been Ruthlessly cutting all the "give back to mankind" projects, YouTube became profitable recently after TEN years of losses, and Google for work is now profitable which means Google drive and Google docs makes money, finally. when I worked on search for Google we had 700 people in a building that was probably 25000 square feet. It felt almost like a chicken farm. Not many people born in America worked there.
POSIX shell is miserable for programming anything beyond a couple lines. It doesn't even have arrays[1], so you have no available container types within the interpreter itself.

[1] Well, it has $@, which you can use as a general-purpose array with some hacks[2], but that's no way to live.

[2] http://www.etalabs.net/sh_tricks.html
Yeah, that's exactly what I had in mind. Microsoft had a very specific modus operandi in their bad old days, that was different then what they did with AppGet. Here they basically acted like a regular big company trampling over a small company. You'd be hard-pressed to find any big company that hasn't done that. I remember, for example, when Google created 'Go' lang, they didn't care that there was an existing programming language named 'Go!'[1]

[1]https://en.wikipedia.org/wiki/Go!_(programming_language)#Con...
I much agree with the sister comment and I write my shells for /bin/sh also. There is this wonderful tool called ShellCheck ( https://www.shellcheck.net/ ) that checks that your script is actually POSIX-compliant if it starts with #!/bin/sh
I mean it is obviously possible. Rust can do anything that C can do, literally.

Your question is mixing safe and unsafe Rust as if they're one and the same. What I think you meant to ask is "Can Linux be implemented in safe Rust?" And my answer would be "likely not, but the goal is to limit the number/size of unsafe sections, so that they can be QA-ed harder and bugs discovered."

When you write C/C++, 100% of that codebase is unsafe. When you write Rust, even a kernel, should be 80/20 safe/unsafe or less. That's where the improvements come from.
To me, context matters. 'AppGet' sounds like a friendly hat tip to the legendary apt-get, given that they don't compete.

'WinGet', a direct copy of 'AppGet', is not a friendly reference IMO.
I'm a remote freelancer, no one has taken my job(s) yet. I also don't make Bay Area money so maybe this never applied to me.
What - why?! Because knowledge work is more important for some reason?
Pipenv Release v2020.5.28
Nice points about the mobile Python. My old company ported Python to Symbian operating system (Nokia phones) around 2008. The problem for Python in mobile is the same as for JavaScript / React Native: The startup time is slow because modules cannot be imported or statically loaded fast.

Even though mobile phones have gotten fast, this is an severe issue with React Native apps. And Facebook is pouring in a lot of engineering to tackle it. But the progress is incremental at the best. As a result some code gets rewritten in C++ because of this issue (see e.g. Trust Wallet). Even though I love Python as a programming language I would not recommend it for consumer grade mobile application development and I feel it is unlikely to get there ever unless some breakthrough happens in runtime development.
You are over-complicating this. People are not infinitely deep; they have strange loops which make one level of depth look like many levels. Consciousness is a hallucination.
European countries are outliers due to EU regulations. Any EU "citizen" can work anywhere in the EU, so pragmatically speaking, why would you only want to hire Spanish people instead of opening the door to French, Italian or German candidates? It comes at literally zero cost to the company.

Some industries are heavily regulated in the US and having non-US based employees can become a real headache for US companies. A lot of US companies have background check as part of their hiring process, pretty hard to do for someone not US-based.

Also, if you target only the continental US you're already talking about companies that may be spread across 4 major timezones. If you start including Europe you're now dealing with people that are gonna be more than 6 hours removed from your HQ's timezone.
Do the math to normalize the serving sizes and you'll see there are differences. The UK version, for example, has significantly more salt. You can see that without doing math. 300mg of salt in a 15 gram serving vs 160mg of salt in a 17g serving.

I'm perplexed why you think it would be odd for a company to make a version of their product that's suited to local tastes.

US: https://dam.kraftheinzcompany.com/adaptivemedia/rendition/00...

UK: https://d36rz30b5p7lsd.cloudfront.net/kraftbrands/heinzcouk/...

HFCS and sugar do have taste and mouth feel differences as well.
Remote control your iOS Device with VNC
Almost my entire (small) company is based in NYC, but we have one programmer in Europe. He just adjusts his schedule to US Eastern Time hours. Might be harder if he was in Australia, but that still leaves a lot of flexibility.

Heck, as I'm writing this, it's 11:20 am where I live, and I just overheard my sister get out of bed in the next room. Last night, she was taking an online MCAT prep course until after I went to bed around midnight. She could easily work in a different timezone.
Just to be sure I've understood your argument, you're claiming that providing easy access to copyright-protected works is sufficient to prevent piracy, as no-one will attempt to pirate things that are readily available on a legal basis so DRM is pointless?

I agree that not providing a good, legal means to get something is an incentive for pirates, but the idea that all piracy just goes away if you do is absurd. Some people tried experiments with this a few years ago, and found that even for something that you could literally get legally for free just by downloading it from the original website, a high proportion of the copies being played actually came from other sources and were not legally obtained.

I've run a business that creates original content and makes it available through an online portal. My team and I have on occasion watched, in real time, over periods of hours or even days, as some people have gone to lengths that were hard to believe just to scrape our content in a way that would let them set up a copycat. Obviously we shut them down before they could pose a serious risk to the business, but it was a great demonstration of the weakness of arguments that people are basically decent and will buy stuff legally if you make it easy. Some people are like that, many people even. And more people will buy stuff legally if you don't make it unreasonably difficult. But many people will still try to rip you off, no matter what you product costs or how easy it is to get.
This is really murky to me. As a professional, I keep notes as I learn things which may or may not relate to my current employment. The notes are my property and part of my knowledge base that I bring to any job. But I suppose I indirectly receive compensation for knowing things, so I need a commercial license?

Or what if I start taking notes on some random subject for fun, and eventually I write and sell a book based on them? All of a sudden I need to start paying a yearly fee?

It's not a prohibitive amount of money, but I'd be much happier with paying a one-time fee for the current version, then buying future versions if I choose to.
Reminds me of the audio editor that shipped with Windows...95? Had some great times with that thing reversing everything in earshot, doing reverse reverb etc etc

edit: this thing https://i.imgur.com/UXqSteO.png
Both?

As someone who is unable to move to California due to family, I've always seen the biggest benefit I am missing to be not applying to jobs close by, but being the proximity to people I can connect with who can help me (and my ideas) grow.

It's an old cliche, but true, that if you surround yourself with people smarter/better than yourself then you will likely get better yourself; conversely, if you are the smartest person in the room on X (no one is the smartest in the room on everything), then there is no forcing function driving you to get better other than one you artificially create for yourself.
SKI, Lambda Calculus, Turing Machines... FWIW, I think concatenative notation is the simplest useful computational framework. ( https://joypy.osdn.io disclosure: it's my project.) But I'm not mathematically sophisticated enough to make the formal argument.
This was an interesting comparison of 32 vs 64bit performance

https://medium.com/@matteocroce/why-you-should-run-a-64-bit-...
We do try and point this out in the article itself, but apparently failed to convey the total context by trying not to spend a lot of time explaining gravity, which for the particular article shouldn't be that important.

> The problem we had was that Gravity was never designed to run on SELinux-enabled hosts and our customers kept randomly breaking their installations when trying to run Gravity with SELinux enabled.
If then a wikipedia article != fact. So gab is not a conservative platform.
Hiring Data Science Guide
Speaking to web technologies specifically I have found this to be opposite at my prior employers. There is a lot of incompetence in web related technical jobs which makes it hard to trust new candidates/employees and offshore employees tended to be less trust worthy in regards to competency.

At my current employer, though, the offshore developers in India have really found the secret sauce and are really nailing productivity and code quality to the danger of US employees.
> All magnets will fail to work

I'm not sure what you responded to since it was removed, but I assume it was something to do with the subject of the article...

Why would all magnets cease to work if the Earth's magnetic field went funky? Surely neither the magnets on my fridge nor the magnets in a train's electric traction motors do not depend on the earth's magnetic field being oriented any particular direction. I'm not sure, but I think AC train traction motors don't even have permanent magnets in them. Compasses would get messed up though.
How to Charge for a Zoom Event
remote work should mean that software engineers should get payed exactly the same anywhere on earth. If they had to go through the same interview process to get a job and are literally doing the exact same job then they should be payed the same as a SWE in SV or NYC
Tooling as in intellij/gradle? I doubt they'll ever use less memory.
Show HN: HTML Goddess – A static site generator to code like it's 1999
ScummVM: The open source project reviving classic games
Where did you get that it’s only crypto by itself?
He can’t make requests that aren’t backed by any laws. He’s a law enforcer not lawmaker.
It can be both. Prior to the current situation, many/most companies preferred people who could/would commute to a company office. Which gives more options to people willing to work near one of those hubs and mostly work in an office.

At the same time, many people prefer to live near one of those hubs whether because they just like NYC, Boston, Austin, Bay Area, Seattle, etc. or because they believe it gives them more flexibility in changing employers. (And/or being in proximity to many like-minded individuals.)
Funnily, except for the pollution part, most of your items on the right seem more attractive from a quality-of-life point of view than those on the left. Flying to Disneyworld sounds like a nightmare I would never (willingly) do, but a trainride to the seaside is always nice.
Huh, clever! I wonder if anyone has built that.
Show HN: User authentication at the edge using Auth0 and Cloudflare Workers
I think their claim is the researchers can run a Linux install with KASAN and see the results but they are unable to use an equivalent of that on MacOSX, Windows as Apple, Microsoft do not allow an end-user to perform that kind of instrumentation on their own device.
Mark Zuckerberg: Social networks should not be ‘the arbiter of truth’
Pre-remote, I was afraid of a random person walking in off the street and doing my job. I don't think I ever worked for a successful company that wasn't continually hiring people in my role.

I don't think the author realizes that large businesses that rely on software see tech as a team sport, in which camaraderie plays a huge role. Subconsciously, they're willing to pay another $40k for a better social/emotional experience.

Who is a theoretical startup hotshot going to prefer?
Option A, who is also in San Francisco, who talks about concerts and cool events they went to every weekend, who stays up late hacking on fun side projects, etc etc.
Option B, ives in Omaha, nice enough person but pretty much always logs off at 5pm. Has 3 kids screaming in the background of every Zoom call. Likes board games.

That's not to say B has zero chance of employment. In my experience, B can existed at a company but has to have some seriously strong technical chops, know the higher-ups really well, AND be an integral part of the company in terms of how critical infra is maintained.
Pyenv often is the easiest 3rd party source for additional pythons.

Real scenario I'm in right now:

- Need to build libraries to support 2.7, 3.6, plus future proofing for >=3.7

- CI workers have images which only python 2.7 and 3.6, platform team too busy to update them

- Mac Homebrew only supports >=3.7

There's no common environment between anything unless we use pyenv
As someone who basically never worked in an office since I began working as a dev in the early 90s; you have to protect yourself and carve out niches and knowledge that takes actual time and elbow grease to catch up to. Sure many people anywhere in the world can do what I do, but with the deep knowledge I have about some subjects (banking/payments/insurances backends & production firmware), it is not very likely to get a better deal as I speak the same language of all parties involved and I did it many times already. So it is not trial and error. It simply takes actual time to sit down and suffer for years/decades. You can hire entire teams cheaply with great looking resumes and fail because some of these things are not hard/difficult per-se but you have to have done them before to succeed fast.

But yes, if you shoot with hail and focus on the latest and greatest, you might be easily replaced. I am surprised how cheap (embarrassingly so) I can find good react/node devs; that tells me it is really bad to specialise in that...
all for it. liberals think they have the only voice online.
Psychotherapy is seen as prohibitively expensive because of the way it is currently practiced where the patient must see the therapist on an ongoing basis. This isn't necessarily a bad thing, it's a lot like seeing a personal trainer on a regular basis but it's certainly an expensive way to stay fit. Psychedelic therapy seems to be an option that helps make a much smaller number of sessions "stick". If you only have to do 3 sessions a year then it means the therapists can see a much larger number of patients and the overall cost for each patient could go down.

My opinion is that most people could handle (small) group therapy as well which could further reduce cost and might actually have a number of benefits for those involved.
Consider reading this book to deal with your trauma.[1]
It talks about how trauma is stored in the body but also offers a few approaches to healing at the end.

[1]: https://www.goodreads.com/book/show/18693771-the-body-keeps-...
FWIW, I think concatenative notation is the simplest useful computational framework. ( https://joypy.osdn.io disclosure: it's my project.) But I'm not mathematically sophisticated enough to make the formal argument.