skysight-inc/HackerNews huggingface dataset:
> Terrorist attacks are defendable against.

The next time you’re in line at TSA, at a public event (sporting, concerts), at a major transportation hub, any large gathering of people, think about this position you’ve taken. There is a multiple victim shooting event almost every day in the US, and your argument is terrorist attacks can be defended against? We can’t even protect the country from ourselves. These outcomes are a choice.

https://www.gunviolencearchive.org/reports/mass-shooting?yea...

https://www.gunviolencearchive.org/

> In a 2017 US study, researchers found that the average police response time was around 10 minutes. Department of Homeland Security research revealed that the average duration of an active shooter incident at a school is 12.5 minutes yet the average response time for law enforcement is 18 minutes.

https://criticalarc.com/cutting-your-teams-response-time-in-...

https://www.ojp.gov/ncjrs/virtual-library/abstracts/response...

https://jasher.substack.com/p/police-are-taking-longer-to-re...

https://www.npr.org/2023/01/17/1149455678/why-data-from-15-c...
Not just understanding, but how to parse it. For example, I can read a theorem that introduces a bunch of variables in the first sentence that don’t get used until a few lines later and say “yeah those are probably just some constants they’ll use in an upcoming equation for an upper bound or something.” Before I was familiar with higher math, I’d say “what the hell are these where did they come from?” After reading enough books and papers, you can see a few steps ahead a lot of the time due to past experience (similar to what veteran chess players do). I can also jump to the middle of the document and see some notation that was defined earlier and guess what it is. Different authors might denote the space of continuous functions in a few different ways but they tend to be very similar for common objects.

That said, there’s a lot of poorly written theory publications out there in my opinion. A big sin to me is that a lot of them will do stuff without explaining in simple English beforehand how they’re going to do it, why they’re doing it, and why it is important. The first item you can get if you’re going through the math line by line at least, but that can be arduous and often I want to understand the big picture before I dig into the details. It doesn’t take much — just a couple of sentences before or after the result can go a long way.
I don’t agree.

I got a feeling that in the political space we are given a binary choice between two dudes. The winner is then being courted by big-something to make a decision that benefits said dude.

All the nuance and actual say about pressing questions has been removed.
I think you fundamentally misunderstand the strategy of terrorists. They are looking to provoke a violent overreaction in order to radicalize the populace. It is a response to our ability to blow them up, and not one we have developed an antidote for.
Sounds like an inside-out NextJS!

What you can do with this is design your app as an SPA and have this give a quicker loading experience to any route that is “logged out” so to speak.

The problem is in reality you are logged in and what NextJS can do is allow you to define the subset of the page that can be static.
Hiew Hex Editor
But I think we can all agree on that we are all mostly stupid. And you can’t trust a stupid person to behave selfishly in an intelligent manner.
You’re basically arguing for land value tax. I don’t spend much time worrying about LVT because it isn’t widely used in the USA.

StrongTowns likes to talk about it: https://www.strongtowns.org/journal/2019/3/8/if-the-land-tax...
Who did you think the quote was from?
It's not really well advertised and I'm not sure Apple is continuing development, but iOS has a voice clone feature called "Personal Voice" - it takes about 15 mins to train it with your own voice (and then takes a few hours to process on-device when locked). You can use it in phone calls and FaceTime (maybe other places?). It would be nice to use it for general TTS.
With a hint of political news.
Because most EV charging stations are unattended. It brings the barrier down from armed robbery to vandalism and theft.

Putting cash in a pole in the street is really going to casuse a problem at the amounts that EV charging requires.
The effect is particularly impressive/pronounced if you walk around with a headlamp (like literally a light on your head, as you might use when camping).
What is a good way to give constructive feedback?
Any links for Go + HTMX templates?
https://archive.md/0v1qg
The app looks nice, great work!

In "New - track Progress habit", if I accidentally change "Start Value" I can't get it back to 0, entering 0 will be converted to 1 automatically.
Your first sentence is correct but I don't think the second tracks. US is surrounded by massive bodies of water and has no land border with a hostile nation. Invading it is not very practical. The tendency of civilian population to carry weapons may be a bigger deterrent to invasion.

It can sound cheeky but perhaps the biggest thing you have to show for it is overall more free and less murdery world thanks to people wanting to prosper and stuff. Going to war is suddenly unappealing (unless you are very small and have nothing to lose, but then you do less damage comparatively).
I recommend you read Humankind by Rutger Bregman. It disputes this notion, successfully in my opinion.
What are you trying to make him say? First, sex is not the only thing kids do earlier than 18: kissing and fondling, we did at various ages and it's I think normal and quite harmless. It s not like teenagers will wait for their 18th birthday at noon to start thinking about it.

But that means nothing special: ofc consent is priority and I agree consent is hard to give in full awareness before 16 and assumed automatically after 18 (since that s the definition of majority: your decisions become your responsibility).

I think we need to be a bit honest that between 16 and 18 there s a grey area where kids experiment and instead of saying they shouldnt and hide our head in the sand, we could maybe focus on guiding them towards safe practice just in case.

I kissed my first girlfriend at 14, had my first blowjob at 17, and first penetration at 19: it's a slow progress to maturity and not once my age mattered to me, it was completely irrelevant and we just discovered it slowly all together. No one seemed to have been harmed.

But I can def accept stricter enforcement before 16 just because it s really really hard to make sure they understand what they consent to.
Yes. There are many (infinitely!) ways to write an equivalent expression, most of which are not as clear to read as the standard format.
ChatGPT 3.5 was great, until 4 came out and now it is garbage in comparison.

But I suppose what I really want is for everyone who includes ChatGPT in comparisons to explicitly say which version they are using (and, if they are using 3.5 in their comparison I hope they at least try 4 first) and definitely not just say "ChatGPT" when they only mean 3.5. The difference really is that stark.
The users Substack doesn’t want are the ones demanding censorship. The moment they succumb to this pressure, they’ll continue to have their content further and further brigaded by people associated with various advocacy causes. They’ll never be able to be an internet publishing platform; they’ll be another anodyne, political newsletter service. That model doesn’t work for vaunted names like The Guardian or The Nation. It won’t end any better for Substack.
Learnings from Exploring Salesforce
Recently I've been spending some time exploring the Salesforce platform, a widely adopted CRM and low code platform
No, they don't stipulate that.

They just assume that you have preferences and want to satisfy them. Those preferences can include 'earn as much money as possible', but they can also include 'feed starving children in the orphanage across the street'. The theory doesn't really care about the exact shape of your preferences.

It's a useful shorthand to assume that economic actors want to maximize profit, because that allows them to spend money on almost any other goal they have (like feeding the orphans). But economics can still help us understand why more people want to be teachers, even if the pay is low, than programmers or prostitutes or truck drivers in oil boom counties.
I hear your point - if humans are part of the problem then an effective solution has to allow for humans in the loop.

I'd extend that thought to be more narrow though. Local human political and economic factors need to be allowed for.

So, for example, a medical solution will be different in a country that practices medicine for profit over those places where medicine is non profit.

Equally the "can't build nuclear energy" problem us solved in places where public opinion counts for nothing, and environmental concerns are, um, less concerning. [1]

If one focuses on the profit motive though, then the article is correct (it seems to be written for a US context) - we mostly don't fix the problem because someone is profiting immensely from the problem existing.

[1] avoiding for the moment the merits of said concerns, which -may- be over-described for other political reasons.
A core classic liberal belief, arguably the core belief, is that nothing should stand in the way of individuals being able to secure their own economic self-interest.

To be sure this does not stipulate that all actors be selfish, merely that no penalty should inhibit selfishness.
It’s interesting that license plates have anti-counterfeiting features at all. AIUI here in the UK, numberplates can be manufactured by anyone and are not official “documents” in any way.
This still vexes me greatly. Some young people (I'm old... everyone seems young) think it was all very silly in retrospect. When I have the time, I will explain to them just how serious it really was, media reports notwithstanding, and that the only reason things didn't go very badly was the work of a great cadre of programmers working hard to make sure bad things did not happen.
Or just switch to Kagi, it's far better than Google anyway.
Make this mobile friendly!
(Quick CSS addition)
Cool app!
I don't want this to be about Kerala. You are right - there was a sharp decline (1047->951) in Kerala's sex ratio at birth between NFHS-5 and NFHS-4 [1]. The overall sex ratio of Kerala is still high at 1049 [2], but the leading indicators do not look good.

Meantime, J&K saw a commendable increase in sex ratio at birth 923->976 [1]. HP is one of the 3 states where the sex ratio at birth is now < 900 (875) [1]. So, I am not convinced that you can group J&K and HP to share a similar narrative when it comes to young babies born in the recent past.

But they do share similar numbers when it comes to adults. J&K has only 889 females per 1000 males [3], and HP has 972 [4]. Hence my original comment - for adult men trying to find mates, both states will likely have a deficit of women. (I was wrong about HP sex ratio being less than 950, though - mea culpa).

[1]: https://prsindia.org/policy/vital-stats/national-family-heal...

[2]: http://rchiips.org/nfhs/NFHS-5_FCTS/Kerala.pdf

[3]: http://www.jkslbc.com/StateProfile.php

[4]: https://nhm.hp.gov.in/demographic-profile
> If you don't need to code through English there isn't much of a point.

Disagree. The intent is to think through and write down the requirements unambiguously from problem domain so that it can be mapped easily to solution domain.
Dump Radix UI!
Looks really interesting. How much effort do you think it would take to get this running on Windows? I might give it a shot.
Any idea that the US is a even any kind of approximation of a free market is ridiculous. Any study of the history of US health care makes this quite clear.

That not to see that such a system would be better then some other systems, we don't really have good evidence as no major country has developed this way. There were some early interesting developments for patterns of care in the US before the current system became the dominate re-enforced system.

Its also not really clear if the US switched system to something like those countries, that it could achieve the same costs. Such a reorganization would be monumental in scale requiring an US bureaucracy of a scale only matched by the US Armed Forces.

Its not a problem I would want to be in charge of solving.
It seems the world made a collective yawn about flac. Hard to imagine that would change much with a new format.

I personally keep everything in flac, but Bandcamp is seemingly the only service where that is a given.
Ah, indeed, sorry about that. I’d missed that part and just remembered him saying they were similar.
This commenter put it better than I ever could, so I'll respond with that: https://news.ycombinator.com/item?id=38838746
Aaron is speaking from experience in trying to get support for prototype-less functions in C removed, something which imposes a surprisingly high burden in the compiler and has been deprecated for over 30 years... and still received a lot of pushback because of the potential of breaking code that hadn't been touched in that time.

> I understand that you can't support legacy code forever, but we need to get away from this idea that ten years is a long time for software to run, or that only software undergoing constant churn is worth anything.

The specific issue here is the code which lies at the intersection of the three categories:

1. Code that is N decades old and still in active use.

2. Code that needs to be compiled by the latest and greatest compiler versions.

3. Code that no one is willing to invest the resources in to make any changes to keep compiling.

That intersection is quite small, if not empty entirely. Consider the programming language with the longest pedigree, Fortran, nearing its 70th birthday, with a large amount of code very firmly meeting the first criterion... and yet I don't think any modern compiler supports anything pre-Fortran 77.
Yeah it appears to be.
Pearl harbour
Sure, but those rich elites themselves like to live well and somehow it turns out they when it comes to their own they really don't like to die or see their big prosperous families die. You can't rule radicalized impoverished populations if you yourself are dead. Letting them see that their target can retaliate in this way is not cheap.
Right in the title it explains it’s a book on theory. “Prompt engineering” doesn’t really fit in any theoretical framework I’m aware of and, while I also like graphics, most theory publications are light on them. You might be looking for a different kind of book, which is fine, but I think the content matches the title.

Also, a book on theory is going to lag quite a bit in terms of topics. The general process is that people discover something new and interesting empirically and publish articles on it. Other people develop theory explaining why that things work and publish articles on it. Once the theory gets crystallized, big ideas get distilled into a book.
The same can be said for Django vs Flask. The amount of magic in these frameworks isn't for the faint of heart.
Is make considered bad or something? I use make and I mostly program in Go. It seems to make my life pretty simple.

What is an alternative?
In just the last 20 years there has probably been more free learning materials produced, than in the last 5000 years, and we can translate them all in to nearly any language instantly for free thanks to LLMs. There is no shortage of materials, we just need more people to point young people in their direction. MIT's entire computer science courses have been freely available on youtube since ~2008 and they're quite good and updated moderately frequently (more than is neccessary)
On this topic (and, in my opinion, a much better article), one might be interested in Meditations on Moloch[0] by Scott Alexander. The moral is: fixing things is actually really hard even when you know how to do it.

[0] https://slatestarcodex.com/2014/07/30/meditations-on-moloch/
For what looks at first glance to be a potentially impactful development, this post and the "encode.su" one linked from it are extremely sparse on details.

Where is the source code? A detailed description of what the codec actually does? References to relevant publications?

All I see are two mystery Windows binaries, hosted on a forum I've never heard about. The fact that "encode.su" uses the world's most notorious domain extension doesn't inspire confidence, to put it mildly.
> You do you, if you hate fireworks, please move some place far away from where other people might celebrate with fireworks.

Where exactly is this place where people don't celebrate (whatever) by blowing up a little piece of it?

I live in the woods on 8 acres, on an island where fireworks are illegal (except for public shows), and there's a lot less fireworks than when I lived on a tiny lot near San Jose, CA. Fireworks were also illegal there, but that didn't stop people from shooting them off at midnight on new years, and about week afterwards, and then about a week starting Uno de Mayo, and then two weeks for 4th of July.

Here in my more secluded area, it's usually only new years and maybe a few the next two days and july 4th (all day) and 5th at night; which is better, but some of us just want to have quiet enjoyment.
Not to spam HN with yet-another-AI idea, but honestly this kind of scaffolding is where it could really shine. Just earlier this evening, I wanted a project that (a) used typescript, (b) was a monorepo, (c) one package was a library that could be used on either the browser or the server, and (d) another package was a CLI wrapper for the library.

I spent a shameful amount of time fiddling with the configuration before getting it right - all I want is a website that lets me describe everything above, and then generates all that boilerplate crap for me.
> There is no way to have a real discussion about this without actually being informed.

I don’t know about you but I don’t have this problem.

> Pointing out that your feelings about how rapists should be sentenced should not depend on whether or not drug prohibition is just because of 'room in the prisons' is perfectly valid.

It’s completely beside the point here. I’m making the argument that if we want to incarcerate rapists for life, we will need the prison capacity to do so. Which means, keeping everything else equal, building more prison capacity and increasing the degree of “mass incarceration” in the country. Something that is a very controversial suggestion to say the least.

AnthonyMouse responded with the claim, “Let out the non-violent drug offenders and there will be plenty of cells for the rapists and pedophiles.” I could have backtracked and tried to make the argument that one has nothing to do with the other. But there was no need because I could, and did, simply refute AnthonyMouse’s claim directly.

> Statistics that mean nothing without broader context and analysis are pointless and misleading.

You’re clearly implying this is a mistake that I’ve made. I don’t think that it is. While you’ve pointed out a specific complication that I didn’t explicitly mention (the relationship between length of prison term and share of prison population), this complication doesn’t undermine my point but rather strengthens it. You made a further suggestion that maybe we should consider the violent crime that’s caused by drug prohibition. That would be a fine counterargument for you to make! Bring your own data and analysis and maybe we can both learn something.

The problem is that it’s a lot easier for you to sit there and criticize me for not bringing enough “context and analysis” when you’re not bringing any of your own. If you have a point to make, make it. Don’t complain that my arguments are “simplistic” when you’re just going to make lazy sniping comments and expect me to do the work of making your counterarguments for you.
Training data for something.

Picture weird people clad in robes humming some conjuring magic.
>It's a minimum of 3x faster than its contemporaries.

Ok, but what would make that useful?
That's what this adds up to.

> If they're doing it safely, more power to them.

> With partners of similar ages? That's their business. Kids mature at different rates.

So about what age does this not apply then? You need another rule otherwise it sounds like you see no problem with two 9 year olds having sex if they're using contraception.

Please keep in mind I initially assumed you had some specific age range in mind (which surely wouldn't include 9 year olds). It was your response to that which makes it sound like there is no lower limit ("With partners of similar ages? That's their business. Kids mature at different rates.
.").

Regardless, it sounds like we at least agree that there is some age at which kids are too young and should be abstinent.
Thank you. Would other type of addressing be something like offset-based or address-based? Just trying to imagine different ways a file can be packed as I never gave it much thought.
Defense spending is roughly half of what the federal government already spends on healthcare.
It depends on your current work style.

Unless you’re pushing parenting duties solely into your partner, like the absentee father who’s trying to make partner at the law firm, you’re going to be limited to working 40 hours per week, or less, and sleep deprived for months, maybe years depending when the baby starts sleeping through the night.

With that, if you’re one of those hyper-conscientious types that gets more done than everyone else yet always seems to have free time in the work day and never works nights or weekends, it may have little effect on your work.

If, however, you’re like me and take on more than you can chew but make up for it by obsessively learning every waking hour outside of regular working hours, your productivity is going to get crushed.

My only advice is:

* There’s the pain of the thing, and there’s the pain of resisting the thing, and one of those is optional.
This is such a great article. Truly a window into another world, that still seems very similar to ours (especially the references to the Sears catalogue!). I never thought I'd feel nostalgic about a model T! Thank you
Most economists (who write these sort of textbooks) have some sort of math background. The push to find the most general "math" setting has been an ongoing topic since the 50's and so you can probably find what you are looking for. It's not part of undergraduate textbooks since adding generality gives better proofs but often adds "not that much" to insight.
Nevertheless, the standard micro/macro models are just applications of optimization theory (lattice theory typically for micro, dynamical systems for macro). Game theory (especially mechanism design) is a bit of different topic, but I suppose that's not what you are looking for.

E.g., micro models are just constrained optimization based on the idea of representing preference relations over abstract sets with continuous functions. So obviously, the math is then very simple. This is considered a feature. You can also use more complex math, which helps with certain proofs (especially existence and representation).

You could grab some higher level math for econ textbooks, which typically include the models as examples, where you skip over the math.

For example, for micro, you can get the following:
https://press.princeton.edu/books/hardcover/9780691118673/an...
I think it treats the typical micro model (up to oligopoly models) via the first 50 or so pages while explaining set theory, lattices, monotone comparative statics with Tarski/Topkis etc.
Its in the NHK World app and turned on by default. I'm not in Japan but my phone went crazy with all the earthquake and tsunami warnings. Remarkable how slow all the non-Japanese media were in covering the earthquake. Remarkable still how every streaming station I looked at was showing the shore somewhere. Fortunately these days without a reporter standing there explaining how dangerous despite the fact they are in harms way. Webcams instead.