skysight-inc/HackerNews huggingface dataset:
I do hope Python keeps incorporating more of the "good stuff" from functional programming. List/dict/set comprehensions make code better - I can look at something and see very clearly that it's correct. Type hinting is a great compromise between beginner/quick scripting needs and offering a fully-baked type system. Type hints do a lot more than most people expect - you can create useful compound and custom types (like Tuple[Int, Str, Iterable]). If we can get some pattern matching in there I'm not sure what I'd do. Spend less time debugging test failures I guess. Not sure what I'd do with that time. Maybe see my family or learn how to bake pastry. Or finally clean the top of the stove. Or just write more Python in the same amount of time? I don't know. Pattern matching.

Cool library, though.
You're the first one in this thread to bring up the idea of rewriting the linux kernel in rust... the rest of us are just having a productive discussion on the degree to which a language solves a problem.
Yeah, I saw that. I think I mentally translated "We zip-tie them so that strong winds don't blow them away" to "We zip tie them so that the solar panel can help you rip down all that ugly coax cable that the Comcast technician barely attached to the side of the building the next time there's strong wind."
Per the article, a ton of people find online grocery shopping confusing and this is driving away a TON of potential business.

This is bad design.
I hope it lives up to its promises - one thing I noticed is using Web Audio on mobile devices is that I get sudden drops and crackling even with the simplest configurations which can't possibly affect the CPU to the point where they are the root cause.

Interestingly, no such issues on desktop - at least not until I add some heavy processing.
No they can't. They don't have the experience that I have. They can't possibly have it because they don't already work for the company I work for.

I think some people in "the valley" are starting to brick it knowing that they'll be competing with people with far lower salary demands from around the world. But really the only think you'll have to worry about if your job goes remote is having to move somewhere more affordable.
There's different notions of universality.

In the more abstract one, you can emulate arbitrary computation by preparing the system (in case of the 2 state 3 symbol TM, its tape) in an appropriate configuration, letting it run until some the configuration satisfies some condition, and then extracting the result from the final configuration.

In a more concrete one, you have a language of programs, and a universal program takes a program description as input, and interprets it. I give a slightly more formal definition of such a notion of universality, as applicable to Algorithmic Information Theory, in [1].

[1] https://tromp.github.io/cl/Binary_lambda_calculus.html#Unive...
Seems taken from http://blog.presentandcorrect.com/27986-2, which did link to the sources for the images.
Remote work also means companies can get the best people for that company anywhere.

Remote work means life changes can happen and you can retain the best people for that company. With jobs and life, changes happen, people move, have families, want to be close to family, want to change scenery, get a new significant other, go to school, buy a house, all of these things can mean you might have to quit if you have to physically always be in the office.

Even when companies have remote/different city offices, virtual communication is very important anyways.

Clients and customers are almost always remote with some sprinkled in meetings but mostly virtual communication and communication through the work.

Companies would be wise to switch to remote first thinking and processes with a focus on virtual communication and a nice to have of physical meetups, integration sessions etc.

Remote work helps companies focus on their external view not just their internal machinations.

For truly unique talents and workers, location has never really mattered.
Don’t forget the most stereo typical characteristic of function for social media: following another user.
On the other hand, I'm not sure I'd upload credentials into a free-as-beer site. I assume there are self hosted, open source, cron web ui projects.
But when you start opening up jobs to people from all over the world, those in countries with lower living costs can undercut those in higher-income countries.

Globalism has already decimated the working class in developed countries, it's only going to accelerate and get worse.
Exception handling and (unit|py)test are worth the headaches.
Space has no push back. Digging by definition involves push back
What are the differentiators from a service like https://cloud.google.com/scheduler ?
Have you ever asked yourself “how did research get done before LateX?”
A humble LinkedIn post about my patently abusive tech company
Time to dust off my CSS skills.
Just a question - why do you have a dependency hell? You could restrict yourself to the Python standard library, and you would only have one dependency. The Python standard library is much nicer than bash if you need more complex data structures than what bash provides.
Business Value for Technologists
Holy emoji batman!
Do you deploy your app every time you write a blog post? I'm on Jekyll also. I wonder if you could hook the `_posts` folder to some sort of CMS and update the content without deploying.
Imagine an article on Obama's presidency that devoted a paragraph to his accomplishments, and then several pages to drone strikes on US citizens, use of torture, selling guns to Mexican drug lords, and keeping kids in cages. None of it's wrong, but it's really not a fair assessment.
I was just reading another piece that suggested the current crisis is likely to accelerate a number of trends that were already happening to some degree. I certainly don't expect the Bay Area to empty out or for Google to move their HQ to Omaha. But a lot of big tech companies were already shifting more of their hiring to new offices in areas removed from their HQ even if they don't make a big deal of it like Amazon did. And, anecdotally, I hear of a lot more people in my circles leaving the Bay Area than moving to it.
Show HN: A11yJSON, a standard to describe the accessibility of the real world
When I was at Intel, they had outsourced graphics driver development to Panang. Within a year they had created a large number of US jobs for folks who had to rebuild the work from Panang and validate/test/fix any new working coming back from Panang.

There is a difference between a cheap foreign engineer without formal training and a trained domestic engineer. Anyone who thinks every type of labor can be outsourced to cheaper labor markets has no understanding of the phrase "You get what you pay for".

Sure, the call center guy telling you to reboot can be outsourced trivially, move up the stack and you may be making a large fiscal mistake. This is discounting the much higher fraud rate attached with outsourced labor as well.
Perhaps I’m in the minority but I use the star system almost like a bookmark. Is that not what it’s for? Is a star the equivalent of a “like”?
In many cases, paying for a service you could do yourself is more about having a throat to choke in case something goes wrong. I'm sure I could figure out cron/crontab if I took the time to learn about it but that's not my core skillset so paying $5/month is actually rather cheap for me (especially when the cost is passed along to a client who is less skilled at these things than I am).
Can you really make it self contained? For example, does the host need a tz package? What about libssl or libcrypto?

As far as I know the only language making static binaries easily is Go, but it was a first class language design principle.

For everybody else it’s a jenky 1000 line Makefile. And don’t get me started on cross-compiling!
Strange, this does seem to work with python3.8 on ubuntu 20.04 (the site-packages shows up in sys.path), but for me in a virtualenv bin/python is a symlink to the system python, so how does python 'know' what path to use? Is there logic baked into the interpreter?

I seem to recall that with python2.7 that calling bin/python in a virtualenv without activating the virtualenv did not used to "work" (i.e. it would use the system packages). Did this change at some point or is my memory just wrong?
What happened to docker? They basically democratized this whole container thing and launched a paradigm shift in deployment. But you never hear from them anymore except when mentioning the command line container launcher.

Or am I missing something here? Is there an interesting business story there of the missteps made?

Just to clarify, I run docker every day (docker for mac)... my question is more how much of the industry revenue they are able to capture as a business. I wouldn't ask this if they were just an open source project with no business ambitions.
Theyve been trying to extend it with DoorDash for awhile. If you ever read /r/DoorDash...well, DoorDash drivers fucking hate it because Walmart's clienete is the least likely to tip, the most likely to order 20 packs of water, and the pay is complete garbage and no different then restaurant deliveries. It's basically an insta decline for most.
It's almost as if this is about optics and politics, and not a good faith discussion about the power that private companies have and whether or not they're doing a good job with it.
True, but the situation has gotten notably worse recently. Even some of the left must be getting a bit nauseated by what's happening.
I'm not sure. I would certainly add psycopg2 to that list, since it's really the only well-supported way to speak to a Postgres database via Python. I imagine other database dialects will have similar issues. And there's probably a whole host of other prominent libraries that we're just not thinking about because we only run into them when we're trying to use something like Pypy, and even then we only run into one or two at a time before giving up and going back to CPython.
A lot of software companies’ customer contracts specify that only U.S. employees can access customer data, also. Ops, customer support engineering, and many kinds of bug fixes all require that access.
Government surveillance bill withdrawn in U.S. House
If you're missing a particular platform and it's even remotely popular, open an issue. Ideally if you can open a PR for it too that'd be great, but those kinds of requests are usually easy to satisfy but won't be done until there's demand for them.
True, I'm working with Swift which doesn't have that concept. But you can't have collisions between similarly named functions that are in the main or a different namespace? For example when somebody defines it's own version of 'print'?
My $0.02

--

1. Download python3.8 (if you're on a Mac, just use brew install python3.8)

Now you have a virtualenv via `python3.8 -m venv`

Didn't have to install _any_ dependencies. This is clean.

From there just use your favorite editor (Sublime, VS Code, Vim, etc) and you're good to go.

A lot of other recommendations are saying install some other slightly more complicated things that you _absolutely do not need_. If you're doing standard Python dev, you literally just need a virtual environment and an editor.
Except this one is opt-in and it was a feature request from the community
That would be the development part of R&D.
My experiences with psychedelics and cannabis (many decades ago now) were similar in that LSD or psilocybin were terrific on their own, but the addition of cannabis made it extremely unpleasant. I still find cannabis unpleasant now. I found cannabis very enjoyable before trying that combination. My advice for any explorers would be to not smoke cannabis while tripping.
FWIW, as with practically any astrophysics paper published in practically any journal, a preprint can be found by title or author search. In this case, https://arxiv.org/abs/2005.13161 (and note "Comments: Published online in Nature 27 May, 2020").

Being published in Nature has some prestige still, even for astrophysics collabs.; even if -- for the sake of argument -- one accepts there are journals with better focus coupled with stronger editing of astrophysics papers in this area, that might not be relevant to all of the sources of funding for the collaboration.
Yes, but with caveats. This is what happened with call centers in the US which broadly went to places like India with big outsourcing firms.

That back-fired big time when the quality of service went to crap with companies rushing to bring these services back home.

Similar stories with tech outsourcing. There are things that have been successfully outsourced some functions to places like India, but there’s also a reason why high performing companies actually don’t seem to offshore key IP development efforts. The labor might be cheap but the true cost of bad quality is sky high.

So this will happen to an extent but cost can’t be the only factor driving decisions if the goal is long term success.
> European countries seem to fit this description too.

No I don't think so. They look with within EU.
The day before they graduate, a Harvard college student will work on your research project or startup for $0/mo, if it’s interesting enough. The day after, Facebook is ready to pay them $10,000/mo+.

They’re the same human being before and after graduation day. Just as talented the day before as the day after. It’s the pedigree variable that explains the vast majority of the salary.

You’re saying something similar, it’s just that you’re getting distracted by the red herring of the out sourced worker. You should be analyzing the difference between a Harvard and a UC Irvine student, whose average salary difference is as large as the difference between an average US programmer and Accenture contract off shore programmer. It’s got nothing to do with time shifts and organizational culture. You’re looking at this way too logically, along with many other commenters. Indeed I think hardly anyone, including the people who actually say work for Facebook, understand really why one person is paid more or less than another, at their own companies or elsewhere.

That aside you’re onto something with low skilled workers being replaced. The net result of hoovering up low paying programming jobs and sending them to another statistical group (not in this country) is that programming salaries appear to rise. Which is exactly what happened. So if you are of the opinion that programming salaries rising reflects increase in demand, so you should get into programming boot camp, you’d be like 200% wrong. You’re chasing a low salary programming job that doesn’t exist. Which again, is sort of exactly what happened.
IMO - People are already viewing your github profile and making judgments, might as well be able to personalize what they see.
I like strongly typed and functional programming. But I would rather use a "pythonic" approach to solve problems in python.
OFC there might be some cases where for example one of your dependency is python, and you still want to be able to write correct code. But in general, If you want types and functional constructs, IMO you should use something else.
I have a prescription and take it every three days. A clinically effective intranasal dose is about as psychedelic as a couple of beers.
Through projects? I'm working remotely and it's the same as in person. First few months is about everyone feeling each other out once you understand more you give people more trust in those areas.
Lots of version control and video conferencing companies...
I wouldn't conflate SV elitists with "brogrammers". It wouldn't be too far to say a programmer is today's blue collar worker. So, you're fighting your own "bros".
If the remaining hole in your theory is finding a way to explain a fire burning without oxygen, you might want to abandon your theory.
They got their business solution (docker-swarm) eaten by kubernetes. So now they're only really the CLI and the public registry.
> However, I am torn, when it comes to its lack of skepticism.

That's a common theme among psychedelic researchers.

Slate Star Codex wrote an article about it: https://slatestarcodex.com/2016/04/28/why-were-early-psyched...

Every time I read a book or listen to a podcast from a prominent psychedelic researcher, I'm caught off guard by at least one or two bizarre, anti-scientific statements.

With Stanislav Grof, it's his insistence that "synchronicity" is the mind directly manifesting experiences in the physical world. This is an actual quote from Grof:

> What's characteristic for synchronicity is that it seems that the psyche is entering into a kind of a playful interaction with the material world, where something happens in your dream or in your visions, and then the material world kind of plays it out. Let's say you have a powerful shamanic experience involving an owl, and you walk out after the session and there is an owl or a wounded owl and so on.

I suspect that psychedelics might be useful adjuncts for professionally-guided therapy because they open the mind to suggestibility. I suspect that same suggestibility might be dangerous when repeated frequently without external direction, as is the case with many prominent psychedelic proponents. These people begin to believe their own hallucinated thoughts and realities.

It's important to note that the vast majority of psychedelic research doesn't involve dosing people with psychedelics and walking away. Instead, the research revolves around intense therapy sessions where specific sessions also involve psychedelics. Internet articles tend to disregard the therapy portion and write headlines that lead people to believe that psychedelics are inherently anti-depressant, which is a dangerous mischaracterization of the current research.
They’ve rediscovered .plan files?
> There is a difference between a cheap foreign engineer without formal training and a trained domestic engineer.

IMO there's no difference between a trained domestic engineer and a trained foreign engineer. Foreign vs domestic isn't a meaningful difference.

However. Existing tech hubs got their cachet for having the best and the brightest, which in turn draws in the best and the brightest. Companies have to pay more for talent on average in hubs because the talent has self-selected for a high concentration of great folks.

That doesn't mean there isn't an assortment of great folks elsewhere who just didn't feel like moving, but IMO, more than likely, the majority of the great folks are already in tech hubs. I think the risk is overstated.
Next up: Microsoft acquires Docker.

That will make Microsoft own:

- #1 Code repository: Github

- #1 Package management repository: NPM

- One of the most popular editors: VSCode

- THE container engine: Docker

I have nothing against this btw, but just wonder at which point the government will throw the antitrust card
Hmm. Could use hex packing, but still need aisles. And there are probably fire escape regulations.
Deflamel: AI Wizard to generate book cover designs
It's my understanding that if a US company wants to hire someone outside of the US to work remotely from outside of the US; they must treat the employee as an independent contractor.

Additionally, the US company would have to abide by any local labor laws / tax laws in the country they are hiring in.
Getting to Philosophy
Out of the peels? Perhaps. It depends on the kinds of chemicals that are in there. The question is, why bother?
This quora thread goes over some of the reasons why synthesizing THC is a fairly pointless exercise (barring cetain highly specific conditions such as unavailability of hemp etc).
https://www.quora.com/Can-THC-be-synthesized-Can-you-make-TH...
They were early in doing decent userland tooling around cgroups etc. Docker Hub too was a genius idea.

However their engineering went to crap - tonnes of issues with new versions where networking and other stuff broke, plus the whole "runs as root" thing. People only then realised that Docker wasn't the tool, it was the wrapper around it.

All this time they were trying to monetise it and failed pretty much.

This is the view as an outsider who's used it for years - anybody got a more accurate view?
I appreciate your short term perspective, and agree with you that today remote work doesn't have these fears. However, the author is thinking about a longer time horizon.

As an example, with agreements between Canada/US and similar culture it would be very easy for your company to start hiring remote workers in Canada. Suddenly due to currency differences their salaries are 30% cheaper, and with a strong social safety & gov. subsidies likely even cheaper for similar talent.

Then some time later after your company has had success with some international workers they branch out farther and hire a few juniors from South America in the same time zone. Repeat this cycle over the next decade and now salaries have been eroded even for high paying information workers.

I'm starting to feel globalization is a race to the bottom for everyone but the owners.
>>>The morons - and they are ALL morons - that support him

A not-insignificant portion of his base supports him because of exactly the sort of attitude you display in your post: arrogant, smug, baseless condescension. Did you learn nothing from the whole "basket of deplorables" incident?

https://wjla.com/news/nation-world/trump-won-the-majority-of...

https://en.wikipedia.org/wiki/Basket_of_deplorables#Analysis
I follow this guide[1] every time I need to setup python from scratch.

[1] https://medium.com/@henriquebastos/the-definitive-guide-to-s...
This is great, yet another place I have to repost my resume/portfolio/blog to satisfy the trend-following recruiters and hirers... Maybe I'll just do this

# [CLICK HERE FOR MORE DETAILS](https://mysite.tld)
I had no idea highlighting something and dragging it with the mouse was a thing. It works all over the place from quick testing. This is cray, how have I missed this my entire life?
Please do, that sounds amazing.
Javascript sort of does

Stack - the event loop uses this for handling callback executions

Heap - memory addresses for objects. For instance if you copy over an array of objects, you are copying the pointers to those memory addresses inside the array.
Also memory leaks to some extent with eventListeners especially when you use a framework like React
Maybe the people in Kansas won't be taking a pay cut, but workers who were previously limited by immigration laws would definitely be happy to. Indians speak english, Mexico and a handful of other central/south american countries are in the same time zone as the us. People in those situations would be incredibly happy to work for half of what you make now. There are definitely problems with hiring those people, but your argument that supply won't expand is incredibly naive.
I do not think it's odd, and I never disputed that they were different. The picture posted was a non-sequitur though.
How to Find Balance in Customer Service Automation
This looks cool. The approach (storing files in Google Drive, and adding navigation layer on top) seems similar to https://youneedawiki.com/

What other tools like this exist?
> If you used to be on SSRIs and they worked, then LSD doesn't sound like a good match

Do you have any evidence at all to support this claim?

LSD isn't inherently an anti-depressant. The research around psychedelics involves many sessions of intense therapy with LSD used in some sessions to help facilitate the therapy.

Researchers aren't just dosing people with psychedelics and walking away. The drug itself isn't doing the heavy lifting of addressing the problems.