skysight-inc/HackerNews huggingface dataset:
I wrote the article.

I was a Mac user then too, from System 6.

You may forget but there was a graphical desktop for DOS PCs before MS Windows. It was called GEM, by Digital Research.

Apple sued Digital Research and forced DR to cripple its GEM desktop on the PC, by obliging it to remove features deemed derivative of classic MacOS: desktop drive icons, drop-down menus, etc.

So, for instance, DR moved drive icons into a window.

This is why Win95 has "My Computer" and "Network Neighbourhood" and so on instead: because it wasn't allowed to put drive icons on the desktop, but folders with drive icons in was OK because it didn't infringe.
The deadline for petrol cars is unrealistic, we dont have the generating capacity or the infrastructure to deal with that many electric vehicles and I dont know if we ever will. Hydrogen is looking like a better alternative right now.
I just did some quick calculations (which might be wrong, but maybe not by orders of magnitude) based on reported numbers on the internet. It seems that powering a medium sized air source heat pump purely on solar in a UK winter would require a £34K investment in solar panels, covering nearly 300 square metres. Not exactly viable per property in city-density housing.
So maybe I misunderstood the article, but I would expect that (assuming my router is on 192.168.0.123) that

ping 192.168.0.123

followed by

arp -a 192.168.0.123

should tell me the MAC address of the router. But instead I get "No ARP entries found." - what's going on here?
There is a huge difference between using your IP address in the course of the technical implementation of the IP protocol and the subsequent logging and re-transmission of that address to others, effectively you are agreeing with the GP while starting your comment with 'that is not true'. It is true. And you confirmed it.
>Dropping fallacies is just lazy and makes you sound like a dick.

Yes, this happened in the tragic case of Fallacy Man [0], who demonstrated that simply announcing a fallacy is not a sufficient argument.

[0] https://existentialcomics.com/comic/9
I think there is a cut off point where influence is entirely down to hierarchical position.

Yeah there are some people who cross cut and have personal influence (every org has celebrities) but in the main a person who has 1000 people reporting to him has more influence than someone with 2 people.

How they got to that position will have very little to do with the skills sets mentioned here.

It's kid of like the French aristocracy before the guillotine was invented writing a book on how to rise through the ranks to become an influence at court.

It's missing most of the important stuff

PS - I am getting overly cynical but I do favour democracy in organisations
This is only a problem because the president is an elected office, if it was appointed by the legislature and a 50% majority or coalition is required to form a government like modern parliamentary systems it would not be an issue.

Forgetting what could have been, a third party does not need to win the president's office or even have a presidential candidate. A handful of senate seats and a dozen or so house seats are enough to make a huge difference. It will essentially be the tie-breaker or "dampner" party that prevents extremists from wrecking havoc like they are now. Think of it as having a party of Joe Manchin's without the selling out to big coal part.

Not having a presidential candidate at all prevents voters from voting on party lines. They should also prevent the option where you check one box and that means you vote for only one party for all candidates. If you want to do that, do it one by one.

Also, I have a solution for gerrymandering: split a state into a square grid where the dimnensions are set based on a false assumption of equal population distribution. Then adjust the size of squares with less population than the presumed popularion under equal distribution by merging them with a similarly apportioned square segments of a neighboring square with the least population. The result would be a somewhat fairly divided grid where divisions are made by the algorithm and nothing else. Census adjusted of course every few years. What is wrong with this idea? Squares will have less people than others but the difference between them is minimized. The number of house seats depends on the number of squares(or rather square derived parcels).
Fantastic article. Thank you so much for putting this together. Any thoughts of putting this in a Git repo somewhere so that it can be a living reference contributed to by others? Otherwise, I worry that in 6 months this will start to get confusing, and in 18 months it will be dangerously out of date (though I haven’t used poetry yet, so maybe they aim for more stability).
How is the documentation for this deployment and tuning? Last time I checked I had the impression that anything about the dozen of different node types weren't very clear, not to mention details about the ingestion were all over the place.

And it was hard to find examples of configuration, ingestion other than basic tutorials
>The bit of tension in some dainty washer before the bolt is tightened means absolutely nothing.

Only if you restrict yourself to the "real engineering" that the internet loves.

>and the only possible reason that would ever be useful is if the application stayed in the operating area of that knee!

Which is frequently what happens when you try and build shit out of slip fit "what's the thinnest wall tubing we can get away with" held together with bolts acting as pins and the assembler is expected to just kinda eyeball it and not crush the tube lock washers are beneficial. We ship with nylocks now though because the extra part count is more expensive than the difference between nylock and split washer at our volume.

>There are devices in which a nut compresses a spring to a variable amount, like preload in suspensions, or resistance in exercise equipment and such. That is not a fastener application; it has nothing to do with locking.

This is just an argument of semantics/taxonomy. See also: belville washer or spring washer.
> tax

Not sure how making the government profit from it is gonna solve anything.
> Traditionally rendering has been concerned with the RGB colors

I do need to point out that many (most?) so called physically based renderers are still RGB based, with all the downsides that come with that. Mitsuba is notable for also having spectral rendering, which is a distinct feature that models light as a spectrum instead of rgb triplet.
While we are comparing irrelevant metrics to the discussed topic: Germany beats California at World Cups but loses out to it at World Wars.

Turns out a country can be superior at one thing without being superior at all the things.
I wouldn't call the details he goes into with traceroute "just basics", its common even for network engineers to come to the wrong conclusion based on traceroute output, or not realising that they need more information to truly know what is going on (traceroute from both sides).
I feel forced to upvote your comment.
You'd be surprised, especially since most of the "new drugs developed in the US" are crap consumer oriented drugs with no real medicinal value (a trillion snake-oil industry) and differentiating qualities, and reiterations of existing stuff to get new patent leases...

Even so,

https://www.iam-media.com/article/switzerland-once-again-nam....
For residential property, yes, the continual impact of a huge airport nearby depresses prices.

For light industrial and warehouses, the opposite.
Well, we have an Alexa. It is always unplugged except when someone wants to listen to music using it. Agree so that a Bluetooth speaker would do the same thing, worth thinking about.
> A byte is the smallest addressable unit on a given architecture.

That’s normally called a word. I’ve seen casual usage of “byte” in that context but formal documentation has always used word.
[Article author here]

You're missing the real core point.

Apple sued to protect its features.

So, Microsoft had to do things differently.

Apple: drive icons on the desktop. GEM, Windows: drive icons in folders.

Apple: global system menu at top left. Clock at top right. Windows: start menu at bottom left; clock at bottom right.

Apple: start apps by browsing to their folder. MS: separate app launcher menu.

Apple: no graphical way to switch apps, because classic MacOS multitasked poorly. MS: the task bar, with buttons for each running window.

The point is not the broad general similarities. The point is the differences.
That was just an evil demon deceiving him with a false illusion of the real world. It didn't actually happen.
Just to be sure: You still find it cumbersome with an editor like VSCode where you get autocompletion for pretty much all the stuff json-schema can do?
Fortunately the government is working hard to gut GDPR so workloads will be shifted to the EU and those data centres forced to close /s
> The difficulty is that there is an entire class of people who don't even care about being logically correct

I don’t think this is the right perspective. Being logically correct doesn’t exist, the best you can do is be logically consistent with your chosen axioms. I would suggest the deeper problem is that people tend to not think too much about the foundational axioms of their world view, and think you can simply debate a topic with somebody who has a world view founded on a completely different set of axioms.

No productive debate can take place in that context, because the controversy stems from the merit of your axioms, not how they apply to a given situation.
Way easier.. full parental control, no phone for the kids. 100% effective.

I got my first phone at 35. I figure my kids can wait a bit.
Hmm, feels like confirmation bias? I haven't noticed any recent increase of purple myself. I suppose it could also be a regional/country thing, hmm.
https://archive.ph/DMlEM
Thanks for catching that! I couldn't find anything from my logs, that was frustrating.
The frontend of Peerdiem is served from www.peerdiem.com while the backend uses www.api.peerdiem.com. It seems that a strict tuning of the AdBlocker might prevent requests to a subdomains.
I will put up an explanatory text on the homepage for those encountering the same issue. Thanks again!
When the CNIL makes a statement saying it is impossible to legally use Google Analytics a title like "Q&A on the CNIL's formal notices concerning the use of Google Analytics" is simply not going to cut it.

The fact that the title hasn't been edited even though the post is over 16 hours old seem to support the above hypothesis.
Mission to reach and operate at the focal region of the solar gravitational lens
Ask HN: Setting up a custom map server do's and don'ts
Hi all, I'm trying to setup a custom map server for a field tracking service. I have used the below setup to host one.

https://hub.docker.com/r/overv/openstreetmap-tile-server/

However, I'm trying to optimize this to run in a low cost hardware and specifically only rendering Asia maps. I'm successful till this but would still appreciate some help on making it performant/optimizing this.

Also, I'm trying to add a bunch of layers (similar to mapbox) on top of the base map and looking for open source solutions for it. Ideally all of them should be run in an offline setup, so can't have any dependencies over the internet.
Bull-Bear – a daily number guessing game
During lockdown, like many of you, my wife and I would try to think of things to do in the evening. A blog I read recommended this book - The Lost Art of Having Fun: 286 Games to Enjoy with Family and Friends.

Inside we stumbled upon a treasure - a game called Bulls and Cows. This game has been around for years and sports multiple academic papers hunting for the optimal algorithm to solve it. Many of you will know Wordle or Mastermind, and in many ways this game is similar - though based around guessing a number. So I decided, with some help, to build it. Being a finance nerd I naturally turned this into Bulls and Bears and hosted it as a subpage on my blog www.snippet.finance.

The game play is simple - just try to guess the secret four digit number. You will be given prompts in the form of bears (which indicates one of your digits is right but in the wrong place) and bulls (which indicates you are spot on). You don’t know which digit these prompts refer to!

Once you guess the number correctly the game will tell you some trivia about that number. These are scraped from Wikipedia so please bear with us if there are errors.
Autonomous driving is like alphago/alpha zero: without the algorithms it's really hard to solve, but when the algorithms are ready and mature, it will be easy to do and open source.

So far the biggest winners are companies outsourcing the time of being ready to retailers: Tesla and Comma.AI
Many other comments have noted "jerk", the derivative of acceleration that you can feel in a car; but here's maybe a way to make that a little more concrete.

Suppose you're driving, and you keep your speed constant (no change in the accelerator or "gas" pedal). Keeping the steering wheel at a fixed orientation then moves you uniformly along a fixed circle == constant acceleration == constant force (you feel from car) to the left or right.

But when you move the steering wheel, you're changing the circle radius, and changing acceleration, which changes the force you feel. To a first order approximation (I think), the rate of change of steering wheel position is the rate of change of acceleration, or 3rd derivative of position.

It's not a surprise that a car ride feels smoother when move the steering wheel slower, but the speed of steering wheel motion is the simplest tangible example I can think of for controlling and experiencing a third derivative.
Taking photos is not natural.
Unfortunately one of the biggest technical problems with renewables is that we still lack an efficient way to deal with energy storage. It's still relatively expensive, inefficient, and creating waste. Maybe in 20-30 years you will be able to live in the winter using the energy produced during the summer and stored in batteries that are cheap and 100% recyclable, but it's not a reality yet.
I'm less trying to compare the two areas line by line and more pointing to the absurdity of ascribing Apple's actions to a national prudishness.
It's a bit circular to refer to it as personally painful measures though, and that seems to be a regular trope.

Carbon taxes etc., are fairly subtle and boring technocratic method to achieve a goal. The reaction to them is almost entirely based on false impressions, a nested series of false impressions actually. There is no problem, there is no solution, this solution would make things worse, this solution would hurt me personally. this solution is just a scam and so on.

"I don't want to do the thing that economists say is most efficient, because it would be painful" as a democratic opinion doesn't really make any sense. If it's efficient then you can use the efficiency gains to compensate anyone who loses out.

And then that deliberately misinformed reaction is somehow raised as yet another reason for not doing the most sensible thing, and to talk about how "painful" it would be to stop polluting and incentivize efficiency.

And the only reason we appear to need to talk about what people want in this weird, third-hand, circular way, is that if you actually ask people what they want, then they say they want to address climate change. And since that answer isn't acceptable to some people, they need to come up with elaborate ways to prove that people don't actually want what they say they want, and that economists say is the best thing to do.
After some frustration with the TypeScript schema library ecosystem, I've decided that I'd prefer to declare my types using TypeScript's excellent type syntax, so I can take advantage of generics, mapped types, etc. Then, I'll take those TypeScript types and compile them to whatever alternative schema format I need.

There are many libraries that claim to convert your Typescript types to other formats, such as ts-json-schema-generator, ts-to-zod, or typeconv/core-types-ts. These libraries work by interpreting the Typescript AST, essentially re-implementing a bare-bones type system from scratch. Most do not support advanced Typescript features like generic application, mapped types, or string literal types. So, what's the point? To avoid those limitations, I use Typescript's first-party ts.TypeChecker API to analyze types, and an existing library called ts-simple-type (which I've forked) to convert from ts.Type to a more usable intermediate format. Then, I recurse over the intermediate format and emit "AST nodes". It's pretty simple, but seems promising.

So far, I have compilers from TypeScript type to Python 3 and Thrift. But I plan to add OpenAPI/JSONSchema, Protobuf (Proto3), Kotlin, Swift, and maybe Zod and Avro. Each target language is around ~300 LoC so they're pretty easy to put together.

My ultimate goal is to use this toolkit with Notion's internal types, which are quite a bit more complex than something like ts-to-zod can handle.

Repo: https://github.com/justjake/ts-simple-type

Compiler input and output: https://github.com/justjake/ts-simple-type/blob/jake--compil...

Thrift compiler: https://github.com/justjake/ts-simple-type/blob/jake--compil...

Python compiler: https://github.com/justjake/ts-simple-type/blob/jake--compil...
> I don't think anyone feels like the US shouldn't have its own culture

I disagree with that. The "America as merely an idea" sentiment is quite popular. [1]

> It's just that (sorry for using such a provocative word) the entire war/gun-fetishism is weird af for most outsiders.

Children in Europe don't play with toy soldiers or guns?

[1]: E.g. https://m.youtube.com/watch?v=K19IFoKNYSI
Two curious points:

1. I see it thinks Hawaii is effectively in canada. I'm assuming this is because the default behavior for unlinked nodes is for them to end up near the top in empty space?

2. Why are there no edges connected to Arkansas as it is within the main continental US?
Cynically, I think they made it open source so they could get some free development for it.

Also they open sourced the bits they didn’t want yo keep proprietary…? According to Wikipedia:

> In July 2021, Amazon and the Linux Foundation announced _that parts_ of the engine would be used to create a new open source game engine called Open 3D Engine
It's pronounced 'sluff', don't you know.
Tesla Model 3 performs the worst in the ADAC test
Ask HN: As a dev manager, how do you deal with a prima donna?
I'm about to take over a small team of developers. Over the past few days I've been sitting in on their daily standups and attending various project meetings, getting a feel for the group and the status of ongoing work.

It's become apparent to me that one of the developers is a prima donna. He's been with the team for about a year, and during that time he's virtually rewritten every project he's worked on (because the old codebase was trash, of course), he resists learning anything about the other technologies in his projects' tech stacks, and his views on customer feature requests are utterly binary ("easy" or "stupid").

The developer really is talented, for those technologies in his wheelhouse. He is probably the best developer in that group and I can see why his current manager hired him. However, the friction is ... considerable.

I've read many articles and blogs about handling prima donnas on a dev team. Some of those were good, some less so.

HN, what is your experience? Have you had success turning a dev like this around? What did you do? I would love to hear from non-managers as well: How is it, working on a team with a prima donna? Was it a problem, and was it resolved well?

Thanks!
those tractors don't have to avoid other vehicles or pedestrians, they don't have to obey traffic laws, they don't have to be on the lookout for road maintenance, closures, detours, etc.

that's not even close to a fair comparison.
For residential, sure. For commercial, the inverse is true.
> the name of the game is to get the emotions on your side.

In order to do this, you need to recognize your own emotional needs. You might say something like: “to move forward here, I need to trust that we are both willing to see reality clearly and use solid reasoning to make wise decisions even if those decisions are uncomfortable to think about. When I hear you say X, that I notice that it risks {name of fallacy} and I would not feel responsible unless I help us avoid stumbling into that. Could you please help me by clarifying what you mean here?”

This imposes some discomfort on you by clearly revealing needs for responsibility and trustworthiness… but it also gives the other person a clear choice:

A. Re-think what they’ve said and either follow your lead in avoiding the fallacy or asking you for help understanding.

B. Explicitly deny your need to use logic to make responsible choices.

And you can decide how much to trust the other person when the responsibility they have for making that choice wisely is made clear to them.
I'd convince the team to switch to typed or get out of the project
Apple took resizable overlapping windows from Xerox; in return, Xerox got shares in Apple. Not stole: bought, with stock.

Then, on the Lisa, Apple invented from scratch:

Standarised dialog boxes; a global menu bar; window title bars with global controls on them; standardised icons and functions and buttons (OK, Cancel, etc).

None of this stuff was in Xerox Smalltalk.

Xerox invented 3 things: overlapping resizable windows; an object-oriented programming language to create and manipulate them; ubiquitous networking to connect the machines.

Apple took the windows, missed the rest.

Source: Steve Jobs.

https://www.youtube.com/watch?v=nHaTRWRj8G0

But Apple invented most of the standard GUI controls that we all know and use today. They weren't in the original Xerox system at all.
OK, but those are not enabled by default. BTW, Emacs also has it as an available feature: M-x xterm-mouse-mode
> In Germany, this changeover started just a few years ago

In Switzerland as well, yes. And I can't remember which burgers or items it were, but I remember seeing items in a german McDonalds which I've never seen in Switzerland.

In Italy you can order a couple of different beers, even from self-service terminals. In Switzerland I remember them only being available when ordering at the counter, and they only offer one kind of beer. Not that I care about beer at McD, just something I noticed.
Ask HN: Would you pay for a pricing page builder?
Would you pay for a service that does the work of building the pricing page for your website yourself and connecting it to the respective API?
GP clearly meant the gray colour common for stainless steel objects:

https://im01.itaiwantrade.com/f741c34e-0130-464b-a4d0-1607a2...
It's interesting to think about examples where we've been moving to a better world, or more rational choices based on these seemingly more boring color selections, or where external factors are driving them:

1. White as a car color is much more practical in any place that gets a lot of direct sun. In e.g. South Africa you might drive around all day and not see anything except white cars. In Western and Southern Europe their popularity is a rough approximation of summer heat and sunlight in the area.

2. These photographs are by-and-large leaving ignoring practicalities. Sure, a natural wooden wall is nice, but it also needs more maintenance to look like that than one that's painted white.

3. For kitchens boring colors are practically synonymous with an increase in durability and the ability to withstand water. It's easy to get stainless steel, or a white and black marble countertop, you can't paint stainless steel and still place a hot pan on it, a wooden countertop is going to be subject to rot over time, particularly with water ingress. Once you pick stainless steel or white/black for major surfaces others tend to follow.
This comment reminds me of one of my favourite Mitchell and Webb sketches: https://youtu.be/nWoWHzq21tA