skysight-inc/HackerNews huggingface dataset:
I'm not absolutely certain, but doesn't Typescript work exactly the same way Python does if you set it up to do so? I think the reason you may think you can't have dynamic types in Typescript is because it's generally recommended not to do so. Sort of because that if you're using dynamic types, then you might as well be using pure JavaScript with JSDoc. Having a couple of decades of experience with dynamic and static typing, I tend to prefer static typing because it's just "easier" (more maintainable, lets you onboard people faster, lets you do a lot less code-reviewing, and other advantages all of which are more on the "managing people" side of things). Dynamic typing can be good and it certainly lets you prototype faster, but to do it well over a 5 year period you're going to need some serious governance.

One thing I never liked about Python is that sometimes it "guesses" the types wrong behind the scenes. This is sort of an issue with most "magic" that you'll also see in some of the parts where Java, C# and others, lets you skip writing a lot of boring code by "guessing" your intentions. But where it's relatively easy to tell the runtime environment how to do it the way you want it in something like C#, it's not in Python. It's also often a lot less obvious unless something fails in a manner you've taken steps to expect.

With JavaScript (and this includes Typescript) you have another set of issues. Since classes, types and so on are all abstractions of object and since Javascript will happily pass "nothing, but not null" around. Well... It's just so easy to make spaghetti or even code which isn't very performant. Things like classes have very little function in Typescript, I'm not saying you should never use them, because you should never be religious about these things. For the most part it's typically better to use a type/interface and a stand alone non-hoisting functions.

Personally I prefer rather opinionated languages like Go, or very strict languages like Rust where everything is very locked down and unmutable until you specifically tells it not to be. Of course Rust comes with it's own "interesting" things like the borrow checker.
Also, CO, CO2 and particles. NOx are not the only problem.
I'm a part-time cyclist (I stopped using cars 5 years ago) but after seeing a few bad ones on youtube videos I can understand the rage sometimes. They just cut anywhere without any regards for traffic.

That said a lot of people are crazy on roads, motorbikes, cars too (probably more often and more dangerously).
Jury trial is a common form of the legal system in USA, but we have the equivalent here in Europe as regular court (no jury). The discussion is court vs. arbitration, not jury vs. something else. The same applies to Europe, if binding.
That boy needs therapy.
This is a very US-centric comment. There are other societies without Black people and women suffer from attacks by males too.
They've been waging a disconnected war against their loyal fan base for years. See, for example, them suing people over hosting Super Smash Brothers tournaments.
I'd argue that if you ever use a single "any" then you're not using Typescript but simply writing JavaScript with more steps and a compile time. Any can be useful during development, but it should never reach production. I think the reason you see so much of it in a lot of open source packages is that they've only really adopted Typescript because their consumers expect it and it was just easier for them to do it this way.

We use very strict Typescript, but a lot of our internal utility packages are actually written in pure JavaScript because of the way the Node package environment works. Like our date tool, our helper API package for odata, and, our fascist linting extension package. They're all pure JS with provided types. This is because the handful of people, and the handful of times we work on these libraries it's always people who know exactly what they are doing while they do it. These same people (myself included) won't necessary be in similar positions when we write Typescript, which is why we don't use JavaScript in our day-to-day development. Since our strict Typescript setup protects us from ourselves.

I'm not personally a big fan of Microsoft. Professionally I do think they are one of the absolute best IT-business partners for organisations either enterprise-sized or approaching, because of how they run their support for operations. That being said, I do think what they've done with both Typescript and C# where they sort of mix the best from both languages, has been really good for both languages. At least until you look at something like Blazor which is basically just rebranded web-forms. But I guess that's what happens with large organisations, and at least as far as Typescript is concerned, they seem to be making the "right" decisions.
It might be, but enforcement is a different thing. For example russian search engines are not blocking streaming websites like US/EU ones do.
Linebarger has a nice history with examples going back to biblical times, in his textbook on Psychological Warfare.
I have practiced for many years some Okinawan styles and also Japanese judo and aikido when I was young.

Unfortunately later when I became much busier with my profession I have never found again some place close enough to my home to be able to go there regularly within the little available time.

Nowadays I only practice solo exercices for preserving health, but this is still a very important benefit of what I have learned when young.
Lots and lots of websites still use Google and other CDNs for JS deps, fonts, etc.
Maintaining a personal collection of 7 Peugeot bikes from the 70ies (they are used daily) is my way of getting a relaxed Saturday afternoon out of the software engineering / childcare grind every few weeks. Maintaining your primary mode of transportation completely yourself is very satisfying.

Most of our bikes were incredibly cheap (sometimes < 20 EUR) because you couldn't ride them anymore, and restoring them was quite relaxing. For example, I restored one with a mint-condition frame, using mostly original parts. Originally, it cost 70 EUR. It now looks exactly like this (minus the pannier and with the original gearshift): https://old.reddit.com/r/bikecommuting/comments/uxt0tb/new_b... My wife uses it daily. In my opinion, these bikes have a beauty and elegance which modern bikes simply do not have.

I have made some valuable contacts over the years. For example, I know an eccentric local guy who literally has a 3 meter mountain of old bikes behind his workshop and has every original spare part of pre-2000 bikes imaginable in his cellar. I also know someone on the internet who manufactures pulleys (the little plastic gears) for old Simplex derailleurs at home (they are hard to replace, as modern pulleys don't fit).

My basic rule of thumb of buying an old bike: if the frame is OK, you can restore it for under 200 EUR. Most of the time, it's trivial things like a broken chain, broken brakes, missing spokes, etc.

Once the bike is restored, maintenance is usually painless. The typical wearing parts (chain, bowden cables, tires, brakes) can be replaced with modern standard parts which you can get everywhere.
Yep, I have fond memories... there were dozens of similar quality IIRC. Most artifacts now gone but this one still there, and the same formatting too.
some argue that emulation infringes on their patents, but i am not big on the concept of monopolizing ideas myself.
If you read carefully they migrated all the perf sensitive parts to C++/WASM. At that point only glue was left and their custom language didn't have a reason to exist anymore.
Celebrating Star Wars Day with some Forth code - May the Forth be with you!
What are you talking about? I can get a 3-spots induction cooktop at the shop across the street for €150, exactly the same price as a resistive electric one or a gas one.
Not every pointer works with free(). Most don't.
Agreed. It's also why I stopped using main streets, I drive on small, abandoned paths as much as possible, and when I get near others (car or pedestrians) I slow down or let everybody do what they want until I can branch out again. Any issue you may have with others will become a senseless shouting contest.
I had a few bikes when I was a kid and a teenager (backpedal braking era). Each one costed like dirt and could be rebuilt/repaired in a couple hours with a bag of instruments hanging below the seat. Then I rode it few months without service. Most of my bikes died due to fatal injuries or were stolen.

Modern bikes is something I don’t understand. Complex aggregates, systems and subsystems, spaceship furniture, etc. And the cost of a low-end car, sometimes mid. Plus all the “niceties” of the modern market, like planned obsolescence, milking the customer, necessary extras and so on. Feels like you’re meant to more touch yourself about how much of a cyclist you are than to ride. Say that these bikes are softer, easier, cadence friendly. Doesn’t matter, all off this is bs to me. Yet another area defiled by marketing, scammers and those who charge 5x on top of that for being “honest”.
I agree on the priority here, but this looks like an OS component that appears in other apps. Filtering history in Safari is equally slow.
And how many 'innocent' didn't-test-it-enough targetted user agent incidents do we have to witness in order to call it what it is and stop making excuses?
The "gas" mentioned in the article, is that LPG?
I always feel a twinge of unease testing alarm systems on automated equipment. While “of course” the machine isn’t actually feeling pain when I trip a low oil shutdown or an over-temperature cutoff, I can’t point to any concrete qualitative difference between its aversion response to stimulus and my own.
Having a bunch of cyclists take up a whole lane width wise will always be frustrating. I bike every day and drive reatively rarely, but I understand the frustration with cyclists. I am also scared to death that one day I’ll turn a corner on a country road and get to decide between heading into oncoming traffic or plowing a group of cycling buddies doing 75% of the speed other vehicles normally will do on said country road.
"
Performance

PHP has experienced a 400% performance increase between 5.6 and 7, and another 20% between 7 and 8. It's fast enough for most use cases, and if you need a specialized use case, use a specialized language."

If you like to pay for servers...
https://aws.amazon.com/blogs/opensource/sustainability-with-...
> you simply don't need gears if you're below 50

And here I am with all the gears; on a nice road bike; and I struggle to maintain 30 km/h on flat.
Disney only adapted a single Grimm tale, Snow White, in 1937.

Other Disney fairy tale moves were based on other sources like Charles Perrault (Cinderella and Sleeping Beauty). Grimm also have variants of these tales, but they are significantly different.
Nothing new. There are plenty of AI generation on TV.

I don't watch TV but I was round a friends house last week and they had the TV on.

It is quite incredible to see a TV when you do not watch one yourself.

Its when you can really see it for what it really is.

She had the BBC news on and all the news readers looked like they were AI generated.

Its the way they stare into nothingness while "talking" "brainwashing" and spreading "propaganda" to millions of people with their "not so" balanced views and over identification with the political classes whom they adore.

The fake choreographed movements and nodding heads of the outside news reporters, they seems to have all gone to the "TV news readers school of hand and head movement acting training".

Who watches that crap?

Its so demeaning!
Did we read different articles? Did you just fixate on that line and not read the rest? She was the one doing the examination and verbalising her concerns. The AI disseminated that information the doctor provided and reformatted it into bureaucratic prose just like doctors scribes have been doing for the last few centuries. I don't see the issue here in the slightest. None of the "doctoring" has been outsourced, just the scribe work.
Sadly, yes. At scale, peoples' "protect the children" reactions - amplified through wanna-be experts, externalized anxieties, and various well-intended paving contractors - very often turns decent parents' lives into living hells.
Do you have some exotic luxury car? What kind of clutch costs 2.2k euro?
I find that the more music creation and distribution is gamified, the less gratifying it is for me. Discovery of the music and people who share your distinct musical passions is such and important part of the process of enjoying music and it's creation. On first look I thought, interesting, why would they go ruin the best (if also one of the more frustrating) parts of music creation. No thanks, too derivative and solving a problem in a way that feels icky to me.
Although this is broadly true, I suspect that ancient humans (as well as those in modern hunter gatherer tribes) still spent a good deal of each day sitting. Whether it's by the fire in the evening or next to the river waiting for something to get caught in the nets.

There's a lot of talk about standing more, but I wonder if a key difference is the sitting posture. Humans are born with the ability to sit into a deep squat and stay there for protracted periods. Core muscles engaged, knees apart, hips hinged. In the modern world we lose this ability at some age - maybe between 5 and 10? - and become accustomed to sitting in chairs. Core muscles lax, knees together, hips unhinged. Even so-called "ergonomic" desk chairs do not really help much I think, since it comes down to whether the sitter is really trying to engage and flex particular muscles.

Since learning to squat with barbell many years ago, I sit very differently in desk chairs. Knees apart and seat low, and leaning slightly forward (no use of backrest) so it somewhat mimics a squat. It looks weird, but I've never cared much about looking to fit in.

Edit - after writing the above I thought I should Google around,it turns out some modern hunter gatherers spend as much as ten hours per day in relative inactivity: https://arstechnica.com/science/2020/03/modern-hunter-gather...
Bittorrent as a distribution protocol is not suitable for Git-like traffic, so Radicle is doing their own p2p.
https://news.ycombinator.com/item?id=40247220
Uh oh, I had that same moment a bit over a year ago with MLC's old WebLLM. Take a deep breath before you jump into this rabbit hole because once you're in there's no escape :)

New models just keep rolling in day after day on r/locallama, tunes for this or that, new prompt formats, new quantization types, people doing all kinds of tests and analyses, new arxiv papers on some breakthrough and llama.cpp implementing it 3 days later. Every few weeks a new base model drops from somebody. So many things to try that nobody has tried before. It's genuinely like crack.
I am sure those are no true Scotsmen, either.
Well, then once you've lost 15%, just start again..!
I have been driving a Model 3 for the past almost two years, and I can't charge at home. It isn't all that inconvenient, as I can charge often while stopping at restaurants, and I almost never have to charge for "30-40 minutes".
"You’ll never hear a baker say their job is bullshit." Disconnection from our work and results in general is a people killer - It always surprises me more aren't sensitive to this great truth of life...
Every decent CI would include at least a smoke test on the bigger platforms in the field. Google obviously having zero test coverage for FF on Windows, is that incompetence or malice?
How extremely odd. I did not post this comment here, but in my comments listed, it sends me here as its parent.
We have https://radicle.xyz/

Often discussed here.

However, many Hacker News commenters love to bash it because it is associated with cryptocurrencies.
> They definitely didn't take 50% of our time.

It probably also depends on the people that you're working with. I can easily imagine the velocity plummeting when the person reviewing your code loves to nitpick and bicker and ask for endless further changes with every next round of alterations that you do.

Doubly so if they want to do synchronous calls to go over everything and essentially create visible work out of code that already worked and was good enough in the first place.

I'm not saying that there aren't times like that for everyone occasionally, but there are people for whom that behaviour is a consistent pattern.
I felt the same about typescript early on. Now I really like it as I can easily program logic for hours without running the app once. I'm not sure I could do that without typing.

It also makes reading code a lot easier. I can see where something is used, where it's defined, etc etc. It's much easier to get around.
With all the things the C standard lacks... I would not have expected this to be included!
The less clutter there is, the more the remaining elements pop.
How the Lockheed SR-71 Blackbird Works
I agree, at least in theory (not sure if any existing blockchains could adequately solve the problem today). Someday, you could imagine essentially running gitlab on a blockchain. Actually, it's not a stretch to include access control such as public key management, "Issues", etc. It would be publicly readable, not censorable, no single point of failure, and unlike torrents, fully mutable. Obviously, today the cost would probably be prohibitive for most purposes.
'decent' yes. But true, if you get a bike that's not full of electronics and motors and gps and what not, you dont have to spend a fortune.
between 100 and 200 euro you ride a solid bike that does not fall apart with every bump in the road and can be repaired at home.
Yes and no. There is a lot of performance in demonstrations and movies, still it is quite effective for a very well trained practician. But the most effective techniques don't look impressive on screen.
How’d we get down from the tree then, huh smartypants? :P
The solution is decentralised Github:

https://radicle.xyz

Radicle gives a decentralised Git network that is much more immune to any legal action.

This makes it much more difficult for Nintendo to take such action. Because it is a civil dispute, not a criminal one, the trick is to make it more costly for Nintendo to abuse the legal system (it is unlikely the legal system abuse will be fixed in long term, or ever). When DMCA and such laws were designed, it is unlikely the lawmakers intended it to be abused like this. There is no penalty for Nintendo to do as many takedown notes they want, whileas there is a headache for anyone involved in these projects to defend themselves.
It's late Friday night so this what I really think of PHP: It is the purest form of web programming. You don't need a framework. Spin up a server and just start writing. Experiment. Do crazy things with it, like an art project. Every page is it's own world. Have fun with it. PHP is freedom.
If dealing with bad tenants is "part of doing business" the so should be dealing with bad landlords.
This perfectly matches my experience.
This is the same problem that every modern dating site seems to have after they copied Tinder.

Swipe left - I never want to see this person again!

Swipe right - I must contact this person right now!

What happened to the idea of curating a list of interesting people who I may or may not want to meet right this moment, but I would like to make a list that I can refer to later?

Just look at OkCupid for what a disaster this turns into. I see an interesting young lady, but it may be late at night (like 2AM my time right now).

I would like to put her on my personal list of someone I may want to contact at a more reasonable hour, and after I've had a chance to read her profile more thoroughly.

My only choices are to swipe left and forget her forever, or swipe right and send her a "like" and I'd better send her a message right now!

Maybe there are a few young ladies I may be interested in contacting.

Why doesn't the site let me make a list of them?

I did finally figure out a hack. If I click the little "down arrow" at the bottom of the main page, it takes me to her profile. Then I can use the "share" link in Chrome to create a draft in Gmail with a link to her profile!

I have a lot of drafts now.

This really sucks. If you are a dating site, just let me make a list of the profiles of interesting young ladies!

The same applies to a site for musicians I may want to contact to play music with.
There is plenty of AI generation on TV.

I don't watch TV but I was round a friends house last week and they had the TV on.

It is quite incredible to see a TV when you do not watch one yourself.

Its when you can really see it for what it really is.

She had the BBC news on and all the news readers looked like they were AI generated.

Its the way they stare into nothingness while "talking" "brainwashing" and spreading "propaganda" to millions of people with their "not so" balanced views. The over identification with the political classes whom they so adore.

The fake choreographed movements and nodding heads of the outside news reporters, they seems to have all gone to the "TV news readers school of hand and head movement acting training".

This is why AI genration will work.

The people have already been manipulated into thinking and believing they are watching a human being when they are in fact just watching actors playing a role.
I can't ever imagine this. Every single time I went somewhere with someone my entire attention was dedicated exclusively to that person.
Interesting. I was doing this kind of stuff in high school, never had such problems and I don't know personally anyone that did (and I used to know a few dozen people practicing various styles of karate). In any case wrist pain suggests a very bad strike technique or weak wrist muscles.
Direct link to the source - https://www.esa.int/ESA_Multimedia/Missions/Solar_Orbiter/(r...
Reminder that librapay exists, and their developers are only paid from user donations, just like anyone else on the platform.

https://liberapay.com/

(I only wish their CC costs could be reduced a bit to make micropayments viable)
Dogs and cats seem much closer to what we experience as consciousness than they are further away. And pigs and cows are likely as conscious as dogs and cats. I'd imagine insects also have a subjective experience with some similarity to other animals, based on how they writhe in pain and seem to hate it just as much as we'd hate it.
I think asking for location is perfectly sensible and the right thing to do. Track how many people say no, but if the opt out rate is too high, work on the wording to increase the rate before you allow manually entering a city.
I may be sort of rose tinted, but I don't remember celebrities having as much of an impact on my generations compared to the SoMe influencer celebrities today. Possibly because they're so much "nearer" to the consumer than celebrities were for us. There just wasn't that same para-social relationship, partly because you couldn't write (and get a response) from celebrities instantaneously back then. Today you can join their Discords and sometimes they'll talk directly to you, and I'm sure that's very hard to "deal with" (for a lack of a better way to put it) for a lot of young people.
Well no, any theory of emulators being illegal would be under the DMCA, which bans DRM circumvention without the authority of the copyright owner. But Nintendo is selling games with said authority, so it wouldn't apply.
Great premium feature. Like on Tinder. Put location choice behind a paywall; keeps fake profiles out, too.
For the lesser informed: family office is like a hedge fund but with less regulation.