skysight-inc/HackerNews huggingface dataset:
>> grow up enough as a species to cease having countries and instead have a united single government like Star Trek.

This would require everyone to think very alike which we will never be. there's simply too much diversity.

why not aim for more of a everyone have it their own way kind of model where more of the power is sent to local governments? this way there would be less conflict and more happy people, rather than only one way for everyone (one size does not fit all)
There are several industries where wire for million dollar+ transactions are the norm. Seems like a real enabler in those spaces?
That seems more retributive than defensive. It’s only construed as defensive when the attacker is forced to justify themselves, to themselves and others, to avoid shame and guilt. Consider the cliche of “defending one’s honor”. This phrase assumes the rightfulness of the aggressor’s actions. It begs the question.
> What's wrong with hosting a server from your house?

Nothing, but if you're hosting just your own site, that's not what people mean by decentralised.

If you're part of a swarm all hosting replicas of the same data or providing replicas of the same service, that's decentralised, but if you're operating a large server, you're highly incentivised to be selective which data you host, to save on costs among other things. The result of many people doing that is what we see with torrents.

> What's wrong with torrent?

Torrents are a great example of when cryptocurrency tokens can improve decentralisation.

Torrents are notoriously unreliable. If you want a specific file, it's sometimes available, sometimes not, depending on the file's popularity. For things which are less popular, it's down to luck whether someone else is seeding at the moment. You may even download half of a large file, only to find the seeder takes themselves offline and you can't get the other half for weeks, or ever.

When you depend on one or two seeders for a particular file, that's not decentralised. You can't build serious infrastructure on something that unreliable.

Some cryptocurrency tokens are designed to change this. Through something called proof of data availability and cryptocurrency tokens specially designed to link to those proofs, they set up a balance of forces called cryptoeconomic incentive which ensures a lot more people are motivated to continuously make a large amount of torrent-like data available as a service, and it's hard to cheat that system.

People don't waste bandwidth uploading the contents that nobody is currently requesting, but they are effectively paid a small amount to store data and keep it ready to upload, so the incentives promote continuous high-availability of large archives of data, including unpopular and obscure files that people struggle to find and download from ordinary torrent services.
Feel need to inject some realism:

"Tesla's market share is at risk of plunging: analyst" (Feb 2022):
https://finance.yahoo.com/news/teslas-market-share-is-at-ris...

"...We expect Tesla's market share to drop from about 70% in EVs to about 20% in the next three years. They [Ford and General Motors] are gaining the bulk of the market share we expect Tesla to lose..."

"Tesla Is Losing Market Share In Every Major Car Market" (March 2021): https://seekingalpha.com/article/4411931-tesla-is-losing-mar...

"Tesla's Market Share Takes a Dent" (Jan 2022): https://www.statista.com/chart/26539/worldwide-bev-sales-bet...

"Electric cars are more popular than ever, but Tesla is losing market share to new competitors" (Oct 2021): https://www.businessinsider.com/tesla-market-share-drops-for...
After working in Python without type hinting for quite some time before joining a team that uses it heavily, I was pretty skeptical about how useful it would be give the many rough edges I had read about. After using both approaches for a while I think that type hints are both very flawed and surprisingly useful.

Yes MyPy and type hinting in general has many limitations, rough edges, and occasionally baffling behavior. Despite all that, I think it is helpful for pretty much any Python project. Type hinting does catch a lot of potential issues and the syntax is very simple. I tend to fill in the types even on a first pass at some code since they help so much in tracking various interactions.

I think the bottom line is that something doesn't have to be great in order to be useful.
How will they catch issues if they are not checked? The comment I'm replying to insinuated type hinting is just for documentation, and not necessarily meant to be actually checked by the tooling.

You seem to be describing actual type checking, which I understand (though in my opinion, mypy is not a satisfying tool for this).
While I love the idea behind Python's type hints, they are merely a shadow of the success of TypeScript.

Like the author, I've mostly given up on adding type hints in my Python code. I now only use them when I want to help my IDE find autocomplete suggestions.

Whereas TypeScript was a game changer for JavaScript. I used to hate JavaScript, but somehow TypeScript has become one of my favourite languages! How has the advent of Typing has changed my opinion on these two very similar languages?

- JavaScript without types is a mess, whereas Python comparatively was much better, esp since it does runtime duck type checks.

- Python type hints are much similar to Flow type hints in JS, which I tried, but ditched for the same reasons as Python type hints.

- I was hesitant to try TS's all in approach, cause it was harder to introduce into a project, but after having converted a number of projects to TS, I can see that going all-in is a much better approach than just adding hints as you go.

- TS does checks at many more levels. Eg, if a property is optional or could have different types, it is a syntax error if I don't check the value is valid before use.

- TS does an amazing job of auto-detecting types, so most of the time you don't need to specify types, and it enforces these just as if you declared them.

- TS has reached the critical mass were most popular packages now include type definitions, I very rarely have to add @types/* anymore. This means you get full intelisense on all 3rd packages! I spend a lot less time referring to documentation now!

In hindsight, compiling out types is a great work flow. TypeScript is so good that it has made me enjoy Python less. If there was ever a Python equivalent to TS which reached a critical mass of support, I'd jump all-in in a heartbeat.
It is physically impossible to exceed the weight limit for a Small Flat Rate Box
I had a quick look through your docs, and it would be really great if Column allowed Entities to use identifiers other than SSN:

https://column.com/docs/api/#entity/object
On a similar note, the screenshot should probably put emphasis on the first bullet point "Make profile private and hide activity".

What jumps to the eye right now is that second option checked, as if that's the new feature.
I agree, and viraptor came to my rescue recently:

https://news.ycombinator.com/item?id=31067059#31068194

> There's also an extension if you want just the hints: https://pghintplan.osdn.jp/pg_hint_plan.html
The whole reason Python and JS surpassed most all other languages is specifically because you can write code fast, without worrying about strict definition of data structures.

The issues with python code bases aren't from a lack of strict typing or type support, but from a lack of a good testing framework.
The twitter account published the location of the plane using publicly available information. It could have also published the information of one of Virgin Atlantic's plane.

In fact it's not even Musk's plane, he just owns the company that owns the plane, Falcon Landing LLC. The twitter account didn't actually know if it was Elon Musk being flown or a bunch of burros being ferried back and forth between US states.

>FAA didn't create a plane tracking system so that a kid can put this info on a map in real time.

You're right, the FAA made the system open so that anybody could do this, not just this kid.
> 1. If you're using a dynamic language, then _by definition_ the language will not enforce your static hints at runtime. However, good news! Python has always been strongly typed, and _does_ enforce types at runtime!

So PHP is not a dynamically typed programming language according to you? It enforces type hints at runtime just fine.

There is nothing in the definition of dynamically typed languages that says they can't use type hints to perform runtime checks.
Having to find "other means" to reclaim is exactly what makes it the banks problem.

Do you think it's easy to get someone with access to billions of dollars (of your money) to do something they'd rather not? They can tie you up in the courts for years since they're basically equal powers: an $800 billion bank doesn't get better lawyers than a guy worth $1 billion. A bank vs someone with just a million dollars means the individual is at a major disadvantage as lawyer fees can easily exceed that amount in attritional lawfare.
> Your TSLA gains are nothing compared to what many people in here made on Ethereum.

sigh
I think the opposite. Getting it right once is hard enough but the fact Musk has been a core figure involved in the development of:

- Paypal
- Tesla
- SpaceX

Tells me that his success isn't a fluke. You might get lucky with one of those companies, but with three? Don't think so.
That was pretty fun. I wonder if making it so you can play the chords using the keyboard would work? Also, I changed it to Dm and the chord selection was, odd.

Still, I liked it. I compose a lot of songs in Dm but do get stuck in the same old chords.
wtf is the color of 0cf4c7.png ? it's different in every browser, and even when you download the file, it's again different in every program that opens it.
this is not just a browser issue.

the Photos app on Windows 11 renders it as 01f4c7. almost 0 red. (although come to think of it, maybe the Windows 11 Photos app is an embedded browser, lol)
I have a 4-device subscription, not a geofenced subscription. This is not going to play out well.
Apparently you can't order one today even if you wanted to, so at the very least it does seem like Panic captured its expected market.

I don't think this is for me, but given some of the developers' interests being peaked over this I am interested of what comes out of this.
Device management is 3rd party even for PCs at my employer.

Mac machine accounts are local, not joined the AD domain, but it doesn’t matter because we’re on MS365 so it’s all done over the Internet anyway. We don’t have network file shares anymore, we have One Drive and SharePoint, which both work fine on Macs.
Yes, Mac developers tended to focus only on that platform, and a large portion of its user base was on monochrome for a long time. Therefore, you had a sizeable group of artists and devs who got developed strong techniques for monochrome art.

Comparatively, on PC I never saw CGA graphics which I didn't think were anything but compromised EGA images, which were themselves degraded from VGA images etc. Did anyone else play Prince of Persia on a CGA display?
mypy is quite fast at the command line. certainly fast enough for CI usage, where speed is generally less critical than in an IDE.
Good to know! Very jealous of your line of work, btw, seems like a great place to be!
OpenSSH also supports using a script to get the password if using the `SSH_ASKPASS` environment variable, and being invoked under a non-tty input e.g.

{ echo '#!/bin/sh' ; echo 'echo my_password' ; } > password.sh # don't do it like this :-p
chmod +x password.sh

SSH_ASKPASS=./password.sh DISPLAY= setsid ssh user@host /bin/id

In newer SSH versions `DISPLAY` is not required (but there is a new `SSH_ASKPASS_REQUIRE` environment variable), but in older (e.g. 8.x) versions, then it needs to be set as the default ssh-ask-password was an X11 command, and I believe the logic assumed that scenario.
It's not they don't run on anybody else's image. They might. It is that they are difficult to get to run on other images.

Have you tried porting Smalltalk apps between different vendors' Smalltalks? Problem is there is no standard Smalltalk base-image. That is caused by the fact it is so easy to modify everything in the image you have and then save it and give it to others. Others then start developing against that.

You can try meticulously to avoid this problem but it takes special attention.

Contrast this with Java. You can run any Java program that was developed on a given version of JDK by using that same or later versions of JDK.
Financial times and economist (though mostly their audio content).

Reddit, hn and some niche stuff
Yes, but checked type annotations will do the same, plus they are actually enforced.

An unenforced type hint is just like any comment: likely to get out of sync with the code, and a human must do all the work of keeping it up to date.
Duckdb itself uses a variation of pganalyze's library-ification of postgres's parser so this seems a little indirect.

That said, I've heard the duckdb folks have improved on the postgres parser a bit.
Please share the correct way! I didn't realize I'd been doing it wrong all these years.
The company I worked for in 2000 got hooked up with Enron and the VP of Engineering, a man of middling talent, became obsessed with taking this windfall from Enron and making his mark in the world. He began dreaming of all kinds of big projects with the cash, except he didn't involve me or some of the engineers because he knew we would shoot down his ideas. He wanted to be a big player in Web1. He grabbed some mediocre engineers who he could bedazzle to implement his big designs. I got bored with nothing to do and quit. Right after I left it all came crashing down. Web2 rose from the ashes and it was good. I'm feeling the same vibes now, so I'll wait for Web4.

https://en.wikipedia.org/wiki/Dot-com_bubble

https://www.investopedia.com/updates/enron-scandal-summary/
An open question would be wether the baseline inflammation level could be lowered if we implemented a periodic but rarer higher inflammatory level.
So a ~flatline vs a sinusoid. It could be pharmacologically simulated.
Ubuntu 22.04: The Linux desktop for work
But I do. I put my money somewhere else when I see a Tulip run.
Dolphins have a rather non-mammalian gut microbiome yet have observed homosexuality. The correlations aren't there.
Good luck! There were at least two big graphics programs which relied on Lisp and prooved how useful ot was/is in those environments. Talking, of course, avout AutoCAD's AutoLISP and Visual Lisp and transformativr and great (grand even) late Nichimen's Mirai (franz).
It makes a weird sort of sense if you consider the folder to be like a stockroom - when you tell someone the box they want is “on the right as you enter” you expect it to be in the same place you saw it.
How does React concurrency improve performance in a single threaded environment?
Disney is only making noises to appease their local employees.

How do you think those local employees would view the company laying them off?

Perhaps they’d regret bringing the matter up. Perhaps future employees would be quiet lest they lose their jobs.

Perhaps this is a terrible, terrible idea.
Yes, and this is the crucial difference that make new songs sound "modern". The Beatles were one of the first to use the 1,5,6,4 sequence (Let it be). Since then the 1,6,4,5 sequence has consistently lost ground, while 1,5,6,4 sounds modern. The chords are still the same.
> On Windows, well, you feelin lucky?

Doesn't chocolatey fit the bill?

https://chocolatey.org/
I haven't seen it in person, but if it's the kind of display I think it is, it will look absolutely amazing and be better than most other equivalent backlit displays (and you don't need a good light source to make it readable).
You are now confusing the person Anderson cooper with his show. Your original comment was about the show which is the 22nd highest rated news program. Relative to the others that doesn’t seem very popular to me.
Meh. you can do the same thing in Python if you really want - there are dynamic interpreter shims that can do this.

The point is that it is not expected by definition, since by definition, static != runtime.
@dataclass has nothing to do with the IDE in python, it's a decorator, sugaring a higher order function.
I got exposed to TCL/TK while working for a National Lab a long time ago. At the time I was a hardcore C++ developer and after a week or two with TCL/Tk I was almost dying laughing about how easy it was to build really cool applications. I truly miss working with that platform.
Better than the best human driver, or better than your average driver? If it's the latter, it's probably there.
All politicians are corrupt like that. Another reason why socialism is inefficient and uncompetitive.
This is a joke. Let's assume you have a technology that doubles productivity. Two guys work 20 hours each or one guy works 40 hours and the other one does not. In the first scenario nobody complains that they are the bread winner. In the second scenario, the bread winner complains about a problem he himself caused by hogging the entire 40 hour work week. I am assuming that the economy isn't growing by the way.
The fact China hasn't already invaded makes this doubtful. More likely is trying to install a pro-CCP politicians and pursuing annexation politically.

The US has had a very close relationship w/ Taiwan for decades including military training and access to newer military hardware.

Also discussions about china attacking a US ship are rather silly since that would be an outright declaration of war. The amount of firepower available to the US would level mainland cities.

Too much to lose for them to make an invasion likely.
It's on the website, linked from the account/order page.

Basically, first 10000 are shipping now, next 10k will follow and that will exhaust their 20k first batch they are getting from the factory. The rest will follow later. And your order number is your spot in the delivery queue. Mine is in 15000s, so not long now :)
Anyone have any experience with this latest release while using slack, zoom, teams?

It's my understanding that they have switched to using Wayland by default which in the past had issues with screen sharing.
i'd like to ask a question about the "Include private contributions on my profile" feature

if i'm a member of private org does it count my contributions too? and if i'm no longer a member of the org are my contributions still counted to my profile?
> He should be. Solidly Republican-leaning Texans are buying and driving electric vehicles, in some cases believing that doing so is "owning the libs".

Could this attempt at buying Twitter be part of the same vice-signalling[1] schtick, then?

1. As in "See how I hate the same things you do?"
Web Components as Progressive Enhancement
Another way of saying that they have identified better investment opportunities.

It is quite childish to insist that someone who questions the value of Tesla must put their money on it. It’s akin to lame-ass playground bullying: “You don’t like that, so I dare you to eat it!”
Pushing back against contract demands is scary but please try anyway
> What is the difference?

I'm not going to repeat myself, I already told you.

I find mypy slow, unsatisfying, inconsistent, and it fails to catch many type errors. No, I'm not going to go look in my work laptop to give you an example.

> There are some places it is worse than other statically typed languages, others where it is better.

In most places it is way worse, and I'll find it very hard to find common ground with anyone who disagrees on this.

Feel free to disagree, but I don't find this conversation useful.
> It's worth noting that nearly every statically-typed language currently in existence has either two separate "type systems"

Either that or... ? You should probably complete this thought.

I don't think the distinction you've claimed make much sense, but perhaps you had an alternative which you just never explained.
Unless a contract specifies that they cannot do that for a certain period of time.
Jazz sounds too complicated, but it is not. More than 90% of it is just a set of 2,5,1 sequences disguised in clever ways.
I literally told that brown and sticky joke to my 3 year old this morning and he loved it!
Not my experience!
I believe that's fixed upstream. Afaik, those issues stem from some strange FileVault/APFS inconsistencies, and have patches coming to fix it (in it's current incarnation). I don't dev on Macs unless I have to though, so I really couldn't say for sure.
I think this is a great idea. Some people may choose not to use the social aspects of github and prefer using it only as a personal source code repository.
Permalink: https://arstechnica.com/tech-policy/2022/04/isps-cant-find-a...
Harry Tuttle, cellphone repairman, at your service.
I'm not supposed to say this on HN, but you're a troll! ;)
Sorry, I don't mean at home batteries.

I mean gird scale batteries at production sites to smooth fluctuations in supply, and virtual producers like Tesla in Texas that store power when its cheap and sell when it's expensive to smooth out fluctuations in demand.
Naomi-Isms
But not nothing, right?
it's a comment which can trigger an action (if you run mypy).

So, unlike a comment, which does nothing, if you run mypy and get some warnings, you can then do something about it (whether it's just # type: ignore or you realise you made a mistake with allocating to variable new_value versus newvalue/new_valu/etc)

(btw, in case someone objects, some comments DO do something, e.g. golang's godoc examples)
>99.9% of the planet does not fall into that demographic, however.

to be pedantic, 0.1% of the planet is 8 million. There aren't a lot of non-essential products selling 7.92 billion of anything so this is an unreasonable bar.

(and yes, I have no regrets being pedantic to a comment that comes down to "remember that you are a niche").
Friend, its in poor taste to hijack a question about a competitors product to spruik your own - I would be less likely to consider Unit.co as a result of what you're doing here.
Hosted exchange was kinda expensive and slow until Microsoft started competing directly from my experience.
At the time I really didn't care for that neo-victorian junk drawer aesthetic but now it makes me nostalgic too.
Mobility and security concerns changed the game. “Zero trust” / BeyondCorp is a better architecture but requires competencies that are very hard to hire for. It makes it easier to justify the cost of outsourcing the backend to Microsoft or Google.
Technically they could and that as well was something we looked into. Honestly it was the most complicated thing I've ever done. Would love to give it another shot some day!
No it just means that their environment is manipulative.
I think your (and the article's) argument could be summarized as "static type annotations without automated enforcement by actually running a type checker considered harmful".

Since this argument is not meaningfully different from "comments that are lies considered harmful", it seems fair to expect reasonable people to dismiss it as uninteresting.
GitHub is using enterprise features as a revenue driver, especially appsec tooling. There is a large cohort of users who will need a GitHub profile for using GitHub, but the social aspects would be a net negative.

I personally love this feature and have been waiting forever for it. Default to privacy over social features.
S'alright. More granular controls would be nice.
Northern Arizona may see drinking water cutoff as Lake Powell dries up
The typing (>= python 3.6?) and collections (>= python 3.8?) packages have definitions for a bunch of protocols (basically interfaces for structural typing).

So for that List[int] example, you probably want to take a(n) Iterable[int], Iterator[int], or Collection[int] instead, depending on exactly how you use it.
My sarcasm detector is having a lot of trouble with this comment.
Is there a good reason they haven't added them? Difficult to implement?