skysight-inc/HackerNews huggingface dataset:
That can turn into an enormous amount of work to provide all the permutations of type conversions between 3+ classes, and then manually shuffle between them over and over. It's even harder when you don't have the power to add similar conversions for the classes you're trying to convert to/from.

Classes aren't a great abstraction when enforcing program invariants like "this object must at least have fields a and b." With a dict you can just have "dict(a=1, b=2, c=3)" and it works everywhere without serialization/deserialization and manual type conversions. Python's type checkers can't provide any safety for you if you do that, but that's a deficiency in the language, not the concept.
Right, he doesn't actually dominate Geoguessr as a game, there are hundreds or maybe even thousands of people who could beat him in the competitive mode or in eg some no moving competition. Personally I'm in the top few hundred in the world and I do think I could beat him handily--I just have memorized enough bullshit about utility poles and the Google car in different countries and so on that he hasn't.

But he does dominate Geoguessr social media content (along with rainbolt who has really blown up on TikTok). And I think Tom is pretty widely liked in the community. He's honest about his skills, his videos are fun, and he brought a bunch of today's top players into the game in the first place.
Didn't follow your argument, but if AI: 1) gets advanced enough; and 2) goes out of control; won't it 3) take out the human at the off switch first?
They’re autonomous so it’s unlikely they’ll ever merge with normal roads.
The example using Measurements.jl only works as a good example for composibility if you use `Number` as the type for the argument. If you happen to use Int then it doesn't work:

using Measurements
plus_one(x::Int) = x + 1

plus_one(measurement(1))
ERROR: MethodError: no method matching plus_one(::Measurement{Float64})
Closest candidates are:
plus_one(::Int64) at REPL[2]:1
Stacktrace:
[1] top-level scope
@ REPL[3]:1

This is perhaps my biggest annoyance with Julia. Concrete types cannot be subtyped, and hence cannot be extended by other packages. And explaining to researchers and scientists that they need to use abstract types to make their code more composable is exercise in frustration. I think computer scientists with experience programming in C++ may have good intuition for when to use concrete or abstract types in the function signatures, but research scientists in ML and optimization (in my experience) just don't do a good job of that. And just end up having awful Julia code to work with, that isn't really extendable. In my opinion, readability suffers greatly when you have to understand the type hierarchy in order to find out if your code will MethodError or not. For example, if the author use `plus_one(x::Rational) = x + 1` instead of `plus_one(x::::Number) = x + 1`, would the code that uses Measurements.jl have worked? Who knows just by looking at the code. It turns out it doesn't work and there's a MethodError. The built in type hierarchy is great, but third party packages are hit and miss.

Honestly a simple solution to this would be to allow concrete types to be supertypes of other types. My understanding is that there's no compiler related reason for this, and this is just for "good practices" but for the life of me I don't understand why this limitation was made. I've seen Julia code that creates a supertype abstract type for every concrete type they create, and it is just awful to deal with. Fortunately, it is somewhat easy to write a macro to make this happen, but still very annoying that one has to do this at all.

Combine that with the lack of a file system package modules (like in Python or Rust), the lack of any kind of doctests, the built in testing being so lackluster, you end up with really poorly organized code.

TSCoding has a 1 min video on why he doesn't program in Haskell anymore [1] and I can't help but feel his reasons directly apply to Julia too.

For example, in order to run that example for this comment, I had to run `add Measurements` and it took 7 minutes to download the package. Why is the "registry" for packages in Julia a giant git repository? It takes SO long to update every time. This is an example of a poor software engineering decision in an otherwise elegant language.

[1] https://www.youtube.com/watch?v=SPwnfSmyAGI
I only see law enforcement looking friendly on their Facebook page. In person, they are armed to the teeth and not to be spoken to.
I don't think I can say it any simpler than I already have. You're just going to have to think about it yourself for a bit.
and it will only cost you >$100K to invalidate
I too treat it like a minor sport. If you do it repeatedly to the same people it can flower into a a more meaningful relationship.

Some people don't have strong relationships in their life and even strangers making an effort can brighten their week.
That's a pretty broad brush you're painting one of the largest and most diverse countries in the world with.

Certainly where I live, everyone walks, rides bikes, and spends a huge amount of time outside.

> there is nothing of interest outside

Whew. I don't even know where to start with this one.

If this is how you perceive the United States, I think there's a huge opportunity for you to learn more about this country.
> Technically, being high on heroin in a public place isn’t a crime.

That's hard to believe. If it's apparent to anyone else, it will be a crime in a few different ways. For example:

> A person is guilty of disorderly conduct if, with purpose to cause public inconvenience, annoyance or alarm or recklessly creating a risk thereof, he or she:

> (1) Engages in fighting or threatening, or in violent or tumultuous behavior; [or]

> (2) Makes unreasonable noise or offensively coarse utterance, gesture or display, or addresses abusive language to any person present

( https://www.law.cornell.edu/cfr/text/25/11.441 , apparently a rule of the Bureau of Indian Affairs, but the crime exists everywhere with somewhat variable definitions.)
The Marion Stokes Project
Apple will be Apple.

But there are lots of other places to be.
I thought at that time the main reason the nation backed out of the universal income was not racism, but a statistical error:

> Even former Nixon advisor Daniel Moynihan stopped believing in basic income, following a fatal discovery upon publication of the final results of the Seattle experiment. One finding in particular grabbed everybody’s attention: The number of divorces had jumped more than 50%. Interest in this statistic quickly overshadowed all the other outcomes, such as better school performance and improvements in health.

> Ten years later, a reanalysis of the data revealed that a statistical error had been made; in reality, there had been no change in the divorce rate at all.

From https://thecorrespondent.com/4503/the-bizarre-tale-of-presid...
+1. LPL has disproven the claims of many "unpickable" locks.

If computer security has taught me anything, unhackable/impenetrable claims, cyber or physical, should be met with skepticism.
Same, to an extent, with Twitch.

I assumed people filming themselves (mostly) playing video games was the DUMBEST idea for a business but now I tune in all the time for a bit to watch the top players of the games I love do their thing.
This is essentially re-packaged public equities data. Not at all comparable to what a Bloomberg Anywhere or terminal subscription offers. So, right off the bat, your marketing line is going to push your target customers away.

And as others point out, data provenance and data quality are a pre-requisite to anyone seriously considering anything alongside Bloomberg, let alone as a substitute.

On the plus side, I bet it likely doesn’t have that prehistorical pre-windows, stone-age Bloomberg UI.
Are you kidding, those modelling poses look ridiculous!
> Tell me you are a Java dev without telling me you are a Java dev. :)

FWIW, I am not :)
Clojure has established the gold standard for beautiful abstractions that unify broad categories of data types. It's seq interface is elegant and powerful. Python's efforts towards option data typing or strict data typing looks especially clunky, awkward, forced, and painful when compared to Clojure.
I'm not sorry for taking the opposite opinion, and its strictly for the reason that: these megacorps will, at the drop of a hat, spend millions in donations and lobbying for whatever causes their executives believe furthers the goals of the business [1]. "We the executives" are allowed to talk about it, and pay for what we believe is right, but "you the line workers", shut up, if you don't like it go work somewhere else.

If they want to stay out of politics, then do that. But its extremely difficult for modern businesses to not have a hand in politics. That's fine; and to some degree I respect the line companies like Coinbase walk, where they push agendas that are fairly directly related to their business. Meta goes far beyond that, into financing for (great and important!) issues like voter suppression & minority representation. If they're going to open the floodgates, they can't be uncomfortable when some murky water comes flooding in.

[1] https://about.facebook.com/facebook-political-engagement/
> Julia is very specifically a general purpose programming language

I’ve been trying to figure this out recently - because I love Julia’s features. Readable like Python, but with more ability to optimize performance, and also lispy with macros and generic functions. I’m personally interested in it as a general purpose language.

But when I search around about it, most folks to seem to relegate it to the data science realm only. Everyone seems to be saying: well it’s certainly general purpose capable, but its designers are focused on data science, and that will continue to be the primary goal. As such, don’t expect to see it widely adopted as outside of data science anytime soon.

I don’t want that to be the case, but it seems harder to build broader excitement about the language if it’s going to continue to be perceived as niche.
It’s hard to segregate politics from other things in life. Politics influences most things in life - our work, our school, what we can and can’t do. If I follow your claim, then corporations shouldn’t take a stance on climate change either. Is that really right?
I didn't know you were here on HN, though it makes absolute sense you would be.

Amazing content, your shows are some of the best YT has to offer.
Every group cares about their own interests first, whilst everything else is just progress.
Is there a better image format available?
Apparently, be a tech lead for a software team, seeing as that's what I've taken a new gig doing this year
That’s funny because a lot of reactOS is clearly copied from the leaked windows research kernel.
I don't really mind copyright at all. But I'm worried automation tools take away my (false) sense of control and the art of coding.

Why care about variable naming since AI will generate most names anyway, why care about common libraries if you can always get good implementation for specific use case in a second or two?

I know these small details don't matter in the big picture, code exists to do something and if it does, it doesn't matter how it was made.
Do these things have to worry about sea mines?
Got to love the tacit admission that discussions on the platform inevitably turn into flamewars.
I assume they are going for a design patent, which they may well get (and doesn't protect against much other than direct copies). A method patent or a utility patent is a lot harder in light of the prior art.
Couldn’t you just:

/* do */ {
const foo = “bar”
do_the_stuff(foo)
} /* while(JS_sux) */

Typing code on a phone is hard…
That compiler got template support very, very late, and conforming support much later than that.
The site is probably from 6 years ago

https://github.com/hunterbridges/yamanote-style
Does anybody really believe that workplace debates will sway the votes of senators?
In the past, the power to set policy was in the hands of the few aristocrats, whose full time job was to discuss and fight over policy, while the lay people worked their fields. We fought hard to take that power from them.

Now a company asks its employees to forgo that power and liberty. Why did we take the power of policy from the aristocrats in the first place? We can of course go back to shut up, work the field peasant model and let them enjoy discussing policy for us while we produce goods.

What comes first? Your employer or your rights?
Totally agree! I feel helpless and afraid of the Supreme court ruling. At the same time, I have seen firsthand how ridiculous such internal discussions have become at Twitter, and they silently take away so much of my work time and put me on the path of depression!
It feels like you never looked at https://www.uspto.gov/web/offices/pac/mpep/s2215.html and it might be worth giving that a quick read before pulling a number out of thin air.

Yes, it costs money to get a patent invalidated based on prior art. But: an amount that even a single person who stands to actually gain from having a patent overturned should have no problem with. You're asking the USPO to spend time redoing work, literally halting any other patent work they could be doing instead. So it's not a trivial amount, but it's also hardly a prohibitive amount if you actually want a specific patent revoked.
>But then my wizard casts a spell, and does damage to a goblin. Do we put the cast method on the wand, the wizard? There is no real reason to pick one over the other

You did pick: "My wizard casts a spell". The cast method goes on the wizard.
I’m 50 and have been using a Wahl clipper to shave my head every few weeks since college. I shave my face twice weekly. I find it all to be a chore. I’d give up all the hair on my head without a second thought if I could.

Hair is overrated. On women too. This is a sexy look:

https://upload.wikimedia.org/wikipedia/en/8/84/Persis_Khamba...
It's not impossible to type check heterogeneous maps at compile time, but most static type systems don't support this. I think you'd certainly see much more friction trying to program like this in C# than you would in Clojure.
Symbol keys are string keys for the more sophisticated among us. See :some-name vs "some_name". ;)
I have a miscellaneous question in case you happen to have a perspective. Do you think it might be potentially ambiguous to use the general term "the spectrum" to refer only to the asperger's/autism spectrum? Human minds are wonderfully diverse, and I feel like it might downplay that diversity if we make it sound like there is only one spectrum of genetically-linked mental phenotypes. As some examples:

- eidetic memory

- depression

- perfect pitch

And much more. I've always wanted to ask this and was wondering if you had thoughts on this?
If you drop the type annotation in your example then it works fine. There's not really a good reason to provide a type annotation to that function.

I just installed and used Measurements.jl in <10 seconds. Newish versions of Julia (1.6? the LTS?) don't distribute the package registry as a git repo.
This is great. I did a few work trips to Tokyo, and always stayed at Shinagawa, so that tune is very familiar to me. And yeah, I did the sightseeing loop of the city as well!
wonder if you could pick it just enough to allow the first rotation, to the point the slider binds the pins and then just start rapping on it until they lock into place?
That "no" probably expired a long time ago. Another lawyer would be able to tell you.

Often enough, only specific trade secrets get long-term protection.

Non-commissioned crewmen on board ships conducting classified missions, not themselves cleared, can usually say everything they did; it was the officers' responsibility to keep them from knowing any classified details.
You might enjoy Derrick Sivers articles then. He goes out of his way to make everything short and concise.
Why? Meta is using the money they make off the women working for them against them.
Oh come on! https://en.wikipedia.org/wiki/Help:IPA/English
What is that referencing?
This is more common than you might otherwise think. I've worked at multiple companies that have multiple systems/sources of truth for various reasons. One example of that is my current company has stored and handled all its transactional data in a legacy point of sale system from the early 90s. They decided to upgrade to a modern ERP system a couple years ago, but it takes a while to fully implement and roll over to a new source system. Especially in a high transaction system that cannot go down otherwise the company will start losing a lot of money. Thus its being incrementally rolled out, resulting in both systems running together and being read and written to simultaneously.
Only for people who accept that as fact, or who openly invite into every aspect of their lives. Before the internet it was not so common to air one's bullshit, if you will.
I wonder, if the AI could identify recyclable items, then just lighting up items so humans could sort would be eaiser.

Lights and hands cost way less than complicated grip machines.
or instead of rapping, just a buzzer or something to vibrate the pins while holding them very lightly bound. Just because you can't pick at the pins doesn't mean you can't move them.
>But the crypto collapse comes amid growing concerns from computer scientists, engineers, and other technologists about the rise of this unproven, unregulated technology.

Weird way to phrase things. The technology is very proven, the application of the technology and the idea that it's worth speculating on specific implementations of the technology to the tune of trillions is what is more controversial.

I don't find this article very good and I think the only compelling point just scratches the surface, which is that Bitcoin is an unviable currency when it comes to replacing something like Visa or Cash, but I really don't hear people making that argument anymore (since it's obviously absurd), and Bitcoin isn't the only game in town. The idea is that it's an inflationary hedge that can do smart contracts and dApps, and while I could go into these arguments, I won't.
These examples spring to mind: 1) high performance computing (vector processing / SIMD), 2) deep neural nets, 3) graphics. Each of these computation models process a small number of large blocks of data whose efficient movement is just as important as their efficient number crunching. OOP doesn't serve those emphases as well as DOP does.
>Then WoW came and the rest is history.

https://youtu.be/nvK8fua6O64
it will really hit the poor hard when the soil depletion reduces yield permanently -and the phosphate supply is already coming to the end and costs increasing
I have always said "if someone made it, someone can break it"

Nothing is unhackable/impenetrable. period.
I think he has a whole box full of locks he can't pick. He usually doesn't show a lock until he has mastered picking it.
Are you not familiar with the 1977 flu pandemic? About 700k people died. You can argue about whether that was a "lab leak" or (as Gronvall prefers) a mere "vaccine accident", but either is unnatural.

https://en.wikipedia.org/wiki/1977_Russian_flu
IANAL, but I can imagine this being a necessity from a liability perspective because religious beliefs are involved. Can someone with a better understanding of labor law speak to that aspect?
M2 MacBook Pro SSD read/write speeds compared to M1
Microsoft New Future of Work Report 2022 [pdf]
For Diabetes, there’s Type I (genetic) and Type II (caused by frequent exposure to high blood sugar).

I wonder if ADHD might have something similar, that we’re just beginning to notice. The brain’s plasticity might be adjusting to higher levels of dopamine from our phones.

Anecdotally, I never had ADHD-like symptoms until COVID lockdowns. In the last year, I would spend pretty much all day in front of a screen and never get much meaningful stuff done. Now that I’m out and about more and staying away from phones, I feel less ADHD and I’m back to reading full length books and picking up hobbies.
It's probably being heavily flagged but hasn't been marked [dead] which I suspect is manual protection. But it's also being downweighted by the flamewar filter, I bet.
I used to play MUDs with one of EQ’s leads, and while I didn’t play EQ due to having come to terms with the life-ruining risks of such games, it’s amusing to read here about EQ mechanics that were pretty much ported from Sojourn / Toril MUD—the punishing zones and hard corpse recoveries, requirement for big raid groups with good coordination and communication, etc.
I agree.

More generally, I would recommend to avoid any DSL. All DSLs are a downgrade over ruby language and there is a really narrow list of opportunities where they are an upgrade.
Everyone knows ruby when working on a Rails application. Everyone knows what a class, an instance is and what methods are.
Ruby is extendable, incredibly flexible and it doesn't need "special options" to be extended.
DSLs every time attempt to recreate the flexibility of ruby and require studying a new mini language.
When I'm in a dsl, I don't know if I can use an instance variable, if I need a method I don't know if I can have one.
More often then not, this question is not answered by the documentation and digging in the source code is needed.

Most libraries with a DSL violate the first rule of a DSL: a DSL method should delegate to a normal object performing the operation, so that DSL API has also a corresponding normal ruby API. If you do this, your DSL is now extendable and replaceable, it can also be integrated into other libraries.

As for state machines, the libraries recommended push toward objects violating the single responsibility principle. A state machine has already a super important responsibility: state-transitions. That's already a lot of work, if it has to trigger side effects, now it does way too much.

Some alternatives: pub/sub! let the state machine be observable, whatever needs to do work when a certain state is reached, can do it when the event is published

Alternatively as someone recommended below, service objects take care of: transition, persistance of the new state and side effects. If a new action is needed, a new service object can be written. The state machine can be used to validate the transition while the service object takes care of the rest.
actually i think we are more limited than a turing machine since even the default turing machine has a (single) infinite tape/running time. But there is a quantum turing machine/quantum lambda calculus as well. just has (probably?) a faster running time on a subset of algorithms.

but essentially turing machine/quantum turing machine have the same kinds of inpus/outputs or domain/range, whereas a hyper turing machine has a bigger domain/range.
Good point. I've looked deeper: https://www.cst.ch/en/why-cst/

Apparently, they don't actually have electric trucks. Instead, they have "pods" for individual pallets:

"Innovation is also a significant feature of Cargo sous terrain because it will for the first time be economically viable to transport small volumes on individual pallets or containers on an ongoing basis. The continuous flow of small-component goods obviates the need for waiting times at transfer stations. In addition, the space requirement can be massively reduced because temporary goods storage is no longer necessary"