skysight-inc/HackerNews huggingface dataset:
TFA makes it sound like no two Python programs can execute simultaneously on two different cores. I would be very, very surprised if that would hold true for PHP or JS.

I have the feeling what the TFA really means is something different. But I cannot really figure out what.
Show HN: Help Software Engineers manage Burnout and be more Productive using AI
Were in the Beta Phase of our App for Mobile and Desktop that seeks to help Software Engineers Manage Burnout and work more efficiently and become more productive using Artificial intelligence.

Request a free demo by emailing

macphail@denanse.com
people keep trying to come up with complex reasons and what not, but have you considered coding just sucks! Especially, how it's done now. Coding everyday sucks. No matter how much you delude yourself, part of you realizes it and it's done. Using convoluted libraries/frameworks sucks, working on meaningless problems suck, reading code sucks, being told what meaningless tasks to do sucks, meeting where you pretend to care sucks, not knowing what your work accomplishes suck, never getting recognition for what your code accomplishes suck. Half the people won't be coding if they weren't getting paid 3x the average salary. Companies keep adding scrum masters, product managers, business analysts, etc... and you are literally treated/seen like a drooling lobotomized monkey who can take instructions and convert it to code and maybe you don't like that?
I thought that the point of journals is review and filtering, their selectively, I thought, is their value proposition over arxiv.org.

Am I mistaken?
> Using it for actual production code makes about as much sense as writing production stuff in bash

This is a really strange perspective, given how many shops use python for production these days.

> Ruby is a bit better, but these days there's no reason not to use Go or Rust.

Unless you're specifically looking to access for example machine-learning resources, that are not nearly as mature in those other languages.
Connect your Instagram audience to many links, widgets, services with one link
Great news.

For those curious about what it brings to the table, just follow Maxime's link to RubyKaigi 2021.
I think it is a universal truth if crime offers more opportunities than honest work. But if everyone is dirt poor, there are also few opportunities for crime. You need a certain level of inequality because crime needs victims. Not much profit from steeling some cow from a poor farmer.
I believe the extra yearly fee is to offset the tax on gas used to maintain road infrastructure that all vehicles use.
I'm not sure I'm comvinced this is a problem. I can do th e same thing just by putting QR codes on stuff. Someone is curious, scans the code, clicks the link. Way cheaper to print sheets of QR code stickers than $30 a pop AirTags
I don't know what's going on over at 1Password, but some of their decisions/statements are really questionable. A month ago they dropped this[1] in response to the 1PW 8 beta feedback:

> I also wanted to respond to a specific part of @ShakataGaNai's original post about the multiple passwords. We've actually been recommending folks use the same password for each of their 1Password accounts. This might sound ironic given that the typical advice w.r.t. passwords is to use a unique password for everything. The difference is that your 1Password account password is intended to be the one password you remember, and so in theory, if you can only dedicate so much brain space to passwords, if you use only one password for all of your 1Password accounts, you'll be able to make that password stronger than if you have to remember multiple account passwords. So part of the new behavior encourages folks that direction.

More context can be found here[2].

[1] https://1password.community/discussion/comment/609753/#Comme...

[2] https://1password.community/discussion/122614/two-accounts-n...
I remember travelling to NY with my father for turism, but also taking the opportunity to buy an original ibm PC XT for 5000 dollars, which was half of what it costed at my home country. IBM PC AT with a powerful 286 was already out but much more expensive. And we were too newbies to know that we could get a PC clone.

Anyway, I remember there was both the Amiga and the Atari ST. But my father wanted an IBM. You know, nobody got fired for buying IBM ;)
They had full insurance through their employer, thought the employer would have their back if something happened, then.....

For person 1, their wife got cancer. The wife was covered through their insurance plan, and the HR department saw that it was likely to be very, very expensive to cover them, so they started a program of systematic harassment against person 1 until they resigned. The wife died of cancer shortly afterwards, but not until racking several hundred thousand dollars worth of medical bills. Her death was partially due to lack of coverage and stress resulting in difficulty in effective treatment. Person 1 got a heart attack and died within 2 years of resigning, and roughly a year after his wife died. The employer was a small municipal government in California.

For person 2, the employer was attempting to makeup a cash shortfall, and was pressuring a number of employees to accept early retirement (at greatly reduced payout for their plan) or quit, especially older employees.
Management in a number of divisions started to go around and pressure employees over 55 (quite obviously) to take the buyout, and for those who wouldn't, they started to apply tougher and tougher (and obviously unfair) work standards to them so they could fire them or push them out, which they did to several people who I did not know successfully. Several friends ended up taking the offer and quitting because they saw the writing on the wall, one of them, who stayed on roughly 6 months past the others quitting, had a stroke on the job due to stress and died. He stayed because he felt he didn't have much choice as he was the bread earner in the family, and they had not hit the point he would get a meaningful payout on his retirement, but was too old to go somewhere else (he was in his late 50's).

The second one, my mother was one of the ones who took the early payout, and I'm glad she did. She was having heart arrhythmias due to the stress. Magically they cleared up within a month of leaving, and she hasn't had a problem since. She lost somewhere on the order of 50k from her retirement benefits because of it, however.

That said, one of my grandfathers worked for a union and a major shipyard in the 50-70's, and his pension and retirement medical coverage had his back faithfully and with good coverage until he died - at 96.

So it isn't all bad. It is a lot of faith to place in an organization however.
Pass: An ImageNet replacement for self-supervised pretraining without humans
> Notably, there’s no Docker Desktop for Linux, only macOS and Windows.

Looks like they are adding it https://twitter.com/glours/status/1438526841577357315

I quote:
"A dream coming true for a lot of #linux users, @dieuthicao
announced that we’ll start working on a #Linux version of @docker Desktop"
A fellow Berliner here. Never understood this. I live inside the A ring, yet if I am not standing close to window, even the regular call doesn't work.
Well, it makes the "download our self-checkout app" posters they throw at you while standing in line pretty useless.
There is a lot of movement in the offline-first/multiplayer space at the moment, after apps like Linear [1] & Figma [2] have pushed the paradigms.

[1]: https://linear.app
[2]: https://figma.com

Some other projects which will help you implement the pattern that are worth checking out:

Replicache [3] - real-time sync for any backend. Works via simple push and pull end points and is built by a small team of 3 devs with decent browser xp (Greasemonkey, Chrome, etc)

Logux [4] - a client/server framework for collaborative apps. From Evil Martians, well known for: postcss, autoprefixer, browserlist etc.

[3]: https://replicache.dev
[4]: https://logux.io

RoomService also used to be in the space but recently left it to pivot to something else.

The largest problem you’ll end up solving is conflict resolution so having a good understanding of the tradeoffs involved with your (or the underlying) implementation is key.
That's how you get a 4 year old issue comment thread that looks like this

- stalebot: closed due to inactivity

- reporter: still an issue

- stalebot: reopened

- stalebot: closed due to inactivity

- reporter: still an issue

- stalebot: reopened

- stalebot: closed due to inactivity

- reporter: still an issue

- stalebot: reopened

- stalebot: closed due to inactivity

- reporter: still an issue

- stalebot: reopened
Maybe they can wrap their super-top-secret object in say, a blanket or a tarp...
More accurately, Erlang/OTP 24 introduced JIT for amd64 architectures. Elixir also benefits from it since it uses the same VM.
If it's not China, then who is it?
This doesn't seem accurate.

According to a post on the podman website: "Current implementation relies on qemu which currently has some platform dependencies." [1]

I also just checked on my machine and it is indeed running on Qemu.

IIRC Qemu also has support for Apple's Hypervisor.framework.

[1] https://podman.io/community/meeting/notes/2021-04-06/#podman...
Tell authors to publish in open access journals?

Oh right, they don’t want to because they aren’t as prestigious.
Well that's not true is it? https://github.com/gitpod-io/openvscode-server/tree/main/src...

I fail to see how this is different to vscode at all, pointless project.
NFTs Are Not to Blame
You are conflating ethics with convenience, user-friendliness has nothing to do with good/evil.
What I'm proposing is to convince the same people that currently take care of the reviewing and selection process for an established journal to do the same thing for an open and independent variant of the same journal, which is run alongside the original journal.
Also worth a mention is that Mozilla provide some cross-platform power monitoring tools as part of Firefox which you can build and run yourself:

https://firefox-source-docs.mozilla.org/performance/tools_po...

and a good description of how power consumption actually happens: https://firefox-source-docs.mozilla.org/performance/power_pr...
Isn't that going to get extremely costly with all the workarounds around hardware based side channel attacks? Only way I see micro kernels making sense is if we find a way to make the CPU cache less leaky without wasting tons of performance on it.
Vitess can be thought of as a very smart MySQL proxy with additional MySQL management features built in.

Centralized vtgates proxy to vttablet services which run on the same host as MySQL, the tablet then queries the local MySQL server. On top of this, a lot of magic can be built
> and i'll be honest: if you're writing code thats so performance critical that you're worrying about the GIL... why the hell do you use python in the first place? use at least a compiled language.

Fair enough, but sometimes your freedom of choice may be limited. We have a large push for Python at our org, and for most people that's probably fine (or even really good), but I'm holding out as long as I can with Matlab and Julia.
There's no Internet in my second bathroom when the cable is down.
They moved repos again. The Sia daemon is now here: https://github.com/SiaFoundation/siad

And Skynet was forked into a different repo: https://gitlab.com/SkynetLabs/skyd
For someone not prepared, maybe.

But the point is, those 10 minutes are exactly the "low quality" time I could spend doing something useful with your app, instead of using "high quality" time for it (e.g. when I'm in my office). But if your app doesn't work off-line, I can't do that.
> So far, most analyses show very little job growth differentials between US states that terminated subsidies vs those that didn’t1. That said, some forecasts call for 1.3 million new jobs by year-end due to expiring unemployment benefits and another 300,000 new jobs due to school reopening

"The evidence so far contradicts these forecasts, nevertheless..."
I understand it very well from your point of view but a person living with down syndrome is capable enough to understand and ask the same question.

And if he can't it still begs the same question because we don't see as unborn until x weeks as human yet, that would cancel it out. Otherwise we could use the same argument for every aborted unborn?
The M1 Abrams is actually just a modified copy of that mouse!11
Yes the bias is obviously also pro US, anti China, but that has been true since forever. It was the same at the beginning of the Iraq and Afghanistan invasions of the US, for example.

Nevertheless the facts themselves also tend to get reported, e.g.:

https://www.wienerzeitung.at/nachrichten/politik/welt/206683...

https://www.heise.de/tp/features/Deutsche-Fregatte-wird-auf-...
That department is probably in the navel staring face of the business lifecycle, where managers are just absorbed in their own world of projects and goals instead of looking out and making sure the day to day work runs smoothly.
If you are CPU-bound in pure Python code you’ve already lost.

However, most of the time you’re doing CPU-heavy tasks in Python you’re likely using libraries that are ultimately implemented in another language for performance. The GIL can be (and is) released in those cases. Not much of a problem there.

It’s also released when you’re waiting for I/O. Not much of a problem there either.

Fear of the GIL have never stopped me from using threading in Python, and it has never been much of a problem. In the rare occasions I’ve noticed, I was doing something wrong, not using the appropriate library, or both. Or it might be the case that Python was just a poor choice for the problem, no matter how flexible it is.

I also wonder what would happen if CPython got rid of the GIL. Python has certain characteristics that make it hard to have a parallel interpreter, and people have tried (and failed) to remove te GIL before.

Don’t fear the GIL.
KL-7 Rotor Encryption Machine
CouchDB / PouchDB(the JS compatible cousin) make use of a global sequence counter to track which documents have changed between sync.

Each database uses an arbitrary byte string to mark a position in a sequence of updates to the database. Each document has the sequence counter of when it was created/updated/deleted. This sequence counter only matters to that particular database (it does not need to be mirrored, it's just a local ref. of WHEN the doc was modified in that particular database).

Syncing is then a process of looking up the last read sequence counter from a checkpoint document (i.e. what was the last modification) and passing that sequence counter to the `changes` endpoint to get a list of all documents with a sequence counter AFTER that, and then pulling/pushing those documents to the local/remote database, and saving the new latest sequence counter.

The official docs [1] give some more info. One key point is if I modify a document several times between syncs, it will only show once in the changes feed with the latest sequence counter for that document. Couch's conflict resolution strategy is a topic for another time, but an interesting one.

1. https://docs.couchdb.org/en/3.1.1/replication/protocol.html
Thanks. We first grab all browser history from your existing browsers and slurp it into a single sqlite database. We do this sequentially but since it's sqlite-to-sqlite it's usually very qucik.

For the full text portion we send out a request to the URL for the full HTML, distill it (similar to "reader" mode in some browsers) and add that distilled content to the full text index.

The full-text generation happens with some concurrency but we intentionally didn't want to spam anyone's server so it's limited and takes a while to populate.
> For instance, a local cache of some values is basically useless when python is used as backend. Since there will be multiple processes handling the requests (in the same node), they don't share memory.

If you want to share low level memory between process, use SharedMemory: https://docs.python.org/3/library/multiprocessing.shared_mem...

If you want to share high level data structure between process, use diskcache: http://www.grantjenks.com/docs/diskcache/tutorial.html

This is, granted, not as straightforward as just sharing a variable between threads, but it will get you far.
The Fukushima plant stopped improving. I think it's very easy to see how the lack of improvement caused the accident.
Singapore is one of the most expensive cities in the world, yet it doesn't have a problem with people sleeping on the street - in true Singapore style it's actually illegal to be homeless, the government has to provide homeless people with housing, and the homeless people have to accept it.

Now you can make the argument that Singapore has a number of policies that stop people from becoming homeless in the first place, but I think the most fundamental reason why San Francisco and the US in general has a homelessness problem is because Americans don't feel sufficient shame for living in a city with a large number of homeless people.

If Singapore suddenly found itself with the same number of people sleeping on the street as in San Francisco, you can bet that the problem would be solved extremely quickly because people would feel deeply ashamed at living in an environment with such a large number of homeless people.
Bandwidth costs 10 times as much as storage, so I'm more concerned about that :-)

If it becomes a problem I'll do something about it. The storage limit is a recent thing anyway. The site operated 6 years without any limit on storage space.
This is amazing, so much value for the researchers
Students create open-source application for controlling masks in closed spaces
What the article means is that a single Python OS process can have multiple OS threads but only one of them can execute Python bytecode at any given time. So if you have a multithreaded Python application (on CPython), only one of those threads will run your code at a time while the others are waiting.

Naturally you can have multiple OS processes of Python that run in parallel. This is how Python web services usually work. Then, of course, you need to share memory explicitly via some mechanism like Redis or SysV shared memory, so it leads to different design considerations.
I've briefly looked into CRDTs, but I have to ask, beyond a toy-implementation of a TODO list.... how much do they balloon the size of the data stored?

Particularly for a complex document like a report with hundreds of fields and arbitrary sized lists for comments/observations?
Totally agreed, but the past is the past and our emotionally understood meanings of words live in the present https://youtu.be/dUd9-92EEuw
It’s unclear what you mean by design decisions of python’s internals.

Certainly python could have instead been a compiled language but then it’d be fundamentally different language. Are you implying that all of Pythons features could be preserved without a GIL and no performance loss if say a full rewrite was possible?
tl;dr don't use threading in CPython unless you know what you are doing.

In fact projects like uWSGI disables _thread.so by default.
Author of linked post here.

I've noticed that at least in the client I use (amfora) URI are not treated any differently from text and the client can insert a line break in the middle of them, making selecting the URI to paste it elsewhere hard.

This is not the client's fault btw, it's part of the spec. Anything not preceded by the magic characters '=>', '#', '`' or '>' is just treated literally.
You can only have a single core running Python code per process.

You can also have a single Python process running multiple threads in parallel, as long as all but one of those threads are currently running C code (numpy, system calls, ...)
But if your program spends more than a tiny fraction of time in interpreted Python code, the GIL will slow you done if you try to use all cores.

You can have multiple processes running Python at the same time -- and indeed, many Python programs work around the GIL by forking sub-processes. This tends to introduce significant extra complexity into the program (and extra memory usage, as the easiest solution is typically to copy data to all processes).
I bought my 1040st, and a dot matrix printer, with most of my first year's student loan. (Almost all of it.)

I was so embarrassed I told no one, even my girlfriend at first. It was a big expensive secret. My car was a Chevette, with a bad tranny. Anyone in their right mind would have bought a better car.

Not one teacher could differentiate type written papers, from dot matrix. Besides the fear of public speaking, I always worried a teacher would find out I didn't write my paper on a twpewritter.

I tried to get my girlfriend to like it, but it was a big No. I remember drawing, in Paint, a penis. I even got it to vibrate. (It was not easy back then.)

She thought it was cute, and we had sexy time, but she didn't like the machine. I could just tell she didn't like my computer.

In retrospect--maybe she thought I should spend that kind of money on her?. I remember thinking, I'm a glad about equal rights. After all she was from a wealthy family, and I was poor. (sorry about reminiscing.)

Now most of you think it was my dick pic, but it wasen't. I think she thought the computer was nerdy?

She wasn't happy with my Bullmastiff either, but I loved my dog. She didn't like it when my dog had her period. She once said to me, "It's the dog, or me?". I didn't say anything, but my Elsa was my family. It was no decision to be made. I would have died for that dog.

I don't think we ever liked each other, but boy was she attractive.

She's now some big wig at a computer company, and consultes on computing.

I only bought it for word processing.

I wasen't a computer guy. I just knew at the time college was a joke, and if I was going to write all those useless papers; I wasen't going to do it on a IBM, with Whitout.

I felt like I was cheating.

Got my degrees. Had a nervous breakdown. The world seemed grey, and depressing.

I got tired of looking at that horrid beige idle computer on my desk one day, and tossed it all. (I'm color blind, but thought that beige was horrid.)

I wish I kept it now though.

(I miss my dog, and computer. My girlfriend not so much, but she was stunning. Way out of my league.)
This is for real, but this doesn't mean you can't use parallelism. Only that you can't use thread for them most of the time .

Parallelism strategies in Python usually revolve around using the multprocessing module, a c extension (numpy will release the gil, and hence all the science stack) or using a 3rd party tools (dask is pretty popular, and allow easy parallelism: https://dask.org/).
Being inside a building you can use Abu Simbel bug too.
> there's not a easy/inexpensive method for me to sign up and join the "bandwidth alliance"

As I said, you don't have to. As far as I recall you just use two 'B's in the 'B2B consortium' and it's policy applies to you.
Certain policies provide a cushioning effect and softening the blow. Decreasing suffering in this way prevents a lot of societal pressures down the line. It’s not just about printing money.
I think the intended attack is to fake an apple login page with the link. You open an actual apple.com page first when you find a tag - so pretty safe to scan - then if you open the link you’ll get an apple login page. Not suspicious.

Now you’ve phished the apple credentials off someone thinking they’re helping find you lost keys. Less people would scan a random QR code they found. And even fewer would mistake it for a real apple login and feel compelled to login.
Is doesn't seek to be a replacement for anything at all.
It is definitely the case in the US. They even call it the self-employment tax (https://www.irs.gov/businesses/small-businesses-self-employe...)