skysight-inc/HackerNews huggingface dataset:
With some languages like Python, you can use keyword arguments too (even out of order).

Eg. you could simply do

transferRegularly(amount=10000, period_in_days=30)

I am always amazed how new languages never pick up this most amazing feature of Python.

Though obviously, this code smells anyway because 1. repetitive transfers are usually in calendar units (eg. monthly, weekly, yearly — not all of which can be represented with an exact number of days), so in Python you'd probably pass in a timedelta and thus a distinct type anyway, and 2. amounts are usually done in decimal notation to keep adequate precision and currency rounding rules (or simply `amount_in_cents`).

Still, I am in favour of higher order types (eg. "timedelta" from Python), and use of them should be equally obligatory for unit-based stuff (eg. volume, so following the traditional rule of doing conversions only at the edges — when reading input, and ultimately printing it out).
I remember and miss the first Intel MacBooks, which came with an access panel for upgrading the hard drive and RAM, as well as an easily-swappable battery. Back then it felt like Apple was trying to make the best computer possible, not just a disposable consumer appliance.
Acceptance tests:

"As a user I want to XYZ"

vs.

"As a product manager listening to what I think a user said, they want to ABC"

That's what happens when developers in large companies are not allowed or do not want to talk to users.
same thing here awesome job.
So the locals can’t work on something else in the off season?
Their wiki page, every review when you google hevc vs av1… the better question is how do you get your information?
CGS is so the sixties!
> go ahead and play a 4k clip on Wayland enabled Firefox then move the mouse pointer, it stutters like crazy.

Either your DE or your Firefox aren't actually using Wayland because for me it's incredibly smooth, and CPU usage is in the low 10%. Fedora 35 on a 6800 XT here.

Firefox still needs tweaks to have actual complete hardware video acceleration.
Suppose there was a video series that lets you (or any high-school graduate) explore inside the 1001 possible things you might do. Each topic starting with short (5-10 min) overviews, and the investment you'd need to make. Then, for each one, an hour-long exploration with someone who's enjoyed doing what they do for 20 years. Then a long list of ways to explore further.

Librarian? Scientist? Firefighter? Cowboy? Shoes? Radiologist? College might be the way ... or the worst possible choice. Depends on you.

Makes no sense to invest a lot of time and $$$ without exposure to all of your options. Or to stick with something you don't like, when there are 1000 other things. Right now ... where do you turn to find out about them? It's crickets out there.
Well, Jeroen works (or has worked) for Espressif (manufacturer of ESP32/ESP8266), so apparently he knows that stuff well enough to make comments like this.
Burden of proof is on whoever insists it is possible. I have not seen anything persuasive. If you have, it is up to you to provide it.

Nobody has ever come forward with any such thing, to my knowledge.
Go to MIT. If you don’t like it after a semester you can always transfer to Z.

You can get student loans and pay them off later with the inflated salary you will get as a result of having an MIT degree.
It does not seems hypocritical, because the original rationale is not "I don't want to give money to Google" but "I don't want to be subjected to ads"

Whether the ads profit to Google or creators is irrelevant.
Edge is arguably the worst one here. Change your default from Safari on MacOS and it'll never bother you again, and anything that would have previously opened in Safari will open in the new browser.

There's practically no easy way to get rid of Edge or silence it; not only is it forced down your throat, there's active investment in trying to prevent you from switching to something else.

It doesn't excuse the constant nagging from OneDrive and Teams but, at least for now, they're not detecting that you're on Slack/Discord/Dropbox and trying to force you to switch.
Google and Netflix can help fund your legal defense. That's neither standing by nor being sued.
Firefox was just an example, anything that's heavy on the GPU yields the same problem, and yes I did have the right knobs enabled on Firefox and can confirm that HW was indeed working.

Recently however I had to disable it, see https://bugzilla.mozilla.org/show_bug.cgi?id=1759947
http://ronja.twibright.com

> Ronja is a free technology project for reliable optical data links with a current range of 1.4km and a communication speed of 10Mbps full duplex.
I haven't got a single Wayland seg fault since I moved back to Linux in October 2021. Not one.
Yup - I remember a customer who boasted how he always negotiated, and I didn't see the warning signs until it came time to pay my invoice!
> You'd have to monitor people's browsers to make sure a change you made isn't causing everyone's browser to break. In the event that it does, you'd be able to halt the incremental rollout before it impacts too many people.

Just let people install the update when they want (so they can make their own decisions on the risks) and provide ways to get feeback to you if there are problems. No need for telemetry at all or even an explicit incremental rollout when you don't force users to update.
Clickbait title I would say. The 'big' issue with TDD is whether it's worth the time needed to do it. If it was obviously always worth the time, then I think we wouldn't even talk about it. (Do we worry about whether breathing is worth it? Nope, we never talk about that because the answer is apparent.) Whether it's worth it depends on the context.
> replacing the PostgresProjectionsRepository with an MemoryProjectionsRepository

Not as simple if you are using any "advanced" PG feature. If you testing simple select statements thats probably fine.
How buy now, pay later works in Microsoft Edge
Yes, I was a bit imprecise. It is Gnome's Wayland support that is too unstable. Given the thread topic, I didn't think to be explicit :)
> A large portion of non-STEM jobs (including most farm jobs) can be automated

Most farm jobs are STEM. The non-STEM aspects of agriculture were mostly automated away centuries ago. You'll notice that farming went from ~90% of the workforce to ~2% over that time.

There exists some remaining small scale stuff that hasn't justified the cost of automation, but at the small scale it will be a long time before automation does pencil out. Robots don't work for free.
That is, unfortunately, correct in many instances. Jobs are not an infinite resource.
https://www.theguardian.com/environment/2017/jan/31/tinder-f...:

“A Dutch zoo hopes to increase the breeding chances of a female orangutan by seeing if she will choose a preferred mate on a touchscreen before they are introduced.

In a four-year experiment it has called “Tinder for orangutans”, the Apenheul primate park in Apeldoorn will show Samboja, an 11-year-old female, pictures of possible partners from an international great ape breeding programme.

The aim is to gain greater insight into how female orangutans make their mating choices”
Spain actually
Must have been horrific and sudden. Lost 26,000 feet in 3 minutes.
> The Linux Desktop deserves better than GNOME

Speak for yourself. I want the macOS lite experience on Linux, not the Windows lite one, thank you very much.

GNOME at least tries to have a cohesive and consistent design, instead of the whole kitchen sink approach of Windows and KDE.

To be fair I have a great deal of appreciation and respect for KDE, but its users are quick to shit on GNOME whenever they can. Nobody is forcing it on you.
Either that, or they will continue with Vanced under another unrelated name, possibly with sponsors and monetized, and do not want any competition.
I agree with that and welcome it but still I think they should make distinction between device types! For example smartphones are often very tiny, technology advances a not and we often also want waterproofness to some degree. It is a bit sensible that there may be a glue desired and it is not that problematic.

But the current state of macbook and mac repairability is pretty bad! Macbook is not a 2-year smartphone consumable, yet it is quite common that LCD breaks or LCD flex breaks from just daily use, or keyboard wears out, battery used to be glued. And only apple can fix a broken display flex and they do that but replacing the whole assembly which costs half of the device cost. And that is an example of the issue which this bill should fix and which we need! This probably applies for other bugger devices with planned longer-term use.

Without any distinction, it may not work very well. We don't really need ALL smartphones to have easily replaceable batteries and be bulky, non-waterproof, heavy, etc.
Do you support on-premise deployments? We're desperately searching for a tool which we can deploy at our internal servers that takes care about everything without connecting to the internet, cause every cloud operator is a no-go for our usecases / our sector. Unfortunately the majority of tools that do more than displaying an API (swagger, redoc, etc.) is always 3rd-party hosted / SaaS.

Maybe someone else is also aware of any tooling we might try to streamline our api doc experience more. The cost are no issue for us, but on-prem + api doc seems to be an rather rare field.
>Messages automatically recognizes incoming One-Time Password (OTP) codes to avoid the user having to fill them in.

It's a shame that user laziness is cause for lack of privacy.
Gonna be awkward to shut down a major children's hospital in a city for an indeterminate period of time.
On Wayland it always uses client side decorations. Some programs do not have a title bar at all, and therefore they draw the decorations client side on X11 too.

Or do you mean the GNOME compositor?
The unknown unknowns aren't worth it when you're risking the asset of your house. Yeah, you could spend hours on YouTube watching how to videos, spend a dozen hours on basic tools and safety skills, etc., but you're likely only gonna do this job once in 15+ years. And even then, you might still make it looks aesthetically ugly, not have the institutional knowledge of the best brands for parts that last, etc... it's really not worth it for the average home owner who can afford a house to take time away from his likely more lucrative work hours to learn this stuff, other than in really depressed areas.
The Lean theorem prover is a proof assistant developed principally by Leonardo de Moura at Microsoft Research.
Meta's antitrust defense: Blizzard of subpoenas
Not GP, but 0.5% == 0.005, not 0.5.
I say KDE is the best desktop if they could just get their shit together and debug it on all hardware configurations. It's absolutely miles ahead of Windows in features, however, as a power user I can fix it if it gets wonky, but a regular user shouldn't be expected to.
They shouldn’t be teaching undergrads.

They should be teaching a few grad students.
Because it is an electron app, built on top of a browser that doesn’t use the correct build flags?
2nd camera footage (dashcam) with total nosedive

https://twitter.com/Aviation_NewsTW/status/15058583238279987...
You probably don't know much about Ukraine then.
Specifically "sha256HashMsg value is a hash of the time, in hours since 1st Jan 1970, that the message was sent and of the message content i.e the message text, truncated to 128 bits."
You are right however physicists do not multiply duration x duration but time x time. Duration is discrete and time is infinitesimal.
It's practically impossible now to get new GPU capacity on AWS, so AWS is not really a competitive option for labs that didn't have it before the recent restrictions. Vast.ai is much more usable.
> and GNOME is sadly a DE that's just javascript.

Why is that sad? It's just a scripting engine...

> and sadly KDE is the one that's gotten massively improved in the last 10 years.

Why is that sad? Sounds like a good thing...

I'm starting to think your definition of "sadly" is different to mine...
ITER was supposed to cost $5 billion, originally. Now it is supposed to cost $25 billion. It is still far from done. Cost for these things only ever goes up, and can continue rising until it is actually delivered, enabling cost to rise without bound, until it is finally canceled. My prediction is that it will never be delivered, and none of the money will ever be returned.

$25 billion would build a hell of a lot of solar, wind, and storage, that would start displacing fossil-generated power immediately, and then generate revenue to build out more.
Z might be bigger, but are the CS class sizes larger? I went to a fairly large university but it had a small CS department and most classes had <25 students which meant you got a lot of attention from your professors. Also keep in mind that CS curricula are more or less standardized by ACM/ABET so the largest differences will be in electives/research projects.

Arguably the most important part is social. You've read SICP and already contribute to OSS so I'll assume you already know you can teach yourself. Understand that modern university is mostly a social thing and less of an educational thing. Look at the clubs on campus and see if you think you'll enjoy them. Most of my friends and a couple people I dated came from the robotics club for example.

Don't underestimate the value of the financial aid. Not having everything paid for can add a lot of stress and once you start getting internships you'll probably want to use the money for side projects/investments/dates etc.
>Do not isolate code when you test it. If you do so, the tests become fragile and do not help you in case you refactor the software.

I don't agree with this bit. This is how you make a fragile test suites that are difficult to refactor. Why do we go out of our way to hide information in our code? Answer because code that spaghettis in an out of a lot of other code means small changes cause unexpected regressions, and the changes to fix that regression causes other regressions. Suites that don't isolate code have exactly this problem. They are like a scavenger hunt of assumptions and inevitably lead to people fixing the tests instead of the code. In addition because you have introduced a network effect a small change will likely invalidate a huge number of tests. Meaning you have to update them all.

Integration suites have value, but I use them with discretion because I know that they are a challenge to maintain. Tight unit tests that test small pieces of logic thoroughly and make ample use of mocks to ensure deterministic outcomes are a must. These tests are highly durable. The code can change all around it but that function will work as advertised until someone changes it. Then they can update its test suite and you're back in the golden zone. In my experience if you build a complex structure out of a lot of quality components that complex structure will tend to be high quality itself. My pattern usually pushes the complexity into the units and I leave "orchestration" units that tie everything together untested but intentionally simple.

I know the code coverage folks will chime for sure, but I don't aim for 100% code coverage. I aim for a balanced test suite that ensures the best possible outcome for the minimum investment with the least amount of hassle when introducing new changes. Trying to test everything never seems to get me there.
VW recalls over 246,000 SUVs due to unexpected braking
If your use of a value in units lives for so long as for it to not be clear in what unit it is in or should be in (eg. spans more than 20 lines of code), I think you've got a bigger problem with code encapsulation.

I think the practical problem stems from widespread APIs which are not communicating their units, and that's what we should be fixing instead: if APIs are clearer (and also self-documenting more), the risks you talk of rarely exist other than in badly structured code.

Basically, instead of having `sleep(wait_in_seconds)` one should have `sleep_for_seconds(wait_time)` or even `sleep(duration_in_seconds=wait_time)` if your language allows that.

But certainly use of proper semantic types would be a net win, but they usually lose out in the convenience of typing them out (and sometimes constructing them if they don't already exist in your language).
I resisted it, just because of having some X configuration, knowing some absolute basics about it, etc.

But I decided to take the plunge in setting up a new laptop, and I wish I'd done it sooner. It's a lot nicer to configure (and especially to test changes in configuration in) sway than X. I don't know what I was worried about really, I should at least have looked into it - the whole thing has been easier so far than any single change I made to my old configuration (keybindings, modmap, etc.).
Apple Studio Display Contains 64GB of Storage, but Only 2GB Used
No, it means that a problem best solved elsewhere is solved.. elsewhere. Screen sharing is streaming, where audio is also relevant and the two have to be synced. It would be plain incorrect to solve the two thing separately.
Source? I'm in Europe, and it's on my phone.
Lio, this naivety, that is to say, the supposition of cooperation on behalf of the Gnome developers, hurts me to read. ;_; Gnome does not function like other free software projects. They do not actually listen to their users, this is the root of so so many problems with the software suite, they just do what is in their own interest.
Personally I'm not going to believe the vague accusation that some unspecified piece of software is 'shady' just because someone works for Espressif. If he has evidence that the software in question is doing something it shouldn't doing, then he should present that evidence. (As another poster has pointed out, it seems massively unlikely on the face of it that an obscure tool for programming an ARM microcontroller would make a good vector for viruses or spyware.) If he doesn't have evidence then he's just casting aspersions on the software because it's Chinese, which comes across as somewhat prejudiced.

None of this is a big deal. It's just not hard to see why the tone of the article could rub people up the wrong way.
Who thinks spying on users is fine nowadays?
From my POV it has come to a time where the tradeoffs you make switching to Linux (xubuntu in my case) are worth it.

A few days ago I had to do some helpdesk for a friend with windows 10. We suspected that one of his three drives failed, and windows just refused to start up, so I wanted to jump into recovery/safe mode and take a look.

But for doing so you need to go through a ridiculous lenght rebooting the PC multiple times and go through a bunch of sub menus. I tried but it didn't work, so we unplugged the hd we suspected it was failing and used my linux laptop with an external hd case to diagnose it.

I have a w10 corporate version in a pc, and it works kid of fine. I had to install windows 10 home to a laptop recebtly and everything feels like an abuse.

If I have to fight with a system more than I fight with linux, with it's drivers issues and the problems that I can't fix without googling as I'm not intimate with the SO, what's the point?

Its just too much effort.
> around 3:1 in favour of heat pump over resistive heat

That would mean a COP of 3.
Also, one would-be researcher here shared their frustration that modern FPGA's don't provide as low-level rewiring abilities, which presumably makes it harder to exploit hardware peculiarities:

https://www.reddit.com/r/MachineLearning/comments/2t5ozk/com...
Because screenshotting is very security sensitive.
At the expense of the systems resources. With Universal control your leveraging the iPad’s instead of your Mac’s.
> Random thought: you attach one to the front of a football, you
> throw it and it can steer itself through trees (servo tail).

You could also have it ignite an Estes D engine after the football leaves the hand.
not being able to sum timestamps is a bit beyond the scope of units, it is more of a vector vs point distinction
Remember that China is the electronics manufacturing hub of the world. A lot of Chinese component manufacturers don't care that much if people outside China can use their products, because by far their biggest market is within China. Chinese companies aren't going to take the time to translate their datasheets just so a few hobbyists can play around with their chips. And if a company in the US really wants to use that chip, they'll probably just hire someone who speaks Chinese to read the datasheet. There are plenty of Chinese speakers around.
There was a link to Lilypond a few days ago: https://news.ycombinator.com/item?id=30625450

It was titled '"Compiling" Music' and some commentators took it not in the TeX way but in music being created programmatically.
Doesn't help, Teams doesn't support pipewire yet.
> Is a very socialist or communist view on life better?

For what it’s worth, it’s not as binary as you suggest: if one doesn’t like a capitalist idea, it doesn’t automatically imply a communist alternative.

I think at the very least, Sam’s suggestion here is fairly capitalist: students are considered resources to be invested in, with a certain ROI, and capital would automatically be allocated to just those students that are the brightest of all, and/or have the best connections.

This implies that only a very narrow group of students would receive this funding, and it’s (ideally) based purely on their potential financial contribution to society. But for a country, there are lots of other reasons why you would want better educated students: crime reduction being a good example.
"Night mode", but nothing else. The GTK devs promised a theming interface as consolation for their libadwaita rollout, but that's trapped in limbo afaict...
As has been previously noted, HN seems to be convinced 50% overhead means that 50% of the grant is taken to cover overhead.

This is inaccurate. That would be 100% overhead, which is vanishingly rare (I've only encountered one institution above that rate, and they have to maintain research ships).

50% overhead means that the indirect costs of a grant are 50% of the direct costs, i.e. 1/3rd of the total grant. Notably, a lot of grant mechanisms (i.e. NIH R01s) are discussed at the direct cost rate, instead of the totals, so this doesn't "sting" nearly as badly as you all seem to think it does.

Additionally:

- I've seen private industry overhead rates. They're not lower. Indeed, many of them are quite a bit higher.

- A funder can specify a cap on overhead costs, and as long as that's public and known, every university I've ever been at has accepted it. The Gates Foundation is notorious for this, as are most charities. Hell, I had a grant from Merck that didn't pay "full freight".

- We push back on overhead costs all the time. Faculty are wily creatures. We have lots of ways.
I didn't expect this in front page. Somehow my celery is stopped running now I restarted it. Also Instagram disable my account for checking the username availability. I resume all things hope now it's working fine.
A hundred times this.

A guy I worked with figured out that you can negotiate everything, and did. He'd get pissed off at the bank charging him an overdraft fee and sit in the telephone queue to get his £20 back.

He took a cab on a business trip to Dubai, and the cabbie kept the meter going while filling up. He argued it and got the equivalent of 50p off.

He'd negotiate agreements with brokers and negotiate absolutely everything.

He pushed really hard on the partnership agreement.

In the end it was just toxic and people were turned off. You don't want to end up in a long conversation every time there's something to negotiate. It also makes everyone think you're going to be difficult.