skysight-inc/HackerNews huggingface dataset:
That article mentions a Swiss company, but I don't see any mention of Sweden. Is this a mistake of yours or am I missing something? I guess a mistake since you seem to have forgotten a link.
EHang approved to transport heavy cargo by drone
Thanks for the detailed and helpful reply, much food for thought!
A lot better than Nix? With all the security vulnerabilities and lack of efficient storage?
Though honestly this setup for a one-off system is a bit much. For the most part I use the system level nix-R configuration instead (explained in the previous post).
Sadly it is yet another language that follows the UNIX tradition of not having a proper Assembly parser instead forcing us to play with strings.

I guess it leaves PC based languages to have actual inline Assembly parsers or intrisics.
Nginx Access Log Format Tester
I love this idea! I personally don't even know what to name my blog, so I just named it after my name (i know its not a good idea!) But hey, that's a start! I started writing about technology learnings from my everyday job! Do check them out.

Sincerely, a humble SE from Singapore
https://blog.phuaxueyong.com/
I think most of the desirable aspects of government can be framed in terms of such coordination problems; i.e. as a mechanism for groups to enforce collective decisions on members, where deviations benefit that individual but make everyone worse off on average.

For example, I can benefit from polluting (e.g. saving money by using cheap, poorly refined fuels). My pollution costs other people, but it's only small, since I'm just one person. Hence it's rational for me to pollute.

However, I don't want other people polluting, since that will cost me. Since there are lots of other people, it may even add up to more than I would gain by being the only polluter (saving money versus, say, getting cancer).

From the perspective of individuals, this is a coordination problem. The categorical imperative (what we would like everyone to do) is to not pollute; but this is unstable, since there is incentive to deviate (e.g. save money). In a competitive environment, polluters have an advantage, so the polluting strategy will dominate.

Collective government is a mechanism to solve such problems. The group decides (e.g. by vote) that freedom from pollution is worth more than freedom to pollute, and agrees to punish polluters, disincentivising that activity, and thus changing the payoff calculation.

Of course, collective government itself introduces all sorts of new coordination problems, like corruption, revolving-doors, watching-the-watchmen, a disconnected political class, etc. (many of which are particularly evident right now!)
It might become treatable soon, but I'll be too old anyway. Good thing being a pilot was never a dream of mine :)
Need to ask for that meta-upvote feature
The site is down right now. Perhaps HN gave it a hug of death!
Oh cool, was that you also? I will after work today.
Very cool. I would love to see the python science stack translated into native typescript/js. Sometimes you just want something quick and easy that doesn't require sorting through virtual env hassles.
My wife has an autoimmune disease which can manifest with blood and protein spilling into urine due to impaired kidney function. To monitor this daily would be a tremendous improvement to our ability to monitor for flares.
Pragmatic Guide to Backup and Restore a VPS
Still fails short of asm code blocks of PC based languages.
(The above comment ended with "why not use :car and :bus instead of alpha and beta?". Apparently HN does not support emoji?)
https://news.ycombinator.com/item?id=23346567
Yeah I noticed that, I've been using "Google for domains" or whatever they call it now for about a decade. I snuck in when it was free, but I do pay for extra storage and the nest subscription.

The account migration stuff is just confusing - "You must log in with your google account!" "No, not that google account, you can't use that!"
I saw this in reddit and wanted to share. I found the library surprisingly good and would like to spread the great work.
Ok, specifically Hillary as the main candidate. The others got their flak indeed.
Say we have program X with dependency Y. X+Y is either dynamic or static. X can either have responsive maintainers or unresponsive maintainers. Y can either change to fix a bug or change to add a bug. (With Heartbleed, I remember our server was fine because we were on some ancient version of OpenSSL.)

Here are the scenarios:

- dynamic responsive remove bug: Positive/neutral. Team X would have done it anyway.

- dynamic unresponsive remove bug: Positive.

- dynamic responsive add bug: Negative. Team X will see the bug but only be able to passively warn users not to use Y version whatever.

- dynamic unresponsive add bug: Negative. Users will be impacted and have to get Y to fix the error.

- static responsive remove bug: Positive/neutral: Team X will incorporate the change from Y, although possibly somewhat slower (but safer).

- static unresponsive remove bug: Negative. Users will have to fork X or goad them into incorportating the fix.

- static responsive add bug: Positive. Users will not get the bad version of Y.

- static unresponsive add bug: Positive. Users will not get the bad version of Y.

Overall, dynamic is positive 1, neutral 1, negative 2, and static is positive 2, neutral 1, negative 1. Unless you can rule out Y adding bugs, static makes more sense. Dynamic is best if "unresponsive remove bug" is likely, but if X is unresponsive, maybe you should just leave X anyway.
Prisma and Hasura are very different!

Prisma is a database toolkit that's used by application developers to develop server-side applications in Node.js and TypeScript (e.g. REST APIs, microservices, gRPC calls, GraphQL APIs, ..., anything that talks to a database). The main tool Prisma Client is a query builder that's used to programmatically send queries to a database from Node.js/TS.

Hasura is a "GraphQL-as-a-Service" provider that generates a GraphQL API for your database. This GraphQL API is typically accessed by frontend developers. That setup can be great when your application doesn't require a lot of business logic and the CRUD capabilities that are exposed in the GraphQL API fit your needs (though I believe you can add business logic in Hasura by integrating serverless functions).

With Prisma, you're still in full control of your own backend application and can choose whatever tech stack you like for developing it (as long as it's Node.js-based, though Prisma Client will be in available in more languages the future)!

By the way, we also love GraphQL. We're currently brewing a new "GraphQL application framework" that can be used on top of Prisma. That way it will be possible to auto-generate resolvers for Prisma models to reduce the boilerplate you need to write, while still keeping the full control of your GraphQL schema.

You can learn more about this here: https://www.nexusjs.org/
I have previously characterized OpenSSL as "Stamp collector cryptography". Here's an implementation of IDEA. Should you use IDEA? No. So why is this even here?

Compare the Go crypto reaction when somebody wants to add ECB mode: https://github.com/golang/go/issues/5597

OpenSSL is better now than it was then, it might even be the least worst option for a lot of people in low-level languages who want to spin up a TLS client or server. But that is deliberately faint praise.
That you know of ;)

If you are going to go full paranoid, you can't pretend that the media is 100% trueful at every aspect, especially when it comes to internal US affairs.
Having used both, I would pick Hasura for any project going forward. Time to productivity is so much faster with Hasura and “it just works”. Prisma, at least when I was using it, was introducing breaking changes regularly and whipsawing between major design choices.
Ways to Become a Better Technical Manager and Leader (2018)
5G: Everything You Need to Know
Antibodies. The test was months later so the chance of finding something in PCR would be small.
It depends on the whitepaper in my opinion. While many do come across as marketing material, but the concepts and technologies can give a good insight into how others are achieving advancements in these concepts.
Bring Real-Time Front End Solutions to Mendix Low-Code App (Rapid Development)
Late 1990s,a huge amount of linux installs in the business happened because of Samba and Apache
Gravity: An embeddable programming language without any external dependencies
Prisma is a little bit lower level -- you'd use it within a node backend to get data to and from the database in a typesafe way. Hasura could be used for the same thing, but you'd have to spend some time setting up your own JS client to use within a backend to talk to Hasura. I think Hasura shines a bit more for powering client side apps directly, who just make GraphQL calls right to the "database" service.
If you check out the dev branch of bullseye, I'm currently working on a rewrite, but it's on pause for a few months while I work on an internship.
Pharaoh Ramesses VI Tomb
Agreed. After recently spending some time with GiMP and Dark Table, I have realized that when my 5k iMac eventually needs replacing, I’m custom building a desktop Linux machine. My laptops already run various Linux distros and I’ve gotten to the point where it’s actually more painful to have to deal with a non-Linux OS than to derive any real benefit from the Mac ... homebrew is great but I’d rather just use apt.

The only reason I can imagine buying a Mac again
would be for iOS development, but it seems like virtualized MacOS has come a long way—anyone using hackintosh or virtualized macOS for iOS development? Do you run into weird edge case problems due to Xcode not running on its “proper” hardware?
You could be correct there with Snow Leopard, definately not Mavericks. It was a release without a lot of new features but more under the hood stuff.
NZ has an excellent tech scene.

The combination of environment and culture has long made it a haven for developers and entrepreneurs. Plenty of top open-source developers are based there, and there are many good companies, large and small to work for, as well as good universities.

It's only 3-5 hours time difference (depending on the time of year) from California, so it's easy enough to work remotely for a Silicon Valley company from there.

The complication is that it's likely to be hard to get into for the next few years.

It's successfully managed to control the coronavirus, and has just lifted all internal restrictions.

But it will be tightly controlling its border until the global risk has completely subsided, and in the meantime, many of the best developers in the world will be wanting to move there.

See this recent interview with Naval Ravikant for more thoughts about this: https://www.youtube.com/watch?v=3Sd_PQoR7OI
Oh wow. This is really cool and will be really interesting to present an article from markdown in a mindmap perspective!

Is this your product or affiliation or something?

This is my blog made from markdown and I thought it will probably be really cool if I can present my articles in a mindmap format! Do appreciate your feedback and thoughts about this!

https://blog.phuaxueyong.com/
would a library like pybind (for C++ extensions) be compatible with the philosophy of this python implementation?
This stuff got me thinking, if RegExp comes from graphs, why not use it to process graph databases. This paper is about a year old https://arxiv.org/pdf/1904.11653.pdf Can anyone point to open source implementations?
Is AT&T syntax really that bad? In particular, it's way nicer for specifying operand sizes. I'd prefer "andl $3, (%eax)" any day over "and DWORD PTR [eax], 3".
Britain has gone two months without burning coal to generate power
Someone without morality or guilt or shame or a conscience can’t really be called a human being. Someone who displays the same sociopathic traits and narcissistic love for their traits as Chaos Monkey’s author seems to would’ve made a fine Nazi commander.
For 13" Mid 2014 is the best rock solid for nearly 6 years, even Louis reccomends it[1]

[1]: https://youtu.be/xFIVZYevfGU
I'm sure someone will be along to provide a wrapper macro or macros to address that shortly.

I can see why they would not want to bless a particular syntax tree or whatever into the core compiler.
That's right. The Research Team does all sorts of stuff. Some of it ends up as open source projects, some of it as production software.
Funnel Transformer Explained
I got it in late 2019.
If you want the outer language to be cross platform (e.g. x64, ARM64, etc), then you'd either need a parser for every potential platform (even ones you aren't currently using!) OR you just settle for strings.

Don't get me wrong: Parsed assembly is superior because you can have certain parser guarantees/checks. But it will definitely limit the scope of your language or at least slow its adoption to new platforms.
‘Divide and Conquer: The Story of Roger Ailes’ – Portrait of a Fox News Exec
The former Fox News executive Roger E. Ailes is the subject of the documentary “Divide and Conquer.”

This article goes into some more details about the documentary (javascript heavy)

https://variety.com/2018/film/reviews/divide-and-conquer-the...
If you have ghc and stack installed, this plugin will automatically recognize a project bootstrapped with stack and decorate Atom with IDE like widgets, without requiring a configuration. It can take a few minutes to make it work if your bash_profile doesn't do unexpected stuff on the PATH variable.
Does it have migrations yet?

I'd like to give Prisma a try, but if there's no sane way to change my schema (part of my daily backend workflow) then it's less interesting, no matter how nice the API is. For now I'll stick with Sequelize.
Ask HN: FAANG to Founder
Hi HN! I'd like to get some perspective from the community here.

I'm currently working at a FAANG company making a very comfortable income (500k+ total) with good work life balance and I think good career prospects. I've wanted to do a startup since 10+ years ago, but have not done it for various reasons. Now I have enough financial cushion that I don't have to worry about money for a while and it feels like the right time to take the leap.

The problem is now I'm not sure if I want to. Maybe it's getting comfortable in a cushy job that pays well. Maybe it's me getting older and less ambitious. Or I just had a fanciful view of what startup life was like earlier on. Realizing that startup life is going to be a lot of work and stress and if all goes well a long slog, is making me doubt myself.

For those of you that have gone from a high paying tech job to startup founder, what made you do it? Do you regret making the leap?
https://typeorm.io

https://jawj.github.io/zapatos/
You can track some of the history of the proposals here: https://github.com/rust-lang/rust/issues/29722.

A lot of the improvements you've suggested have been suggested in the past, but there's some reasons why they aren't being proposed. In short, sufficiently smart compilers can probably guess at a lot of constraints automatically, but building that level of smarts is very daunting, and for most use cases, the user probably wants/needs the fine-grained control anyways.

For example, take the call instruction. Which registers should the compiler mark that as using and/or clobbering? It depends on the ABI of the function being called--and the user might not even be calling a function at all (say, using a call as a gadget to get the current program counter). Saving a register is another common technique in inline assembly, and you don't want the compiler to infer that the register is clobbered--indeed you're saving it to explicitly not clobber it.
I would be interested in reading about this.

Around that time (or maybe slightly before) I was asked by my friends dad to figure this out. He and a group of his friends payed for the equipment and gave it to me. I figured it out, but when they found out that the "hack" would be reset at least every month and before any major event they all found it too problematic to deal with. Worked out great for me as I got free satellite TV for a while when I was going to school.
constructor works fine in C as with GCC/clang. It links down to .init/.init_array on ELF (though all the linker cares about is PT_DYNAMIC and DT_INIT / DT_INIT_ARRAY)
Thanks for submitting a patch! I have been throwing around the idea of using the "bundled" feature flag listed here: https://github.com/rusqlite/rusqlite#optional-features. I was hesitant to initially because it would force users to have a specific version of SQLite.
I'm also a fan of swarm, and still use it in production.

It's just so damn simple in comparison to k8s - basically, if you know Docker Compose, you know Docker Swarm.

I appreciate it doesn't have the full power of k8s, but it has what most apps need: simple deployments, zero-downtime updates, distributed configs and secrets.
Why is it so popular to talk about race vs gender, when the race victims are non white and the gender victims would be men?

Because those are the biases we've been taught in modern society. These protests are a shining example: men are over 10X as likely to be the victim of police brutality. Far more than black vs white. If we were fighting police brutality, men are hands down the demographic of choice.

But people don't tend to think of men as victims. So it wouldn't ever take off. I mean can you imagine millions of people protesting for men? I've never heard of it, meanwhile every year millions of people March for women just because. Protests happen all the time for minorities. What happens when you March for white men? You're a "white nationalist", a racist, a nazi, etc.

I'd take these protests seriously if they reflected the data. But they don't. Someone out there is probably making a lot of money and growing a lot of power for themselves over it. Meanwhile, the issues that plague our world will be more or less unchanged when this is over.
> Learn to work with this and you can extract gold.

Curious if you have any tips for this stuff? My instinct would be to just poke and prod things, writing tests or documenting things as I go along. "I wonder what happens when I do X" -> write a test, get a result. "I wonder what data looks like here" -> examine it, write a summary of what I found. Etc.
Google Meet Noise Cancelling Feature
I've heard this kind of argument a lot and it's getting tiresome when we just keep seeing the same old preventable bugs being a problem time and time again. Yes, a kernel written in a safe language will still have security bugs. But it would absolutely have a very large positive impact. And any problems with safe languages can be worked around with a bit of imagination, especially with the level of effort already required to write a whole OS with a large number of hardware drivers.
It's not "PC based" that's the magic you want, it's the assumption of x86 (and, very recently, sorta, ARM, in a few compilers).

Architectures are weird, assembly is crazy. There just isn't going to be a single set of semantics around what you want.

This Rust thing isn't revolutionary, it's indeed just a prettier way of writing the model GCC invented a few decades back:

+ "Assembly" is a black box for the code author.

+ The compiler's job is generating code around the assembly, not the code itself.

+ So the fundamental model is "constraints": the rules the compiler needs to follow before and after the assembly, and how to emit an appropriate string to represent the register/address/immediate/whatever requested by the assembly code.

And like it or not, this works. It works really well. Generations of OSes have been written in this model without much complaint (beyond the general ugliness of the gcc syntax, which Rust is trying to fix).

I think this is fine. I agree it's not going to bring a revolution, but we really don't want one in this space.
what are PC based languages ? what is PC short for in this context
Work product of the US government is in the public domain.
Ah, Fuchsia... another of Google's solutions looking for a problem.

I remember hearing about it and immediately asking "what is the market for this?" and not being satisfied with the answer.

On the one side you have Samsung, who are unhappy enough with their dependence on Google that they'll not likely eat the cost of moving from Android to something else that has no strategic benefit to them (as far as I could tell, anyway).

So what does that leave? Google making its own devices. I don't know this to be the case but I strongly suspect the intent was for the Pixel line was (and may still be?) intended to be the spark for Google being a vertically integrated first-party seller of mobile devices. What I mean is these aren't just proof-of-concept or developer devices.

The problem there is by doing that they'll hurt their relationships with Android OEMs and it'd take a long time to fill that void, if that's even possible.

So where else? The obvious answer is... Chromecast. This is a hardware product Google has had a good amount of success with. It's already first-party.

A recently leaked report [1] seems to indicate that the next Chromecast will be Android TV. That is (IMHO) bad news for Fuchsia.

You have to also take into account that during the time Fuchsia has been around (which must be 4+ years by now?) there's been a change at the top with Sundar replacing Larry. That's always a dangerous time for high-profile and high-cost (literally $billions) projects with no customers. Sundar came from Chrome. Fuchsia didn't. You have to ask questions about who was the original (SVP+) cheerleader who got it off the ground and funded it? Was larry on board? Is Sundar/ Does that sponsor enjoy the same support under Sundar that they did under Larry?

I don't know the answer to these questions, just that they matter. marissa Mayer's departure from Google was largely a product of a change at the top as she enjoyed Eric's favour but all signs pointed to Larry not being as big as a fan.

Fuchsia probably should've been called Graphene. Graphene can do everything but leave the lab, after all.

[1]: https://arstechnica.com/gadgets/2020/06/googles-leaked-tv-do...
A few things to note:

- Prisma 1 was a completely independent server and Prisma 2 was most likely started as a rewrite of Prisma 1 so it followed the same approach

- This indirection will be removed if someone can finally land a Rust binding to NAPI (looking at you Neon binding people)

- Prisma plans to support multiple languages thus it makes sense to have an agnostic engine

- This not far from having a PG engine coded in C and interfacing with like like most libraries do anyway, javascript is just too slow for this kind of stuff
Remote Jobs for French Companies
Just off the top of my head: Feedback (545, 199), Human Nature (329), Teaching (415), Creativity (77, 551), Complexity (455), Stand-Up Comedy (347, 543), Interviews (335).
No, first, like re-callable community self-defense who would answer to competent managers of specific situations rather than being incompetent managers of situations themselves, be internal rather external to the community and be re-callable at any time rather than essentially having immunity.

It's a mistake to assume that police abolition means pacifism. It's also a mistake to assume the use of violence means policing.
Remember when you used to ask your Mom / Dad, "Why?" and they'd respond with, "Because I said so." It's like that, but subtly more infuriating because it's never a single identifiable person saying "no" that could be spoken to, understood, and reasoned with. The answer that you'll get at a big company is, "because that's the way it is".
I don't see how useful it would be to query your database from the browser or cloudflare workers, in both cases you want the database access closer to your database to reduce the RTT. And you definitely don't want to give the browser direct access to your database - even if that were possible.

The implementation choice seems odd to me, nonetheless.