skysight-inc/HackerNews huggingface dataset:
x = match y:
case 0: "zero"
case 1: "one"
case x:
y = f(x)
y+y

print(x)

it can require semicolons or parentheses or even braces somewhere if that's necessary to make the grammar work, idc. just don't make me type out `x = ...` a hundred times...

(yes, i know you could use the walrus operator in the third case)

(also, if anyone wants to reply with "use a named function because READABILITY", please save it)
Hire more people. Same reason the law requiring OT pay for greater than 40 hours per week of work was passed.
Related: Bengaluru (India), Student alleges invigilator addressed her as ‘baby’, sparks row.

https://indianexpress.com/article/cities/bangalore/bengaluru...
That's a "trick" I saw in the wild in several community TF modules but as the other commenter says, it's not that clever because once you want to change that specific parameter, you will trigger a complete destroy+recreate action which as you might imagine is not that good in real production.
There is also documentation on how to integrate Terraform with Gitlab Merge Requests https://docs.gitlab.com/ee/user/infrastructure/mr_integratio...
> A federally-funded study found that even the best facial recognition algorithms fail to work on Black and brown people, trans and non-binary people, as well as children and women in general.

I assume it is black and brown trans and non-binary people. I don't see an algorithm fail because someone identifies as anything. However, why even mention it here, in this context? It makes the people behind this sound ridiculous.

Aside from the technical difficulties with image recognition on BPoC which make this sort of tech a non-starter, I think universities and schools need to (finally) find a way to assess people that does not involve anything that can be cheated by having a book open next do the computer. Projects and papers and weekly problem sets to solve are a way better way to assess people.
Massive failure to not have "What is Eproctoring" as the first section of the page.
There was a story of a guy who got stuck in an elevator and called for help, but the installer had gone bust and the number had been assigned to a psychiatrist in another county. At first the therapist claimed he couldn't do anything, but when the man pleaded for help, the therapist replied "Well, how does it feel to be trapped in an elevator."...
That's exactly what happened in Germany. As soon as the landlords had to pay the brokers out of their pockets, they quickly realized that the "service" is not worth that much for them, so many went without brokers, and the ones that still kept brokers had to pay them much less than before, and the price was related to actual service provided.
I think Notes will work fine for most people if you don't attend many meetings, but Hera is for power users. If you attend many meetings a day I can see the real value in this.
What is the motivation to use the command-like language?

Just clicks?
I say i again and again, Microsoft your Windows is one of the best Application run-times on the Planet, why try to platform it? You are not good at this, you will once again loose against apple and google, focus on a clean and lean OS, make Windows the number one Dev/Office/Game Machine, and stop that OneDrive/Cortana/Marketplace/Different Windows-Edition BS...that's not what your Customers want and that's NOT what your good at.

BTW: The presentation of Win11 was a big second hand embarrassment.
Virtualisation on VMS? I don't recall that... tell me more?

There was a ton more influence too. I was trying to highlight perhaps the most significant bits people who weren't yet born in the 1970s or 1980s might have seen, used, and know.

As pointed out over on lobste.rs by David Chisnall:
(https://lobste.rs/s/kmpnqd/historical_significance_dec_pdp_7...)

• The VAX memory layout is why modern OSes' memory layouts are the way they are.

- The VAX block size of 512 bytes is why hard disks had 1/2 kB blocks until recently.
- The VMS VM file was called PAGEFILE.SYS, which is why NT's has that name.
- Unix first got virtual memory in the VAX version. The ordinary kernel was called `unix`, and to distinguish it, the VM version was called `vmunix`. That's why the Linux kernel was called `vmlinux` and later the compressed version `vmlinuz`.

• The PDP-11 instruction set influenced the CPU designs of the Heathkit H11 (CP1600) & Intellivision (CP1610), Hitachi SuperH and Motorola 68000.

• The VAX's protection rings influenced the protection rings of the Intel 80386, which is why x86-32 has 4 rings but almost all OSes use only 2 of them.

There is a huge amount of low-level stuff in the designs of the Mac, Amiga, ST, the PC and x86 in general, in games consoles, even in late-1970s and early-1980s 8-bit home computers, that are that way because DEC were so totally dominant... but a lot of this stuff is only visible if you program in machine code, know the memory layouts and so on.

So I tried to focus on the stuff visible to users, sysadmins, maybe techie-minded gamers. Filenames, commands, and so on.

The 1970s computer industry was factiously described as "IBM and the Seven Dwarves". The minicomputer makers were called "the BUNCH":
https://en.wikipedia.org/wiki/BUNCH

Of the BUNCH, DEC were by far the biggest and most influential.

DEC's range of minicomputers ranged from de-facto microcomputers -- single-user desktop minis built into terminals -- to massive multi-cabinet minicomputers that competed directly with mainframes. Really, the lines blurred together.

But DEC's fatal flaw was that its senior management thought cheap single-user micros, and UNIX, were passing trends of no real importance. It feared micros cutting into its lucrative minicomputer profit margins, and thought its proprietary OSes were better than UNIX.

Both of these statements were arguably true but even an industry giant can't change the course of a whole industry.

So, ironically, in the end, IBM designed the IBM PC using ideas and concepts from DEC (and Apple), not from IBM's own big hardware. The PC was a huge success and changed the industry... but IBM itself lost control of the PC industry and ended up quitting it.

DEC refused to embrace micros and UNIX until it was too late, so never gained decisive control of those markets... which doomed it.

https://digital.com/digital-equipment-corporation/
Metaprogramming custom control structures in C (2012)
Bookmarks Worth Bookmarking
https://algorithm-visualizer.org/
https://angular.io/
https://awesomeopensource.com/
https://www.bestinterviewquestion.com/
https://cdnjs.com/
https://codelabs.developers.google.com/
https://cboard.cprogramming.com/
https://dart.dev/
https://www.datasciencecentral.com/
https://docs.oracle.com/en/
https://devurls.com/
https://dev.to/
https://devdocs.io/
https://www.developer.com/
http://dotnetkicks.com/
https://everysecond.io/
https://gitexplorer.com/
https://hyperpolyglot.org/
https://html-css-js.com/
https://informationisbeautiful.net/
https://isocpp.org/
https://javascript.info/
https://www.journaldev.com/
https://jquery.com/
https://jwt.io/
https://kotlinlang.org/
https://nodejs.dev/learn
https://www.php.net/
http://www.programmingbasics.org/en/beginner/gettingstarted.html
https://programmingpraxis.com/
https://quantumai.google/
https://scikit-learn.org/stable/index.html
https://scratch.mit.edu/projects/editor/?tutorial=getStarted
https://sqliteonline.com/
https://www.sqltutorial.org/
https://www.tensorflow.org/
https://tldp.org/
https://www.typescripttutorial.net/
https://wccftech.com/
https://www.wolframalpha.com/
https://www.browserling.com/tools
https://overapi.com/
https://cryptohack.org/
https://flexboxfroggy.com/#hi
https://www.openvim.com/tutorial.html
https://caniuse.com/
https://www.caniemail.com/
https://thispersondoesnotexist.com/
https://0.30000000000000004.com/
https://realpython.com/
https://plainenglish.io/
https://webhint.io/
https://mochajs.org/
https://www.howstuffworks.com/
https://www.makeuseof.com/
https://hackaday.com/
https://mindhacks.com/
https://paveldogreat.github.io/WebGL-Fluid-Simulation/
https://sweetalert2.github.io/#icons
https://w3c.github.io/FileAPI/
https://optc-db.github.io/
https://misode.github.io/
https://challenges.re/
https://www.internetlivestats.com/
https://www.dataschool.io/
Is this satire or a real thing? Because nothing comes up when I google it.
Isn't the idea that it is for the main passenger? These days you can comfortably sit behind a driver when a rear luggage acts as a back of a chair. Or when there is an actual chair at the rear (google "honda goldwing").
Server level ban lists and competent game referees could perhaps solve this for high level play, but there’s no way you could scale that out so that the average player of a first person shooter doesn’t have to deal with cheating. That said, I’m not really a fan of things like Vanguard if for no other reason than it’s not clear that they have helped much beyond making cheats somewhat more expensive but not enough to be much rarer.

It’s also worth noting that multiplayer games without anti-cheat have had centralized accounts and microtransactions for a long time, so I’m not sure I understand how the anti-cheat measures are furthering those.
No.

Right now workers are a mi oruty in our democracies. This is why for the last 40 years they've gotten fewer and fewer rights. We've seen big rises in incomes taxes, cuts to services workers use (everything from education to infrastructure) and unions driven out of most markets. Life will continue to get harder for workers because they lack political power.
Is it common perception that "sub-zero" refers to temperature degrees below 0°C and/or 0°F?
If I release a piece of software today that install Microsoft products but stripped of all attributions and without paying any licenses,

... will you defend it just because I claim it is a tech preview?
I literally used that feature earlier today in an elevator in Thailand. The exact method of operation seems to vary among elevators, some require you to hold it, others require more than 2 presses. It's great when you change your mind.
Hospitals operate 24x7 but individual Nurses and Doctors don't. They work in shifts of course! A 4 day working week means a hospital would have to hire more doctors and nurses of course.

It's a thought bubble though: in my country doctors and nurses are severely overworked as it is. The health system could not permit 4 days a week for doctors and nurses.
The client can just lie about its state.

The only solution that is deterministic would be to move all rendering server-side. You could guarantee a fair match as long as participants are within some reasonable distance to the server.

Note that this has other massive benefits if you can build for it natively...
See also: Cambridge Blue
IANAS, but I'm puzzled by the use of the word "cooling". This fabric doesn't actively cool the wearer, or reduce the temperature, it simply prevents temperature from rising, keeping things up to 5 degrees cooler, if they were already cool to begin with.
Them being dangerous, and undrivable was what has happened.

I think the biggest nail in the coffin was the militaries abandoning motorcycles around the world.
You should hurry to apply because the EU is starting to move towards blocking those schemes:
https://www.bloomberg.com/news/articles/2021-06-09/cyprus-an...
Not gonna lie, i thought something happened to the Apple Sidecar
This only matters if people are otherwise willing to fork over cash for what is currently ad supported. So what if Windows is not trusted? Are you willing to spend any meaningful amount of money/time on an alternatives? Most are not.
Not only your fingerprints, but the fingerprints of the dozens of people who handled the envelope and cash. Who knows what they could do with so much information?
Except in smart contracts on blockchains

Billions in total value locked
What happened to them is that they are being raced on motocross tracks. It's called sidecarcross! It's a bit of a niche sport; Here are a few pictures of a sidecar built on a Husaberg 650 (which is a completely ludicrous machine in its own right): https://www.facebook.com/dirtyman36/posts/for-sale-vmc-2013-...

Heh, this also seems to have happened to them: https://www.bikeexif.com/ducati-sidecarcross
No it doesn't. You can't prevent people from being a-holes and stealthily pressing 10 buttons before leaving the elevator. The feature as described is as useful as pressing a floor to stop on. Perhaps it makes more sense on smaller elevators than it does in large ones. Or perhaps it would make more sense to allow undoing a press only within the first few seconds.
This is the basis for Marx' infamous "hunter, fisherman, herdsman or critic" quote from The German Ideology - the notion that wage work alienates people from the work they do and end up controlling them.
"The rest is trivial and left as an exercise to the reader"
Totally agree with you. And this makes me think about blogging about this kind of things. On one side I understand it can be "liberating" and also it normalizes accepting that we are humans, we do mistakes etc but when it's a so basic error, I will personally feel really ashamed by it and would probably learn the lesson and hide it under a rock, instead of blogging about it andd having it on the HN front page. There might be a few people/companies doing this level of TF bad practices out there that might find this helpful, but I also think that these kind of companies don't have employees reading random tech blogs to learn things and from others' mistakes.
Taste buds also become much less sensitive at high altitudes apparently
That's a good philosophical position to take, except when you're in charge of the law and order of a city, and you have messages such as these doing the rounds in the midst of a large scale protest.

The messages are used to legitimize people armed with daggers and sickles and machetes belonging to sundry outfits pouring out onto the streets and indulging in arson, rioting, and murder. The situation is not hypothetical.

Twitter itself, of course, does not take that philosophical position.
It depends on the game, but of the ones I've tried so far, most are fairly comparable!

Separately; GOG.com has a large selection of games that run Linux native; though not necessarily the most popular ones.
Sidecar pattern in k8s here ;)
This wouldn't have happened with a separate state file. Additionally, as said below, plan + apply must be separated with a ManualValidation task to allow release administrators to manually inspect the plan output on a production deployment.

Terraform's "-detailed-exitcode" will help you tailor the pipeline if there's nothing to do (0 - plan success, no changes, 1 - error, 2 - plan success, changes).

I'm also of the opinion that prod/non-prod subscription and resource groups pairs should be "vended" to you by another department (i.e. you're a user not an owner). This prevents you accidentally destroying the entire hierarchy.
They are talking about the atmospheric window - the band of EM/heat that can be freely radiated out to space unblocked by our atmosphere.

This is an important concept in global warming/ghg that you almost never see discussed. The band that CO2 absorbs (15 microns mainly) is not in the atmospheric window. The 15 microns band is already absorbed by water vapor, and is almost 99% saturated as is.

(This is where some particle physics students stop talking so they don't upset people)
That definitely is an option, but viability depends on what your environment is doing: "Sorry, we lost 10% of your bank transfers due to an update" just won't be acceptable, but "we delivered 10% less catpics today" might be.

And I wonder how many platforms can be made to work like that.
I mean, charging for products are a clear win-lose situation for customers, created by an asymmetrical power balance. There are good arguments for regulating data collection, but “customers should be able to pick and choose any aspect about using a product they’d rather not have and jettison it” is not one of them.
It isn't so much a book that is a problem. It is divide and conquer by groups of students.
Unfortunately this new fabric only helps with the "sunny" part (it keeps you cooler when you are exposed to direct sunlight), but not with the "hot" and "humid" part...
Still have them at the Isle of Man TT as well, utterly insane in an already insane(ly brilliant) event.
IANAL but as I understand it, ruling in the US is that machines can not produce "derived works" of copyrighted works. If it replicates (A)GPL code verbatim, it's up to the user to comply with its license.

Of course the interesting part is that the user not only has no idea what that license is but also where the code came from and if it is in fact copied verbatim. It's unlikely a court would agree that putting licensed code through a machine strips the licensing requirements of the code, of course, but that doesn't seem to be Microsoft's problem.

I think Microsoft's use of public code hosted on GitHub is covered by the terms of service but if this use includes granting a license more permissive than the license indicated on the code itself, this would probably put every GitHub user who ever committed less permissively licensed code to GitHub that they didn't control in violation of those licenses.

There's really only three ways this can go:

1) Machine learning does legally become a license-stripping black box, which would allow creating a machine generated commons by feeding arbitrary copyrighted works into sloppy AIs that mostly just replicate their input without changes.

2) Copyright law is extended to consider the output of machine learning as derived works from its inputs, massively extending the reach of copyright and creating massive headaches for everyone (e.g. depending on the exact ruling this would effectively make it impossible to reproduce a digital artwork as merely rendering it on a screen would create a derived work).

3) The original licenses are upheld and remain in effect, rendering the output of Copilot useless by creating a massive legal headache for anyone trying not to violate copyright.

I think outcome 2 is unlikely but 1 and 3 aren't mutually exclusive.
who clicked this thinking they were talking about container sidecars int he docker/k8s sense :sweat-emoji:
Glad that you had an automatic system going, but most universities don't have one and can't fund its development, and wanting to shift this burden to professors is unreasonable.
Pretty cool tool. Is it possible to accompany notes, with agendas etc. In my gov/orgs in the UK at least, it is protocol to send an agenda before the meeting, and the notes after [along with actions].
> 1) It is so weird to me that every cloud provider deletes backups when you delete the SQL instance.

Not actually true for Google Cloud CloudSQL (at least MySQL). You can delete the instance and you don't see any backups any more in the Google Cloud Console, but they are actually there and you can restore from them. You need to know the instance name though.

I think the backups will be kept for 30 days. This is the same time you can't reuse the instance name.

Google could improve the UI about this a lot and display also deleted instances.
What a mess. This will further damage trust in science.

1. People who were previously pro-vaccine will take this as evidence that journals are publishing bad papers and peer review doesn't stop it.

2. People who previously had doubts will observe the extreme over-reaction and double standards here and conclude that you cannot actually publish a paper indicating vaccines may be dangerous regardless of what the paper contains.

Extreme over-reaction: I read the paper. It is fine, at least by the normal standards of academia i.e. no worse than normal. Once you wade through invalid complaints like "the people who wrote it aren't one of us" you get to the complaint that it's correlational. COVID research is absolutely dominated by correlational studies. In fact this paper was careful to note the correlational nature. As there are no datasets that state causality, forbidding research on these grounds means nobody is allowed to draw any conclusions about vaccine safety at all.

Double standards: The standard definition of a COVID death is "any death for any cause within 28 days of a positive test". This is much more lax than the definition the study used and is guaranteed to over-count, for example when the New York Times ran a front page listing 1000 names of people who "died of COVID" and it was discovered the 6th name on the list was a murder victim. Thus the complainants are setting up a rank double standard: "died within X days of a test" is a perfectly reasonable criterion but when someone uses "died within X days of a vaccine" that is atrocious pseudo-science that must be retracted immediately.

I am in the second camp. Given the nature of these complaints, the contents of the paper in question and the mass resignation of the board, it's clear that the vaccine side effect registries run by national governments are at the moment completely useless. There's no actual way to publish research based on them without having your paper retracted, and retractions are happening for ideological reasons dressed up as concern for good science.
No, as the customer does not have to fork over cash for the product. That is the benefit.
This is how Musk works, and people keep falling for it - he whips up excitement with wild claims, then after the flurry of investement/excitement, walks back the claims with 'new' realisations. He pulled the same trick with bitcoin.

Self-driving has always and obviously been hard. Bitcoin has always and obviously been environmentally harmful. Language won't be obsolete four years from now.

He's not someone innocently and optimistically making sincere announcements. He's knowingly misleading people for profit.
Because he won't shut up and he never says anything original or worthy of discussion.
Rustc is Apache 2.0 or MIT license. Either is compatible with GCC’s GPLv3. So there’s no intrinsic legal problem.

It does however mean that if you distribute rustc with this GCC backend, you have to comply with the GPLv3.
Tim is a bean counter at heart and everything Apple has been marketing spin for decades.
Makes me wonder if awsgeek has drawn any scathingly brutal internal cartoons about Amazon.

https://www.awsgeek.com/
Everyone wants a tie-in to the hot button issue of the day. You don’t need to get black trans kids involved to point out all of the flaws in Eproctoring.
Ban encryption to protect the children? Help to research on whether that is true
I've come across this article on Who is being monitored? - https://tutanota.com/blog/posts/wer-wird-belauscht - which shows figures from German surveillance orders being used mostly for drug-related crimes. I would like to do a global collection on such figures for wikipedia as I think this is direly needed to make an argument again the 'But we must break encryption to protect the children'. For this, I need information like

* Where could I find surveillance orders figures for your country?

* How are the surveillance orders called in your country?

* What are the authorities that need to publish such figures?

Any help would be greatly appreciated!
It sounds like it cools the wearer by absorbing body heat and emitting it as mid-infrared radiation. It also prevents temperature from rising by being reflective against UV, visible, and near-infrared radiation.
What part are you both talking about? Surely you're talking past each other to some degree.
The battery on mine's pretty much dead, I've replaced the keyboard and power supply over the years and it keeps on going. I'm running Haiku OS at the moment, but Void, antiX, EXE GNU/Linux, Q4OS Trinity, Refracta and even (once it finishes booting) MX Linux will run acceptably on it.
In our initial trials involving about 5 people the software systematically failed to recognise one woman just because her (pretty standard) hairstyle. It also failed to detect my kids coming up on camera a few times.
Will do, just haven't decided yet :)