skysight-inc/HackerNews huggingface dataset:
I made a very similar library but based on `json-schema`: https://github.com/franciscop/json-ok

import ok from 'json-ok';

ok(24, { type: "number" });
// No issue

ok(24, { type: "string" });
// throws ValidationError: is not of a type(s) string

I wanted to use `ok-json` as a tongue-in-cheek name, but apparently since there is already a library called `okjson` npm didn't allow me to use it.
Reminds me of this article on the complexities at different levels of abstraction (sorta). http://johnsalvatier.org/blog/2017/reality-has-a-surprising-...
In many regions, especially suburban or rural regions, _a_ car is a necessity, yes. That doesn't mean it has to be an expensive car though.

Many Americans make awful decisions around their cars. We had this thread five months ago:

Borrowers Are Going Underwater on Car Loans (wsj.com)
https://news.ycombinator.com/item?id=21505748
I would go further and say that plain text (yes, I know org-mode is plain text too) would work just as well.

Each board is a directory. Each column in a board is a file. Each task is a line in the file. Open up the directory in the text editor of your choice. Move tasks with your normal cut & paste commands that you use for everything else. Keep the whole thing in version control.
Absolutely hate having cases on my phones. Almost all make it hard to slide into a pocket, make it far too thick for my hands, and take away the elegance of the design and the "hand feel" (I know that last point will get short shrift here, but enjoying using a device is important).
AFAIK rules are strict but not enforced well enough, so many people still walk, etc. That differs for different regions, though.
This is silly. I don't write in my native language because I want everyone to understand what I have to say. If you want to be part of the conversation, just learn English. It's really, really easy. I never even spend any effort on learning the language.
As I age I feel the opposite. I can't work out whats going on as quickly as I used to but when I do I am far more inclined to refactor stuff so that its easy for the next person.
I've disabled all the common wakeup culprits (mouse, network, and USB activity waking up the computer), and while it has made things significantly better, I am still sometimes greeted in the morning by a powered on PC. And the wakeup log isn't helpful at all. It's driving me up the wall.
Anybody remember Todd Rundgren’s Utopia Softworks?

They were going to redesign the Apple operating system, and started with the screensaver.

It was a very cool screensaver, but I’m not sure how much progress they made beyond that.
Akpororo Can't Keep Calm as He's Adorable Twins Turn 2 (See Photos)
I was mocking that idea, not supporting it. The problem always was that it’s really hard to give evidence for what’s basically different ideas about human nature. And that the truth is almost certainly some mixture of circumstances and individual shortcomings. But when unemployment suddenly jumps to maybe 20 or 30%, that uncertainty vanishes, and gone with it is any legitimization for purely punitive policies.
Well sure, but the high quality photo printers I've looked at seem to recommend 300 dpi.

Some back of the envelope math: 20/20 vision = the ability to resolve differences 1 arc minute ≈ 290 microradians across. A distance of 1/300 inch subtends an angle of about 280 microradians at 12 inches, so I estimate someone with 20/20 vision could see pixelation on a 300 dpi image inside 12 inches.

Is that too weird? Well, maybe if you're hanging it on the wall, but it seems odd to put a 7x10 image on the wall unless it's in a collection or montage. I think photos printed at 7x10 are more likely to be held in the hands, in which case shooting for transparent at 12 inches seems like the way to go, actually. (I suspect many people would have trouble discerning details in a 7x10 image from several feet away.)
I love looking at that "Radiation Dose Chart", which has been posted quite frequently ever since "Chernobyl" the tv series aired. Shows just how much radiation humans are dealing with on an everyday basis.

Regarding the essay, I wouldn't mind seeing what the risk is like for the nearby regions. I've seen reports that the rains might smooth some of the danger but it's still a chilling prospect. Wouldn't contamination of land in the Kiev region and parts of Belarus mean a disruption of some supply chains? I've read that Ukraine delivers vast amounts of salt to the EU, that would likely be hit. (Not to mention the impact on people but that's a different matter altogether.)
Very lucky that we moved to a 4-room apartment (away from a 2-room) last year (with wife and 2 kids). Also wanted to build a PC after 15 years of notebook-only work (I do contract freelance software development work for 3 to 12 months at a time and saved up a bit by not buying a new laptop every 1-2 years). Finished the build in January, together with the home office setup.

I really like working on 4K. So I built it with a new Ryzen, and a graphics card that can decently handle 3 x 4K monitors (varying ages, I didn't buy them all at once). They're 27 inch, the left side is for console and server stuff, the middle one for development (mostly JetBrains) and the right one for browsers, research and others (e.g. Spotify).

The table itself is from the DIY store, got like 240cms (almost 8 feet) wooden table top for 60 US$, 2 IKEA table legs for 30 US$ and some wood paint for 20 US$.
Plus a Noblechair for 400 US$ (I think this was the first time I ever spent more than 80 US$ for a chair).

Also happy about the my mouse "Model D" from Glorious PC Gaming Race, reasonably priced and very comfy + light (I tried several - even very pricey ones that I sent back - in the past year, this has been my favorite).
Hard drives shouldn't spin anymore; it's 2020.
You are right. I found the link on reddit and there was no indication that the whole article was copied from the NY Times, so I decided to share it.

https://old.reddit.com/r/China_Flu/comments/g1kszp/im_an_er_...
cross-platform but not Windows

anyone checked desktop OS market share [0] recently ?

Windows is 77.1%

[0]: https://gs.statcounter.com/os-market-share/desktop/worldwide
https://www.youtube.com/results?search_query=%23emacs
> black, white and (PRODUCT)RED

This non-uniform nomenclature is hurting my programmer brain.
Is there consensus on the most common and advisable tooling setup for newcomers in Common Lisp?
Like everything in life you need a balance between the "business types" and the "creative nerds". To think that any one personality type is far superior to any other shows a lack of understanding of the human condition.
Next step: Using a a Linotype [0] as a Linux terminal :)

I would love to have my terminal output cast in lead!

[0] https://en.wikipedia.org/wiki/Linotype_machine
Not sure of the exact motivation, but Swift uses exclamation mark to unwrap optionals.
Unfortunately, this isn't even slightly surprising. Tax breaks is essentially the de facto way the country rewards the rich as it's not 'giving handouts' (but it is).
Speed of light is not a big deal as long as you don't run the datacenter on the other side of the planet. Video encoding is a much bigger source of latency. The lower the latency the higher the bitrate for the same quality. Since there is an upperbound for the bitrate the cost of encoding the video will dominate.
Is static typing an evolution for dynamic typing or they go in parallel?
It's not cool and many people prefer to be like everyone rather than using what's convenient for them.

For example using short dress for men probably is more convenient as it allows better cooling for their genitalia which is important for reproductive function and generally for health. Yet outside of Scotland dresses are not considered an appropriate for men and nobody even dares to use them.
I was thinking of Tribes this week when I watching the Cursed Halo mod video https://youtu.be/dMxIjGjMJz0?t=240. There's a flying Warthog, a sedan and a limo.

It reminded me of the Heavy Personnel Carrier. Loading the HPC with 5 heavies armed with Grenade Launchers and Heavy Mortars was fun.
I'm not so sure if Google did that much to help with the Covid situation. Yes, they checked the box of throwing a bunch of chromebooks at the problem and money and are also extending the tracking of people to "help identify potential new cases". But did they actually do anything out of the box that doesn't directly help them? As an example, my company allows us expensing up to 2 family meals per week from local businesses to help these. They are also extending the deadline with holidays not spent from last year so employees don't lose them. These are little things that actually make a difference. I know Google didn't come up with any of these things for their employees, but I'm sure Larry and Sergei's Google from back then would have done this and much more.
Actually it was Plasma that did that a long time before OLED.
But hey, raytraced !
You're talking about something else here. Linearized writes means write the data immediately, but rather than write the data to the 'correct' location on disk, just write the data immediately after the last bit of data you wrote.

Then keep some accounting information elsewhere to map the real location of data to the place it would have been written had linearization not been done.
One of the articles about it mentions that Kubrick directed the scene so that the actors only moved from side to side, so they'd stay in focus.
> Because it is stupid. If you can't afford it, do not lease or rent it

A lot of people were being made fun of for not taking 0% loans in order to purchase cars: "it's free money!", they were told, "you'd be stupid not to take free money". It turns out those 0% loans had other hidden costs that many people were not aware of (like the costs of you not being able to service debt once your revenues go to zero).
Unfortunately I missed that.

However my T420 and X220 still perform excellently even after 9 years.
In iPhone line of products - it is. It's a cheapest entry level iPhone now.
Ask HN: I finally quit my job, want to start on my own. What do I need to know?
Been in software engineering for more than a decade, lately in senior positions in big companies, w/ experience in large scale projects, data/machine learning, people/project/product management. The past few years became less fulfilling, and as a project I was on got cancelled I finally called it and stepped out instead of moving to another project.

It's been a few months, living off my savings, no family. I've been hacking away at some old ideas and pet projects, and eventually one will stick. For now, my end goal is a small-scale operation that pays the bills and requires minimal maintenance, and can be built by just me to start, perhaps within a year.

At big companies, there's a lot that's taken care of for you behind the scenes, and outside that environment I don't know what I don't know. Hence the question. Thanks.
All the commercial ones support it, but most of them are expensive. Mode has a free plan which allows you to connect to BQ, run queries and then analyze the result sets in Jupyter. It's pretty cool for smaller stuff https://mode.com/compare-plans/
I think we're just so far apart that we can't agree, or even meet on common ground.

I think you just like the article and are trying to defend it on that personal front. That's ok. I dislike it and attack it for ...various reasons. That's OK too. If we can't meet we can just accept that too, and depart on good terms. Thanks for trying to explain it, and good luck.
What Makes for a Good MVP?
> These early predictions were based inflated fatality rates.

Not so, for example the mortalities from the diamond princess are _higher_ than the ones being used to drive those projections. The fact that it takes time for people to die has held down the estimated mortality during exponential case growth.
how long did it take for the battery to start degrading? its odd how people never seem to mention that problem when they are taking about how great their bt headphones are

I think bluetooth receivers are the way to go. you get the wireless aspect for the most part and can change track/volume without having to take out your phone.

you can use it any headphones or earbuds you have

with the fiio one I own, you can charge it while using it so you are never caught if you are near a power source or have an external battery chargers. and if not then at least you can quickly switch to being directly plugged in

there's also a much better chance that I will be able to replace the battery at some point in the future. with bt headphones, they are so small that it would be almost impossible to take it apart successfully
I have been collecting learning resources about Emacs here: https://learnawesome.org/topics/a7a55488-8320-4d88-8f2b-4afa...

Feel free to add more.
However, the "dithering between choices" is a real problem with a real name in hardware design: metastability. It is precisely when sending a signal between two clock domains that it arises, because a flip-flop may be clocked while its input is transitioning, and that may put it into a "metastable" intermediate middle state. Prolonged metastability can destroy the device. And the usual solution is somewhat probabilistic: put a second flop behind the first.
There's a pretty good overview in this writeup (which is the most recent one): https://ambrevar.xyz/modern-common-lisp/index.html
This is exactly what I mean. It's a missing primitive.
Correlation Between Critical Cases, Deaths and Total Cases of Top Countries
Last time we tried to use it there were real problems with date filtering in SQL based DBs and it’s a must for big datasets that span over time (this looks like the most common use case to me). Basically metabase would generate WHERE condition that would like `date(date_column) BETWEEN ... AND ...` (or if you were filtering by minutes or years this would be something else). This prevents DB from being able to use an index on date_column and don’t even get me started on why adding indexes for all sorts of `date(...)`, `year(...)` etc expressions is not an optimal solution. I ended up fixing this in metabase and opened a PR https://github.com/metabase/metabase/pull/9860
Which was initially welcomed but then was ignored for a few months (we were using our forked version in my company in the meantime), after which was closed because they’ve fixed it differently and sure enough they did and it was a neater fix architecture-wise. Just that it didn’t actually fix the majority of use cases so there’s now new isssue opened with the same problem described
https://github.com/metabase/metabase/issues/11502
And surely it’s ignored. Since then we migrated to a relatively simpler Redash, we’ve found that none of the people at our company who were supposed to benefit from GUI query builder never actually used it and only engineers were building dashboards, and for us it’s obviously easier to write SQL. One benefit of Redash I’ve noticed was that it allows you to schedule dashboard queries to run for example every 10 minutes which means that amount of users of the dashboard doesn’t add any load to the DB because they get cached results and those results are relatively fresh at the same time.
You'd think so but as we see in the US again and again as well these days, breaking points are well past what people believe.
Guitarist Jeff "Skunk" Baxter (most famous for his work with Steely Dan and the Doobie Brothers) became interested in data compression algorithms and missile defense applications and came to chair the Civilian Advisory Board for Ballistic Missile Defense.

https://en.wikipedia.org/wiki/Jeff_Baxter#Defense_consulting...
To a complete layperson (myself) it seems that anything entering a cell it's not supposed to isn't going to help that cell out much. I would appreciate some expert commentary though if anyone has some!
Apple the new Intel (no that is not a good thing).
The Chinese firewall is looking less like a method of tyrannical control, and more like a ridiculous attempt at troll-shielding an easily manipulated populace.

https://youtu.be/xN0vUlljX0I?t=120
Wine shops, for what it's worth, are considered essential business in France.

Source: A friend of mine, who lives in Paris and is into wine.
>Margrethe Vestager, the European Union’s competition commissioner, suggested that countries should consider taking stakes in companies to fend off the threat of a Chinese takeover.

So much for "globalization".
People already do this in Excel.
When I am addressing to my home folks, I write in my native language.

When I am addressing to an international audience, I am writing in (poor) English because it is the lingua franca of the world now, pretty much like latin was 1000 years ago.
Back in the days of tape recorders/players it would be the operational transconductance amplifier like the NE5517.
Moving their servers to Alibaba data centres and swimming in money.
It's not a dystopian future anymore, it's the present reality. The nightmare has been realized.
This already exists with services like FaceIt Premium and ECL.

Valve also do this on their matchmaking servers semi-secretly using Trust Factor. Unfortunately this can make the experience for new players much much worse.
I was hired last year without a reference. I just submitted a resume to the careers page.
Why is this not being reported by the NY Times or BBC's International section? And if they are reporting it, why isn't it on their front page?
Here is another chart: https://www.hilfe-tschernobyl.de/s/cc_images/cache_243604066...

It shows the raise of thyroid cancer in Belarus.

Radiation accidents are quite convenient as those who suffer from them spread over a very long time while you read always that only one person died from Fukushima for example.
I meant the title of the article on the original website.
Not smooth here either. Can tell it wants to but will hiccup every now and then.
Can someone explain to me like I am a 5 years old. The Site is lots of gibberish to me.

What is the different between this and hosting my site with CDN ( Pushed or Pulled ) in front of it?
Thanks! Since there are already many different languages using latin script I'm not surprised that this very heavily annotated version too differs. (I'm Hungarian, so maybe that's why I prefer explicit markings for pronunciation.)
Ask HN: Who Is Firing?
Times are bleak.
Why didn't we do this back in the CRT era, and invented screensaver instead, then? TV is understandable, you don't want a DVD player to show a black screen, otherwise it appears dead. But what about screensavers on computers, why did it come into being? (I know turning a CRT on takes time, but we don't have to turn it off completely to blank the screen either?)

Update: It appears that the original motivation was public terminals/machines.
>A language carries a history, a culture, a literature (not necessarily written!) and an identity. Abandoning a minority language abandons those.

I don't see how me writing a tech article in English or my own language means abandoning others "culture, literature (not necessarily written!)".

Am I required to learn 7000 languages?
Rämixx500 – An Open Hardware remake of the Commodore Amiga 500+ mainboard
How Fraudsters Take Advantage of Programmatic Mobile Advertising – Case Study
Hey, you forgot the noise canceling headphones.
Hey! Haven't used blender per se but is very similar to what I have used, and it's free. Shoot me an email at me@jamesstirrat.com and let's get started.
Damn, will be interning this summer. I guess conversion to FT will be even more unlikely now
What would a government, and specifically a ruling party gain from slowing down the economy and alienating its people (which always happens to some non-zero extent when you quarantine and constrain people)?
Ask HN: Why axial Flux Motors are not popular?
They are popular among people in green energy space but not commercially popular? Why is that?
In warthunder this results in very noticeable pop in of enemy vehicles when you are using aircraft in realistic tank battles. The rendering distance for both tanks and aircraft is the same but since aircraft are 2km above the ground their effective view distance is much shorter than that of a tank.
My understanding is that it has already snowballed for a lot a small businesses, and I'm not sure loans to certains industries are saner, without even talking about the government debt of some countries.
We have been using it for 3 years now at a small company. There were some minor bugs in the past (mainly UI related), but in general it is a very good replacement for Trello.

We run it in a Docker container with LDAP integration so that people can log in with their Windows accounts. The operating of it has been very straightforward.
Great idea. In the best spirit, any horrendously designed OS projects that you have in mind?
Sure. Drop me an email at jamesstirrat.com and let's talk.
How is their feedback useful if no one involved sees it? They may as well have said nothing.
Given that a simple CDN is the normal way to solve the problem the linked page is talking about, it's hard to understand why they didn't include a price comparison against placing a simple CDN in front of a Storage hosted static website to help the reader understand how Frontdoor does or doesn't improve on the costs and/or functionality of that approach. At a bit under $1/day the Front Door approach feels more expensive than the CDN solution but I'm not an Azure expert so it would be great to know for sure.

Also, I tried to give feedback on the linked page using the integrated give us feedback popup that was presented to me on my iPhone. The result was an error code which isn't confidence inducing.
Pentagon Watchdog Clears Microsoft’s Cloud Win over Amazon
Or the R package for Allele-specific DNA Copy Number Profiling

https://cran.r-project.org/web/packages/falcon/index.html
>because it is the lingua franca of the world now

One of the characteristics I love about English the most is the wanton, shameless adoption of not just words but entire phrases into the lexicon. 'Frankish Tongue', nah lingua franca it is. 'long time no see' is another favorite example. Ungrammatical in English, direct word-for-word translation from Mandarin? Sure, come on in, the water's fine. No one bats an eye.
> I'm reminded of the experiments where camp kids were randomly given blue and red shirts, and it took them less than an hour to form in-group/out-group dynamics and tribal loyalty based on shirts alone.

You slightly misremember that (Robbers cave study). The effect is even more powerful: all it took was the seperation into two groups and being made aware of the existence of the other group for them to develop an identity and name for their respective group.
Powerful Tech Tools for Your Quarantine
People sometimes die because they fail to mention their drug habits to their anesthesiologists. Pregnant Teenage girls commit suicide because they fear anyone finding out, or die giving birth all by themselves, or bleed out with a coat hangar stuck through their uterus.

Shame is a powerful emotion. It might be related to me being
European that I believe in sparing people such experiences (“dignity” is a big concept here), the stigma itself might be proportionally stronger in the US. Death of a Salesman is all about that, IIRC, and considered a cornerstone of Americana.
This isn't about SSD speed. Reading large file is comparable, but there is a very large overhead on the initial file access because of sandboxing.

Opening (or deleting) an empty file is about 2.5x slower on OSX than on a Linux running in VirtualBox on that same Mac: https://discuss.rubyonrails.org/t/why-is-rails-boot-so-slow-...
China to ban online games because they are an “authority vacuum”
F5OEO/rpitx: RF transmitter for Raspberry Pi
This would be a pleasure - send it my way (with a brief explanation of the project)!
Show HN: Disciple – Launching our new community platform