skysight-inc/HackerNews huggingface dataset:
I would consider this pattern:

def x():
expensive precompute
def y():
cheap stuff
return y

It's a matter of taste I guess.
It's evident from reading the OP and previous similar posts on HN that many developers find it difficult to specify and replicate deterministic Python environments for their applications. Personally, I have found it best to use (a) a virtualenv or conda environment, with (b) a requirements file that specifies fixed version numbers for packages (e.g., `pandas==1.0.3`). Only very rarely have I run into issues doing this; it works quite well for me.

--

That said, from a security standpoint, I'm not sure it's a good idea to run a script downloaded from the web, without verification, on your local command line:

curl https://pyenv.run | bash

If that URL ever gets hijacked, you would be running malicious code. At a minimum, you may want to take a look at the script before running it, or otherwise verify that you're downloading what you actually want to run.
Wouldn’t that be GPL?
The 'cut' type? I've never heard of them in the UK - chantenay or other small but whole carrots sure, but not 'regularly' sized carrots trimmed down to a smaller 'carrot shape'.
First to post gets referenced (more importantly: linked to) in all of those scrambling blogs :)
I also suffered from intense tactile sensations throughout the trip that lingered for a few months afterwards. I've always had oversensitivity to touch on THC-heavy cannabis strains but I experienced strong synesthesia on LSD which translated to a few months where feelings of anxiety were directly coupled to my sense of touch in my right index finger and thumb
Even if we accept that 100%, it doesn't make it less of a disaster.
One thing that I haven't been able to figure out with the 20 minutes or so of reading about poetry that I just did -- does poetry support editable installs akin to pip install -e .?
I probably haven't bought into all of poetry yet but for deployment, I have been using "poetry export" to get the pinned requirements.txt, commit it to the repo and install to a virtualenv. A bit of work to keep it in sync with the poetry dependency file but that's ok.

For PATH with cron or others, I use the full path to the virtualenv such as /path/to/project/.venv/bin/python. The path can be extracted by "which" or "Get-Command" when the venv is active.

Using a python version different from the system python version is probably the messiest part but well, targeting 3.6 is alright.

I do agree it could be better and it's not quite as streamlined as other ecosystems.
How to build a WebSocket server with Rust
Saying that it’s just “a big company thing” is giving Microsoft a pass here. Look at their recent PR: wanting to embrace the developer community [1], their love of open source [2], etc. While AppGet may be an isolated story, I’m inclined to believe that MSFT is simply acting they way they’ve always have — by embracing, by extending, and by extinguishing.

1. https://arstechnica.com/information-technology/2017/05/micro...

2. https://www.theverge.com/2020/5/18/21262103/microsoft-open-s...
Is there a noticeable performance benefit with RPi at 64bit?
Thanks for sharing, I'd like to add my own experience on LSD and the long-lasting effect of fear-of-death it can result in. I have taken LSD only three times and can't say I enjoyed it very much, but I still wanted to give it a chance. Last time I took a 1/2 of what was recommended for me to see how it goes, and the beginning was pretty enjoyable, I played League of Legends, and the mobs started walking on the wall behind the monitor as if the view was projected on it, it was fun. I used to smoke a lot of weed at that time, and it always had a soothing and calming effect for me - not this time.

Marijuana never caused me any panic, but at the end of the trip, I was barely feeling anything and smoked a joint, what happened next was frightening. I felt an ache at my heart and considered calling the hospital for several hours, but was scared because of intoxication. I could not relax and sit at one place, there was darkening in my eyes, and peripheral vision was gone, and LSD made the feeling of fear massively intense. It felt as if my heart was going to stop just because I was thinking so much that I was dying.

I can only name what helped me then: I started walking short distances telling myself that if I manage to go from point A to point B then I'm fine and it's just a bad drug tripped. It helped, also tasting various flavours and hearing sounds from outside the street helped me focus my attention on something else. After a few hours of walking/tasting/hearing, I noticed my heart pace slowing down and the realisation that I wasn't in any real danger followed next. A terrible feeling that I will never forget. The bad trip lasted about 6 hours, and for the next few days, I felt a sharp pain in my chest.
In 2047 China will be a very different country. Hopefully a much better one.
I would think that their old system of stack ranking would have had that selection impact. It has been gone for a long time but could it have had a lasting impact on company culture by who was being kept and who was promoted into positions that are responsible for the culture today? I don't think such a thought is unreasonable.
Why not just use Bing?

Also, how is this not a problem? If DDG ever becomes popular enough to be a threat, Bing just stops providing them search results.
I just bought the Pi 4 4Gb a week ago and then this happens. Reeeeee. This is how a micro computer collection starts
Show HN: Trigger Transactional Emails with SQL
SeekWell[1] just added the ability to iterate over SQL results[2] and send emails or Slack messages using the data from each row. We're using it internally for transactional emails to customers that were tricky to build in Intercom but easy to do with SQL. Other use cases would be things like:

- Triggering a Slack notification or Stories[3] for each row of a SQL result

- Assigning tasks or sending data driven messages to a group of internal customers / coworkers

- Sending an email to a set of users that meet certain criteria in your database or a Google Sheet

You have full control over the HTML in the email and can add data from the SQL row to the email. You can also evaluate short JavaScript snippets (e.g. conditional statements) before the email is rendered. The job can be scheduled to run daily, hourly or every 5 minutes and you can add Triggers[4] that control if the job runs (e.g. if you wanted to prevent the run if some other condition is met).

Let me know if you have any questions! You can give it a spin here[5].

[1] https://app.seekwell.io/

[2] https://www.notion.so/Destination-Lists-2bfd3807af62406f8eba2b2f68271e95

[3] https://www.notion.so/Stories-d4dcb303d28b400492741b5741fc2f86

[4] https://www.notion.so/Triggers-e4d9975bf79942948c115ade8788ec73

[5] https://app.seekwell.io/
Are you building your startup for the customer or a VC?
The inner party of the "blue faction" is the network of people who really like coordinating and taking over and running institutions. Here is a good article from just the other day on how it works: https://archive.vn/87OEG The "outer party" of the "blue faction" are those people who go along with what those institutions say and do. The "red faction" is the unwashed masses who are generally busy with their own lives, who haven't gotten with the program, haven't been bought off and whine about how the "blue faction" controlled institutions and bureaucracies are screwing them over.
SELinux was a good way of securing linux machines with many services sharing things like file systems and binaries.

k8s solves this in a different way. You can write applications that are completely stateless when spun up on a k8s node and can be limited to a read only file system. Your container can be a scratch container with no other executables binaries.

I don't know what their product is, but i seriously doubt mixing these two concepts is the right thing to do.
I think the "reality" is hard to actually know.
Hans Boehm has an excellent paper on this topic, "Threads Cannot be Implemented as a Library", https://dl.acm.org/doi/10.1145/1065010.1065042. (Yes, the full paper is free to read from the ACM! They've made the entire library publicly available during the pandemic.)

Before you dismiss the paper based on the title, let me correct it and say it really should be "Threads should not be implemented as a library." Boehm's argument is that when you implement something like threads as a library, and the language itself is not aware of the semantics, lots of bad stuff happens.
Why would it be up to Google to decide whether or not DuckDuckGo gets to "be around"?
How to deploy a React app on AWS using the AWS CDK
I think that at this point all the ceremony around setting up and deploying a python project outweighs it's 'easy to read and use' aspects. Unless there is a library you can't live without or rewrite, it seems like a language with better tooling and real benefits of a type system is a better choice.

If you're mainstream: Go or Java.
If you're edgy: Nim, Scala, or Crystal

All of those have much more sane type, build, and packaging systems.

@perl-people, was this a solved problem when Perl was big? Or is python walking the same roads?
It's only objectively better until another world war comes - we are not immune, and then, it will be easily objectively worse. This argument is rather pointless - externalizing warfare to poor nations and then saying the world is "peaceful" is quite immoral.
Little decisions you make alter your life, but they rarely do so all at once.
How to Override Material UI Styles
Yes. There's was a good article on this recently. I've provided the original URL and outline URL to get around the login wall:

>In the eyes of many Boeing employees, McDonnell Douglas executives seemed to do disproportionately well out of the merger: Many were given senior positions following the acquisition, with the company’s head, Harry Stonecipher initially appointed chief operating officer and holding more than twice the number of shares in the company as Condit, who remained CEO. Stonecipher and John McDonnell, formerly the chair of McDonnell Douglas’ board, were now the two largest individual shareholders of the merged companies."

In a 2007 interview, Ron Woodard, the former president of Boeing’s Commercial Airplane Group, bemoaned the changes the merger brought with it. “We thought that we’d kill McDonnell Douglas and we had it on the ropes,” he said. “I still believe that Harry outsmarted Phil and his gang bought Boeing with Boeing’s money."[1][2]

[1] https://qz.com/1776080/how-the-mcdonnell-douglas-boeing-merg...

[2] https://outline.com/gDseXY
The cloud was supposed to help you get rid of all these pesky sysadmins. Imagine the savings!

Now the cloud is so complicated that you have to hire "devops". It's the same people as before, with a higher salary.
I have this theory that the hydrocarbons (which are just dead trees) are slowly feeding the magma in the earth when the tectonic plates move.

If that's true (although I don't get how that fire burns without oxygen) then our use of coal, oil and gas will eventually have serious effects?
docker with pip-tools is great combination, you get deterministic builds easily
Back in the day I had a close friend who ran something on Instagram that would scrape data, allow scheduling of posts, groups that would be automated to like your posts (non-bot accounts), etc.

They had considered selling at one point because they feared Instagram was going to shut them down with legal force. They clear nearly a million in revenue before FB legal team showed up and told them to cease and desist.

They closed shop, took their excellent profit and went on to found actual enterprise software.

TL;DR OP probably wants to sell to not have to gamble with legal coming after them as they grow.
>Nobody at Microsoft understands open source.

Seriously? extreme statement even before first dot?
In the comments on the announcement post, someone mentioned there would be a new post tomorrow covering more on the transition/upgrade, but it is supposedly possible using normal upgrade procedure (apt update then apt full-upgrade). At least that’s how I read it.
You'd like to see that in your lifetime?

It's gonna be a bad time, man.
I may have been a little biased in trying to sway OP, as I still have a 2015 15" which I plan to use until it dies or I do.
Reducing this down to a Microsoft thing is a bit hasty. Apple has done it. IBM has done it. And, when I was working for a less well-known company, I once burned a whole lot of social capital trying to prevent it from happening.

At least in that instance, there was never anything overtly malicious happening. It was just your garden variety "banality of evil" situation. The existing corporate decision-making structures - that is, the bureaucracy - had no real mechanism to make sure that things like this are handled in an ethical manner. It's really hard to accomplish something that the bureaucracy isn't designed to handle, because that means that it's not really anybody's job to keep that particular ball rolling. So all it takes is one person not really giving a damn (perhaps only because they don't understand why they should) to scupper the whole thing.

If that experience is similar to how these things happen at Microsoft and Apple and IBM, then the problem isn't Microsoft, the problem is American workplace culture, and we have a responsibility to change how we work. Not in reaction to specific instances like this that have already happened, but in anticipation of, and in order to prevent, things like this from happening in the future.
Oh, so now it's about "efficiently". Goal posts have moved.

No, it's not hard at all to implement efficiently as long as objects don't cross a thread boundary (and e.g. Nim's older GC used to enforce that condition, an old version of K tracked it and switched to "lock; xadd" to count references when something did cross a thread boundary IIRC, which made it inefficient only for those objects that crossed the boundary which usually weren't many.

It's way simpler than multithreaded mark&sweep, for example. Regardless - it makes a lot of sense. It might not make a lot of sense to you, but it does in general in most contexts.
The center is actually more to the south. It seems to be over Paraguay and southern Brazil, thousands of kilometers away from the Amazon rainforest.

"What is causing this?"

Well... that's exactly the point, right? No one knows what's causing it.
I was involved in the making of this but unfortunately have no control over their use of the domain. I have Penguin's permission to publish a new version of it however, though I haven't had the time to really look into it further. I'm glad a copy was saved!
Very interesting. Not sure I understand what the "Local Market Aggregators" are. Are they aggregating on each self-hosted API into a single API ?
Two years of software updates is no longer enough for $1000 Android phones
Yes it does. Not most of these, but all of them.
There is not, because that would not be compatible with one of the non-discrimination clauses of the Open Source Definition.

https://opensource.org/osd

> 5. No Discrimination Against Persons or Groups
We spent so much time wondering if we could... we never stopped to think if we should.
The problem with 'cyber' is that it's a recycled tech term. It was popular many decades ago and when you start slapping old technology labels/phrases on new technologies, people tend to reject them.

With that said, the US government uses cyber for a lot of labels now. Obviously security but outside of security as well.
A Quick Take on the May 26 Executive Order on Platforms and CDA 230
Additionally so you can open up the developer tools, and just slap on classes on divs and experiment a bit quicker.

Towards the end you can put it all together and trim it down, not sure if there's tooling that auto joins some of the CSS as necessary though.
I just tested it, and it uses ctrl+left, ctrl+right to navigate words - which is the same on most interfaces of linux and windows. I'm not sure if it's reversed for you, or you're expecting the opposite behaviour
Honestly it was similar for me. I'm not sure if this is related to what you are saying but partly for me the suicidal and fearful thoughts were just from considering how incredibly intense the trip was. The emotions and anxiety and just general rawness of nature felt so clear on the trip that it gave me some kind of PTSD and flashbacks that lasted afterwards, to the point where whenever I thought back to the trip I would crave death instead, and these intrusive thoughts were getting more and more frequent to the point of daily. I remember having many thoughts were I was so scared of even the thought of tripping that I would immediately start to obsess over the idea of being dead instead.

I knew that wasn't ok at all so I ended up going back on my old SSRIs which, unsurprisingly, massively turned down the intensity knob on everything and brought me back to reality.

I think I struggled with the aftermath for about 6 months. At first I thought my anxiety was cured by the trip, but about 2 or 3 months after I started losing touch with reality. I am better now (due entirely to SSRIs) but still struggling with the generalized anxiety disorder I have grappled with for my life so far
I. I just honestly don't understand what you're saying. Or where you would've come up with that. Or what the purpose would be. Or why you even think this exists.

What are you possibly basing this on?
That's a very weird and not very precise way to word this. Of course I would expect auroras to be regularly visible in the far northern parts of the USA and Europe:

https://en.wikipedia.org/wiki/File:Aurora_Kp_Map_North_Ameri...

https://en.wikipedia.org/wiki/File:Aurora_Kp_Map_Eurasia.gif

Now if you start seeing Auroras in Lisbon or Miami please let me know!
I think there's a huge and obvious difference between an open-source dev naming a package manager for a non-Linux platform "AppGet" in reference/homage/whatever to apt-get; and Microsoft, a multi-billion dollar company, dangling a carrot in front of the developer of a program called AppGet then ghosting him, forking his open-source project and calling it WinGet, and not even having the decency to publicly credit his work.
Well, the ACLU and EFF are my personal special interests, but I think you probably know that I am talking about corporate lobyists buying the votes of democrats and republicans in congress, of corporate news media that sways public opinion.
When I try to sign in, there is a threatening banner "This app hasn’t been reviewed or approved by Slack. Learn more." But nothing happens when I click on "Learn more". I decided to quit then. :(
Stocks vs. the Economy or Stocks vs. the Money Supply?
this is precisely correct.
Zero to Production #0: Foreword
>Does Microsoft select for assholes or something?

Probably, but it's not limited to Microsoft.

Any company where revenues are the highest goal (and all publicly traded companies should be this way; it's an obligation to share holders) will, generally speaking, select for assholes and sociopaths.

How strong that selection is, how pervasive, and how quickly it happens are variables in the equation, but the effect is the same, and it sucks.
TLS-Attacker – a Java-based framework for analyzing TLS libraries
I he might have a point. if the platform creates content that content wouldn't be covered by section 230, I wouldn't think. Not a lawyer so don't know, but maybe.
Using Hashicorp Vault to enable credential cycling
Alleged anti-5G USB stick that sells for £339 costs just £5 to make
That still gives us a 100 million years or so. Even our best drilling/mining tech is quite inefficient thankfully. The result of burning that energy on the surface will hit us way sooner.
Because Bing does what Google does, which is uses your search history to show you targeted ads. DuckDuckGo only shows keyword based ads, which aren't as effective but do not require building a persona of personal information to target.

It's totally a problem and disingenuous of the article to talk about the "Business Model" of DDG and not mention this.
DockerCon Live 2020
The Great Film Production Renaissance: Are You Ready?
The original code can be found here: https://github.com/Aronnax9000/WatchmakerSuite/tree/master/d...
If you are a sublime person, micro is your terminal based editor. Built in sublime style multi-line editing, built in super simple plugin management, intuitive tabs and splits, keyboard shortcuts you are familiar with, clipboard works across apps, shifting the current line up or down one line at a time visually (bubbling I think it's called) etc.

Features that require plugins in sublime also come standard and are incredibly useful, like using it as part of a pipeline or my single favorite editor feature of textfilters, like the sublime filterpipes plugin. Meaning if I know how to do something using a regular cli tool, you just do that without having to do it in some new way. For me that means I can use Micro as an interactive front end for xsv for giant csv files of questionable provenance which require some hand fixing as well as some large scale transformation.

Since 2.0, the stability on enormous files has also been off the charts great. It will open and be ready to work on 1gb+ text files faster than wc can tell you how long they are.

Anyway, as you may have noticed, I am an enormous micro fanboy, sorry not sorry.
DDG has its own index now, though it still augments that with other sources.

https://help.duckduckgo.com/results/sources/
Usefull post. I bookmark this page.

http://cialis.com http://professional-online-generic-viagra.com http://generic-cialis-purchase-levitra-viagra.com http://professional-online-buy-soft-buy-propecia-online.com
If you haven't yet, maybe take a look at NetSurf:

- HTML 4.01 and CSS 2.1

- PNG, GIF, JPEG, SVG, and BMP

- HTTPS

Latest release earlier this week

http://www.netsurf-browser.org/
Adding one or 2 more panels would increase the output a lot with a small increase in price, making the financials a lot better. Yes, it is a bad deal as it is now.
Offtopic, but it's interesting to me that "Ketchup" is a very different thing depending on where you live. There are wide variations of how sweet it is, or how much vinegar, etc.

I'm aware that's also true for things like mustard, but the taste differences with ketchup were more abrubt to me.
doesn't work. lol
My impression has always been that the EU is much less ageist about this than Silicon Valley. I have no problem finding anything, and I'm 46. My brother is 48 and has recently switched jobs a few times after being with the same employer for 25 years.

Of course it helps if you have more experience than a young developer, and you know how to apply that experience. And you should always stay up to date with new developments. Although there are tons of companies still working with older systems.

Also, developer salaries in the EU are often terrible. My income has gone up quite a lot since I became a freelancer. I'm currently considering becoming an employee of a client (because I want to continue working on the project and they have rules about how long they can hire a freelancer), but I'm encountering a lot of resistance negotiating the pay I think I'm worth.

My approach as a freelancer has been very simple: My CV is on Linkedin, and recruiters find me there.

In the distant past when I had regular jobs, I tended to find them mostly through Monster and CVBank (Netherland). Or sometimes a recruiter; Linkedin is still useful.
Only for context, previous related threads:

https://news.ycombinator.com/item?id=23317666
https://news.ycombinator.com/item?id=14821478
It undoubtedly looks great, but it's hard not to be a bit put off by their landing page which seems, just slightly, inspired by https://linear.app/
You'll likely still want to bundle for production, though, for the optimizations like minification, dead code elimination, module splitting, etc.

But yeah, JS is Crazy Town. It can be very frustrating.

( Be wary of dependencies. )