skysight-inc/HackerNews huggingface dataset:
By my personal experience to make TDD work (where you make many small changes, run the tests, make more changes - step by step), tests need to run FAST - as in ideally less than 1 second.

Even if it is easy to spin up a container, seed a database inside that container and drop and recreate that database after every single test (so that tests remain a unit and can't influence each other) - it tends to take a few seconds, which instantly makes TDD tedious to do. Thus you start making more changes at once, run the tests less, and drift away from doing TDD...

The most typical solution is to run databases in-memory rather than in a container.

My personal approach though is to make my code more modular, so that only the "database accessor" class needs to mock the actual database, while the "query builder" needs to mock only that database accessor (much easier) - and the database class needs to only mock the query builder (even easier) - and the actual application code needs to only mock the database class (super easy).
Most of the time we make tests when something is in our radar.

I guess you have use case in your spec that tells you that's the expected behaviour, or at least some clever developer figured out it should be done that way.

But it is not always so "easy": Sometimes you don't have the domain knowledge, or the spec doesn't say a word about negative cases...
MMOExp offer a easy, safe, fast and stable way to buy Lost Ark Gold, more great service you can get. Become our VIP member and buy cheap lost-ark Gold now, you can get more off.
And the comes End to end test, which tests the whole thing from top to bottom.
I thought so too, first impression is very good. Unfortunately I couldn't keep using it because you can't screen share in MS Teams with Wayland, and most games don't work in Wayland either.

So it was back to X11. Until screen sharing works in more apps, and until Proton/Wine games work I'm sticking to X11 and I'm not complaining.
I don't play videogames and I'm perfectly fine with my Ubuntu install, it does everything I need it to do. Only gamers put videogaming as a must for an operating system.
Australia’s Clever Birds Did Not Consent to This Science Experiment
I had an ammonia absorption fridge, it was great how quiet it was. Sadly, they are rather expensive and it broke after a few years.
But Pyright is supported on Emacs so I'm not sure this holds.
I used to prefer unix timestamps too. But I Saw The Light.

For one: those standard Unix tools can convert from date/time values to timestamps just as easy. Arguably easier.

And a timestamp is merely an Int, so many languages, databases, APIs and so on, lack ergonomic methods to convert timestamps to datetimes. But have easy ways to do the reverse. It's almost always easier to convert dates, times or datetimes to timestamp ints (or floats) than to convert an int or float to a date, datetime or time.

A timestamp.toString() is unfamiliar to humans, a datetime.toString() is not. The list of small benefits in favor of actual date or time types just goes on.
Don't forget KEPCO:
https://www.world-nuclear-news.org/RS-Indictments_for_South_...
I cannot believe that no one has mentioned HTML Canvas with JavaScript. I'm no fan-boi/gurl for JavaScript, but you can do some crazy and amazing things with HTML Canvas in a modern web browser. Plus, "everyone" seems to think that TypeScript is a pretty great advance on JavaScript, by adding a bunch of useful things, like stricter types. As an added bonus, it's easy to share the results with others -- all they need is a browser.
Lookup tenant rights for student housing. Students don't have it, they're explicitly exempt.

A university does not have to follow the commercial process, they can make predatory contracts well outside of reason, tax free (for them), and reap all the profits.

Things universities intentionally avoid teaching so students won't organize against the system abusing them.
It’s good to start with. Integration tests are great for finding out that ‘something’ is broken. Unit tests are better at finding what exactly is broken.
Why do you assume folks who don't go to university are less affluent? If anything, that should be the offensive notion.

> It does put a lot more responsibility on the prospective student to judge the quality of an education programme and the opportunities it affords.

Children cannot make this estimation, which is why we partially subsidise it. It's already a ton of pressure to know wth you're going to be doing later, let's not make that even worse just to satisfy some weird notion that higher education should be hard to reach. It's going to disproportionately impact folks without a social safety net, which is the one thing you wanted to prevent in the first place.
Thanks for your take! I have more faith in the internal compass of people taking things seriously than i do in outsourcing ethics, but this doesnt mean that i conversely trust bad actors.

Surely not advocating for the latter, i think informed consent and voluntarism should be required. Personally not sure where i stand on some of the leading edges of genetic tech, but i also appreciate that there likely are arguments for development akin to atomic science. My hope is that we can continue to support and synthesize a broad spectrum of humanity rather than a few quantifiably valuable breeds. Im biased since i have a sibling with disability who i value more than the ethics boards that will triage him off of a ventilator :)
According to Google the iPhone 7 I use as my daily driver is worth around $100. Not exactly breaking the bank.
> This seems to repeat the trajectory of VP9, where it exists and is supported solely thanks to YouTube, while the whole world is utilising H.265 for everything else, including recording video

VP9 came too close on the heels of VP8. Thanks to WebRTC in particular, VP8 encoding support is everywhere. AV1 has a lot more backing, thanks in no small part to the H.265 licensing mess.
> TDD is about designing how a module is going to be used before actually implementing it.

This. Basically, TDD is exactly the same as BDD, only with a developer-oriented (as opposed to product-oriented), traditional assertion syntax.
Yes, it’s been a while since I used it but about half the price of an AWS spot instance.
Toronto, the Quietly Booming Tech Town
The fact that they are making that huge hunk of trash a core part of Windows tells me everything I need to know about the direction they are headed into. How does anybody put up with Windows in 2022?
Your comment piqued my curiosity, and I looked at https://en.m.wikipedia.org/wiki/Future_of_an_expanding_unive... and found:

"Stars are expected to form normally for 10^12 to 10^14 (1–100 trillion) years"

So it seems Gy and even Ty units will be a reasonable scale for events during the period of star formation.
Yeap, there's one at Algeciras that I know of, maybe there are others, too, honestly too lazy to search for it right now.
TLDR; Darwin FTW.
> Worst case, you get dragged into a legal battle, but so do Youtube and Netflix

Except that's not how legal cases work.

Just because all three of you infringe doesn't mean lawsuits will result for all three.

It's quite likely they would allow Youtube and Netflix to continue infringing to promote the growth and adoption of the codec whilst they go after smaller players who won't be able to put up a fight.
I wonder if your Firefox is using hardware accelerated video. I know for me I had to play with some about:config knobs before Firefox actually started using hardware accelerated video. It is enabled by default on macOS and Windows, however on Linux it is not. Ensuring that Firefox was using hardware acceleration for video for me improved the performance and battery life enormously.
Lichess Variants: Crazyhouse, Chess960, King of the Hill, Three-Check, etc.
There isn't much competition in the desktop space. It's either macOS with its downsides or Windows with its downsides.

Basically neither Microsoft nor Apple have any pressure to make life better for users.
Linux Mint Debian Edition-5 Released – Built Atop Debian-11
Google probably said something like: "For now we ask you to not use our Logo and trademarks anymore and if you comply by shutting the project down, we are happy to leave it at that.

If however you decide to continue we will come after you for the numerous other issues this project has such as the fact that it is an unauthorized modification of our official youtube app, primarily used to deprive us and our partners of income.

It's your choice"

Google lined up their troops and fired a warning shot. Vanced recognized their unwinnable position and surrendered.
> without mentioning the fact that a Lambo can still go twice as fast

To be picky about this analogy, top speed in a car is an attribute that bears little on everyday utility. In fact, past the 110km/h here in Australia for instance, the only place you can enjoy the extra speed in on a track. %99.999+ of people won't be able to take advantage of anything for entire life of their vehicle.

On the contrary, instant acceleration is something every driver takes advantage of numerous times per day, when changing lanes, correcting for others mistakes, etc. Fuel cost savings and low maintenance saves every driver money. These are the attributes to pay attention to in a car in general, not the top speed.

Point is to pay attention to characteristics which are of utility towards the use case. Obviously, if you are getting a car to go as fast as you possible can on a track, you want a car with higher max speeds so there is that.
I thought about that perception before posting. However, I think when a public figure who people look to for “where things are going” consistently makes poor predictions, they should be called out for it. If not here in a thread about another prediction then where?
While I agree that a good architecture cannot be derived from (unit-)tests alone, tests do indeed help a lot with good design.

As soon as you need elaborate setup in order to test a single piece of functionality (or function), you will start to rethink your design. In such cases there's too much coupling, too many dependencies, or too many responsibilities within the function under test.

Seeing tests as separate from implementation and design is a much bigger issue IMHO. TDD only provides value as opposed to overhead, if you understand it as an integral part of the design and implementation process and use them with that in mind.
You know the saying "work expands to fill the time available for its completion"? There's a similar thing at play here with regards to resource usage.
I used to work at a company with two database fields, speed_kmph.

The documentation read "speed_kmph - This field contains the travelling speed in MILES PER HOUR - please do not be confused by the name".

Woo, great job guys.
Says who? Software encoding works just fine for current video call applications, and also most twitch streams, without using more CPU than that.

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?
It helps. Even more so if documented with the function signature so documentation (in your editor or ide) can communicate it.

But one better than documenting comments is no documenting comments. Selfdocumenting code is certainly not always feasible. But in this case it's both possible and easy.
some older references or even implementations:

https://www.youtube.com/watch?v=O3Pf4TZ_vOE

https://github.com/gioblu/PJON/tree/master/src/strategies/An...

http://mecrisp.sourceforge.net/ledcomm.htm

https://hackaday.com/2019/12/22/optical-communication-using-...
Also, Apple is making it virtually impossible to make changes to the OS now with the sealed system volume. We as the operator have no workable way of making changes there. You can do the whole bless thing but you have to boot into several modes several times. For every update. Otherwise it won't even boot.

I think this is a worrying development. Until now our computers were actually ours. Now they're controlled by the vendor, and looking over our shoulder.

I think using the user's own device to spy on them (whatever the reason!) is a big red line to cross. And puts this stricter control over the OS in a different perspective than just "security". I think either thing that plays into it is that Apple is now a content provider (Apple music and TV+). So they have another reason to keep us out to protect their DRM.

But anyway, good security should not have to imply trusting the vendor implicitly. Give us the ability to add our own signing key for files we want to modify, just like secure boot on Windows allows adding custom keys..
It is similar to the other person that did an 'rm -fr' in the software package, if the geolocation was Russia.
I thought this was in reference to the HNews post from WashingtonPost about the Eastern Antarctic being “70 degrees” warmer.

https://news.ycombinator.com/item?id=30733387
Fables on Systems
Skip the "Russian" bit, down rank _all_ sites associated with disinformation.
> Think the best we can do is just try to accept that feeling and do the best to achieve the financial needs necessary to keep going.

I think so too. Thanks :)
> VP8 encoding support is everywhere

At least for iOS/OSX it is only supported for WebRTC and nothing else.
It is amazing, how much engineering goes into these machines - everything is designed from scratch for this form factor. It is also nice to see that the SSD are not soldered in place, though it isn't trivial to exchange them. The cooling solution for the CPU also seems to be great.

However, it is pretty unforgivable that the cooling sucks in air from the bottom where it would pick up any dust on the table and might clog the electronics of the power supply. Especially as it is not possible to easily clean the internals of the machine. If just the aluminum housing of the machine could be easily removed, I would consider this machine a great design - but not so as it is.

I wonder whether one should carefully apply some filter gaze around the air intakes to reduce dust intake into the machine.
What part of installation is broken? It's literally a GUI that you can click "continue" on until you get to the pretty looking progress bar.
Have you tried Pipewire for screen sharing:

https://wiki.archlinux.org/title/PipeWire#WebRTC_screen_shar...
Technically it's not ToS to GPU, it's a license to the software: https://www.nvidia.com/en-us/drivers/geforce-license/ So using a completely open source or third party driver and no CUDA is fine.
“When it comes to science, I’m not interested in math! Show me the real world!”

What is more real, math or your eyes?

Another argument — Copernicus’s model didn’t fit the data as well as Ptolemy’s epicycles. But the math was so elegant that it led to a better model.
I'm playing lots of mmorpgs.
One day I created a char named candoom.
I got so many tells by people apparently specializing in creating pun names. I didn't know that kind of thing was such a popular sport.

It's just the guy's sense of humor, so what.

I'm on his side, even if I don't share his views.

If people get offended by rimthekid or cock.li they need to ask themselves who's the one having a problem. Maybe pull that stick out their butts and develop a sense of humor.

Microsoft is evil. That's why I pulled all my repos (over 100) from github. They have zero power over me.
They favor big corporations.

I had a dispute with the Go team over a font which lead to my account turning invisible. Lesson learned: Don't trust Microsoft with anything.

- ligma bawlz
Blackbird gets blocked by Defender immediately. Not sure why I'm surprised.

edit: Then again, that tool does seem to make it quite easy to damage your Windows installation.
That is why I think Microsoft should someday consider Open Source Windows, or at least the kernel. Leave the UI and Library on top closed source as a moat on user for compatibility.
No mention of the _disadvantages_ I see; specifically

- efficiency is related also to /flow/ temperature. Which is much lower than the gas boiler it might replace
- so you need big emitters (large radiators, Under-floor-heating)
- and good insulation

What might make 100% sense in a new build where you can design for these factors, but be awful in many existing homes.
The central idea of a ‘unit’ test is that its failure should implicate one, and only one, part of the codebase. So while isolating tests is a necessary part of this (stale state from other tests would cloud the reasons for failure), I’ve never heard this isolation proposed as the primary feature of a unit test.
>It's all about keeping "corporate culture" aka White, rich and able.

What world are you living? Colleges and "Corporate culture" these days are all about opposing "whiteness."
I mostly agree, though to me this highlights how much already a search engine decided what you can and cannot see. This is just a more controversial aspect of it.
> You don't get to do [...]

The response to every legal argument is "yes, you do" as long as you have enough money. Lo and behold, Microsoft is swimming in it.
What a silly statement. That's like saying a Mac is an overpriced machine for developers that are forced to use Xcode. Different strokes for different folks.
> notwithstanding their outrageous tax advantages colleges are demonstrably profit maximizing firms

Agreed. See the recent UCLA TA position opening. The unpaid position.

https://twitter.com/jmhorp/status/1505009710717669378
> Encoding space is almost infinite on Intel though.

Yes... if you willing to tolerate ever more complex and slow instruction decoding. This is a very bad tradeoff.
For academic purposes (in grad-school as part of my networks class), I have used T-Shark before to monitor packets.

(Shameless self-promotion) I had written a blog post about it back then. Here goes [1]

[1] https://arjkb.gitlab.io/post/2017-11-27-capture-packets-usin...
I grew up in a small village. I always like to think how my village would look when theories like these would be applied.

Would my village be a happier, better place if the one or two families who already own most land used it as an leaverage to extort as much resources as they could from the others? Quite definitly not.

The idea here is that the individual cannot trust the group to consider their needs. This is not a theory it is a collective lifestyle choice. There are countries and regions where the opposite (people looking out for each other depending on their needs) works out just fine.

In German we speak of something called the Gesellschaftsvertrag — the implicit contract each individual has with society. It can be extremely enlighting think about whether someone subscribes to this contract and if not, why. E.g. someone who has been convicted for years of prison for a minor drug charge while bankers who steal billions go free, might just stop to believe it pays off to honor the rules of the contract. Someone who thinks everybody else is just a fool to extract money from probably even thinks of society as something with implicit rules.

However every human society, even societies with slavery, genocide, etc had these implicit rules of what a wealthy person was expected to provide, what a poor person was expected to endure. Break the contract on a large enough scale and you get a violent change of power or a revolution.
In an average year flu kills about 500k people, in the same sense of how we say those die from Covid. And infects about 1B, will a reasonable percentage of those resulting in serious disease.

So you're experience isn't typical; the average person knows more people who suffered of flu.
Some whataboutism. It was forbidden to use blue (indigo) color in some European countries in 16-17th century.
I can recommend https://mynoise.net/ I gave them money like ages ago and I can still listen to all the soundscapes - really well done, you can adjust different channels of natural noise from professional recordings that the site owner did. There is also some free-listening noise on there.
Rust is expected to be more-commonly used, cause it better handles the large domain of C/C++ based code, as it is less error-prone, but still fast and energy-efficient, which. Linux kernel is starting to support Rust now.

Rust for instance has no overhead of garbage collection, while Erlang does garbage collection at the end of every function.
Any APK hoster which distributes bytecode (or any other software) without prior permission acts illegaly.

Redistribution of copyright protected material requires authorization of the right holder. Code (or programs compiled from code), usually fall under this rule.

(In the US) hoster privilege usually allows them to not be liable unless they know about a specific infraction. In some jurisdictions some platforms (such as youtube) are required to monitor uploads proactively for known copyright violations.
This sounds like the people you work with have boundary issues, this may warrant being addressed first.
No it doesn't force you, just like regular Win 10 Pro. But it does have the option and also the telemetry choice is now 'basic' or 'everything'.

LTSC is often hailed as the solution for privacy but when I last tried it it was just regular Win10 with a bit less bloatware (and the long term support of course). Didn't seem very different from Win10 on the privacy side at all.

One thing I forgot to check is if you can choose to delay updates to whenever you want. Obviously this is a big miss in Win10 and as LTSC is meant for mission critical systems I assume this is possible.

I don't recall which version it was exactly, but it was the latest I could get about a year ago when I tried. One of our colleagues in industrial automation got me a VM in their lab to try it out.
Firefox 100 is getting AV1 hardware decoding support on Windows
How do you distinguish “private citizens” spreading propaganda because they believe it, “useful idiots” parroting it without any thought and outright state troll farms?
Amazing. I love all posts like this.
Having a type system to figure this out for us would be great, but there are languages where this may not be possible. As far as I know, Typescript is one such example, isn't it?
High test coverage is the worst metric one can aim for. As soon as frameworks and external APIs are involved, it's basically impossible to achieve without bending over backwards and needlessly creating mocks for half your system.

My biggest pet peeve in this context are test coverage requirements for OO languages that feature properties or getters and setters. 100% test coverage would require writing "tests" for those, which basically amounts to testing whether the compiler works - madness!