skysight-inc/HackerNews huggingface dataset:
Do you think total tax burden is materially higher in Canada than the United States? For high earners, I doubt it.

And this:

high taxes stifle innovation

I laugh when I read comments like that. If that is true, why are the most innovative countries also the richest and have high tax burdens? The top half of OECD (GDP per capita) all have high tax burden. It's hard to have a highly developed economy with a gov't that provides a good social safety net on less than 30% of GDP collected as taxes. Ref: https://www.oecd.org/coronavirus/en/data-insights/tax-to-gdp...

I would chalk it up to size of internal market -- only ~30 million -- more than anything else. Canada has produced loads (loads!) of brilliant computer scientists over the years. Sadly, they all seem to move to the US and get rich.
They answer that question directly here

https://support.lastpass.com/help/what-have-we-done-to-ensur...

TLDR;not much
Lazy just like us. Thesaurus in Romanian is "dicționar de sinonime". I won't bother translating it back to English, you can figure it out :-D
You can also blame physics, and time
I agree with all you have written except for one thing. Look around, if you randomly sample comments in this thread, how many are mentioning these "obvious ethical issues"?

Looks like they are not obvious at all.
TIL. Thanks, I wasn't aware of that.
> TDD encourages the use of mocks and unit testing to increase code coverage.

No, it encourages reasonable decoupling, i.e. good design.

If you see yourself introducing mocks (I think you mean stubs, mocks are something more specific) everywhere, you are feeling the pressure, but avoiding the good design.

https://blog.metaobject.com/2014/05/why-i-don-mock.html

> Most unit tests are written to ease the development.

Yes, unit tests help significantly in development.

> After finishing the development, they are safe to delete.

Noooooooooooooooooooooooooooooooooooooooooooooooo!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

They are your guardrails against regressions.

> If you follow TDD, most unit tests are re-written all the time.

Nope.
This happens because software engineering doesn’t yet know the difference between principles and morals.
Indeed, they lack incremental linking and hot code reload like Visual Studio, unless one is willing to buy something like Live++.
Yes. This works even better if you use a coupon code.
New SBF indictment docs just dropped
Full Indictment: https://d1e00ek4ebabms.cloudfront.net/production/uploaded-fi...
And the industry is sick of it...? At least some vocal minority
Genepi production is pretty limited itself because of the heavy restrictions on the plant harvest, espacially since it grows mainly in the Alps. And the Mercantour rangers are not tolerant of people picking more than their share.

Source, I live there.
If you look at Julia open source projects you'll see that the projects tend to have a lot more contributors than the Python counterparts, even over smaller time periods. A package for defining statistical distributions has had 202 contributors (https://github.com/JuliaStats/Distributions.jl), etc. Julia Base even has had over 1,300 contributors (https://github.com/JuliaLang/julia) which is quite a lot for a core language, and that's mostly because the majority of the core is in Julia itself.

This is one of the things that was noted quite a bit at this SIAM CSE conference, that Julia development tends to have a lot more code reuse than other ecosystems like Python. For example, the various machine learning libraries like Flux.jl and Lux.jl share a lot of layer intrinsics in NNlib.jl (https://github.com/FluxML/NNlib.jl), the same GPU libraries (https://github.com/JuliaGPU/CUDA.jl), the same automatic differentiation library (https://github.com/FluxML/Zygote.jl), and of course the same JIT compiler (Julia itself). These two libraries are far enough apart that people say "Flux is to PyTorch as Lux is to JAX/flax", but while in the Python world those share almost 0 code or implementation, in the Julia world they share >90% of the core internals but have different higher levels APIs.

If one hasn't participated in this space it's a bit hard to fathom how much code reuse goes on and how that is influenced by the design of multiple dispatch. This is one of the reasons there is so much cohesion in the community since it doesn't matter if one person is an ecologist and the other is a financial engineer, you may both be contributing to the same library like Distances.jl just adding a distance function which is then used in thousands of places. With the Python ecosystem you tend to have a lot more "megapackages", PyTorch, SciPy, etc. where the barrier to entry is generally a lot higher (and sometimes requires handling the build systems, fun times). But in the Julia ecosystem you have a lot of core development happening in "small" but central libraries, like Distances.jl or Distributions.jl, which are simple enough for an undergrad to get productive in a week but is then used everywhere (Distributions.jl for example is used in every statistics package, and definitions of prior distributions for Turing.jl's probabilistic programming language, etc.). I had never seen anything like that before in the R or Python space, by comparison Python almost feels like it's all solo projects.
Given that Iran is the world's 8th largest CO2 emitter, how many nuclear plants should they be allowed to build to counteract that?
I'm quite amazed by the concentration of ugly opinions the author managed to squeeze into one relatively short sentence! I thought cocktails were meant to be fun, that they were meant to be riffed on and explored. I guess if you're from a "third rate" city that doesn't apply.
In Germany? “Some people in the crowd started to mask their faces“ is THE excuse for authorities to stop protests. You cannot seriously argue this doesn’t happen at e.g. 1st of May protests.
- overlays (basically you can separate configuration into separate units)

- templating support

- configuration in yaml files

- it still fully supports live-build support, so it should be super easy to migrate. You just put the live build files in os/lb or in the lb folder of an overlay.
C# is headed in that direction too.
I agree. The pretentious gatekeeping put me off the article.
Do the simplest thing that can possibly work (2004)
> Did you read the article? MSVC compiles twice as fast as clang and has double the perf in debug builds.

To me that means absolutely nothing, as visual studio and msbuild fails to support basic features like compiler launchers, which enable using compiler cache tools like ccache or sscache.

While you're benchmarking compilers, I plug ccache and build projects with dozen of subpackages in under a minute with build servers maxing out on IO.
The choices of architecture seem to reflect different priorities, there are things that the Wayland architecture does better than X and vice versa, aren't there? Hard to say X11 is ahead architecturally if you pick features that Wayland may not consider important. I've seen commentary from people who have worked intimately on both protocols and implementations of both who consider Wayland to have the better architecture.
Leave KDE alone!

Seriously, it's the last DE that seems to be doing something else but to make everything ever flatter and more whitespacier. I like the slight retro touch to Breeze, makes everthing more visible.
Here is one brand of génépi.https://distilleriedesalpes.com

A good way to stay focus on my software. Joking
Enjoy 3rd place then.

No they cannot, clangd isn't compiler agnostic, and Clion's dependency on it is now being hindered by clang's slow pace, even if the goal is to target another compiler.
Yes, sorry about that. I need to work a bit more on the nix compatibility. Please file an issue on this.
It might have been a bit of a hyperbole.
Sound type system is not one of the design goals of TypeScript

https://effectivetypescript.com/2021/05/06/unsoundness/
I kind of agree with the title, but for very different reasons. I think the python world as bifurcated into two camps, those programs that always start with something like

import numpy
import pandas
...

and those that don't. Everything the follows from there might as well be two different languages. I write some 'python' code that starts with "import django" and some code that starts with "import numpy", and they're completely different in both structure and semantics. Being familiar in one style won't really help you much in understanding the other style.
The problem is that this ends with everybody calling their product magic and the word losing its original meaning; soon after it will have a meaning closer to "disappointing" or "lame".
Performance assessment and economic analysis of a human Liver-Chip
Hungary Nixing Income Tax for New Moms to Boost Birth Rates
Four years ago Bep was rewriting the docs because they were incomprehensible (https://yawpitchroll.com/posts/hugo-probably-is-not-for-you/... last week I started looking again, and I wouldn’t say anything has improved, nor do I expect it to in 4 more.
Well, it does sometimes feel that way, a fight club.
Syntax being ugly isn't the problem for migration, rather 40 years of history deploying code into production.
This is known as "Tivoisation" (after a dead set top box company), and is the driving motivation behind GPLv3 and some other licenses adding terms to cover this.
I got to see Cherenkov radiation once on a high school class trip with only water between me and the blue glow!

Being a teenager I asked “what would happen if I jumped into the reactor?”

The researcher (this was a medical and research reactor) laughs and says “well, if you just jump into the water and splashed around we’d have hell to pay with filling out an incident report to <something important sounding, I forget>, but physically you’d be fine since the water shields you from the radiation. If you did a swan dive down toward the glow your skin would all melt off before you got to the reactor” maybe he was just saying this for effect but it’s always stuck in my head that water is a really, really good insulator against radiation.
“The map that changed the world”

Also brilliant - story of of how the first geology map was created by finding differently evolved fossils.
If you use a subtitle (or similar) as a watermark, it can be easily removed. So why should you watermark at all?
So the answer is probably no.
It’s also used in Bristol. “Cheers Drive” is a good-bye to a bus driver.
No, the coup didn’t work. They went the semi-legit route and used the system.
The Myth of the Valuable Generalist
> The world is on fire, both figuratively and literally.

It isn't though.
Actually he found the phone number and more info by using the browser devtools, the phone number wasn't rendered on the webpage.

But yeah, lots of text written in a way that's just a little too obnoxious for me.
I don't believe that's possible with any tool since you're changing the actual video content?
Fascinating, thanks for sharing.

They honestly need to try tweaking the recipe too if they want to move upmarket again. To me the amount of sugar in Campari seems high compared to other aperitivo and amaro.
> clang doesn't come with a state of the art IDE,

What are you talking about? I use Clion just fine regardless of compiler.

> GUI frameworks, hot code reloading, among lots of other goodies.

Do you understand that those features have absolutely zero to do with compilers?
But please know the rules to harvest this plants!

In many place it's totally forbidden, in other places there are specific rules. Too many people are just badly plucking the plants without concerns just to brag than they have made their own liquor.

I you do not know your local rules, then just go buy a bottle.
The reason I didn’t use refracta is because I wanted a reproducible approach.
I think the sentiment is that order and organisation is helpful in achieving goals and cultivating a good working environment as opposed to a big mess. Analogies, just like abstractions, are leaky.
>The cholera example, for me, shows the opposite of what the author is trying to put forward. The second paper conveys the information much more clearly, and in under half the space.

Couldn't agree more with your comment. there's a reason why we do not use flowery language in scientific publications anymore. Science has come a long way since that time. Papers are not intended to be read by laymen, the targeted audience is the "specialists" working on that field and familiar with the jargons and acronyms.

If someone wants their scientific work to be accessible by a broader audience, write a blog post or popular science article.
OK this is it - and it is as awful as I imagined it to be. It is generating testimonials even.
I personally know of a company that is currently in a "well Google did it" hiring freeze.

Having said that, the layoffs are not happening in a vacuum, there's been significant economic issues over the past year and cash isn't basically free anymore. Some companies may have made moonshot efforts hoping to be at the front of <now essential industry> with the pandemic but things largely went back to normal.

But it's likely not just one factor. I'd believe that:

1. Some companies are bloated and can (maybe should) downsize, or over-invested in projects that didn't pan out.

2. Some companies care more about costs now than they did a year ago (for reasons good or bad)

3. Some companies are more willing to conduct large layoffs since other large ones are doing it and it looks better

4. Some companies are facing pressure from investors to cut costs and do layoffs because "other bigs ones did it"

All can be true for some sets of companies - there isn't going to be "just one reason" why all a company decides to do layoffs.
Sounds like clean code used to mean things that were measurable.
Fertility Rate Roundup
The only change done by AMD to the addressing modes was that from two possible encodings accepted by 386 for absolute addressing, the shortest one is redefined to mean PC- (a.k.a. IP-) relative addressing.

The only weird part is that AMD has decided for some very stupid reason to not decode 2 of the 3 bits provided for register numbers in the REX instruction prefix.

Perhaps this AMD decision allowed them to obtain an extra 0.1 GHz in the clock frequency of the 2003 model of Opteron, but it has complicated forever the optimal register allocation on the Intel/AMD CPUs.

While on a 386, with respect to memory addressing (when segmentation is not used) there are only 3 kinds of general-purpose registers (SP, BP and all others), due to this AMD mistake in 64-bit mode there are 5 kinds of general-purpose registers (SP, BP, R12, R13 and all others), where each of the 5 kinds of registers has a slightly different behavior, e.g. resulting in different program sizes, depending on how the registers are allocated.
https://www.thehindu.com/news/national/why-do-lic-sbi-contin...

For example
And what does all that filter_complex do?
Problem is, in large companies, managers are so focused on short-term outlook they don't really consider or care about long-term implications.
> Sorry, that contains a healthy dose of "trust me, all managers are complete idiots who would rather spend a million on hiring new people than spend 10k on retaining their employees".

Empirically this view is valid.

The managers themselves don't even need to be stupid. A bad incentive structure (or even interaction of locally-reasonable ones) might reward bad behavior.
https://m.youtube.com/watch?v=p_8yK2kmxoo
That would be even older Firefox til version 53 to browse ALL file, media, document formats (as well not free - so it's gone) using plugins of your choice..
Pharmaceutical blockbusters: the past, present, and future
Questions for the firecracker users out there:

what version of the kernel do you use (the github page says 5.10 but isn't that quite old?)

what (extremely minimal, I imagine?) kernel configuration

What do you use to build the 'micro' images (I'm guessing many won't even have a classic pid-1 such as systemd, but put their software as pid-1?).

How do you keep timesync of you're not using a timesync daemon? Can you make one of these daemons work on af_vsock (I know firecracker gives a virtio-backed Ethernet device but what if you only want af_vsocks?).

Handle kernel and app logs without adding an log daemon, and same through vsocks, etc?
This note serves mostly to stand vigil against project requirements for 100% coverage, which I've seen a few clueless leads or managers attempt to implement for teams.

100% code coverage as a requirement is usually a waste of time and resources. Test code, especially units, at their edges. This frees you to change implementation details while preserving functionality. In two decades of experience, the best codebases I've worked on have around 50-80% coverage in unit tests. 100% is a false sense of security as bugs still present themselves to users. I've also seen devs burn days of effort chasing code coverage metrics, days of nearly zero-value add to the quality of the project.

I completely agree that "good test coverage" is critical; I've just not seen that it extends to 100%. Pre-commit hooks for linting and formatting and automatic test runs are all best practices. Dog fooding does some amazing things in terms of usability.
You have completely misunderstood the proposed scheme: The permits allow local residents to drive through the actual restriction points themselves a limited number of times a year.

They are not permits to allow people to leave their “designated 15 minute zone” or whatever else the conspiracy theorists have cooked up this time.

A resident of Oxford who owns a car can drive anywhere in the country (including around the ring road to a destination in another part of Oxford) 365 days a year. No permit is or will be required beyond those that everyone has to have if they wish to drive a motorised vehicle in the UK.
One way to put it is in that single developer code will have more variance, when compared to code developed by a group. This variance has a range of effects, and will sometimes be positive, sometimes negative. Certain idiosyncracies are unlikely to survive work in a group, which can be good for the group. But in the case of a single talented unicorn who is inclined to write well-architected code, a group will inhibit that, as each individual pulls in different directions.
Or maybe it is to disambiguate "vert chaud" (hot green) and "verre chaud" (hot glass) that are pronounced the same way. =)
Truetype fonts are more like polygonal vector graphics, less like lines/thicknesses. You generally combine two or more characters into a single glyph via a ligature.

But it doesn't end there. Fonts have a crazy number of different lookup tables that can affect how glyphs are drawn. While not Turing complete they're certainly very close.

In Arabic, how the baseline blends affecting the base shape of the glyph, plus lots of kerning rules, etc. would make Arabic very difficult to replicate on a segmented display.
Its a charge to keep the internet tubes free from rodents, rust, and debris. I think they use WD-40.
Because that's unbelievably less convenient.
Please, no!

We'd need way more dangs than are available.
Here is the result:
https://llm.ianbicking.org/citymaker/?name=builtin_talamora
I think we can't avoid all difficulty, and the difficulty then becomes determining exactly which bits we do need.

But it is a nice counter to some people's decisions to go for overly complex or risky (unproven?) technologies or designs.
I don't underestimate the human brain - however, I know as a fact, through ample empirical evidence, that implicit or dynamic typing makes my head hurt and has me scrambling through multiple code panes trying to understand the input or return types for code that I wrote five days ago.

I also know as a fact that programmers 100x my caliber have nevertheless written great large-scale software without types.

So I don't make generalizations on the human condition and just do what works for me!
I guess it would be making the United States more like the EU, where the states would either have vetoes or use Qualified Majority Voting.

Wouldn't make any difference since the spying is part of a large defence establishment which is extremely popular.
That's not even remotely the same. That's like saying you "lose" your driving licence if you move to a foreign country(because it stops being valid). Those users still own the books they bought, they can only access them in regions where they bought them because that's the limit of the digital licence on the product - nothing has been removed from their library, it just became inaccessible temporarily(while they reside elsewhere).
It's a Bing joke.
I agree. I prototyped integrating AWS Lambda into our CI pipeline last year, and was very impressed. Unfortunately, I hit a wall when it came to limiting concurrent executing lambdas (which isn't firecracker's fault),but it was very promising up to then. I'm also curious about using fly.io's machines API [0] for the same thing.

[0] https://fly.io/docs/machines/
The argument was they saw positive returns for hiring additional people. Revenue grew as they added people. Did they go too far? Maybe. But being timid would have prevented them from growing as much as they did.
oh, it's for mac only
Kata containers https://katacontainers.io/
Isn't that going to cost them in the long run when those employees get hired somewhere else?
And someone who, in response to a decision made by the monks for ecological reasons, chose to take his car and drive dozens of unnecessary miles just to grab all the bottles he could find and keep them to himself. Sounds to me like he should indeed recognize a knuckle head when he sees one.
Well if you have the order reference in your amazon purchase history, but the book isn't physically visible in your kindle library, then contact Amazon support and ask them to sort it out - that sounds like a bug not a deliberate action.
How to Throw a Company Offsite in a Post-Covid World
Companies have every incentive to look good in the eyes of their shareholders, and not cutting costs when everybody else is doing it doesn't look good. And most managers would say that firing 10% of their staff (supposedly the worst performers) would not affect the productivity of the company much. What they fail to consider is the "middle finger" mentioned at the end of the article - even the most naive employee is now aware that the phrases of "employees are our most important asset" are just so much BS, and will act accordingly.
Yes, as a driver and cyclist agree this is a bad idea.
How about a Unicode punctuation mark that's like a quotation but specifically an AI quote. It's added to anything you copy and paste unless you manually delete it.

"like this, now you known there's something funny about this text, or that it's a meme"

EDIT: was gonna use paperclips outside the quotes but apparently HN does not allow that.
Good feature addition.

How different will this be from Jasper chrome extension?
https://www.jasper.ai/chrome-extension
Fancy a job at Google after acing a coding comp? Too bad
This seems more like an argument against the object oriented model of C++ than anything else. Would have been more interesting if the performance was compared to languages like Rust.
Well that's what happens when you disturb the natural order of things by mixing hot chocolate and Chartreuse ;)