skysight-inc/HackerNews huggingface dataset:
> people who attended higher education on average earn much more

And thus they pay more taxes, in the extremely progressive taxation systems you have in Europe that should more than pay back the cost of tuition.

> I think student loans (if done right) can be a good thing. They can let anyone from any social setting afford a higher education.

They really don't, poor people will be more scared of taking on so much debt at a young age and thus more reluctant to apply. It is much better that nobody has to worry about debt from studies, otherwise you wont have an equal playing field. We all know rich kids do better, the closer we can make typical kids experience to a rich kid the better, and that includes not having to pay for college.

If you think that poor people pay too much taxes, just make the taxation more progressive. It has nothing to do with student debt. Rather, you could say that student debt shifts money from poor students to rich people (the top of the progressive tax scale), as most students will never reach the top of the tax scale and you could say that the money that pays for the tuition comes from the top of the tax scale (it could come from anywhere, it coming from the working class was just your imagination as well, if it got freed up it could be put anywhere...).
Unicorn growth secrets video from ex Zendesk and CMO of Slack
Some codecs might be more suitable for encoding video streams which are known ahead of time and utilize similarity of frames both before and ahead to maximize compression (multi pass encoding); they might also require larger buffer. With real time video calls you can't really do that. There is no codec-fits-all solution unfortunately.
My 'case' is that the persistence of long covid is absolutely not guaranteed and most people will recover. It's people making it out like it's a death sentence or going to last for the rest of their lives that are causing huge amounts of psychological damage at the moment. Spare a moment for the people who will recover but have to live with the opinions of so many on the internet that no, in fact, they're utterly and completely doomed. Does wonders for preventing horrible, profound depression. Does it need to be said that becoming horribly depressed does few wonders for improving health conditions?
A microcontroller board with a camera, mic, and Coral Edge TPU
user defined literals

using namespace std::chrono;

std::this_thread::sleep_for(30s);
> If you mean AV1 specifically, do you think software encoders won't get anywhere near x264, which can do it in less than one core?

From what I understand, AV1’s encoding complexity is more like H.265 than H.264. It’d be more appropriate to look at the performance of x265 to see what might be possible.
I still boot in seconds with Windows 10 and NVMe disks.
Specifically, I record the browser window or the terminal window to demonstrate bugs and accomplished tasks for projects. (I don't have to, but it feels like a nice jest and documents things clearly)

Do you know of a program which does that on wayland with hw acceleration? I admit I couldn't do it a few months ago and haven't tried since.
> big Linux companies

I'm not sure the company can be considered a big one. The headcound was like ~600 last time I checked. Compare that with SUSE (~2k) and RH (~12k, bet just their engineering is more than the whole of Canonical).
As important is to recognize that even if the price cannot be negotiated, oftentimes the service you receive can!

If the waiter seats you somewhere you don't like, don't be afraid to ask for the nicer table! At the hotel, don't be afraid to ask if they have a nicer suite you can have instead.

Often employees are not able to negotiate the price, but they have flexibility in what they can offer you!
I ended up building a library for elixir a few years back for this kind of thing: https://github.com/meadsteve/unit_fun.
In Germany you can negotiate a few things down in electronic stores. Particularly if you buy several items. Or if the competitor sells it cheaper.

Same works in Japan. Saved me a few hundred bucks on my TV.
Is there a benchmark on how accurate fitness trackers are with sleep? I didn't get over the fact that my Fitbit I got a year back isnt as good as the 4x cheaper Honor band it replaced. It tracks lying consciously after sleep as sleep.
my comment has nothing to do with economy. vimeo hasn't been doing anything good for years to gather users. it's just weird that they describe themselves as a movie site just because someone is uploading their amateur movies.
What's a "character"? A codepoint? A glyph? Is "ﬁ" a single character? How about "ß"? "Ȣ"? "Ĳ"?

When programmers get answers to these questions wrong, the code that they write ends up being broken for someone out there. And they do get it wrong if their native culture instills a wrong kind of "common sense" about scripts. Which is precisely why we need more stuff like str.len_utf8_bytes() - because it forces the person writing it to consider their assumptions.
> I have a theory that the people who used the bar on the side and the people who turned the user metrics off are the same people (myself included)

I keep telemetry enabled in Firefox in the hope that they see that I use all of the features that they later remove anyway. It seems like nobody is using metrics to prove that it's not safe to remove a feature. Or they say "oh, it's only 1% of users using that feature", not realizing how much 1% really is.
I didn't have any issues with wayland untill I started to have many. My basic toolset on Ubuntu refuses to work on Wayland.

1. Zoom - screenshare doesn't work or crashes - I can't remember now

2. Peek - cannot capture gif recordings

3. Flameshot - cannot take screenshots
Not a junk symptom, I said it's junk reporting. Real figures where people are quite disabled are low single digits in the worst case. A mild but persistent cough that lasts for a few months is hardly disabling even though some people will count it as 'long covid'.

Brain fog is very real, and I never said it was not.
Just be ethical about it.

If you are a tourist in the global south, and you negotiate down the price of some craft/souvenir/whatever you are buying on the side of the road, you will be able to buy an extra cup of coffee back home, but the person there might have to stand in the sun and away from their family for 4 more hours.

Don't let the well-being of others all in the hands of "the market".
1984 was meant as a warning, but used as a manual.
I think the simplest expression of the idea of structured concurrency that I've come across is this: The scope of any concurrent process is the same as the lexical scope of the function that created it. This has profound implications.

Let's say, for example that I call `doTasks()` with 10 separate tasks. Before any of them can complete, one of them fails. What happens to the other 9? In your example, they are "leaked" because they will continue running, even though the scope that was awaiting their results in gone. Using a "worker pool" as in the example, it might go something like this:

async function doTasks(tasks = []) {
let workerpool = new WorkerPool();
try {
for (let task of tasks) {
workerpool.exec("my task", task);
}
let results = await workerpool.all();
// do stuff with results
} finally {
// no matter the outcome, nothing outlives this scope.
await workerpool.destroy();
}
}

It should be noted that cancellation, i.e. the ability to "destroy" a concurrent task is a necessary primitive for structured concurrency. You can think of it as the equivalent of automatically releasing memory at the end of a lexical scope.

There is already an implementation of Structured Concurrency for JavasScript here https://frontside.com/effection
But let's be honest, the quality of life in places like Transnistria is quite bad. Lack of services, infrastructure, a population strongly supporting Putin.

I wouldn't want to be stuck there for years, to the point where even a few years in jail might be worth considering. But I'm not familiar with the conditions for prisoners in the US.
Get back in the car and drive away again.
Including aircraft carriers...

63 meter wingspan for a 777 vs 40 meters for a C130, flight deck width of an aircraft carrier is about 80 meters so in theory that is possible but it would be pretty scary, I don't know of any airport where there is an obstacle the size of an 8 floor building sitting right next to the runway.
Same models being sold multiple times for discount year after year... Yeah, the real price is close to regular discount price so there is high change that getting it at that or near that price other times too.
It is very evident in his videos that he is trying to show off. There is a lot of code snippets that he copies and lots of pasting code which is kind of boring to watch. In fact I really like to watch your videos as it deals with a lot of low level stuff.
Chernobyl is much more dangerous in hands of russian soldiers than Zaporozhskaya Power Plant.

See, a complete destruction of ZNPP Unit by an external force (bomb) is going to contaminate the immediate area but not much further. It won't be nowhere near at the scale of Chernobyl accident.

On the other hand, The Shelter in Chernobyl NPP contains 50,000+ tons of highly radioactive and highly volatile (light) dust particles of graphite and concrete. If they destroy Novarka and The Shelter in the worst case scenario half of Europe becomes the exclusion zone. Source: I am closely working with Chernobyl guys.

Based on what we see so far in this invasion, we have no reason to rule out intentional destruction of The Shelter.
>Wikipedia article

China Eastern Airlines Flight 5735 : https://en.wikipedia.org/wiki/China_Eastern_Airlines_Flight_...
The submitted title broke the site guidelines about editorializing. (Submitted title was 'Google Dialer and SMS App steal all conversation metadata and content hashes [pdf]'.) The rule, from https://news.ycombinator.com/newsguidelines.html, is: "Please use the original title, unless it is misleading or linkbait; don't editorialize."

If you want to say what you think is important about an article, that's fine, but do it by adding a comment to the thread. Then your view will be on a level playing field with everyone else's: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...
> At the bottom of which are all the tasks in daily notes, generated by an inline script, another dynamic list of tasks for my freelance work.

Interesting, based on what do you generate these tasks? How does the dynamic list work in your use case?

We're thinking about building something similar for https://acreom.com as a plugin but likely easier to setup (no-code).
Disagreement isn't the only purpose for commenting here on HN, despite how threads often appear.
Changed title from 133 to 132, according to the report from state media.

It seems a passanger canceled his trip.
I have encountered this too, just as you and the author did. However, when I switched to integration testing behaviors rather than unit testing low level functions as the author suggests it went away.

Traditional TDD proponents would say that what we're doing is definitely not orthodox TDD but IMHO it's the only way that actually works.
time.Sleep(time.Second * time.Second)
>My aunt helped me sell edibles during the Indian festival of Holi.

I'm assuming "edibles" means something different in Indian English... Or you guys are very liberal when it comes to 6 year old drug dealers!
Now you've added an additional, untested point of failure (the glue code), and you've made the interaction between A, A1, and B more difficult to understanding and more error prone.
The "good" releases are good relatively to the crap ones they've succeeded, not on their own. As if they wanted to pay for QA only every other release.
> 1. Zoom - screenshare doesn't work or crashes - I can't remember now

Some (all?) browsers lack the ability to talk with Wayland's screensharing system. A quick workaround that worked for me (using Zoom at least) was to launch that browser session and the windows to be shared in XWayland.

A perhaps more convenient workaround is exposing your entire Wayland session as a fake webcam. I don't remember the name of the software that lets you do this, but it works quite well.
When I visited Morocco I discovered that haggling is seen as an intrinsic part of a transaction. A lot of tourists aren't used to haggling or are afraid to do so out of a perceived risk of offending the seller. But if you don't haggle Moroccans will perceive you as weak, even if you think you've got a great deal paying face value.
They might have different ideas, but they're still the product of the same time and culture. They're bound to have similar world views.
First you bully enough small-scale offenders who don't fight back to establish precedence and only then you go after the big fishes.

This is why grassroots-scale efforts to defend against patent trolls are so important - you absolutely have to prevent precedence case building for patent trolls or it becomes so much harder down the road.
Ideally, there is no compiler.
It’s not that hard to get the data you need, in fact it’s easier than ever
> After 10 years I still don't understand why I should switch away from X11. It is mature and is still being developed (latest xorg-server release is from January 2022). It does what I need.

The problem is you can't expect X11 to keep up going forward. Developers are not interested in working on a huge and clunky legacy system.
Wow, so reading the comments it seems like HN is now one of these sites where people just comment on the headline without reading the article.

The article spends about a third of length on the topic if tech might be good for kids or not, the rest (and the meat) is an argument against "the techies as thought leaders because we live in a tech world", and the idea that tech people are uniquely able to understand the consequences of tech on society just because they built it. Actually when reflecting to that, it's even more ironic that the comments in this tech forum fail to address the point and even the top comment talks about the author "inferiority complex".
As mentioned many times — the compositor can take screenshots just fine, but an application running under wayland can only do so if it speaks the protocol.

So try the web version of zoom, it will just work. I don’t know the other programs but pipewire is the relevant API they should implement.
Ask HN: Which concurrency problem is best to compare CSP and memory sharing?
I'm looking for an appropriate concurrent example to show the differences between Communicating Sequential Processes and memory sharing.

I would implement the CSP version using either Go or Occam.

Which concurrent problem would be best solved using CSP, in which the memory-sharing solution gets too complicated at scale?
I wanted to try to mod Snapchat but I don't seem to get it to work. Anyone any experience?
Last i heard they experimented with windows running in the cloud and the user having just a kind of thin client.
It is hilarious that 20 years after SUN's "The network is the computer" and some years after freedesktop's initiatives "wayland", "X is obsolete" "X on network sucks", Microsoft is coming doing just this.
> It has some user application UX issues (like Google Chrome mouse scrolls slowly)

Try the "Chromium Wheel Scroll Smoother" extension. It's a hack, but I've managed to make scrolling as fast as Firefox is, which I much prefer.
>Data from flight trackers indicate that the flight descended at over -30,000 feet per minute

Maybe someone well-versed could confirm but isn't that an absolutely insane sink rate even for a crash? I think the plane would have to be in a total dive right?
Reusable Type Branding in TypeScript
i've been meaning to give wayland another go since my last attempt maybe ~1.5 years ago. there was some promise, but it was still lacking for me:

* i use Kupfer as a quicksilver/alfred replacement. triggering the hotkey made it open the dialog on the bottom left of the window i'd most recently used (rather than centre-screen)

* alt-tabbing in and out of fullscreen-games was much less reliable (if at all possible) - which was weird as i'd have said there was a perceptable increase in latency

* getting wine/proton games to launch was more challenging

* i've modified lots of things on this system to have mac-like keybindings (e.g. "command"-c/v for copy paste in terminal, etc. and not all of these are configuration changes, as in many terminal emulators). i seem to remember wayland behaving strangely with super-based keybinds. i don't think i ever got "command"-w to work properly.

* a myriad of behavioral differences in window/desktop management made it surprisingly painful to persist for any length of time.

which is a shame because it really does feel that wayland is architected better than X11.
> Uptake of the open-video codec AV1 has been slow, with major video providers waiting for broader device support.

The people involved in AV1 had a software decode plan B that has worked better than most of them hoped.

If you combine that with encoding choice based on software decode impact, most big players have started with software rollouts, but still seen gains.

"You need hardware support for a codec" is often the same kind of delaying tactic as "renewables need storage". You do both in parallel, not enter an infinite loop where you don't do either because the other isn't complete yet.
It worked on my WSL setup.
1. There are reports here that Zoom works fine with Pipewire in the browser.

2. Have you tried: https://github.com/SeaDve/Kooha ?
Most browsers have the ability: firefox and chrome have pipewire support for a long time now, so if they are run as wayland applications (sometimes people don’t even realize what version they are using) they will be able to screenshare just fine.
Julia seems to have some unit support (via package):

http://painterqubits.github.io/Unitful.jl/stable/
While we're on it (and because my brother has just had a delivery to Casablanca), a bridge (or even a tunnel?) that would connect Southern Spain to Northern Morocco would be entirely something else, it would better integrate Morocco's economy into the EU (and vice-versa) while strengthening the ties between Europe and Africa. Not sure though how much a project like that would cost, or if it's even possible.

I wouldn't say it is impossible, but my understanding is that it is decidedly non-trivial due to geography and geology: https://en.wikipedia.org/wiki/Strait_of_Gibraltar_crossing
Sure. But why not make that into one of the constraints? For instance, running the algorithm on many boards in parallel, and requiring that the found solution must work on all of them.
> Nobody at Microsoft who has decision-making authority actually cares.

I don't know if it started with Ballmer, but they do care, but it is just about sales, and making money. It's not as if selling and making money is antithetical to making good software either.

It's always the same in the IT industry. The "non technical" managers are invariably higher in the org chart than developers and they have no concept of what people actually want, and make disastrously poor decisions. Falling sales... improve product, increase the price, or introduce ads?

I haven't booted Windows at home for close to 3 years. KDE on Ubuntu is rock solid for me, all the peripherals work, powers both my screens, has all the software I need.

And best of all, it's still 100% offline and I don't have to sign into anyone's "cloud".
Alleged footage of the crash shows the plane dropping from the sky like a rock:
https://twitter.com/aviationbrk/status/1505835466943352836
>That’s his job as an investor

however unlike in his job as an investor when he makes stupid takes on twitter he isn't going to lose 100k each time. If he did he would probably vet his tweets a bit more.

The reason markets work and Twitter doesn't is because there's no negative consequences for posting without thinking.
When I lived in Germany, I've seen haggling for bigger furniture items (like kitchen, fridge, sofas). But that's about it.

Funnily enough, there was a big media frenzy when haggling was legalized* in 2001 that everyone was going to start to haggle in supermarkets and every store would grind to a halt. That obviously didn't happen.

*) Technically, it was legal before, but limited to 3% of the price.
BDD is more about having conversations about behavior with stakeholders using examples.

If it's translated into tests it becomes ATDD. These make excellent tests which catch bugs and provide a safety harness for refactoring. It is the sole place where "TDD" actually shines.

Lower level TDD that isnt about that at all are where all the problems are (including, frequently, driving poor design).
As we all know, naming things is so difficult.

Most currencies do not have "Cent" as a base unit. And there are currencies without a smaller base unit, most notably japanese Yen.

The problem is, that there exists no established currency neutral name to distinguish between the two possible units that coincide in such cases as Yen.

I was thinking about the following:

class AmountOfMoney
property int FinerAmount
property decimal CoarserAmount

In the case of Yen (FinerAmount == CoarserAmount) is always true.

Any suggestions for better wordings?
Scurity cam footage show that actually what happened, straight down 90 degrees

https://twitter.com/ChinaAvReview/status/1505834279275999236

2nd camera footage (dashcam) with total nosedive

https://twitter.com/Aviation_NewsTW/status/15058583238279987...
For those interested in exploring Structured Concurrency in JavaScript, there is https://frontside.com/effection
It is not hard to isolate and stub a database the problem is you will not catch a lot of errors, e.g. writing a 40 char string into a VCHAR(10), DateTime conversations, ...

In Ruby on Rails it is quite common to use a real database in the unit tests. Even before containers came out and it is still fast (yes, less than 1 second).

In rails you use the same database instance for all the tests, so you do not have spin up a database instance for every case. Instead you use a database cleaner.

There also exists a JS implementation: https://github.com/khaiql/dbcleaner
Thankyou to whoever did this research and wrote it up...

I feel like this is the start of Google being another billion dollars poorer, and EU taxpayers being each a few euros richer...
The Next Evolution of the Database Sharding Architecture
> After all, what else are you going to do if you need to run Photoshop or Premiere for your work - switch to Linux? Good luck with that.

I now believe that you can't like Windows because of exactly this. Linux gives you choice, and if someone wants to create a competitor OS from the Linux kernel (or even from another OS) they can. That is incredibly healthy and sustainable.
Thanks, total dive indeed, incredible.
In the land of JavaScript, one could implement unit types as a babel plugin.
If you allow one person to haggle, everyone hears about this and haggles. It might be theoretically 'losing money' but really it's avoiding entering a situation where there's such downward pressure on your sale prices that you can't survive.
I play the latest games on my high-end GPU I sold a kidney for, watch 4K movies, use a Sony DS4 gamepad via Bluetooth, with two 4K monitors at 200% scaling and an external USB audio interface with standalone microphone and automated compression, equalization and noise cancellation setup.

You were saying?
> -30,000 feet per minute

Isn't that 548km/h (340mph) and faster than terminal velocity? Nose would be pointed down.
I took apart a 2010 Mac mini the other to install an SSD. It’s basically been running non-stop since new in a corner of our office for over a decade. Sure, there was some dust but it wasn’t at the point where it would affect performance. A quick wipe with a soft paint brush and it was as good as new — the first time we had ever opened this machine.

I don’t understand the insistence that we must regularly clean our computers, it seems daft. Maybe vacuum your house/office once in a while. The computer breathes the same air as you.