skysight-inc/HackerNews huggingface dataset:
I know there’s a zillion libraries in this space by now (and so far I’ve found io-ts quite good), but I feel like there’s actually room for more, with some features currently missing from all of them. (So I’m working on one!)

The dynamic JS space uses things like JSON Schema because they provide documentation and enable runtime validation, in a similar way to libs like io-ts. But they also provide API/network boundary documentation, as well as enable automatically generating client libraries (regardless of the client’s stack).

There’s a good opportunity for a library with all of these value propositions:

- simple, declarative, composable definition interface

- runtime validation/decoding/encoding

- DRY static type generation

- DRY standards-based documentation generation

There are (to my knowledge) no tools available providing all of those in one package. But I’ve built one (it was built on top of io-ts), so I know it can be done. But it was proprietary, for an employer, so I can’t share it.

But! I learned a lot in the process, and I’m building a new one. Zero dependencies, fundamentally a different design/approach. But I’ll definitely be sharing it with HN when it’s ready.

Edit to add: another thing is that many of the tools that provide some subset of those goals (especially static types <-> JSON Schema tools) require is out of band code/file generation (eg supply JSON Schema file input, get .d.ts file output, or vice versa). IMO this is additional DX friction and more error prone than the runtime/compile time parity of the common TS libraries. So another goal for my project is that the default approach is to define one interface and have APIs available to access all the other representations in the same flow, with file generation a secondary concern if there’s a need/desire.
But, the question is formulated like a normal programming task: it's not "implement this algorithm" it's "come up with a program that removes numbers that meet this specification".
I think I can count on my fingers the number of instances of this that I've seen in my many years of using an ad blocker, and I don't even remember the last time it happened. To claim that some tiny percentage of websites doing this makes ad blockers "useless" is completely ridiculous.
They're probably accurate to within less than 10%. How many kilometers would you have to drive to save a dollar from slightly bigger tyres?
FWIW, Kind actually uses CRI-O (same underlying backend as Podman) for the inner containers.
You might want to try https://en.wikipedia.org/wiki/Privoxy, a "privacy enhancing proxy" which works by reducing the stuff a browser sends before passing it on.

Edit: removed typo.
Sure, if we're setting aside reality, and pretending that the only possible way to fund this is with a nation-wide, flat, non-progressive federal income tax increase for the full amount, I'd still be fine with it. Not sure what that adds to the discussion, since that's not even remotely how something like this would actually be paid for.
In an ideal world we would have settled on an authentication protocol which everyone could support. Something like "oidc://idp-url" which the OS could have a built-in handler for.
Tech giants do have some broken hiring practices, but I think even they will notice a difference if a job applicant believes in their own value and in their own abilities. Nobody wants to hire someone who doesn't. It's an unattractive quality, and it suggests they won't succeed as an employee.

And interviewing at a very selective company doesn't need to negate your belief in your own value. If you could be the top applicant at some other company but you interview at a company that might not even hire you, then applying there should be a choice that you're making because the trade-off is somehow beneficial to you. Your value within the overall job market remains, and you can always walk away.
Operative word “careful”
This is called the banner blindness effect: https://en.wikipedia.org/wiki/Banner_blindness
Certainly happening in Canada too, even though COVID has basically been treated by the government and opposition parties as a non-partisan issue, federally and in every province, as far as I'm aware.
Actually Diesel engines are the most efficient ICE in mass production, modern engines respecting the latest emission standards (ex: EURO 6) are some of the least dirty vehicles on the road. If you compare fuel efficiency per ton per kilometer and what is the pollution caused, they become quite clean. Yes, older Diesel trucks are dirty and also the ones with improper maintenance, but hitting at all trucks because of some is not fair.
I’ve forbidden Instagram on my daughter’s phone. It condenses everything that is terrible about modern society: the incessant pursuit of (largely fake) outward success and related promotion of idiotic and unhealthy role models. I don’t know how long this will last (she’s 11) and there is only so much one can do (does she use filters to make tons of pics trying to look “cute”? Sadly, yes), but I’ll do what I can.

Obviously she’s also had all the spiel, both from parents and teachers) about not trusting anyone online who they’ve not met beforehand, about not sharing pics of private parts for any reason, and I’ve started pointing out that “the internet does not forget”, and that innocent-looking material passed to trusted parties might well be used against her later on.

In a way, it’s horrible: as a kid I was free to do anything I wanted, worst that could happen was prank-pwnage on the worst IRC channels; and I met a few interesting characters I may have not encountered otherwise. It’s the digital equivalence of letting 6-year-olds roam free outside, something that was natural 40 years ago and sadly could be very dangerous today. “This is why we cannot have nice things.”
Or even `asserts value is A` if error handling is more your cup of tea/more idiomatic in your project.
Homework was already the signal - you can't expect better treatment from the places that start with it.

Note: i'm not arguing about efficiency of homework - it is probably higher than that of short puzzles, yet there is such an asymmetry in it, that any minimally respectful place wouldn't do it despite the supposed higher efficiency.
It also needs to be removed for bicycles and pedestrians, who don't pay special taxes for that.
Factually wrong. All developers could turn off their phone/pagers and then there's no on call anymore!

The worst that can happen is that the company is down a few hours overnight. Issues can be investigated and fixed during office hours.

I'd wager that most companies don't have global customers and don't need 24/7 coverage.
> My girlfriend got a business job at Visa last year and later found that 5000 applied for her role. She stood out because she read the job description and highlighted relevant experience. Yeah, that's the bar.

I know about different bar - not in customer service business, in software engineering. You're given a task to write a parser in 15 minutes - literally, you solve it, it mostly works - for some simple inputs at least, you don't have time to test it thoroughly. You don't pass - the bar is different.

Your experience tells that the startup is too early to think about scalability problems. They can keep things simple for a solid another iteration of the product. You explain that to them, they listen, but they are doubtful - they've heard that scaling is crucial, and even though they have like a hundred of customers, they want that - so your advice is considered wrong. You don't pass that bar.

They tell you they need somebody senior to coach and mentor a bunch of more junior engineers, somebody who'd steer the whole technical stack. In remaining minutes of the engineering interview they ask you to write Rabin-Karp implementation, or AVL balancing. You don't pass the bar if algorithms don't work first time.
> Hurd

> the future

> Cell BE

Are you a time traveler from 2000?
When I finished undergrad I started teaching middle school, and after two years of teaching I finally had a summer off with zero obligations. I had read A Walk Across America, about a guy who walked across the US. It sounded fascinating but it took him several years. So I settled on biking, because you can get all the way across the US on a bike in a summer. I did that a couple times, and then spent a year living on a bike. I rode from Seattle to Maine (through northeastern Canada), down to Florida, over to California, and ended in Alaska.

That led me to move to Alaska a few years later, which led to mountain rescue work. Teaching led to writing. Living in a coastal fishing town led to boating. Each adventure leads to the next. :)

I wouldn't want to live forever, but I'd happily live a thousand years and spend ten years on a hundred different things.
Taxing milage directly seems to have worse distribution properties than taxing gas. Here is what I mean:

Suppose I am driving from New York to Alaska; I fill up my car with gas then drive into Ontario. I have now paid New York a gas tax but I'm driving on Ontario roads; Ontario gets paid nothing for this wear and tear.. until I run out of gas inside Ontario. Then Ontario gets their cut. This continues all the way until I reach Alaska. The money isn't distributed perfectly, but it is distributed.

Now imagine I am instead taxed by the mile. If the car is registered in New York, does New York get all the milage tax? Do they give any of that to Ontario when I tell them I was in Ontario? Probably not, and it would require a lot of book keeping for me to keep track of all the places I've been. Does Ontario instead check my milage at the borders and charge me an exit fee? That seems impractical and potentially problematic. Is some sort of vehicle tracking system used to fairly distribute the money wherever I drove? Such mass surveillance is obviously problematic.

I don't know what the answer is, except for imposing a tax anywhere I purchase gas (or electricity.) That's the least bad solution I can think of.
The non-existence of a bad service allows a better service to come into existence. All too often a market is dominated by some company that got lucky and now has no incentive to improve.
Gas and diesel cars don't pay for the damage they cause to the climate, or for the local air pollution. How is that fair?
Can't find a better source :(
That study was done in Denmark, where national guidelines on social distancing appear to be more uniformly applied & followed than in the US. It may be the case that, properly social distanced, masks add little to protection. However, given lax or non-existing distancing measures in some places in the US masks could make a larger difference. Anecdotally it appears that states with less social distancing & mask usage, on average, are experiencing worse spikes at the moment. Of course the question is whether it's lack of masks and/or distancing that's the cause. Unfortunately, lack of social distancing & lack of mask wearing appear to be closely correlated in the US so it is difficult to disentangle.

What we do know for sure is that masks can prevent a certain amount of exhalation droplets, and there are plenty of other studies that point to their efficacy [0]. Given reasonable evidence in one direction, less evidence in the other, but perhaps still a lack of consensus, it seems like taking a very simple step that could save lives is still the prudent & responsible step to take.

[0] https://www.medrxiv.org/content/10.1101/2020.05.22.20109231v...

Other decisions on things like which businesses are able to stay open, which closed etc., do seem arbitrary at points. However, if lines have to be drawn somewhere, edge cases close to those lines may always seem inequitable. Personally my main criticism is that we don't have stronger guidelines that deal with more detailed scenarios at the Fed level, that states left to their own devices are often no more consistent, and municipalities are often left to try & figure it out themselves.
I have a feeling that quantum computing will require this change. Right now it's just proprietary tools to write and load software, but it will likely one day become a full OS, with a different paradigm than today.
You have to distinguish between the incentives for the company and individuals.

For example, it makes little sense for a company to use a different web framework every year. It makes sense for individual developers to accumulate a large list for their resume.

Likewise, it makes not sense for a company to optimize for a large headcount. It does make sense for an individual manager because leading 100 people looks better than 20 on his resume.
I don't miss the office mainly for the following reasons:

- Too many distractions, between the noise, other
conversations and shoulder taps

- Waste time commuting.

- No place to close your eyes without being "looked at funny".

- Can't really go home and eat with my family, no time.

- Eating is a struggle, since all the options to eat around
my office are expensive and not too healthy.

- I can't listen to my music without headphones.

- mindless hallway chit chats (they're not for me).

So I guess I'm not an office person in general.
I've lived both in France and Australia.

Australians love 4 wheels drive and bigger cars. In some cases it's justified for obvious reasons: rough environments with less infrastructure (bush, outback..). In other cases it is for softer reasons: a big camping culture, having a big car being a social status, towing your boat/jet ski etc.

Also a few other points to consider:

_ Australia enjoyed economic growth for a long time and Australians are rich.

_ Fuel is cheap. According to www.globalpetrolprices.com right now a liter of gasoline is 0.74 euros compared to 1.33 for France

_ The road infrastructure is more favourable for big cars than in Europe (big/plenty parking spots in most towns in Australia).
If the taxes are going in a road maintenance fund, yes. In many countries road taxes are just taxes, in my country they are used to fund the general budget and over 50% of the budget is going to various forms of benefits.
I owe my career in animation to Flash - without it the barrier to entry would have been way too steep. I messed around with a super 8 camera in my teens but the expense of developing film and the lack of any mentor or class in animation in the semester I spent at art school meant I never produced anything.
Fastforward ten years and I made a radio sketch into an animation called the Pygmy Shrew, attached it to an email as an exe file, and it went crazy. I was suddenly aware of the possibilities of web animation. It led on indirectly to me meeting Roger Moore to record his voice in Monte Carlo, to do an animation of him. Come to think of it, that was the high point of my animation career actually, when it was still a hobby...
The numbers are arbitrary. My primary point is that many important skills cannot be learned without the requisite experience. Individual experiences, talents and interests vary. Perhaps adjust my crude analogy to note that your very good manager at 28 would probably agree that she wasn't very good at it when she first left school or for the first few years of her career, and that her skill at working with other people was learned primarily from working with other people, not self-study, instruction, or other process that allowed for much compression of the time it takes. Those who excel early usually have done so because they started earlier and sought more opportunities for the necessary experience. I suspect if you broke it down to hours, you'd find a similar number, just applied at a rate of 20 hours a week instead of 10.
Since this thing started, I re-read various publications about the black death. And the social reactions are so strikingly similar.
Superior documentation and AUR. You can find almost anything in AUR, including all the proprietary crap, and install it all with one command. It's also very easy to write a PKGBUILD and upload it to AUR if you don't find what you need, because the package format is so much simpler.

Here are two specific examples which other distros might struggle with:

repackaging a tarball to a proper system package which is tracked by the package manager

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=dotne...

building a proper system package from the source (with one command! no `configure; make; make install` lunacy):

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=sway-...
DPX Digital Network
Isn't that answered in your quote: "I’ve heard people complain about the prospect of being on-call, so I’ll just ask this: if you’re not on-call for your code, who is?"

To me this implies an on-call rotation where you know your expectations. Not "we need to be on call continuously, 24/7, meaning we can't ever be off the grid or unavailable". Many other industries have the idea of being on-call, and they are "expected to give up our personal lives at a moment's notice" when they know they are on-call. (For example, my brother in law is a surgery tech; he's had to take off during family outings more than once)

Also, if this happens often enough that it's a serious problem, this says a lot about the quality of the code you own.
I guess emojis in non-informal literature are now here to stay?
Just turned 40, and this year I have picked up Japanese sword martial art called Shinkendo, through a local dojo a few miles away. I have no previous martial arts experience.

I have also started learning Unity and I am making my first 2D game. No previous game development experience.

Having a lot of fun learning both.
Fuschia is open source. Do you mean open in GPL? (God that sentence doesn't parse at all)
The article also didn't mention whether you are notified via email, SMS, or Slack; that seems like detail handled by the business.
Yes. Check the Yamal Peninsula in Google Maps and you realize this kind of cratering is a process that has been going on for thousands of years (since the ice age really!).
Why Aren't Covid-19 Contact Tracing Apps Working?
Even if you know how to say no, there are probably a few people up the chain who are paid to say yes.
The screen is connected to the FPGA over VGA. The output resolution is 1024x768 @ 60Hz, but the 3D portion of the screen is rendered at 256x128 @ 30Hz. The design consists of a custom 16-bit CPU (running at 32.6Mhz) and a custom raytracing "GPU" that can handle up to 4 rays in parallel.

Input happens via a N64 controller! Those are actually fairly easy to work with at a low level.

The code is not public, though I'm considering open sourcing the project when it's done.
Moreover, there's a lot of additional details that I could potentially go into, so I'm considering also writing a few blogs posts with more info if people are interested!
Yeah, I think you have to read through the manual, or contact support to confirm or find a review that specifically addressed it; unfortunately.
On "buy vs build": it's patronizing to no end, and misses the point that sometimes down the line, someone needs to actually build the thing.

I'm reading a lot of "the ecosystem is so big that what you need already exists somewhere", and it's so consumerist that it grates on my inner maker's mindset to the point my teeth resonate and hurt.

And no, I find that a lot of times what I need doesn't exist.
These are some of the most fascinating books I've ever read. I really think anyone who lives in the new world should read them. Our default understanding of the land in which we live is so far off from the reality of its history.

These were some of the notes I took from when I read 1491:

The populations of Native North Americans that European colonists interacted with were the survivors of a continent-wide holocaust that wiped out 90-95% of their population. Smallpox spread through the interior of the content faster than Europeans explored it, leaving empty civilizations in its wake. One of the reasons there wasn’t a permanent European settlement on the eastern seaboard until over 100 years after Columbus is that until that point, the coast was too crowded with people already living there. The colonists set up in the ruins of towns that were entirely wiped out by disease. Squanto (Tisquantum) the Indian who school children will be hearing about a lot in the next week, attached himself to the Plymoth colony only after escaping from captivity in Europe and returning to his home to find everyone dead. The same plague swept through Meso- and South America, but the Spanish explored faster, so we know more about the civilizations that lived there.

Native North Americans are described as hunter gatherers, because that’s what people revert to after civilization collapses. When their cultures were intact, the land of entire eastern US was intensely managed by them through a combination of direct agriculture, regular burning to clear underbrush and encourage game species normally found in the plains to spread into the woodland, and selective planting.

At least 10% of the Amazon Rainforest was planted by the people who lived there. Rather than clearing land for agriculture, they created forest gardens, and this arboreal agriculture supported large complex civilizations that we know almost nothing about.

There are giant causeways made of earth and full of shards of pottery spreading through miles of flood plain in the Beni in Bolivia. They were only discovered in the 1960s. There was evidently a large civilization living there that we know nothing about. That’s the level of discovery that’s still possible in this subject: advanced civilizations that are new to science.

Ultimately, the thing that affected me the most that I will remember forever is the idea of “earth as garden.” Mankind has changed irrevocably every land it has settled. Even in the Americas, traditionally thought of as a nearly untouched wilderness until Europeans arrived, was intensely modified and cultivated by the people who lived there. Much of what today we think of as wilderness was in its time planted deliberately by people. The ethics of environmentalism constantly stumble over defining what “natural” is. I propose that there is no such thing. The whole earth is a garden. It’s enough to try to keep it that way.
how is that sabotage? it’s just not exempting them from a road tax
I would reword "Vote with you feet" to be "It's OK to change jobs", so as to give it a broader meaning.

There is no obligation for you to stay in a job you don't like, or to pursue a different opportunity. You don't have to explain your reasons for leaving. Your employer and your team will probably be fine without you, and if they are not it is not your problem. To often I've stayed in a job I didn't like because "I'd be letting my team down" or "we're too busy, now is not a good time." Screw that. If you are not liking it, find something else and leave.

I'd also add one more: "Take your vacation". You are no good to anybody (you, your friends, your family, or your employer) if you work self to burn out. It's not worth it, and the world won't end while you are away.
I suppose just larger cars coming from larger roads and smaller fuel tax ?
How do you distribute the money to places where people drive but don't live? Gas tax handles this to an extent, but milage tax wouldn't; not without border checkpoints or mass surveillance.
But bicycles don’t cause air pollution nor do they damage the roads. So you got me puzzled why they should be taxes. Pedestrians are taxed too much anyway
> zero ability to measure how effective I am on the job

I'm assuming you were hired to write code, so I suspect your ability to write code in an interview is at least somewhat relevant.
> Well done on his part for taking a stand and asserting his organization’s beliefs.

They were not the "organization's beliefs", they were his. As David Frum observed: There are no institutions, only people.

As we've seen over the last little while, once well-respected organizations stayed silent in light of bad behaviour, and/or various institutions have been packed with ill-willed individuals which then did inappropriate things.