skysight-inc/HackerNews huggingface dataset:
When I get a chance, I try to dig into the "magic" parts of the tools I'm using.

I've wrote a bit on this on my blog in the context of creating a (nano) web framework similar to Rails [1]
and a (nano) http client library similar to requests [2].

I find this to help assure me that if I have to go one layer deep in abstraction I'd still be able to learn how it works.

[1] https://mhasbini.com/blog/lets-build-a-web-framework.html

[2] https://mhasbini.com/blog/lets-build-an-http-client.html
What would you vote for? A complete, immediate cessation of economic activity involving mainland China?
Would reply with something like privatize profits, socialize losses if only there were profits ...
Which competitors? They aren't any. I expect anti-trust laws to be applied, as simple as that.
> Deliveroo is almost everywhere

Lol I've been waiting forever for any food delivery or ride sharing company whatsoever to start operating in my Cheshire town!
Louvre museum makes its entire collection available online
I might be misunderstanding go, but I think the big difference is you use anyhow to get looses error handling at the edges of binaries. It'd be weird to see in a published library, and unusual to see deep in an internal library that supports a binary. Whereas in go you do that sort of error handling everywhere.
9 pregnant women can't produce a baby in 1 month.
This video has been removed for violating YouTube's Terms of Service.
When the company we are talking about has the wealth and power of a nation, well, we have the right to criticize it. Also, we are able to criticize both governments and companies at the same time, with the same effort.
> You can make a lightning transaction, drain your bitcoin wallet before it verifies, and no amount of watching the chain will get the seller back whatever they traded you for that transaction. Just because you identify the fraudulent transaction before it finally verifies doesn't mean that the fraud wasn't committed. Same with bad checks.

No you cannot, again, that's not how it works. You commit funds to a channel on chain before you can spend funds in a channel. I don't think you understand how lightning works.
Your arguments all ultimately focus on the value telemetry generates for the company, not for the user. These two should theoretically coincide, but in practice, they don't. Telemetry may be a fine thing in the abstract, but it's mostly used in a very hostile manner.

People would be more comfortable with telemetry if they could trust it's being used only to fix bugs and improve workflows. The reality is far from that, though. Telemetry's main use in end-user software is to provide data to direct various aspects of development that ultimately boil down to: how can we extract more money from our users? That's part of the reason we get dumbified apps full of questionable design decisions and user-hostile anti-features. Instead of asking people what software they want, "data-driven" companies are just setting up a control system around their users, with changes in the software being meant to influence behavior towards better monetization.

Until that gets fixed, I'm going to keep preemptively blocking any and all telemetry. I'm also very happy that GDPR forced companies to surface a lot of hidden surveillance, and that I can just dismiss all these notifications knowing I'm legally opted out by default. To the extent I am in fact opted in - i.e. companies literally breaking the law - I yearn for the day DPAs in member states get serious about issuing fines. Until then, the next time I spot telemetry enabled by default, so help me God I'm filing a GDPR complaint.
In practice, most people don't care if they have a copy of Linus's public key. They only care if they have a copy that is sufficiently likely to be Linus's public key.

This is the reason why the web of trust has, by and large, failed to reach any noteworthy amount of adoption. The web/operating system PKI is good enough for most purposes. Unless your usage scenario involves a massively critical government agency with good reason to be actually paranoid, "good enough" for the web means "good enough" to deliver a public key for the Linux kernel. Or more likely, "good enough" to deliver an installation image for the distribution of your choice that is theoretically signed with PGP/something actually reasonable, but whose signature you won't check anyway because the web PKI is, in fact, good enough.

The distribution of your choice may then possibly have verified the source of the public key, but that's so far upstream of you that, quite honestly, you have no way of checking anyway. Even if you bothered checking this being checked upstream, there are tons of other critical system components for which you would have to repeat this.
This article is not about px versus em At best, this is a tangent because the author used px as an example.
Sure, but if you have nothing you can't make amends for damages either.
You and the Algorithm: It Takes Two to Tango (Nick Clegg)
Or vote with your wallet and switch carriers or use third-party VoIP as your primary number.
One of my favourite companies is teamwork.com, a great tool set in the same space, makes the fact that they were bootstrapped from the start and are profitable all the more impressive. https://www.irishtimes.com/business/technology/teamwork-pays...
Call me old fashioned, but I like guillotines, myself.
It's a bit like https://en.wikipedia.org/wiki/Sprechgesang, but removing the phonetic information makes it more musical.
Well their moat was a government bailout. A decade or so ago they were losing billions, meaning thousands per car, given that they sell a few million cars.
No, but I got the impression that you have a facile understanding of human thinking/creativity, in that you think that a person with bad arguments in X areas must necessarily have bad arguments in other areas, and can't also be a brilliant writer otherwise.
At least in case of the German doping scandals, police was very heavily involved, e.g.:

https://www.welt.de/sport/article189528515/Doping-Beben-Dies...

(related English article, not a translation of the first link: https://www.dw.com/en/doping-probe-of-german-doctor-leads-to...)
A gem of readability and clarity.
Best tool/library to generate PDF documents in .NET?
At my job I need to make many documents like tickets, bills, contracts in PDF format, some of them have a quite complex design. I would like to create bunch of templates and then fill them with data from json, xml files or exported from some remote database.

I mainly work on .Net apps and do programming in C#. I found some solutions online, but I don't know which one to choose, most of them seem to focus on just converting from other formats like html to pdf, but I need to basically create PDF files from scratch with code.

I wonder if anyone encountered such need and would be grateful for any suggestions for a cheap and easy-to-do solution from your own experience.
Yep, stupid L-shaped house where the inner curve is a damn Faraday Cage. NOTHING goes through.

If I'm in the living room and need to move to the other end of the house to get away from family-related noise, the device needs to roam between two APs.

Unifi handles this without any issues.
Could be summed up as "Company's cooperation with local government" period.

Once you do business in a country, you follow the country's rules.

Simple as that.

You don't get to pick and chose or impose your own (and usually, your own culture's and governments and national interest's) ideas and laws.

Unless of course the country is a banana republic, which China isn't.
This is huge news.

Kafka is awesome, but using it in local envs is a pain in the ass, if this is never becomes PROD ready it is already an immense achievement to be able to run Kafka locally with less complexity and overhead.
Building an EHR system: Definition, Benefits, Problems, and Examples
Find out how doctors feel about electronic health records and what it takes to create a successful EHR system.
https://steelkiwi.com/blog/how-to-build-ehr-software/
Your attitude to Myanmar is directly at odds with your criticism that people deserve the government they get. There's no difference between what the junta in Myanmar is doing now and what the CCP did to reformist protesters in Tiananmen Square. You can't say the Chinese people deserve that, but the people of Myanmar don't. That's completely inconsistent. Belarus is still under the control of an autocratic dictator despite many months of protests, which will almost certainly fail. Do the people of Belarus deserve to lose?
> "There have been, again, increased cases of sinusvein thrombosis in younger people, almost all young women, 9 died. Not so in older people."

Given how hard sinusvein thrombosis is to diagnose, how similar its symptoms are to a stroke and that strokes are more common in older people I would at least be careful with the conclusion that its safe for the elderly.
OK, I see your point, perhaps I'll just remove the whole "is there malware" section or rephrase it.

The lack of tabs and the problem of navigating around overall is the biggest pain point for me when using Windows Explorer. Tabs / tab groups are of course nothing new in file managers, but I quite like the way I got them implemented.

Once you get used to navigating your way around mostly with a keyboard (jumping and filtering), you might find this quite natural way to travel within your file system.

It is somewhat difficult to explain how it works, without trying - and actually using - the application for a while. There's an introductory text in the app dedicated for how to use it effectively.
45k gallons of fuel for 400 passengers vs 30k gallons of fuels for a hand full of "passengers".

What am I missing? Seems space flight is a lot more polluting...

My point being: I dont care how many flights of one type or the other is happening. I want to tax pollution fair and square. Same pollution tax on the petrol pump around the corner, as on the airport, as on the space center.
The article is surprisingly short on details. E.g., Google does know your location and the Wifi APs, it's just not the OS that sends it.
Well, Latin. It's short for 'recipere'.
https://twitter.com/_jakegroves/status/1374872023596417024

https://twitter.com/_jakegroves/status/1375002783103995904
Edited, not relevant anymore
What I like about his blog, is he makes it pretty clear why he's saying what's he's saying, both when defending and criticising Apple. You may disagree with him (I often do), but it would be nice to see you showing disagreement with Gruber's line of argument, rather than just TL;DR part. Makes the argument less tribal.
Any reason for the name change besides bad press with the old name?
Yeah but my experience with idiomatic go has been heavily value-biased, and a bunch of useful patterns for state management tend to lend themselves more towards a reference-oriented system. In my experience, this is outside the happy path, but necessary, and so people end up jamming all sorts of things into context.Context to get around the idiomatic paths.
TVs are very similar to Android phones (in fact some of them do run Android) and so have the same challenges when it comes to creating and maintaining alternative firmware.
> Cool, China just spent $1 on me or is it 10 cents. What’s the going rate?

With the current rampant nationalism in China - likely nothing. They created a self protecting system. Especially with introduction of the social credits.
So what ? the trend is getting earlier anyway
The first rule of security is that nothing is 100%. There is always someone who can get you if they have sufficient motivation and resources.

Security is about taking steps to reduce risk, so that its outside of your adversaries budgets to attack you, and taking mitigating steps so that if you do get attacked the damage is limited.

Nothing about this is specific to computers, it applies to all security things, whether that's locking your door or a bank trying to prevent armed roberies.
> Once again, really unsure why you're being downvoted for mentioning facts.
> Are you perhaps hurting some "invisible hand" idealists feelings? Who knows.

I’ve noticed that anything which questions capitalism, especially American capitalism gets rapidly downvoted. There seems to be a group of people, possibly even a bot network, which downvotes any and all such criticism.

Randian ovjectivists have an outsized representation inside of YC as well as the HN community at large.

I mean, why wouldn’t they? In a way YC is a successful cult which worships ar the alter of prosperity.
> This to me indicates that they don't take the internet capability of their kettles/cars seriously enough. It's just a gimmick.

Of course it is, and of course they don't. There are exactly two reasons why stuff like cars or kettles get connected to the Internet:

1) A value-add gimmick to justify a price hike on what's pretty much a commodity product;

2) A way to lock you into paying (with money or data) for a cloud service, using a physical appliance as an anchor.

Actual utility of an Internet-connected appliance doesn't even enter the picture.
I have some ideas on what it might be their "secret sauce" (though I haven't really read their IPO docs)

- Matching delivery people to restaurants to deliveries (and giving them a route that serves 2, 3 people)

- Their app experience is really polished (both on the buyer and delivery people side). Delivery times are usually predicted accurately and it shows when your delivery person is near you.

- Network effects (obviously)

Of course nothing of that is too hard to replicate, but it takes time
For people tired of scrolling Twitter thread here is the link in blog format.

https://mythreadreader.com/awilkinson/1376985854229504007
The GDPR is not being enforced seriously. There are plenty of violations already out there (including from big companies such as Google or Facebook) and nothing serious is being done about it.
Knowing how to look up information, distinguish good information from bad information, and then apply it to the particular problems you are trying to solve is a very valuable skill within of itself, one which a surprisingly small number of people are able to do well.

I think that many cultures have placed undue value on the ability to memorize and recall information due to the historical difficulty in getting access to information sources (think back several hundred years where only the rich would have access to books). With the availability of the internet, I think we need to start recognizing the ability to separate the wheat from the chaff on the internet (and other places) as a legitimate sign of education and wisdom.
I think what the OP means is that you can be in any filesystem without needing to put much thought into it (regardless of the very real differences in implementation). Advanced users who want to interface with the details can do that, but for the rest of us consistency can be good.
BMW i3 has a carbon body, and it's only a little (twice?) more expensive than a normal car.
A lot of inexpensive carbon fiber bicycles are available now, while previously you could only get them for big money from big brands.
Carbon fiber has gotten cheaper, we're going to see it in a lot of products.
Ask HN: Beside your daily job, what else do you do for extra income?
I'm a software engineer with a pretty good salary, but I need some extra income.

My current work load is around 50% and I think I can do another job during the same time.

I'd prefer that extra income to come for a part-time or a full time job with less load. I'm looking for ideas.

So...if you do this: what's your other job?
CCP is following the Nazi playbook.

Red cross visited the "family camps" in Auschwitz, where everything was of course hunky-dory.
I do exactly the same for maven builds, for exactly the same reasons (Discoverable one-liners, bash autocompletion etc.). Added bonus: facade the XML (yuck) based config language of maven
I imagine some will have done. I was honestly thinking of taking a punt on it. Glad I didn't now!
Thanks for putting things in perspective, EdwardDiego.

> The fact that MM2 happened, and Confluent didn't try to stop it, despite it being awfully similar to Replicator, makes me think that Confluent are acting in good faith.

Let me share an anecdote related to this example. We (Confluent) were actually the ones who contributed the documentation for MirrorMaker v2 to the Apache Kafka docs (https://kafka.apache.org/documentation/#georeplication). The development lead on MM2 was (an engineer at) Cloudera, yet they never spent the time to provide user-facing documentation to the Kafka project. I don't want to speculate about reasons, yet I noticed that MM2 was documented in the Cloudera docs.

If we didn't care for the Kafka community at Confluent, we would not have spent our own resources and time to fill that gap, given that we have a proprietary product similar to MM2 (i.e., Confluent Replicator).

https://github.com/apache/kafka/pull/9983
Dr Roma E-Courses
For your resume? not so much, although it adds a touch of sophistication.

I've worked for a company that makes a high percentage of its income from patents, they actively encourage people to file patents by giving bonuses and allowing free time for that. The strategy behind it is that each patent by itself is meaningless and can be objected to, but together they can circle around an opponent and block them.

Most of the patents I have seen were naive to stupid, even the "strong" ones were small variations to well known engineering solutions.
Most common bribes I see is when I go to some countries and I am expected to pay an undisclosed fee to get better service. My anti-bribery training mentioned how these are often quite normal, and dressed up in terms like "facilitation fee", or "tip", but that if I were to pay such a fee I'd be breaking UK law.
Most of this "X does Y with authoritarian government" is basically individuals picking up government signals (propagated through the media) for the new enemy of the day.

That's why it gets increasingly more frequent at a particular time (whereas China has been authoritative for decades when the same now "indignant" people didn't write about it), uses the same talking points (often of some bad but useful source that's repeated as gospel, "orange revolution" style opposition, ex-pats with axes to grind, etc.), and is focused on the singled-out "enemy du jour" even if there are tons of allies doing the same or worse.

Selective government talk points, "leaks" to the press, propaganda pieces, "exclusive access", etc, fuels this further.

Until there's another enemy to focus on, when it all deflates.
Show HN: MovieInfo – Information and Ratings for Movies, TV Series and Games
What a bizarre thing - that question is actually a thought experiment (or something) by the author of Twisted!
AWS STS solves this problem.
I ordered some from Canada, made in Canada, using Ebay (about as reliable as Amazon but it doesn't come from India and it is cheaper).
Unfortunately, no electable party offers this choice, at least in the USA. Both major parties pay the bare minimum lip service to opposing authoritarian regimes, but neither of them actually do anything substantial.

EDIT: That said, it’s hard for a country to unilaterally effect change in another sovereign country without going to war. Hell, how many countries embargo North Korea and it has no effect?
> In UK at least, they're seen as the 'premium' food delivery option

Indeed.

So premium that I now always check other services (particularly Just-eat) to see if the restaurant is on them, as the price differential has been as much as 25%. Over £10 on orders in the £40-50 range!
I know at least one person using bitlocker (windows) with this TPM unlock feature and lost access to his data when he had to get his laptop repaired.

People need to be aware this can happen when using it and should remember to add a password key to their luks container.
font metrics are fractional at most sizes. You can optimize font for one particular size, but for any other, there will be gaps
> However I still don't understand your comment about the Linux OOM killer wanting to kill sshd "first" (or _ever_ based on these renewed findings!) Can you elaborate?

I suspect running low on memory can trigger symptoms that look like sshd failing.

sshd gets paged out (or something else you need for a successful login). Un-paging becomes incredibly slow, as there's lots of IO going on from all the paging. Anything garbage-collected starts running GC constantly, using 100% CPU.

Then your attempt to SSH times out - and with no access to list running processes, one naturally concludes sshd has failed.
> Keeping every new C# feature compatible with every obsolete .NET version obviously has a big technical cost

Strawman there. The problem is not "every obsolete .NET version", the problem is .net in reality have two incompatible platforms at this point, but newer C# versions are only supported on one of them.

Going from framework to core will require (risky, expensive) rewrites, which means lots of real-world code will never be migrated. That is just reality. Startups who rewrite their whole tech stack every six months is not the norm outside of Silicon Valley.

So for the foreseeable future, .net will have these two platforms in parallel. And unless you are a hobbyist, you probably don't get to decide which one to use.

Microsoft have forgotten how important developer enthusiasm is for the success of a platform. Nobody likes to work on legacy code with obsolete tools with no end in sight.
>> what's the point of grades anyway
> To get a good job :p

That's the thing - in my country (Poland) nobody looks at grades anyway. The only exceptions are American companies that have offices there. Everybody else cares very much about the kind of University you graduated from (I think they mostly treat it as a proxy for general IQ and work ethic - best Polish schools for CS have admission rate of 7-10%), but don't care about grades.

> About 20 years ago, it was also common sense that a CS degree from Caltech means more than a 3 month Rails bootcamp, but now they're all treated the same.

Maybe because coding just got easier? I have a junior guy on my team that barely comprehends how computers work under the hood. However, he's still quite productive in an advanced/esoteric functional programming language. He just needs a little guidance by a senior to debug some less obvious issues or to review his designs to make sure they're not a performance catastrophe. Meanwhile, 20 years ago he'd just add a ton of segfaults to a C++ codebase and be fired...
Agreed. If it's something important, sure, otherwise patents listed mostly suggest "worked for a company that encouraged filing patents".
I see it as the way to fix all that software that people insist in using C derived systems languages.
The Clojure language makes use of software transactional memory.

https://clojure.org/reference/refs
You are probably right about the cut the publisher took, but the margins are still higher for Apple as they have very low costs of marketing, distribution etc. In fact I think Apple charges way more if you consider the margins.

The other problem is of course that no one else can really enter this space. It's now only Apple and Google. It will be very hard for anyone else to enter. There were many more publishers and the competition and differentiation was higher.
To be clear, Unsplash never provided images: they created a website that accepted user submissions, that's it. All content in Unsplash is user generated.

What bothers me about this sale is exactly this: Unsplash cashed in on their user submissions without guaranteeing their users (and use!) would be protected and perpetuated.

This is equivalent of me building a little lemonade stand, inviting a neighbor that makes a good lemonade but doesn't have a very visible stand to come give away their lemonade on my stand, and then selling the entire stand (with lemonade) to Lemonade Store down the street.