skysight-inc/HackerNews huggingface dataset:
I was a save-scummer. I played Nethack locally, and save-scumming was the only way that I could make meaningful progress beyond the noob levels. Yeah, I knew all the spoilers by heart, I knew the secrets, I had access to the rumors and the Wiki, but I had some bad habits that led to YASD every time, such as hoarding everything in inventory, melee attacks when ranged would be better, not making much use of spells or magic, and I would often forget that I was carrying a particular item that would be perfect for a particular situation, so I'd die with it still unused.

So save-scumming was my solution. Sometimes I played in Wizard mode, but I enjoyed save-scumming immensely, and it allowed me to get quite far, especially to the Castle and drawbridge level, and even sometimes down to Gehennom.

I did reach the Astral Plane a few times, but I never actually ascended as far as I can recall, but frankly, after the Castle level, the game gets kind of boring and unfair for me. I never liked the Wizard's harrassment as you climb back up the dungeon, level by level. Also all the curses really got me down. Save-scumming can really only take you so far if you're not an expert at planning and execution too.

I quit playing Nethack entirely a few years ago. I have moral objections to worshipping false gods, even if it's "just a game". But I bow to the genius of the Developers Who Think of Everything, especially Ken Arromdee, who's played the same MUDs/MUCKs as me, and is also an occasional Wikipedia editor.
https://tongmingzhi.com
> > TypeScript Needs to Emit Runtime Type Information

> This is not possible at all because TypeScript is a compiler.

Sorry, can you clarify? Many compilers exist in other languages that support RTTI, so it's not clear to me what you mean by this.
I'll just toss this in, since I haven't seen someone else put it out out there yet:

Excellence is an art won by training and habituation: we do not act
rightly because we have virtue or excellence, but we rather have these
because we have acted rightly;

'these virtues are formed in man by his doing the actions';

we are what we repeatedly do. Excellence, then, is not an act but a habit:

'the good of man is a working of the soul in the way of excellence in
a complete life... for as it is not one swallow or one fine day that
makes a spring, so it is not one day or a short time that makes a man
blessed and happy'

-- Will Durant, "The Story of Philosophy: The Lives and Opinions of
the World's Greatest Philosophers" (1926), Ch. II: Aristotle and
Greek Science; part VII: Ethics and the Nature of Happiness
Additionally, he ran through the cop that was propped up on the hood and windshield of the car. We hear the engine rev up, and he accelerates away. It's egregious.

For even more context, here's the specific relevant part of french law for this type of vehicular situation (https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI0000...) is:

"les conducteurs n'obtempèrent pas à l'ordre d'arrêt et dont les occupants sont susceptibles de perpétrer, dans leur fuite, des atteintes à leur vie ou à leur intégrité physique ou à celles d'autru"

meaning, "drivers do not comply with the stop order and whose occupants are likely to perpetrate, in their flight, harm to their lives or bodily injury or to those of others"
So many small things go faster. For example, I throw the output of Windows-Shift-T (power tools keyboard shortcut for screenshot OCR) text into ChatGPT with a "remove line breaks" prompt. Yes, I know how to Ctrl-H ^l in Word, and other ways, but they sometimes produce odd results (missing spaces, extra spaces), and GPT is faster.
I wonder if lack of empowerment is partially caused by unnecessary layers in administration. Admins are there "support" teachers but that probably also takes away some of the job aspects that feel "empowering."
Simplify Cyber Security: A Practical Manifesto
Well no, it’s still Meta. The inly reason to use Threads IMO is to export your IG contacts and the switch to a better fediverse instance. If/when they get around to enabling federation.
> This is not possible at all because TypeScript is a compiler

Not sure if this supports your point. Lots of compilers emit runtime type information, e.g. Golang, Java.
How many times THIS WEEK has this very forum cried that it's more important to care about the pooooooor devs having to work hard than not use an entire web browser as their toolkit of choice for modern applications?
Same, I now just use the dminder app to track exposure.
So let's just sacrifice 30%? That's such a huge chunk that it can change a government in the elections.
You forgot another issue:

- containing potentially sensitive data in your notebook
I think you're incorrect.

It's good for the motivated engineer, because instead of running off and creating architecture astronautical wonders of over-engineering, they are getting down to business and making progress to a goal.

Your bottom-tier engineers aren't going to be any better in Go than they are going to be in Java.
They are insane compared to the global average. One person does not actually create this much value. What happens (in the case of tech) is that corporations in aggregate create the value due to automation, but then they're very inefficient at not burning out their employees so they end up spending a ton on retention.

You assume I'm not a capitalist. When did I say I wasn't?
Oh neat! I used this when I worked at Meta about a year ago. It didn't support Vulkan at the time, so it's great to see they added that. It's nice that IGL abstracts the CPU-side code, but you still end up writing shaders for each platform.
It's also notable this recommendation is based on highly confounded observational data.

To the best of my knowledge, all actual trials that tested the hypothesis got a null result, just like this study.
It's not a real doctor, but it is a real worm.
>The Place & Play 32-inch screen is pricey (2300 euros ex VAT), but an exquisite piece of hardware. It is made of stainless steel with sharp edges and a glass panel on top. The USB ports are discretely concealed, and the device feels sturdy.

Thank you for confirming my first impression which is that this is just a massively overpriced novelty item (which I concluded when seeing how much work was put into the video after skipping over the content-free article, and especially noticing the high level of moire meaning it must be very low DPI but for some reason the word resolution is not mentioned anywhere on the page lol).
The miracle of capitalism is that if there's a mass demand for something, it somehow just appears. I'm sure private investors can pony up $127 billion within a few years if there's profit to be made.
Sorry, to clarify, I think US regulations require this, with the net result that prefab becomes more costly than conventional construction in the USA.
The message passing queues following CSP semantics regarding synchronization is the big deal. If you only ever use buffered queues then you're missing half of the story.

Occam is probably the most important totally forgotten thread of programming language development.
While not precisely "real estate construction" the NSF has funded many construction-related companies through its SBIR program, many of which are pretty cool: https://seedfund.nsf.gov/topics/advanced-materials/

SBIR-style startups involve discovering new things. Success in real estate construction (strictly speaking) doesn't seemingly rely on having deep and novel insights about the world.
There is no data to indicate that self-driving cars have caused delays on public transit at any greater rate than human drivers, so that seems irrelevant.

Re: relevancy of theft and burglary, addressed in prior responses below.

Scapegoating tech makes for a popular distraction from the increasingly dire real world issues facing the city.

Let me give a concrete example. Two weeks ago nine people were shot at a street fair in the Mission. It appears tied to organized gang activity.

The SF papers ran with a story about “self-driving car obstructs emergency response” more prominently placed than the actual shooting.

The Fire Chief personally debunked the story, but it was syndicated across online outlets, and remains un-retracted.

On the final point, self-driving cars running empty are racking up the miles to prove safety to the state to carry large numbers of human passengers.

Those passengers can be carried more efficiently, and within electric vehicle platforms, than with existing private automobiles.

It is the first step to vastly reducing the number of cars necessary to serve a growing population, while maintaining the lifestyle consumers demand, and dramatically reducing environmental impact.
But you don't know if you are the exception or the rule.

And often it's not as simple as counting calories.

Do you work too hard or not hard enough?
Should you learn something or let it be?
Heh, one of my friends wrote a negative review about his landlord's Immobilien company. Got sued and had to pay him the amount of his deposit.

I bet I'd be at risk of getting sued in Germany even if I wrote a positive review about a company. The moment you post an opinion online you are opening yourself as a target.
Healthcare is a simultaneously a scam and a nationalist inferiority complex coping mechanism.

Taxes are high and getting higher, and a couple duopolies have captured the entire economy.

I am glad I got out when I did.

You are crazy to leave USA for Canada.
As long as we're talking directories: https://ooh.directory
FYI, you can rent the press tools reasonably cheaply if you’re not a plumber by trade. I rented one for $80 for a plumbing project a few years back and it was worth every penny. A million times easier & faster than sweating joints.
>They both got “B”s in public school, despite their standardized tests showing them in the 15-20th percentile.

What do you think a "B" grade means?
Increasing alternatives would be expected to play a major part in reducing ChatGPT usage.
I'm not sure what `generateTypeInfo!<Foo>();` is supposed to be, but as far as I'm aware there is no way to execute anything in a JS engine from a type generic.
Ah, so even the makers of React are not dogfooding it anymore. Sounds about right.
That's trivial, by asking it to respond with a certain "personality". Something like "respond as a space cowboy from Silicon Valley, who was an elementary school science teacher."
> Do you have some specific examples of this playing out?

Honestly, I can't actually remember specific examples. It's not something I dwell on. But I know that's it's happened several times that software has been made much less useful to me because features have been removed on the basis of being rarely used, ignoring the fact that even though they're rarely needed, when they are needed, they're indispensible.

More often, though, the bad telemetry-based decisions I've seen are around UI changes. Things like a laser-focus on reducing the number of clicks it takes to perform things, even though sometimes reducing the number of clicks for a thing adversely impacts the usability of it.

For bad telemetry-based UI decisions, my standout example if Firefox, although that's hardly the only one.

> But good telemetry in the hands of a good product team can be immensely beneficial for decision making and can protect customers from bad decisions.

This was actually my point of view a few years back, when telemetry started to become popular. And, as a dev who sells software commercially, I totally understand the value on that side. My experience with products that have used it, though, has shifted my view.

All that said, I do agree that it's possible to use telemetry in a way that is good for users. But I don't think it's common, and I think the reason for that is economics and human nature.

Once you start measuring a thing, that tends to become a goal rather than just a data point. And since the industry is all about maximizing velocity, that effect is even stronger. Doing proper usability studies is a slow and expensive process. Telemetry can be a useful thing as part of that process, but the tendency is to make it pretty much the entire process. That does a disservice to everybody.

> the PM understands that data is not an alternative to having a relationship with customers, I think data is pretty important.

Not just the PM. The entire company. But a relationship should be consensual, not forced. I have zero issues with opt-in telemetry. When it's not opt-in, though, it's an invasion and adversarial. I presume that's not the sort of relationship a good PM wants.
Great discussion, I agree with most of the points being made. That being said, I've spent the last 15 years building $1B+ businesses that digitally transform construction & manufacturing and my co-founder built a $1B+ GC-fabricator. We see a huge opportunity for software to transform prefab & construction especially around affordable housing. Besides putting our money where our mouth is through our company www.raap.builders we also have agreements with some major logos/partners.

Although we are still working on early pilots, we are looking to expand our founding team to bring in engineer & business development talent that has construction tech experience/interest. Feel free to DM me rj@raap.builders if you'd like to chat.
In my construct I would say they’re charging for access to the POC to cover costs.
What are the expert-programmer aspects you're thinking of?
Elon also didn’t manage to get out of the Twitter deal.

Elon is basically a big bully, or rather a big child who screams when he doesn’t get what he wants.

Makes cool stuff though and has a pretty good sense of humor.

And we’ll, it’s multi-billions at stake, so why not try :)
Elon, of course, was helpfully assisted with the difficult bit, too. If Facebook had launched a twitter-y thing two years ago, I think the general view would have been “oh, cool, it’ll probably be just as popular as Facebook Dating”.
Yes. It's the same Neil Cicierga. The link at the top goes to his personal website with mentions of his band, Lemon Demon
Yeah it's definitely not simple, but I have repeatedly worked for companies that get stuck on all the problems that Bazel solves. I'm like "we should use Bazel, it solves this issue properly", and they're just like "nah... so anyway this is a big problem, how do we solve it??!".

It would be nice if it had better integration with existing package managers like pip, cargo, npm and so on though. Vendoring your dependencies is fine for a big project like Chrome or Android or your company monorepo; it's a bit annoying for a small CLI tool or whatever.

Another option is something like Landlock Make, but I haven't tried it.
But what’s the point ? Most vulnerable Linux servers are hosting blogs or dns servers. They’re only useful to run a crypto miner or host a phishing page, and for that you probably don’t need to go further than exploit a wordpress bug. No need to go for the kernel or even root.

Whereas a desktop often has users on it who enter banking details or corporate login credentials. Much juicier targets.
Wait so the standardized test scores of your kids went significantly down when they went to a private school?
Thanks for sticking with me on the conversation! Love to see more exploration of this idea. And I would not be shocked/upset to find that I'm asking overly silly questions, or contriving too simple scenarios.
Nit: they're not asking for runtime type safety; they're asking for the ability to reflect on types (at compile time, to generate values) so that they can use type information at runtime.

This helps ensure runtime type safety because (for example) it would be great to have a generic "validation" function that takes an arbitrary interface and an arbitrary object and validates that object. One way to implement this would be to use /compile time/ reflection to generate code (TS code hypothetical, because I write C++ nowadays):

function validate<T>(obj: Any): T | null {
switch constexpr (T) {
case String:
return typeof obj == "string" ? obj : null;
case Array<U>
if (!Array.isArray(obj)) {
return null;
}
for (const u of obj) {
if (validate<U>(u) == null) {
return null;
}
}
return obj;
// ... more base cases
}

for (const prop: (keyof T) of Reflect<T>.Properties()) {
if (validate<T[prop]>(obj[prop]) == null) {
return null;
}
}

return obj;
}

interface Date {
year: String;
month: String;
day: String;
}

It would be great if this could generate /JavaScript/ code:

function validate__String__(obj) {
return typeof obj == "string" ? obj : null;
}

function validate__Array$Date$__(obj) {
if (!Array.isArray(obj)) {
return null;
}
for (const u of obj) {
if (validate__Date__(u) == null) {
return null;
}
}
return obj;
}

function validate__Date__(obj) {
for (const prop of ["year", "month", "day"])) {
if (validate__String__(obj[prop]) == null) {
return null;
}
}
return obj;
}

Unfortunately this is not possible (AFAIK) in TypeScript currently, and will not be possible with TypeScript's current philosophy.

(The above example is a hypothetical TypeScript compiler that might support "templated" generic functions; with just RTTI TypeScript could accomplish the same thing in a non-templated function by passing in `T` as a function parameter at runtime and doing runtime comparisons on `T`.)
TypeScript is not JavaScript with type annotations. One of the modes, may be. TypeScript supports emitting old JS constructions which look nothing like original typescript code. So it's more like type annotations + babel. Adding one more thing to this set. Extremely useful thing. I think it's a good idea. I miss it. It's crazy that I can't JSON.parse string into typed structure safely. Every other language can do that.
Sleep sort is a meme.

If you pick a small unit of time you can make it faster but if the values are sparsely distributed it gets slower.
I'm seriously waiting United claiming in court one of these days that they shouldn't pay out for a broken guitar because it's common knowledge that United breaks guitars, so if you still flew with them and they broke a guitar it's on you.
Oh my lord, this is grim. For everything that could have been, your life is reduced to worker bee dots and squares on a graph?

These look like tally marks in a Great Escape prison camp, but instead of four walls containing you, it's time. The West is dead, long live the West /s.

Congrats on the marriage and new family.
People in the industry and those who support it are excited because of the positives impacts it can make. Not because its scifi tech.

At scale the cost per mile of an AV will be below that of an equivalent personal car because of all these factors
- High utilization means you are not paying for a car that spends 80% of its life parked and removes the costs associated with that
- Insurance, maintenance, and parking costs are reduced because of efficiency gains in a fleet configuration vs personally handling all those things
- Fixed upfront cost that goes down considerably as number of vehicles increases

Testing is happening in SF probably because the data shows that SF residents are high utilization users of vehicles and don't use public transit as much as you think. Ex Uber and lyft to 200k trips in SF alone everyday. SF is a difficult city to drive in so it shows real capability and a lot of the people working on this tech happen to live in and around SF.

Autonomous cars are here today. The things you are suggesting will require all car companies to align on new standards and develop tools for the government to interface with there new standard equipment and than deploy that infrastructure. That will require years more of work. AVs use the infrastructure that is there already.

New equipment is not free. It will add costs to vehicles and someone will pay for it. More fees (ex for speeding) are always a bigger burden on the poor.
It might be worth taking a look at Bensonwood (https://bensonwood.com). They do some very impressive, high-end pre-fab homes, and they solve the "must fit in highway lanes" by shipping walls that have windows, electrical wiring, plumbing, etc., all already pre-installed in their factory in New Hampshire. When we investigated using them 3 years ago, they didn't support pre-installed CAT 5 wiring or Optical Fiber, but I wouldn't be surprised if they can do that now. :-)

This is all done using computer-controlled manufacturing equipment, much of which is imported from Europe, where they are much more advanced on this front than in the U.S. One of the advantages of having computer controlled nail guns and vaccuum operated "wall flippers" is that the construction tolerances are far tighter than if you have humans nailing in the shingles, sometimes while on a ladder 15 feet above the ground.

The downside, of course, is that they only today have their one factory in New Hampshire, and while the walls can be shipped trucks on highways, if you want to build a large, luxury pre-fab home in Arizona, the trucks have to travel a long way, and that adds to the cost. This hasn't stopped some of their customers, though. Take a look at their web site for some example houses that they have built --- it's a far cry from what most people think of when they hear about "pre-manufactured houses". These are not trailer park homes!
... for metal, gl, and Vulkan.

Sorry but this is simply par for the course for any of the above.

You can certainly wrap a lot of that stuff, but you need to make assumptions, and the person that uses likely is writing demanding app, and they want full control over literally everything - but they also would like to cut time to port to Linux by half (say).
Chances are, you are not the exception, and neither am I.

Also, it's not easy, but is as simple as counting calories. Conservation of mass and all that.
I'm kind of doubting the real value of this.

For validation, ORMs, APIs, etc., once you move beyond the simplest cases, you need more information than is present in Typescript type information. And that's before we get to the app-specific concerns.

So you're going to end up with schemas, boiler-plate, code-generators, and/or glue code anyway. Not to mention the libraries to help manage this stuff.

It's not that it's completely unhelpful, but I think it's a partial solution, and not the tricky part either.
People quantify sports abilities down to the ten-thousandth of a second.
To be fair it will have a good viewing angle even better than IPS as well as not shining a flashlight in your face with a terrible spectral power distribution but I don't expect a real analysis by someone who compares 2 watt power savings as if this is the bottleneck of display tech or anything close to it.
Does that make high school a daycare?

I don't get it. At age 15 I had curfew, but could generally come and go as I pleased. At age 17 I was at times left alone at home for a few nights. This was all normal in my teenage years in my corner of the world.

Why would high school need to function as a daycare? The teachers would definitely rather not have to deal with this on top of the usual responsibilities.
Its not that compilers are stupid, they just dont know what humans know about their data, it's ranges, invariants, symmetries etc. They work on most general case, which can be horribly inefficient.
Is it kind of a compromise then to "tag" HTML with classes for CSS?

CSS doing the "rendering," like laying out mobile-responsive versus desktop.

I wonder how we would separate out explicit class names from HTML, unless the tags themselves are <custom-names />. (Micro frontends & web components?)

Then it sort of works out nicely, I think.
>If you really find parents concerns to be beneath your dignity, perhaps you shouldn't be a teacher.

As a person who does tech work, you are now sentenced to be forced to listen to every single asshole who wants to tell you their "super awesome app" idea that "should take like a weekend right" to make and "will get us rich", and you aren't allowed to complain or point out how they have no idea what they are talking about