skysight-inc/HackerNews huggingface dataset:
Adding to the answers of others, Webb can't see the whole observable universe. It has an upper limit on wavelengths that it can detect. Because older / further away light sources are more red shifted, at some point the really old / really far away stuff drops off the spectrum range that Webb can see. Here's a nice read [0] which tells me that the oldest things Webb can see are from T = 100-250 M years after the big bang. The light from the [matter around the] black hole in the main article originated at T = 570 M years. So it is plausible to me that an even earlier one will be spotted by Webb eventually.

[0] https://jwst.nasa.gov/content/science/firstLight.html
I want to murder someone I’m mad at today, and I should do it because I’m ignoring hypothetical future repercussions?

Yes that’s hyperbole but the point stands, delaying instant gratification on impulses, individual tactics, individual strategic and societal level is a hallmark of a stable society encouraging conscientiousness.
If you go back in the commit history far enough you can find when the actions workflow files were deleted. I used that (and other repos found via search) to set up the auto builds on mine.
I know next to zero about rendering capabilities. But when I saw Meta | Release | Graphics Library. Given Facebook's history with data collection and the proprietary nature of their VR headset. I doubt they have any interest in open standards.
So I may have missed it, are they hosting old updates to make them available still or are they actually patching old SW with new builds. For example say the last update for XP was SP3.5, they got the tooling to build and release 3.6 which was never released by Microsoft but is from this organization? Is it one or both?
That's fantastic. I have been lucky enough to cross paths with Ward Cunningham a couple of times and I am always struck by his insight.

Kellan Elliot-McCrae has a similar take on technical debt. In his view there is very little technical debt as traditionally defined - an intentional decision to take a shortcut now that we remediate later.

Instead, "tech debt" is typically a label applied to code that makes developers sad because it resists change. Kellan breaks it down further in this article.

https://kellanem.com/notes/towards-an-understanding-of-techn...
1. As you note, consider eliminating it, or replacing it with in-class or lab work if it's absolutely necessary.

2. Consider making it non-graded (optionally providing feedback if desired that will not be counted in course grading.)

3. Require oral/in-person explanation of homework to paid peer assistants recruited from the previous cohort.

4. For writing, change to a writing workshop model where ChatGPT is a permitted tool that is incorporated into the workshop and students can learn how it can be helpful and how it can run astray. Help students to find and write in their own distinctive voice, even if they are assisted by ChatGPT.
JS added BigInts quite a while ago.
> Is the lack of such a feature in TypeScript (or any language) a deliberate design decision to avoid unnecessary complexity, or due to technical constraints such as performance considerations?

It makes a lot of things impossible. For example, if you defined two different types of ranges, OneToFifty and OneToHundred similarly to your PercentType above, the following code would be problematic:

let x: OneToFifty = <...>;
let y: OneToHundred = <...>;
y = x;

Any human programmer would say the third line makes sense because every OneToFifty number is also OneToHundred. But for a compiler, that's impossible to determine because JavaScript code is Turing-complete, and so it can't generally say that one is certainly a subset of the other.

In other words, any two custom-defined types like that would be unassignable from and to each other, making the language much less usable. Now add generics, co-/contravariance, type deduction, etc., and suddenly it becomes clear how much work adding a new type to the type system is; much more than just a boolean function.

That said, TypeScript has a lot of primitives, for example, template string types for five-digit zip codes:

type Digit = '0' | '1' | '2' | '3' | <...> | '9';
type FiveDigitZipCode = `${Digit}${Digit}${Digit}${Digit}${Digit}`;

(Actually, some of these are Turing-complete too, which means type-checking will sometimes fail, but those cases are rare enough for the TS team to deem the tradeoff worth.)
I mean, sure. That partner was Alex Spiro, Musk's long time personal lawyer. I'm sure he's brought in enough money from Musk to earn partner regardless of the quality of his work. I mean, it's clear Musk works with him due to his willingness to charge after whatever nonsense Musk wants.
Why resort to a straw man? There are plenty of options between "a language that does not even have strong types" and "machine code"? E.g. Elixir is strongly but dynamically typed and you can take it quite far while reaping most of the benefits of typing and not losing velocity as you would with many statically strongly typed languages.

Nuance matters. I wouldn't pick Ruby for anything except scripts nowadays. You get absolutely zero guarantees and being able to whip out an MVP in 2 days is not as important as people make it out to be. Extremely often being able to have an MVP in 10-20 days is just as viable but then you will have to write less tests and have more guarantees from your compiler.
Show HN: Parse2docs, turn Python Argparsers into usage documentation
This is the first person library I've published! :)

I was getting tired of creating command line interfaces in Python whose contents I would then copy to create the Usage documentation. Now I pass the path to the script the ArgumentParser is located and it generates the markdown for me.

Currently, it can only find parsers located either in the module scope out that are returned by a function.

It doesn't handle subparsers yet, but I'm thinking about leaving like that for now. As of next steps, I wanted to add an option to generate docs in .rst format or wrap the library as a plugin for mkdocs.

I'm here for all feedback - bugs, feature suggestions, and usability comments. You can comment, open a GitHub issue, or reach out directly.

Ofc, I'm also welcoming any contributions. Please test parse2docs and send me your suggestions!
Twitter layoffs will have only "failed" due to creating a cultural divide and driving people to other services. Not due to the mechanical aspect of them

Twitter laid off 80-90% of their people and the app functions the same. No material downtime in the year or so since the acquisition and feature velocity has only increased. Even if the features were in the pipeline already, none of them appeared over the 5-6 years preceding the acquisition. Highly coincidental, to the point of being suspect.

Advertisers left due to taking sides on will of the moment cultural reasons, not because of moderation. The individuals behind advertising at many large corporations simply didn't want to help Elon. Would you want to give money to somebody you hated, and who loudly vocalized things that went strongly against your principles? This part is obvious to any objective observer.

It's clear at this point that net added value per Twitter employee was low or even negative for many. If a company can layoff 90% of the developers and have no material change in availability or development velocity, then it's really inarguable otherwise
I suspect I would agree with this today, but just for the contrast. At the time (about 12 years ago now I think) coming from Java it felt like someone lifted the ceiling, suddenly I no longer felt like always bumping into the lid of the jar when trying to abstract away repetitive code.
> Debt is a drain on your revenues; the thing you did to incur the debt is a boost to your revenues; if you take too long to pay back the debt, it's an overall loss.

> CFOs can calculate that. Engineers don't like to.

Engineers don't get to, in many cases. It's often the managers steering the ship at full pelt.
> It's not Red Hat's fault, I blame IBM for the company's recent Linux code licensing changes and all the misery it unleashed.

Even if we were to agree 100% that nobody at Red Hat wants to do this and it's all IBM's fault, surely we can fault Red Hat for selling to IBM in the first place? I mean, everyone and their dog predicted the decay of Red Hat once the acquisition was announced. Surely the fact that they still went through with it, and therefore these all-too-predictable consequences, is on Red Hat?
"Easy to start" is oversold in my experience. At one point you want more guarantees upfront.
Alternatively, io-ts is more performant and has been around for a while longer. Although it does have a more functional interface.
/r/badpolitics
Really fun game. From a visibility standpoint, I would recommend improving the visibility of the notebook. Once you're deep into it and a lot of boxes are filled, it becomes harder to keep track of checks and crosses. Native dark mode would be nice to have as well.

Another nice to have feature, quick clearing the notebook would be nice. I didn't need it this time and I guess refreshing the page does it. but it also closes the clues.

Gameplay wise, I would like it if you were more explicit about how people travel from room to room and how long they spend in each room. It's still solvable but I can definitely see how people would struggle to understand.

All this being said, really great job on the site and the mystery. I absolutely love it and look forward to playing it more.
The new material has franchise/brand association, and the privileged production (eg. as opposed to fan cannon) cements it. They're now cognitively inseparable. The mental space the OT and PT occupied now has Disney's hands all over it .

Once especially cherished, Star Wars is a completely ruined universe in my mind. The mystery of the larger universe has been filled in with things I don't like, and there's no more magic left. I can't imagine anything that can salvage it. I don't care to see any more, probably ever.

I'd rather support independent films and small creators anyway.
If it was you what would you want us to do ?

Let you sleep on the streets smoking crack ?

treatment for the chemical addiction, and psychological therapy for the trauma around addiction
Solved by going "full transducers". Notes taken!
TypeScripts goal of being just a layer over JavaScript led to its type system design being primarily productivity based: the goal was to make programming nicer, using types to get more performance wasn’t a goal or option.

C#, and the CLR underneath it, were performance based, and the types feed into that. The reason they both are as they are is because of the environments they are meant to be used in. So ya, are you running web apps on the CLR, or are you running them in the browser. I don’t really get nodejs, or, i guess it only seems like you would go that route if you wanted to reuse your web browser devs or web browser code to run also in the server.
lol, makes me think of serial monogamy applied to social media
Interesting but not relevant here - they require a photo of a physical receipt, and they're hand reviewed. Anything is scammable given enough effort though, no doubt.
Yet it's still super behind tech like Elixir or Golang, which are both faster and give you more compile-time guarantees.
Maybe I misunderstand your comment. Do you run into the street instead of stopping to look both ways, in case of a hypothetical car?
This seems to be the big problem with ERPs. Problem domains are complex so you need implementation flexibility, but with that comes the ability to create shitty systems that everyone hates.
And I can say I never got fired playing rogue when I started out programming.
Rhetoric matters, and you didn't say "looking at the ultra rich to help solve poverty", you said "prevent the ultra rich [from] get[ting] even richer". If you had said the former, I wouldn't have objected. What you actually said felt more like class warfare than a serious proposal to help poor people.
Lombardo's translation that was widely hated at the time for exactly the same reasons you are saying Wilson's is bad?

This is such an unserious critique. Whatever the merits of her translation per se she's clearly deeply embedded in and aware of the history of translations of this work. I think you just picked the first translation that felt "high poetry" or w/e to a contemporary reader with no understanding of its historical context in this tradition.
It's the mark of a toxic person probably. But aren't we all to some extent ? I too am fed up of candidates so shit we need to grind them through linked list and sorting exercise to find the one that can actually code a simple function, out of the 50 we interview that couldn't even start writing.

People have no idea how many candidates try to apply to backend dev job in an investment bank for 100k a year in China with NO experience in banking, computer science or life in general. Between the guys telling you their dream job is to do nothing and be paid for it, and the dude looking beyond his screen at his friend filling the exercise for him, I've seen it all.
When you have a startup, you have to look towards where the growth and money will happen. Stop paying attention to other stuff as much.
If you like cattrs, you _might_ be interested in trying out my msgspec library [1].

It works out-of-the-box with attrs objects (as well as its own faster `Struct` types), while being ~10-15x faster than cattrs for encoding/decoding/validating JSON. The hope is it's easy to integrate msgspec with other tools (like attrs!) rather than forcing the user to rewrite code to fit the new validation/serialization framework. It may not fit every use case, but if msgspec works for you it should be generally an order-of-magnitude faster than other Python options.

[1]: https://github.com/jcrist/msgspec

</blatant-evangelism>
Not to mention the “business” being run was about as shady as you can get.
It’s a cute story but it’s not constant-time in any sense.

Creating ‘N’ threads and adding them all to a sorted wake list will be between O(N log N) and O(N^2), depending on the OS and/or language runtime.

There is either a sorted list, a heap, or an N^2 algorithm somewhere behind the scenes.

Similarly, the sleep sort itself is at least linear time. You have to wake N threads to output N sorted items.

Worse, in wall clock time it also scales with the values. You could compress the range by first finding the minimum and maximum values, but that’s also … linear time.
Very well put. The root of the problem is far from simple and neither is the solution.

I think people are also looking too much for a magic solution that allows them to keep going as is. Like CO2 capture. If we actually build this in quantities that actually make a dent in emissions, we'll be mining half the world for materials to make the installations and power them and ruin the other half to place them and store the captured carbon. It's just never going to be viable especially until we solve the emissions problem first. But it's the promise of a magic solution that keeps it on the map.
I visited SF recently for the first time in several years. Hardly a scientific sampling, but I did revisit some exact locations that I had been to before.

Overall it seemed cleaner and safer than it had been in the past (2019?). There were even more kids.
I don't disagree with your premise and I write plenty of bash and zsh scripts but "the creative ways" very often are a rabbit hole that exposes way too many edge cases.

At one point I wake up two hours later and realize I could have finished this in 15 minutes with Golang or even Ruby.
https://jfloren.net/b/

I post infrequently, usually about either hardware/software projects or just weird things I've run into.
Reading these comments it sounds that manipulating reviews is the economy.
Relevant Fred Brooks quote:

> An architect’s first work is apt to be spare and clean. He knows he doesn’t know what he’s doing, so he does it carefully and with great restraint. As he designs the first work, frill after frill and embellishment after embellishment occur to him. These get stored away to be used “next time.”

> Sooner or later the first system is finished, and the architect, with firm confidence and a demonstrated mastery of that class of systems, is ready to build a second system. This second is the most dangerous system a man ever designs. When he does his third and later ones, his prior experiences will confirm each other as to the general characteristics of such systems, and their differences will identify those parts of his experience that are particular and not generalizable. The general tendency is to over-design the second system, using all the ideas and frills that were cautiously sidetracked on the first one. The result, as Ovid says, is a "big pile."
> Someone smoking something doesn't bother me, unless maybe if I can smell it, then it bothers me very, very slightly.

Read up about the dangers of second and third degree smoking.

> The same way someone drinking a beer in public doesn't bother me. How could it?

Perhaps those who've had family or friends killed by drunk driving or drunken homicide might have something else to say.
Copy pasting code definitely helps you grow as an engineer.. also, the more often you write err != nil, the better the code will be, right?
I see teaching these kids as a specialization in itself, so the incentive is to be a great 'turnaround' teacher, plus the pay should reflect that it is a difficult specialization.
$127B on chargers...

China can build high speed rail at $20M per mile. If we actually built the lines instead of just political graft we could build 6350 miles of high speed rail for that price. That is coast to coast rail 2.5 times.

EVs also increase road wear and tear by a large factor, since they are so heavy. Trains have much lower wear and tear maintenance costs.

If you couple this with some densification by removing zoning, the health savings alone from people walking more would pay for high speed rail.

But no we will build 28M electric chargers for cars instead.
I benefited immensely from a homosocial environment, though in a snootier form of what you're describing. There's basically no incentive to be a cheeky little shit when there are no girls around to impress. I always thought it'd be nice if same-sex education were not just limited to expensive private schools and borderline prisons. I reckon a lot drama for students and teachers alike would vanish in these settings.
For me, no. It doesnt make sense to buy the cheapest version of something I use everyday.
It actually isn’t. Since the Justice system is mostly targeting minorities, the majority doesn’t care.

It should be telling that during protests, white people were helping protestors by forming a “shield” because they knew the optics of police beating white people would be distasteful.

https://www.blackenterprise.com/white-protesters-form-human-...
The NY Times got hold of an internal document stating revenue was down 59% YoY.

I'd link to it but it's behind a paywall.
> with the exception of `Enum` that emits an object, many of which see as a mistake

There are other exceptions, most of which are considered mistakes as well, the most obvious which come to mind being `module` and `namespace` as runtime constructs. But I’m fairly sure these have been primarily used by TypeScript itself for at least a few years, and even they recently migrated away.

Another one that comes to mind is, I believe, actually pretty popular: what they refer to as “parameter properties”, ie class members whose types are defined in a constructor’s parameters. These seem to have escaped controversy because they eliminate a lot of redundant boilerplate, and generally behave in obvious ways (at least as obvious as their redundant boilerplate JS equivalents).
Supply Chain Security – MIT 6.5660 Computer Security (Guest Lecture) [video]
Then go with java which is just an all around better language.
Having seen both sides of this first hand, I certainly agree that the world can put a lot of pressure on you to behave or not behave in certain ways. You may need to take a job that you don’t like instead of starting a business.

But if you want to get unstuck and break free from that rut, it’s important to take risks. Hard work and determination only gets you so far, you also need imagination and willingness to step outside of your comfort zone.
"Late stage" or "late capitalism" always suggests to me that the user has inside information on the sell-by date. I don't disagree about the proportion of attention.
He went 15 minutes without being in a headline and needed another one. Can anybody add up all the times he's promised FSD? Anybody?
Yes very good point - unfortunately the ones that are good enough to avoid detection, well, we won’t be able to track :)
I'm not the biggest fan of the reboot either, but I suspect that my generation is no longer the intended target audience.

The young professionals at my workplace seems to be really enjoying it, and have praised its action sequences, diverse and inclusive casts, and themes that are relevant to them.
Framework-itis is a widespread disease. Developers and technologists weaponize frameworks to win arguments and feel vindicated that they are setting professional standards
> I've just made a first project in fastAPI, and it was trivially simple…

My experience has been, as Seth Godin says, “the long-cut is the most direct route to get to where you seek to go”

Every time I started with Django, I hated the feeling of sitting in boilerplate hell early on.

Every time I started with FastAPI/Flask, I get something working quickly, then hit a wall of recreating everything that comes with Django.

The only solution I’ve found is: embrace boilerplate [1], automate the boilerplate.

[1] Django, or whatever batteries included framework you like (Rails, Laravel, Phoenix, etc)
Good question but there could be a licensing system.
LOL the new factory factory factory is ChatGPT
I’m one of the kids that “made it” out of these situations and it took me until I was over 40 and making FAANG money to START thinking in terms other than “not being like my dad” or “ending up poor”.

> preserving your safety in some way

Even a comment as small as this is assuming a lot in poor areas. The only safety I had was in my own head or in my STEM classes because I could immerse myself in them enough to forget about life outside them.

Look up the problems associated with complex-ptsd, childhood neglect and parentification.

It was all about racing as hard as possible away from where I was, not about looking forward in any way. For most of my twenties my timeframe in planning was weeks or months if I felt confident.

I just got lucky I got hooked on computers and had a couple teachers that praised me for that and math.

In fact, I nearly dropped out in 9th grade to work at a Burger King so I had access to some kind of money. Instead I called CPS and moved in with my narcissistic mother who was at least financially stable. But it was a coin toss at the time.

My first job was in a factory and then in the Army, I didn’t have a plan or wants other than stable living situation and enough money for basic bills.
> This is not possible at all because TypeScript is a compiler. They are really asking for a net new product which has very little to do with the TypeScript that exists today.

That's not correct. All you would really need to do is output type information as JS objects and then support reflection libraries that looked up information at runtime. Two examples where this already happens:

1. TS enums are output as JS objects, as opposed to, for example, string literal union types. That is, "enum Foo { Bar = 'BAR', Baz = 'BAZ }" outputs information that can be queried at runtime, while "type Foo = 'BAR' | 'BAZ'" does not.

2. TS already supports runtime type guards functions, https://www.typescriptlang.org/docs/handbook/2/narrowing.htm.... It wouldn't be hard to generate those functions automatically using information already in the type system.