skysight-inc/HackerNews huggingface dataset:
Oddly enough I just started down the same path learning Ada by following Crafting Interpreters in both Java and Ada. If you decide to write anything up about your journey I'll look forward to reading it.
> 3) Economics is a key component of engineering. There is a cost to everything, the computational power, the energy needed by the servo, etc, etc. Given 1 and 2, a dynamic solution simply has a lower ROI than a static one.

A 'joke' we had in engineering school: Anyone can design something to do X for $5, but it's an engineer's job to get the same results for $3.
Aside from forced updates, and a few bugs that may be as much the proprietary app's fault as the OS, I don't see an issue here. When I use Windows, it generally works.

It's not as nice for developers as mainstream Linux, where you can just build your deb package with a dependency on PyQt and the system can figure it out, but from a user perspective... stuff seems to mostly just work.

Linux Mint is just a bit better in recent years, but Windows is mostly OK and still does some stuff better than others.
This is the part of universal WFH I just don't get. If you can work from anywhere, then why does the value of your work change depending on what country you're in?
The point is that you can include arbitrary metadata of your choosing, in addition to the standard fields that journald keeps track of for you. For example, if you include the id of the logged–in user with every message, then when they complain about a bug you can query the journal to find exactly what they did without any noise from all your other users. And you don’t even have to pay a SaaS company for the privilege.

> I'm just tired of all this added complexity, when I don't really see much of the benefit.

There is a lot less for each application to implement on its own, such as log levels, timestamp format, log rotation or even just the paths where logs should go. Instead those details can be configured by the system administrator using a uniform interface across all applications.
Happy animals gain weight faster and taste better. If you're raising them for meat pure efficiency is a good argument for decent treatment. If you have many critters then the health of all of them could be risked by lack of care for a sick one.

The "human dignity is damaged by mistreating animals" argument isn't a bad one, as you note: people who cannot empathize with animals are more likely to fail at empathizing with other humans.
A collection of inspiring micro-startup ideas
I added it to my Reading List (a newish feature in Chrome). It's a good way to make a list of bookmarks that is also a todo list.
Anything substantive to contribute or just condescension?
Powerlifting. I used to workout without any goal just bodybuilding style. Having clear goals and metrics due powerlifting helped me to progress a lot even if I'm now +40 years old, most important I enjoy it.
I understand closing git.io if they were having to spend too much time moderating it, but they could have limited it to links to github.com instead. We use git.io a lot on irc because channel topics have a short character limit and links to pages on github wikis/etc are useful.
I thought Lumo was this, tough that project might be dead. ShadowCljs is pretty close.
For constant frequency oscillators in code I find myself doing this: use the lowest precision acceptable then compute:

t = mod( t + ts, tPeriod );
x = sinpi( t * f * ts );

Maybe it's not as fast as a LUT, but I've never needed high performance and generally work with higher precision data where a LUT would be unreasonable.

MATLAB example to be more explicit:

f = double(1000);
tPeriod = 1 / f;
ts = double(1 / 48000);
t = double(0);
while true
t = mod( t + ts, tPeriod );
x = sinpi( t * f * ts );
end
Discriminating by age isn't always unreasonable. It's useful to have different generational perspectives in many areas. For example, I think it's a serious issue that the average age of public servants in Congress is so advanced.

The older generations are responsible for training and passing the torch onto the younger generations. The older generation can't keep clinging onto power until they die off.
It says they're paying the same within countries, not between.

In what sense is the cost of production of a programmer higher in the USA than in the UK?
Pitch is the angle of the plane rather than that of the wing.
Show HN: Galga – I made a digital card game
I use Roam Research to track my venture capital projects
What's a good bank in Sweden, if I may ask? My personal experience is several hours (literally) wasted with Nordea, each time ending with something trivial not working (as someone new in Sweden, i.e only setting up bankID). So far, my personal experience with banking here is several orders of magnitude worse than in Germany, even (or because) everyone is proud on it being soo much more digitalized.
My reading is that VC backed jobs/salaries are going to become somewhat less secure if this trend continues/accelerates, but it's probably a little early for devs to feel the impact. Might influence job searching as startups become higher risk.
Love this product, so simple and beautiful. I don't like to go to Google Analytics because you have to check multiple pages to find the information and it is little complicated.

This tool makes it easy by displaying everything I need in a single-page dashboard. Will recommend everyone to try this out.

Best of luck :)
Same here. I had 2 or 3 ipods back in the day and loved it although they had a tendency to fail on me. Eventually, I decided to remove my paid-for downloads off of my ipod. That is when I discovered Apple's DRM and the fact that iTunes was a totally closed universe. I had to abandon all my tunes and I was very mad. That was maybe 2007ish? I have not owned another Apple product of any kind since. They lost me for life not that it seems to have hurt them any.
> Close to the ground in the pattern most folks in the US are taught to be very careful about this.

What makes you think it's taught differently outside of the US?
Wonderful books! They had so much wit and were fun to read. I really enjoyed reading those Perl books. Maybe they were in the spirit of the Perl founder, who was/is a linguist and did not just write technical books, but almost technical literature. Haven't seen these kind of in-between-the-line writing in Python-land (or did I miss the good ones?).
Great list indeed - but he forgot the 'Trust Me on the Sunscreen' line.

(Ref to a Baz Luhrman hit https://www.youtube.com/watch?v=KdQbb3FXSEI)
One argument I've seen against the use of bike helmets is that people naturally gravitate to a certain risk level. Thus helmet wearing, it is argued, leads directly to a slightly more risk-taking style of cycling which cancels out the safety benefit of the helmet.

Agree with that or not (I personally argue that my head is disproportionately in need of protection compared to other body parts - I had a crash that broke the helmet into three pieces and broke my collarbone - but no harm done to my head) - but the same could be said about masks. I've seen many ineffective masks - simple cloth, worn with big gaps around the nose, even ski masks at the ski hill that have a vent for the nose. But now that we're masked, we're doing our thing, we can relax, right? So the usual mob scene at Costco with not even token attempts to keep distance. Would absence of masks cause people to be more cautious?
> Desalination will never scale to a level suitable to supply that industry.

Are you sure about that? It's simply a question of economics. As long fresh water from other sources is significantly cheaper, no one's going to invest in large scale desalination.

Once this changes it becomes a question of which is more expensive - shutting down the agribusiness or running large scale desalination (which has options, from nuclear to solar to the use of metamaterials).
I’ve been using a Mac since Tiger. To me macOS Monterey has been the best version since Snow Leopard. It feels very stable and performant, much more so than Catalina and Big Sur.

I’ve dubbed it the “Snow Leopard” of modern macOS. IIRC it’s coincidentally the second release after a CPU architecture change, too.
That's the same thing goo.gl did.
MinMakt
I have created Gamified social media app MinMakt to engage youngsters in politics. Looking for tips and feedback.
He did wipe the sand off the output tubing... good enough?

I guess if I dropped a drinking straw on the ground in an e.g. parking lot, I'd throw it away, but if I dropped it on sand in the beach, I would think "just wipe the sand off and it's clean!"
The chances are a little more likely, as there are two different 4-byte sequences that can identify a zip file. (Empty and non-empty).
My concern was restaurants
I’m all for talking about tax policy but stop comparing our modern workforces to slavery (unless you are referring to the actual slaves of today). Slavery was/is barbaric and nothing even close to the relative bliss that is the modern workforce. I happily pay taxes, after stuffing every penny I have into tax advantaged investing accounts. At the end of the day I see a lot of government waste, but I also see the necessity of government. We can reign in government spending and taxation but don’t give me this garbage about how I’m in slavery.

If you want a perspective on how bad slavery was, search for this:
Hardcore History Ep68 - Human
Resources

Also, I knew immediately you were some libertarian/right, red pill person because I see this kind of talk all the time from old friends. Ya ya, the ruling class is so bad. Why are you preaching your gospel on HN? Do you want some ruling class VC money for your startup or not?
I stand corrected, thank you!

To clarify, I misremembered Factfulness. The book actually talks about "developed" versus "developing".
In my memory I jumbled that up with "third world".
It seems like many people agree CI is very engaging. Would you recommend any of those other language design books on your bookshelf as similarly fun and engaging? If so which ones?
It seems approximately correct to me. I always do `--no-dependencies` when I have a `pip freeze` output, for exactly this reason.
Important also to remember that after the FO, who was pilot flying, first expressed surprise that something didn’t seem right, the period of confusion lasted only about ~45 seconds before the captain confirmed that he/she had taken command. Quite a long distance at about 130kts but not a long time in human problem solving terms.
Not at all? Even in Norway, cash is still used to a small degree.
Of course, I'm talking about comparing equally skilled and experienced employees. Can you rephrase your answer without conflating employee aptitude and CoL/local Labor market?
As a researcher that has used git.io in at least one paper in the past, this is a relief. Unfortunately, GitHub permalinks to specific files (at a specific commit) are rather ugly, especially if you need to put them on paper. Hope they come up with an alternative.
Wasn't it already limited to github? It would be weird for them to create a general purpose link shortener.
Also found it can be good to talk it out later that day once the kid has calmed down or the event has passed.

At times asking my child after story time, right before bed, "hey, remember today when x and y happened. Do you want to talk about it? Why did you get upset?"

I find kids will happily talk and give their side of the story. It's good then to explain what you think could be a better way to handle that situation in future. Often they'll agree and I'll even hear them later using the strategies to resolve playtime disputes with other kids.

If I raised my voice or was involved in the event being discussed, I will also share my side of the story and explain what I'll try to do to improve or help in future.
>they could have limited it to links to github.com instead

Isn't this how it worked?
Add:

- If you have spinach or any green leafy vegetables, carrot, turnip or celery, avoid reheating them. These nitrate rich vegetables when heated again can turn toxic, releasing carcinogenic properties, which are generally cancerous in nature.

- Some fruit juices and fruits (most notably grapefruit) can interact with numerous drugs, in many cases causing adverse effects.

- Floss.
Show HN: Self Hosting C Compiler
This is my hobby C compiler project. Decided to publish the code today, as it finally compiled itself.
The readme on the linked GitHub page has a bit of information on how it works.
I wrote the thing for fun, but if anyone gets a better understanding of the dark corners of C because of it, I am happy.
I view this as a highly accurate response from LISPers.
I teach CS in college (in NL, not the US). In the discussion about online teaching many forget to take age into account. Age differences are huge. Let me repeat that: Age makes a huge difference. Especially below 21.

Take my 18-yo and 22-yo students. They have responded to my online teaching in a very different way. The 18 year olds responded much better to physical teaching - most vocally preferred it - while older students generally preferred online. I could write a lot more about the details here but I'm on my phone

My daughter teaches math in high school and what she sees can be summed up as: kids are social and need supervision, and a different approach depending on age.

12-year olds are basically still kids but as soon as puberty kicks in kids are overwhelmed by a series of physical, psychological and social changes. This makes life hard to navigate for them and for this reason they need guidance.

So in my opinion remote learning (without local adult supervision) is the worst option for high school.
Do you ever sleep? Seriously; your productivity is insane.
What made you post such a negative comment? You could have just closed the window and resumed with your day, but what propelled you to be so angry about this particular advice that you had to write about it here?

The list is obviously not for you, but this reflex where one needs to be so angry and vocal about something so benign (and useful) is what makes me question what have we done to ourselves as a society.
"And listen so kids will talk". Very important part!
Lumo is one instance of what you can do with self-hosted CLJS and yes, the project is unfortunately dead.
It has changed a lot over the last few years. In a typical supermarket in Berlin you will see that the majority of customers pays electronically, these days. Adoption rates may be lower among older people and in rural areas, though.
> I sometimes wonder if Marxism has a bigger influence in some "language designer circles" than (for instance) Darwinism ;)

Or some (programming) language designers are creationists deep inside their hearts (without willing to admit it). ;-)
Review of the Ledger Nano S hardware wallet
Oops, sorry, the shared 'f' first character must have thrown me.
I assumed the point is whether you can do this from the repl? This is something Emacs is good at, but VSCode doesn't seem to be; in Emacs, you can do something like M-: (insert "FRED") RET and you'll see FRED appear in the current buffer. For good or (more rarely) for ill, the repl runs in the same context as the editing environment. You can use this to interactively develop extensions or just drive the editor from code as a one-off.
The actionspace of super mario is {left, right, down, up} X { jump, shoot }.

Meanwhile, lots of advice is "first kill those turtles, go through the castle, and save the princess. easy".

"Only have good bosses ... Only work for role models" ... ?

Goals should be communicated in terms of end states, but everyone already agrees on the goals. Advise needs to be actionable.
Probably the people who proudly proclaim to "have no filter".
It's financial engineering.

The human history is basically one big arms race to get the maximum profit with the minimum effort.

Up until the invention of BTC bankers and capital allocators like Buffett were leading this arms race. Making tons of money doing very little physical work (or even domain specific intellectual work).

Now enter BTC circa 2009.

BTC leverages people's deep fear of inflation and turns it on its head using deflationary financial engineering.

Deflation attracts people because it's a hugely attractive proposition to increase one's net worth while doing nothing during the day and partying with likeminded people at night. Almost too good to be true.

BTC skyrocketed because people don't understand that if something is too good to be true, it probably is. At the end of the day Power Law is undefeated and only one person benefits from the too good to be true scheme, much like only one person wins the lottery. For sure it can't be too good to be true for what amounts to hundreds of millions of people who bought into the scheme.

Something gotta give
Your comment should be the #1 in this entire thread.
Honestly I have no idea. But if they were having issues with spam hosted on github.com, what problems does deactivating git.io solve? The spam still exists and it's hosted using their service. Just the link is a bit longer.
> A troll will offer to settle for a small amount rather than risk getting their patent cancelled. I think it's fair to call it "irresponsible" if you pay them that ransom, but of course, it's cheaper for you that way.

And that is called paying the Dane-geld;

But we've proved it again and again,

That if once you have paid him the Dane-geld

You never get rid of the Dane.
Ask HN: Any risks in paying creators/sellers directly?
I was curious, are there any risks/liabilities in buyers paying directly to sellers, instead paying into companies account and then having payouts.

As an example, if Patreon allowed Creators to connect their Stripe accounts and allowing the money to go directly there.

Is there a risk, if it came to "returns"? Making the company liable and not necessary having the money to cover some costs?

Or is it just to control the money flows?
> If you stop to listen to a musician or street performer for more than a minute, you owe them a dollar

if i am a child, with no money, or am un- or underemployed with very little money in the form of disposable income, then this advice is not actually actionable.

not to mention that it is also wrong - you do not owe the street performer anything, no matter how long you stop and listen for. they are not entitled to anything just because they made a choice to perform in a public place. and this is not to suggest i have never, or will not in future, donate to buskers etc. - but it is always an active choice...
The Fed publishes its balance sheet holdings publicly.
Yes, sometimes technologies are forgotten, and sometimes they didn't catch on because there were some complicated gotchas

The space pen vs. pencil story comes to mind, and it seems silly they wouldn't use a pencil except that it is a dust hazard, a short-circuit hazard (especially if you're using circuits more densely packed) etc
Number 7: "Anything you say before the word “but” does not count."
It should be, but humans are humans.
It is too hard for me to chose only one:

1. Honest lottery where result is derived from some bits considered to be random.

2. Abuse-proof selling of (controversial) digital goods like vpn or porn with not enough old actresses for your jurisdiction.

3. Storing some bits of data forever (this is the most important feature of so-called cryptocurrencies from my point of view).

4. Donates if you don't want to deal with third-parties like please allow me to support the guys you have considered as terrorists without any legal consequences for me.

5. Taking my money with me if going abroad (if you are both not going to pay tax for taking too much cash and not allowed to make some transactions using bank accounts).
pro-tip: send the toy to timeout instead. Consequences should be logically connected to behaviors.
Is this Microsoft "killing" off a perfectly stable and low maintenance/overhead product/service just to save a few pennies? As a GitHub paying customer, I would gladly pay an extra few cents per month for this feature to continue. We use link shortening all the time especially for linking to a specific commit + line reference in our code. Shutting this down makes zero sense. :-(
That was definitely a joke
Nice list. Some hit the spot, others miss. Not sure if the author is trying to be funny with points 7 and 8:

> Anything you say before the word “but” does not count.

> When you forgive others, they may not notice, but you will heal. Forgiveness is not something we do for others; it is a gift to ourselves.
Technically not a Ponzi scheme but still a scam and/or a con.

The fact that some people profit from a con doesn't negate the fundamental nature of this zero sum game. Everyone can't win. For every winner, there must be losers of an equal or greater amount.

Finding more/bigger fools can be fun and profitable but it is not building or creating any sort of substantial real world *value*. The only *value* in this game is that which was created from nothing or obtained from other misguided players. Common sense should tell you that to nothing it will eventually return. Eventually, lots of people will have to be informed that the only *value* they hold is a few electrons and a broken dream. The tricky part is figuring out *when* this will occur.
Developers too. Do we really need this error-handling clause for scenarios that can only occur on Linux 2.4.x running on PPC hardware with non-standard locales?
Cost isn't the only consideration; staffing is also important. ECMO is extremely high-touch (1:1 nursing recommended, and some patients may need 2:1), even compared to other ICU procedures; given a primary concern during the pandemic was running out of ICU capacity, a bunch of patients on ECMO can cause you to get to that point much more rapidly.
> to behave in such a way that it inserts a suitable “empty” value for whatever type the option is guarding.

Some types have no suitable "empty" value. It is dangerous to assume you can always find such a value.

In essence, when you're expecting that such a value exists, you're implicitly relying on your type being a suitable monoid. That's fine when you're expecting this and when it is actually a monoid, but not all types are.

> In practice, you’d instead write code to provide that empty collection at the call site.

Not all types can be modelled as collections. This is the same problem as above.

What I'd actually do is either:

1. Fail the parent operation by again using `?`, or
2. Provide a suitable default/"empty" type, if it is possible to continue.

It's very important that such a decision is explicit on a case-by-case basis, and this is what `?` allows you to easily do without much fluff or noise.

> At this point you’ve rendered the Option wrapper pointless though.

How was it useless? It allowed us to safely write a procedure as if the value existed and otherwise cheaply signal failure to the caller. The caller can then repeat the same process.

What's important is that the procedure stands on its own and is safe out of the box. It clearly says that it can fail (by returning an option) and we know exactly when it has failed and when it has not.

> You’ve given a different behaviour which is of course, a logic bug.

I don't see where the bug is?
I will admit that I misunderstand TimPC’s point about people having to pay the land value tax in addition to the mortgage; I misunderstood mortgages in terms of who really owns the land.

But the point still stands. If the land value tax is paid by the homeowner, the sales price of the land is zero (under a 100% LVT), so the mortgage rates are lowered by an equivalent amount. So there is no additional burden upon the homeowner. If we flip the model and say the bank owns the land, they will pay the land value tax until it is paid off. In this case also, the sales price also drops to zero so the mortgage just incorporates the land value tax and the building payment. In all possible arrangements, there is no additional burden on the homeowner until the mortgage is paid off.
A game exploring policy issues that impact startups
NFT Finder