skysight-inc/HackerNews huggingface dataset:
Hey wiradikusuma, thanks for the reference to Mermaid. I've been looking for a week for something like this to let us drop diagrams into our internal website. This looks like it will do about everything we want.

Your point about Gantt carts may be right for you, but for our simple timelines it's good. The real winner for me was the state diagrams. Thanks!
Dunkin’ Donuts donuts are an abomination, unedible, atrocious. It’s no surprise to me you don’t see them as much, I’ve been waiting for that particular chain to die for quite some time.
Notes on “I've got nothing to hide” and Other Misunderstandings of Privacy
I think it would be hard to communicate nuance concisely with such a small vocabulary.
Roman artists used vanishing point perspective, which to medieval artists -- who had no grasp of perspective at all -- was pretty amazing. What the Romans didn't do was use vanishing points systematically -- they would have multiple contradictory vanishing points in a single image. Brunelleschi's invention of 3-point perspective was much more systematic than what the ancient world had done, but it was very much inspired by the desire to reverse-engineer Roman techniques.
Not the original commenter, but you would just write the container as full bleed and constrain the elements with-in it. That way any elements not so constrained are by default full-bleed. I'm of mixed minds which I like better, generally I prefer less elements and less nesting when possible, but there are almost always going to be wrapping elements in any mildly complex site.
You know people are going to do it, though, so it's good to have checks on it.
High quality software developers are not abundant.
Minecraft VR? I tend to not get VR sickness, but Minecraft was an exception. The movement of the character is really not designed for VR, it is pretty fast and there's lots of verticality.
Are the songs in the example images just placeholders or is there an actual way to use the music from major artists like Bieber or Maroon 5 "for free" as it appears?
Also I didn't receive an email/your throwaway mail recognition works.
A closer analogy would trying to hire someone "that knows what they are doing" (whatever that means) when you need the work done at 2am, in the midst of a crisis, on the side of road, while your house/car/genes are burning down.
>Good to know, thanks.

And it's not new either. I remember these TV ads[0] from when I was a teenager (1980s) and my peer group and I found them quite amusing.

These days, the same folks take a more threatening tack[1] (a sign of the times, perhaps?), which I find pretty galling.

[0] https://en.wikipedia.org/wiki/I've_fallen,_and_I_can't_get_u...!

[1] https://www.ispot.tv/ad/IXwc/life-alert-tragic-outcome
I know, the comment was meant to point out the flaw in this same argument for facebook.
> By comparison there are 53 reserved words in Java and only 33 in Javascript.

Where did you find these numbers? I'm trying to find them but I can only find the Ecmascript and the number appears way higher
Network roundtrip is still going to introduce noticeable latency even assuming everything else is literally instant.
I'm excited for the dict merge operator.

>>> d = {'spam': 1, 'eggs': 2, 'cheese': 3}
>>> e = {'cheese': 'cheddar', 'aardvark': 'Ethel'}
>>> d | e
{'spam': 1, 'eggs': 2, 'cheese': 'cheddar', 'aardvark': 'Ethel'}
>>> e | d
{'aardvark': 'Ethel', 'spam': 1, 'eggs': 2, 'cheese': 3}
Setting up a React.js project using Vite instead of Create React App
It generates the smallest QR Code possible (Version 1; size 21×21).

Other URL shorteners generates bigger QR code (usually version 2 or 3)
I stopped reading the article because of this. Highly offensive.
I have the unfortunate ability to be wide awake when I leave and then suddenly be tired. I often have to stop on even 1-2 hour drives. But I recognize when I am tired and am know for just pulling over to nap even if I have passengers. Sleep driving is like drunk driving.
Efficiency tends to come at the cost of not being robust against the unknown. The crazy mutant random number generator might not go fast, but perhaps it's less likely to get stuck...
said another way my claim is that we should have strong anti-discrimination laws for ex-convicts, not for a-priori or theoretical reasons but because they absence is causing a problem.
I can see a good case for separating #2 from everything else. Or depending on the change, maybe squashing #2 and #3 together separate from 1 and 4.

It's a good idea to isolate the bugfix so that reading the diff is clear. Stylistic changes such as #2 and #3 can be separated and called out as "should produce no behavior change" sort of updates.
The whole NHS Test and Trace organisation seems very strange. Going by recent news reports, it's not just Harding who comes from a retail background, several of the other top people do, too. What they don't seem to have done is hire top people with a technical or management background in either public health or technology, which you'd think might be slightly important for an organisation with this remit.

In other news, I'm looking forward to hearing about how a system apparently hacked together from text files and decades-old Excel formats is complying with basic data protection principles, given that it's being used to process sensitive personal data and has profound implications for both public health and now (since violating an instruction from their people to self-isolate has just been made a criminal offence) individual liberty for huge numbers of people.
Yes, this is a tiny subset of everything I've downloaded, and includes nothing recent at all.

It might contain everything I've ever double-clicked and been told wasn't safe, but I've long developed a habit of right-clicking and choosing "Open" to bypass that prompt, which seems to also result in no record here.

I'm just guessing, though. I just know this is very wrong: "This will be a list of everything you’ve downloaded on your Mac, regardless of which program you used. The only exception to this is apps from the Mac App Store."
> If you're a long-time user of macOS you should be aware by now that it uses a case-sensitive filesystem.

No, by default it's case-insensitive.
Amethyst: A tiling window manager for macOS
Is there a way I can make items like this show up on my friend's FB pages?

If it's possible, and lots of people do this, and lots of victims complain, then maybe FB will finally give us a method to eliminate certain ads.
I left out some assumptions for brevity, but my presumption was that everything inside of the container (like p tags) would be display: block, so it would try to fill the max-width of 65ch with blank space anyway.
My belief is because Access sits on the wrong side of the gap you mention. It's an SQL DB with an UI, alright, but the database is (or at least has a reputation of being) kind of flakey, and the UI exposes you to all the complexity and inflexibility of relational databases. This creates two types of hurdle. One is educational - you have to teach people basics of relational data modelling if you want Access to make sense for them. The other is operational - you can't shuffle data or table structure around in Access like you could in Excel. You can't just copy pieces of table around, you can't make rows depend on rows before them, etc.

Worth remembering is that Excel is, fundamentally, a 2D functional reactive programming REPL. Most of its users don't understand that, but they internalize the behavior. They may not know what a DAG is, but they know that updating cells will recalculate cells that depended on them. So you can't replace Excel with just a database - because half of the utility of the program is in formulas.

There is a gap - a tool is missing that would offer the flexibility, the ergonomics, and FRP capabilities of Excel, while also providing tools for ensuring data consistency and relational queries, and at the same time also making them easy for users to wield. It's a tall order.
Location: Milan Italy

Remote: Yes(experience in working remotely)

Willing to relocate: No

Technologies: Ruby, Rails, Terraform, Ansible, Aws, Elasticsearch, Logstash, Postgresql, MongoDB, Redis, System Architecture, Etl, Api Design, Bash/Python scripting

Experience: 15+ years

Résumé/CV: https://www.linkedin.com/in/andreacampolonghi/

Email: acampolonghi@gmail.com

Software engineer and systems architect. New technologies enthusiast with more than 15 years of experience in IT industry.
During my career I had the opportunity to play many different roles using lots of different technologies. I have been an individual contributor, a tech lead and a people manager. I have developed web application, designed high-traffic apis, created search engines, managed long and challenging data pipeline, designed scalable systems, created any sort of automation, extracted and analysed TBs of data and deployed wide systems architectures on the cloud. Ruby has been my primary language during the last 5/6 years. I have a decent knowledge of javascript, bash, java and I continuously experiment with other programming languages like python, javascript, Go and Kotlin.
AWS, systems designs, docker deployment/orchestration, Elasticsearch, Postgresql, distributed systems and performance tuning are some of my preferred topics and tools.
The environment for CSS isn't nearly as "standard" as you might think. Even though WebKit and Blink are the majority engines on mobile there's tons of combinations of versions, screen sizes, and aspect ratios. Trivial layouts are easy but more complicated layouts can be very difficult to get working right, let alone looking right, across browsers/platforms.

The problems are often solvable but not necessarily easy. The difficulty is compounded by the heterogeneity of the Android space.

It's great the majority browser engines follow the CSS standards but a lot of problems aren't bounded by the accuracy of the implementation.
This sort of technology would be great, even if the data never leaves the user's account, is never farmed by Tesla, and is never used by the autopilot.

Imagine if the parent poster falls asleep at the wheel and does injure or kill someone. They could point to the fact that it's never happened before, but if the court can subpoena Tesla to get data that indicates this guy dozes off with some regularity (and can see indications that he knew about it), then he's going to face a harsher sentence, possibly even bumping it up from involuntary manslaughter to second degree murder if they can argue that it was extremely reckless disregard.
Monitoring predictive models with TimescaleDB and Grafana
You have made assumptions that I did not, and you're talking past me (at length). I didn't say anything about sticking a PRNG between Lemire and the entropy source.

If I'm generating an RSA key pair I'm going to pull kilobytes of data from the entropy source, not a PRNG, and that data volume will be a fixed multiple of some word size that means that every bit I take has a purpose.

If I need a non-multiple of the word length worth of entropy from the entropy source, no standard library I know of handles that. C, Java, a few others always fetch 32 or 64 bits of data and then throw most of it away, even if the system call might allow finer increments.

If I need 6 bits or 200 bits, I have to stick a CSPRNG in there or throw entropy away. If I do the latter (which people often do by default) I'm robbing bits/second of entropy from something that may really need it, like TLS or especially SSH. I've found myself in testing situations where it was faster to regenerate a VM/reflash a Pi microSD than wait for /dev/random to catch up, due to iterating on a writing a script that uses scp or keygen calls. I haven't seen a production issue in a while, and never that severe (eg, HTTPS throttling), but it's happened to somebody I'm sure.
Would you be interested to read a blog post about how it works?

I consider to write a few articles about each part of the project... if there are people to read them! ;-)
I know it's already been said, but honestly:

1. Nobody wants to give you an e-mail address just to see this.

2. If it's such a "simple website", why does it appear that you are trying to make it premium-only for access?

3. The name of your service is going to get you sued.
My gripe is that they shouldn’t be used in the first place (just say “lavoro da remoto”) and then they’re used super awkwardly anyway:

- You should prefer working in “smart working” mode

- Classes will be available in “smart working”

(Non-quoted words would be in Italian)

When you see such contrived sentences, you know that there’s an easier way to speak.
I once created a very modern mobile offline-capable web app for a large enterprise company that was powered by APIs backed by excel. Luckily we didn't have to deal with those directly, but it was a bit of a pain for the poor guy doing th backend.
I don't know why but this page is using 100% CPU and making my fans go through the roof in Safari.
Special Forces Building AI to Detect Disinformation
> From my experience, 0.05% of the people who have an Ubuntu x.y chose it because of "stability promises" of the LTS release.

Your experience and my experience differ greatly, then. I manage around a hundred virtual and bare-metal Ubuntu 18.04 LTS systems. Most of our docker containers (not included in the number above) are based on an Ubuntu 18.04 image because that's what we have standardized our infrastructure around.

The LTS choice was an easy one to make. We are too busy focusing on delivering value to the business to spend much time constantly playing around with the underlying technology. We are not early adopters for much of anything (except hobby projects at home) because we need our technology to be an asset to the business rather than a liability. Depending on new and bleeding-edge software for production systems just creates unnecessary risk.

We'll probably start thinking about upgrading to 20.04 in six months or so.
A language translation target would be kind of fun. I wonder how much of modern idiomatic english could be successfully machine translated . . . or even translated using meatware?
Oh, but it would be way too much if I bound my entire Pocket list into a single volume. It would be massive!

Perhaps it could be broken up into smaller chunks, not to exceed XX number of pages, so that I could tackle my reading list as a series of volumes. Maybe you could even add a feature to have those volumes automatically generated and disseminated at some kind of regular, periodic interval.
Show HN: Use C/C++ Like a Memory-Safe Language
"Organic synthesis in a modular robotic system driven by a chemical programming language"

> Chemify is a project dedicated to making chemical synthesis accessible to everyone, regardless of training.

> The project consists of the development of a machine capable of performing chemical operations, and an API to interact with the machine.

https://github.com/croningp/ChemputerSoftware
Yes, keyboard just above the knees. It's similar to the angle you'd get if you were slouching and your forearms were resting on the desk. Generally quite comfortable.

I think raising my hands up higher (90 degrees as you say) would actually be a lot worse. Never understood that aspect of all the more "real" laying desks.

I should note that I purposely don't use a mouse with this setup, because it would end up being quite far away and would need to be on a solid surface.
I like doing short challenges to learn and solutions to peak at in case I get stuck.

Andy Bell posted front-end challenges for a while, here's the archive:
https://piccalil.li/category/front-end%20challenges%20club/

Codepen hosts challenges every week. They aren't always
CSS focused but many of them are.
https://codepen.io/challenges
Bisects only work if every intermediate commit is a working state.
There's never been a better time to pick up some stats than now.
How to Start an E-Commerce
Same here. The way the thing wobbles in the video doesn't inspire confidence. Although even if the monitor falls off I don't think it will hurt too badly.
Total incarcerated population is about 2.3M

State Level: 1.3M * 1.6% = 20,800
Federal: 225k * 2.2% = 4,950

So about 25k people out of a country of 330M (0.007%)

And most of these are for trafficking, not just possession.

I still think it's too many people, but it's not a "good chunk." The amount of people that actually go to jail for mere possession is tiny, and that number is going down.
I may be in the minority, but after happily using protobuf for years, I believe that there's nothing inherently wrong with required fields - instead, what's "wrong" is the protocol buffer API.

Namely, when constructing a protobuf, theoretically, there might be two different ways: (A) first gather all the fields, and then construct the protobuf from these fields; (B) first construct an empty protobuf, and fill in the fields as necessary. The actual protobuf uses (B) - which is convenient in most cases, because when you start constructing a protobuf usually you don't have all the data ready yet.

However, with required fields, this means when you construct the protobuf it starts with all required fields missing - i.e., an invalid state!

I'm not sure what's the best way to fix it, because it would be infeasible to rewrite all the code to gather all the fields and then construct the protobuf - also it will be hugely inefficient in many cases. However, I feel the "no required fields" rule is essentially a null pointer (the "billion dollar mistake") in disguise - the actual problem is that the API doesn't enforce type safety.
I once spent ages trying to determine why a Python unit test that sorted timestamps constantly failed on Windows. In the test, we compared the timestamps of performed operations, and checked to confirm that the operations happened in sequence based on their timestamp (I'm sure many of you see where this is going). On Windows, the timestamp for all the actions was exactly the same, so when sorted, the actions appeared out-of-order. It was then that I discovered Python's time library on Windows only reports times with a resolution of ~1ms, whereas on Linux the same code reports times with a resolution of ~10us. That one was actually super fun to track down, but super disappointing to discover it's not something that's easily remedied.

(For those about to suggest how it should have been done, the application also stored an atomic revision counter, so the unit test was switched to that instead of a timestamp.)
The main focus shouldn't be on keeping the commit small, it should be on ensuring that the commit comprehensively encapsulates a unit of change in the codebase. Dogmatically pursuing such small commits will lead to a noisy commit history, and all for the meagre payoff for when such niche situations occur.

BTW if such a thing really does happen in production and you already squashed and merged, you can always fall back on on git reflog on the developer's machine. Commits are never really destroyed in git, the branch simply shifts focus to another set of commits. The old commits are still there, dangling and not referenced by any other branch but they are still reachable.
Ask HN: Am I the only one who feels bad for using free software?
So, I'm going through a disillusionment with free software after I read a couple of post here on HN about the struggle of some developers with maintaining their projects both financially and emotionally.

This feeling has grown on me to the point i've began avoiding using most free software besides some i can't live without, and to these projects i donated the amount i could as a student from a developing country (in case you're curious, i donated $2 to Mozilla, Wikipedia, Sumatra PDF, Tab Session Manager, Cookie AutoDelete and Calibre; as i use these software everyday).

Still, i feel bad as the "free software contract" is not clear as in paid software: am i donating enough or am i just reaping the hard work off a stranger all the way around the globe?

This is an uncomfortable position, as I don't like the feeling of stealing the hard work off of anyone and don't want to put myself in that position either.

So, how do you guys cope with these feelings?
Why the DPU Is More Important Than the CPU for Nvidia
True, there aren't transitive and intransitive versions of stand, but since desks stand by default, you can make assumptions about what a standing desk is.

I really was not expecting a lay down desk to be something you lie down to use.
I thought I was the only person who preferred coding lying down.
I often see people asking how to think of startup ideas. Why wouldn't those people steal one?

The reason people sell businesses, not ideas, is precisely that it's so easy to steal ideas. So why buy one?
Sorry, you're right. The Quest.
There's not much to stop the devs from using open source tools to create a PHP web frontend and db backend for this data - and secure it as well.

Heck, if they still need to export, they could do that from the data too.

Sure - use Excel for POC, but get that DB backend up pronto.
Don't forget the formulas! Excel is essentially a functional reactive programming REPL. No RDBMS I know lets you easily define a table in which cells in a row depend on values from previous cells in a row, and keep this as an invariant.

People working on Excel replacements need to remember about this aspect of spreadsheets too.
Mercury | React+Typescript; Haskell Engineer; DevOps | REMOTE (US and Canada) or Onsite (SF/Portland/Toronto) | Full-time

Mercury (www.mercury.com) is building a bank for startups. We are currently 50+ employees and are backed by top tier investors (A16Z, CRV, and more).

Frontend: React, Typescript, Redux;
Backend: Haskell, Yesod, Persistent;
Operations: Nix, Postgres, AWS;
Mobile: Swift, Kotlin

We are hiring frontend, full stack, backend, and devops engineers.

Learn more: https://mercury.com/jobs or email jobs at mercury dot com

Thanks!
Apple sues recycling firm for stealing and reselling 100k iPhones,iPads,Watches
The Jetson Nano is less than half the price of the Mister FPGA.
This sounds reasonable, but personally I prefer the PhantomData as it makes it immediately obvious to the reader that this is a zero-sized type.
We aren't looking to sell Canny. Part of building a sustainable product/business is sticking around for the long haul.
Every third word in this article is IoT though.
Monolith -&gt; Services: A Sketchy Approach
Gaston did it in 1957:

http://www.gastonlagaffe.com/fichiers/DatesGastonContenu/101...

Translated text: “He says that there’s nothing in the rules which forbids him to work in bed.”

(Image found on this page: http://www.gastonlagaffe.com/datesgaston.php#evenement1 – scroll down to 18 octobre 1957).
Sounds fun. :D

I used to admin Netware as well. It didn't have any overlap with Unix at the time, however, and IPX vs. IP. Although they did add IP support and integrate SUSE later I remember, but did that make it back to their DOS client?
And how do you even imagine it working without it doing even more harm by providing false sense of security?
Fun story:
The lead artist/dancer of https://www.skyfirearts.com/ had had that dream for years, and that "first lucky break" came when (8-9 years ago) he was getting coffee and the guy behind him in line was the guy for Tesla Coils in the US, who then helped Skyfire get up and running.

AFAICT, what's repeatable / helpful is a bit more nuance about "how to make luck":
1) Know what you want so you can recognize it when you encounter it
2) Give yourself lots of opportunities to encounter it
3) Have the self-direction and resources to jump on it when you encounter it

Of course, there's also just pure blind luck.

Edit: I know there's another step in here, but TBH I'd love advice for it: Making sure the other party recognizes you as something they've been looking for (aka, all the above but from their perspective). Advice?
XLS does in fact have a 16 bit row counter :/
“Let’s see if StackOverflow has something”

...

“Oh nice! Exactly what I need!”

<copy>, <paste>

...

“Woah it builds! Ship it!”