skysight-inc/HackerNews huggingface dataset:
I don't see what's modern about it.

Those tools have been existing for years, and as always with Python, they serve only a subset of the Python users.

Not that it's a bad article. If you don't know about them, give it a read, it's good to know it exists and the post is well written.

But don't think it's the ultimate stack or whatever.

And if you learn Python, you should always strive to master the basics first:

- installing python.org for windows and mac, or apt/yum on Linux (those ones are tricky, it's more than just the "python" package to get pip and venv)

- don't try to get the latest and greatest version (which is 3.8, or 3.9 alpha today). 3.6 is great already and is wildly available. I personnally strive for 3.7 now, but I'm happy with 3.6 if I don't have to use asyncio. So get the most modern version that is easy to install for you.

- be comfortable with "-m", the "py" command on windows, "pip" (-m, --user, install, install -r, freeze), and "-m venv".

- make sure you understand what the PYTHON PATH is and how it works regarding the import system

- know how to configure your favorite editor to work with those

Once you have those basics, you can go and try whatever have you: peotry, pyenv, pew, virtualenvwrapper, pipenv and so on. It will be easy because you will have a solid understanding of where it comes from and how it plugs in into the ecosystem. You will be able to chose if they are worth it or not for you. And more importantly, when you will have to move away from them (because of work, because they don't suit you, because they are abandonned...), you will always be able to fall back to basics.

But franckly, there are so many things that you should be learning before those extras: pdb, black, pylint, zipapps... Or even concepts like generators, decorators, unpacking, etc. They all have a better value for the time you spend on them than learning a new "modern" stack.

Not that it's not useful to have a modern stack. I update my stack all the time.

I'm currently using pip + pew + doit + nox + pytest, and I'm experimenting with dephell.

But it's my full time job. I'm an expert.

Most Python devs have a much limited amount of resource to spent in learning stuff. They have deadlines, and other stuff to care about than Python.

I know because I go from company to administrations to students to train them, and it's always the same: they chose Python because it's an efficient use of their time.
12 years is a reasonably amount in terms of tech. It was probably around a similar time that I stopped chasing fads.
You can totally rewrite your entire git history to make the entire repository GPL.

You have no obligation to continue hosting the MIT version, and you can release a new version of every commit under GPL.
It's an interesting approach, but I'd assume only a small group of tech savvy users would do it. It's also a dystopian future that feels worse than the adblock arms race.

I'm still hopeful that we'll figure out micropayments in a way that let's web content survive without needing the ad tech garbage.

Until then I block and navigate away from sites that do ad-block-blocking.
They said x86, so definitely not a smartphone.
:) I know, right?

If you want to go a step deeper, Flash was one of the original things that got me into programming, I currently do web programming, and I found Mozilla's project looking for that specific thing -- a Flash emulator.

I've thought about trying to be cute and petitioning them to let me take the name on a fork, but I don't really have any knowledge about writing emulators, so I unfortunately don't think I would be a particularly good steward or would have much to add to the project.

And I guess efforts like Mame have come farther with Flash emulation since then anyway, though I haven't checked in a while.
I don't reccomend LSD to anyone. My last time taking it was devastating. Traumatic hallucinations and delusions during the trip and I had anxiety and uncomfortable tactile sensations that took more than a year to dissipate.
I am not into Python, but the article lost me before it even started: you are required to install a bunch of compiler tools on your device to be able to proceed.
Excuse me? Is this really what hypermodern Python looks like?
I'm laughing a bit. I agree the the parent that it's a great prefix to make things sound fun and exciting online, but I could do with less talk about "cyber-security". I suspect it has to do with the people who say it the most in meetings are the people who know the least about what it actually means? Kind of like an anti-shibboleth.
How not to spend half of my life on my screens
Costs $500 + planetary manufacturing costs of the battery, and panel, plus their pollution cost post-use.

Based on constant use, it generates $50 of electricity per year + saves plantary production costs of electricty by traditional means.

So providing the battery and panel don't fail or decline in function, it financially pays for itself after 10 years of constant use, realistically probably more like 8 or 9 years when you factor in rising domestic electricity costs.

Looks like a terrible investment to me. Especially when you factor in the planetary costs of the physical production.
I'm a self-taught developer and went from 1 Lynda course to a career in software. I owe most of my learning to tinkering.

Building small little personal projects just for fun. Taking an interest and trying to manifest it in the form of software.

You put something at stake by trying to make this little toy project work so every time you face a problem you're motivated to figure it out just so you can get to the next step. All the while you're learning from experience. This is a lot like how professional software writing is. Learning in real time from experience.
I've been using it pretty much exclusively for a lot longer than 2 years. I think part of the trick to switching is that google has got us trained as to how to search for stuff in a way that gets the results we're looking for.

It took maybe a month to feel like I was searching effectively after switching, but I never found ddg's results to be appreciably less relevant at that point.

On the upside, since ddg is less popular than google, people have put less effort into getting crap pages higher in the search results, though I'll concede it's gotten worse over the last couple of years.

For me, the bangs are the killer app, combined with searching from the browser bar: I don't have to wait for e.g. google maps to load to do a maps search if I search !m pizza in Poughkeepsie.
This

The post wants to sell the point that "poetry is like npm" as if it was an advantage. It isn't. (Not that npm is bad per se)

Can't wait for left-pad python the way things are going...
What exactly are you arguing? That people should be happy with the flaws of the status quo, and that we should not follow up on promising new treatments that don't have those flaws, because...?
Could this time of field weakening and events such as cambrian explosion[0] be related?

Does any human activity impact Earth's magnetic field directly or is it irrelevant at this scale? Activity like mining metals out of the planet, large amounts of construction. Movement of metal in ways of air planes and vehicles.

If molten magma is the source of our magnetic field and the earth slowly spews out lava over time, is it causing out magnetic field to weaken over time?

This might be slightly offtopic but what do you make of the concept that magnetic fields and global warming might be associated? [1]

[0] https://en.wikipedia.org/wiki/Cambrian_explosion

[1] https://ui.adsabs.harvard.edu/abs/2006AGUFMGP51B..02F/abstra...
> the largest risk factor besides being old is obesity.

Obesity increases risk of covid-19 (and many other diseases). It's not the largest (other than age) risk factor.

https://www.medrxiv.org/content/10.1101/2020.05.06.20092999v...

> In summary after full adjustment, death from COVID-19 was strongly associated with: being male (hazard ratio 1.99, 95%CI 1.88-2.10); older age and deprivation (both with a strong gradient); uncontrolled diabetes (HR 2.36 95% CI 2.18-2.56); severe asthma (HR 1.25 CI 1.08-1.44); and various other prior medical conditions. Compared to people with ethnicity recorded as white, black people were at higher risk of death, with only partial attenuation in hazard ratios from the fully adjusted model (age-sex adjusted HR 2.17 95% CI 1.84-2.57; fully adjusted HR 1.71 95% CI 1.44-2.02); with similar findings for Asian people (age-sex adjusted HR 1.95 95% CI 1.73-2.18; fully adjusted HR 1.62 95% CI 1.43-1.82).

> Conclusions

> We have quantified a range of clinical risk factors for death from COVID-19, some of which were not previously well characterised, in the largest cohort study conducted by any country to date. People from Asian and black groups are at markedly increased risk of in-hospital death from COVID-19, and contrary to some prior speculation this is only partially attributable to pre-existing clinical risk factors or deprivation; further research into the drivers of this association is therefore urgently required. Deprivation is also a major risk factor with, again, little of the excess risk explained by co-morbidity or other risk factors. The findings for clinical risk factors are concordant with policies in the UK for protecting those at highest risk. Our OpenSAFELY platform is rapidly adding further NHS patients' records; we will update and extend these results regularly. Keywords COVID-19, risk factors, ethnicity, deprivation, death, informatics.
I’ve moved away from requests to httpx.
So, you just freely abandon the parts of faith that contradict science? Then why call it 'faith'? Its just 'hunches'.
Dawkins defines 'fantastical' as great complexity that fits an a priori definition.
https://nodeschool.io/building-workshops.html

I think it's mostly specific to node, but I found this to be a great format for learning
VuePress and GitHub pages. 0$
htmx looks like the perfect thing between UnpolyJS and AlpineJS. In Unpoly I miss the optional clientside templating which htmx seems to support as extension. AlpineJS lacks the http stuff (headers, requests). Really exciting times for using old school html without downloading 5000 js files via npm.
Yep -- I just bought a Raspberry Pi 4 this past weekend and was surprised to learn that .NET Core wasn't supported until I realized Raspbian was 32-bit. I installed Ubuntu/arm64 and while I didn't realize it was a non-GUI OS that was fine and I was able to put .NET Core 3.1 and some small apps on it and all is well.
He's still alive though?
Why a whole OS? Can't you just install Conda or miniconda?
Quay.io goes down for second time this month
I learned that if I follow the tutorial exactly I don’t care as much about what I am doing. Instead, I’ll swap out file names and functionality to something I’m more interested in working on. The small gap between my project and the tutorial means I have to really think about what I’m doing at each step, and at some point I’ll be able to keep progressing without the tutorial.
Google news doesn’t have great archives nor does it vet sources which is essential for research use cases.

Lexis survives because it’s a phenomenal product.
Ethical guidelines for Covid-19 tracing apps
Senior House Lawmakers Push to Speed Up Broadband Funding
If you say espionage agency with ocult sources of money for even more ocult projects to finance, CIA is the name on anyone's mind though.
Typical Microsoft. If they're interested in what you're doing, be acquired or be crushed.
Microsoft loves opensource; they love linux too. Like I love mashed potatoes : well cooked, thinky crushed then with some cream on top.
The Three Clocks That Make Up Our Concept of Time
previous outage https://news.ycombinator.com/item?id=23239517
Except for the title of the OP, which seems argumentative.

The context pointer for an encapsulated set of functionality, need not be passed around. It adds little or nothing. In a language full of encapsulated functionality, it stands out like Chekov's Gun. I'd argue, there better be a damn good reason to deviate for normal practice. And not just 'I prefer the explicit'.
Tips to Lose Weight
Engineering is always balancing capabilities and costs. Before AWS existed there were plenty of stories about people over-buying to handle peak loads, optimizing workloads to fit a particular budget (especially during the dotcom era when VCs stopped underwriting huge sales for Sun, et al.), etc.

Cloud services gave new options for variable use and reallocating management costs but they also did something which most places were not used to: expose every detail as an itemized bill. That makes costs more visible than they’d been for most organizations which is good in the sense that people can make architectural decisions with pretty detailed numbers but bad in that many CIOs get sticker shock unless they’d done a well above average job calculating on-premise TCO.
How are you liking Apple photos, considering the switch myself
I was with you up until your last sentence. pip and virtualenv are hacky kludges that grew legs and lungs, that's how old python's issues around deployment are, there's an era before pip and virtualenv.

There should be an abstraction for it (deployment, versions, import hacking) like what pathlib did for file path manipulation.

We have a classic lava-flow pattern. http://mikehadlow.blogspot.com/2014/12/the-lava-layer-anti-p...
That and opportunistic TLS on outgoing email.
To hear the laments of moderated users, you wouldn't think that. It all depends on whether its your opinion being subjected to any scrutiny.
I hate Google's localisation. My Accept-Language is set to English, I search for stuff in English, and Google throws piles of Dutch search results at me simply because I happen to be in Flanders. /ncr used to do the trick, but that's still showing me all sorts of Dutch stuff I'm not interested in.
And I mean it's a bit of a meme about Millenials, but I pick out avocados based on when I plan on using them. Making guac tonight? I'm grabbing the softest-not-going-bad avocados I can. Making guac for friends (back when having friends over was a thing)? Firm is great, they'll be ripe just in time for Saturday.
Oh I totally missed the humour here. I guess we are bombarded with so much idiocracy now that it’s hard to tell spoof comedy from real news.
I guess that there are many tools for environments now... my personal choice is using conda (I actually start with miniconda and download what I need from conda-forge).

It provides the needed isolation, you can get lots of packages without having to compile from conda-forge and it still works with pip for the odd cases where a given package is not directly available (as a bonus, it works for other native toolchains, not only Python, which is a huge plus for me).

As a note, I personally use it with `conda devenv` to be able to replicate installs for a given project -- i.e.: https://conda-devenv.readthedocs.io/en/latest/.
Of course those cheap laptops come with cases, keyboards, screens and other things.
And the next level would be to create a grammar for what one wants to parse, which would make it more declarative and even better.

The problem with parser combinators is not as big as with regular expressions, but they still have a problem, once the format suddenly changes. You might need to change your code, possibly a lot. Using grammars, you can change only the declarative grammar and the program stays the same. Also a grammar can be used from other programming languages as well, if they support the same grammar syntax (have a parser for that syntax, ha!).
In a way it is dark matter, as dark matter was the name of the hidden variable in the cosmos responsible for the rest of the gravitational interaction that we see. It just so happens that it's not some new state of matter, but simply difficult to spot regular matter.
Even C++ lets you store the address of the member function and lets you invoke it with an instance later.
A FANG won't go under but Job Security is safe per team or product, it is not unheard of that teams are let go when a product is canceled or a site is closed
You've also got to include the pyenv shim instantiation. So now you've got something like

0 0 * * * /path/to/bash/script/to/init/pyenv && /my/path/to/poetry run /my/path/to/python.py -arg1
Covid-19 Effect: Top Companies in Technical Illustration Software Market
I recently wrote this (https://github.com/jamesob/clii) because I can't stand click and got sick of having to check the argparse docs every time I wanted to write a CLI. I guarantee you'll spend a tenth of the time trying to figure out how to use this thing, it has no dependencies, and is implemented in a single vendor-friendly file.
Exploitation Exercise with Go Unsafe.Pointer: ROP and Spawning a Shell
It was a tongue in cheek joke that conda is complex enough to be it's own OS.
For me, psilocybin removed data filters and allowed my mind to receive data without mental heuristics prejudging my senses. I saw light and not objects, I saw more color where I knew there should be less, and I viewed bugs and plants as other beings occupying the same space as me.
There seems to be a substantive difference between search engines and social media networks in this area, probably because search engine users don’t interact with each other.

Distributed social media might solve this problem, but to be honest I don’t know a single person in my life on one. And I’d never heard of Secure Scuttlebutt before.
Mavo: A new, approachable way to create Web applications
Portable? For camping?! Maybe for glamping, where you have generous luggage space and don't have to carry it far (or at all). But then, you could use a camper mounted device already.
Proper ARM SBCL with threads yay
I thought AppGet was a pun on apt-get and thought the name was clever.

I thought it was better named than Chocolatey or Scoop.

Edit: plan > pun. (no idea why I wrote plan, i think I wanted to write play)
Improving Systems Management with AWS Systems Manager Session Manager
Looks like Amazon does this all the time:

https://couriernewsroom.com/2020/05/26/11-local-tv-stations-...
This feels like what will happen when the Node.js world gets bored with JavaScript and sets their sights on Python.
I have been fixing bugs in our React front end. Its a bloated mess. It may make writing code faster, but tracking down bugs afterwards seems to be far more complex.
I know almost nothing about this but I'd say this is unlikely. The dinosaur era spanned millions of years and the poles flip several times per million years. So they survived through dozens of flips.
If instead the salesman took you and a car that included an engine out on a test track, would you not buy the car because the test track was fake? You are not buying the test track so you shouldnt care. You are not buying htmx's demo backend either so you shouldnt care.
I agree with you, that's why I don't think it's plausible to apply legal rules to them in the way that's proposed for twitter.

The point I was making is that things that could apply to twitter also apply everywhere there is user generated content.
FYI, OSSIA failed on start under Debian 10 :/

$ ./score-v3.0.0-a4-Linux.AppImage
Illegal instruction
(I'm on the team at Algolia that works on NLU and semantic search.)

I don't know of any community projects using BERT atop Algolia for semantic search, but we have been experimenting with it internally. Earlier in 2020 we ran some tests that first performed a search on Algolia, before using BERT for the "semantic" side of it. We stopped those experiments for three reasons:

1. The results weren't high-quality enough
2. The predictions took too long
3. We found other approaches that performed better

We could have probably improved the quality of the predictions, and there were strategies we considered to avoid the issues around prediction time. But since we had better approaches at the ready, we put further experimentation on hold. (Apologies for being coy about the other approaches, but we are still working on those and aren't sure if they will end up in production or not.)

I'm happy to answer more questions, or if you have something you're working on that you'd like to discuss you can reach out as well. (Email is dustin@)
If you do use a class for this, of course you can provide a wrapper function that constructs the object, calls the "run" method on it, and returns the result. This can be in addition to the processing class, or it can be the entirety of the public API while the processing class is defined privately in an implementation file.

I've done this before for Munkres, also called The Hungarian Algorithm, which assigns jobs to workers. Logically the interface is a simple function, but internally it's very useful to have a class with multiple private methods.
Tableau Training: Things You Need to Know
Those are needed to compile different versions of Python with pyenv.

Usually distributions bundle one or two specific versions of Python. Pyenv makes it super easy to install and use all the versions of Python that you want.

Even though for most people it might be enough to just use whatever version of Python comes installed with your system, for a team it might be important that everyone has the exact same version.

Moreover, pyenv-virtualenv makes it painless to use virtualenvs and so I recommend you give pyenv a try even if you do not need additional Python versions.
> Can the solar panels be behind a window

Short answer: No

You'll have problems with shadows, window tints, bad angles...

Solar panels work best in direct sunlight when they are angled so they face directly into the sun. If you stick a solar panel in the window, any tint in the window will reduce output. Bars, ect, will put shadows and reduce output. Assuming your window isn't very wide, the frame of your window will cast a shadow...

So, unless you can get the panel on a porch, roof, fire escape, ect, don't bother.
We don't know, but we do know that during the investigation into it when it became publicly know a complain from the CIA surfaced that the BND acted to profit orientated. Through I would have to look up the exact details tbh. Just something which I found kinda amusing when I stumbled over it.
Curated (and updated) list of places to post your startup
Is there an open-source license that prohibits the use of software if your company's yearly revenue is higher than < X > ?
This reminds me of a time at a games company one of the tasks we had to do was to fake the game running in a browser for a demo (this was around 2008) easy trick as you just had to change the render handle to any window handle and you were done.

In fact, initially that's what I thought this article was going to be about.

Wish I hadn't dismissed it as too easy and joined the team, as the accolades and attention they got for demoing the game 'running' in Notepad made me quite jealous, especially knowing how technically trivial it was!

The lesson here, I think, is that there is nearly always something compelling about recontextualising something mundane that people are familiar with into something dynamic and unexpected.
> Did setting SF_FIRMLINK ever succeed for real?

It should have been working fine right? Otherwise CCC team would have reported this bug in the earlier release. As what Mike Bombich said in the original post:

The chflags() system call can no longer set the SF_FIRMLINK flag on a folder on an APFS volume.

The keyword was "no longer".
Oh man, having bad flashbacks with that and SuperStor.

I think I had a 200MB hard drive at the time.
> Unsurprisingly, I find DDG's search results good enough. I rarely go to Google, and only when DDG fails me.

It might be helpful to point out that DDG (and other 'alternative' search engines such as Ecosia) get their search results from Bing.
You're right. My bad
Aren't HPE and IBM always laying people off?