skysight-inc/HackerNews huggingface dataset:
Ask HN: Why can't you undo changes after quitting and reloading an app?
Anyone know?
Speaking of polyester for athletics, I have not found that they’ve eliminated the problem of the shirt trapping odor. I have some golf and workout shirts that are absurdly comfortable but smell when they come clean from the laundry. I don’t perspire that much but the odor seems to get worse the longer I own the shirt.
They changed their charging port once since the release in 2007 and they made one other connector change (removing the headphone jack) during those 15 years.
Engineers develop new kind of 3D printing
Can you re-read please?

https://peps.python.org/pep-0544/#:~:text=Structural%20subty....

> substituted-for class to be defined as a protocol.

... which is false

> Similarly, the heading on the dictionary says “for a fixed set of keys” — but what if I want a dynamic heterodox dict? Eg, unpacking JSON.

You can quite obviously decode to recursive types (e.g. using pydantic), not sure what the problem is.
Gtfo. It's like someone truly understands developers.
What about rayon?
To me Google Inbox was the best incarnation of an email client ever (both the mobile and web app). They have quite inexplicably pulled the plug on it though.
Github has something extremely valuable on their hands: the perfect dataset to teach an AI how to program.
Just 24 indie games from well-known indie devs would need to cost more than that
Yes, which is why this guy studying rabbits as livestock in 1987 was the last guy to even try.

There's several anecdotal reports on YouTube of people doing gut cleanses and then losing their homosexual urges[1]. They said it was worms or parasites doing it, but I couldn't find any evidence for a possible casual link. I started digging around in pubmed for something else related and found these citations and started connecting dots. While replying in this thread, I just discovered the one about the vegetarians having more fusarium in their gut than standard diet eaters. There are a couple of random threads on internet forums asking why the LGBTQ people are more likely to be vegetarian. The rabbit hole grows! My guess would be the heavily processed food in standard diets probably has a lot more anti-mold preservatives in it or something like that.

Absolutely nobody who values their career will ever follow up on this hypothesis, so I just throw it out there for open discussion when it's on topic. Btw, I do some independent alt health research, but I have no credentials so I'm not worried that I'm never going to get a grant again for even coming up with this idea. I couldn't get one in the first place.

[1]https://youtu.be/2mG7DbMQ_gM
The problem with this idea is that nobody's really on Twitter for the free speech. He might take the company to new and exciting places, but it won't be with the current userbase.
There's a whole spectrum: UAV, loiter munition, missile. It's pretty cool!
I’m looking at this and thinking about how to model the cost of having creating a massive increase in the number of plays of one of these songs and the resulting Roi
Interesting angle there for a form of 'insider trading' - people in tv/film industry could easily buy this up and slide their assets into their own creations.

What I don't quite get is why the royalty payers don't start buying as well, feels like an easy way of boosting profits (assuming they can finance at a lower rate)
Yes. The attitude is doom and gloom in the USA. Are there any optimistic countries?
Wrong predictions were made around the time of the first Earth Day in 1970
> That's because China can launch anti-ship missiles from any Chinese highway to threaten US Carriers.

The Chinese need not resort to mere land batteries. The Chinese have a fleet of well over 200 Xian H-6 strategic bombers to launch whatever anti-ship standoff PGM they can mount to the wings or fuselage. And the new H-6N is aerial refueled.

A few years from now when these are operationally armed with sufficient quantities of supersonic/hypersonic/flocking/maneuvering/whatever anti-ship missiles China will have absolute control of the sea around Taiwan; foreign war ships, cargo ships and anything else that isn't a submarine will be permitted to remain in the area at China's pleasure.

There is a reason that foundries are rapidly being built in the US, Europe, etc.: the shot callers at the top of these semiconductor manufacturers know that one day in the not too distant future Taiwan will be blockaded in China's play to reunify and there is nothing the West can do about it without risking the destruction of capital ships full of propulsion reactors.
Yeah, I use Privacy extensively and on rare occasions have been rejected by merchants because of their no gift cards allowed policy. So apparently that is the category Privacy virtual cards come under.
I use a regional bank and they have always been a bit behind when it comes to tech. But even a decade ago, I could make my payment online and there was a simple checkbox to send extra payments toward the principal.
Word for this is based.
They are essentially application kiosks, which is exactly what a user needs in most cases. We tend to forget that most computing in the world really has nothing to do with OS management, hardware management or installing/removing applications.

In a way, they also have the RIM/BlackBerry "peace of mind" in that they can delegate some blame if something were to go wrong with something only the vendor controls. The same goes for desktop operating system, and hardware components, but due to the huge amount of possible configurations, a vendor can easily wash their hands of responsibility because it was always the client's fault for having a bad configuration.
I took that to be these kind of things: https://github.com/mysql/mysql-server/graphs/contributors
Yup.

> Despite all that, what I’m hoping for is that someone will come along and tell me that I got it all wrong. “When you do it as follows, the system works: $explanation” Because, you know, I’d really like to have static typing in Python.

I want X. Y (which is designed for somthing other than X) doesn't do X. Thus, I don't like Y.
As others have mentioned you're not considering the enclosure at all. And doubtful you're including your time, QA, etc.
5G is a joke and the iPhone is the well-timed punchline
That's where open sourcing it might come in handy. Oh, and don't worry about 'hobbyists' not being able to get their hands on expensive toolchains, that's their problem once they can get their hands on the source and that's you holding that back based on the assumption that they won't be able to do anything with it.
> Yes, it is possible to annotate types in Python incorrectly. It's possible to do this in all other languages that allow type-unsafe behavior (whether natively or via reflection, etc). This may be less common in some languages than in others, but it is fundamentally possible in the vast majority of languages that perform static typing, because those types are fundamentally enforced at analysis time, not runtime.

It is pretty damn hard to make this mistake in languages that enforce static typing. I mean, you would have to go out of your way to do so. In Python, however, it is trivial to write the wrong type signature or to modify the body of a function so that it no longer matches the signature.

"Fundamentally possible but terribly unlikely, as opposed to the Python way of doing it" would be a more accurate description.
Shake itself was awesome, but Apple let it languish.

To get an idea of how big it was: Shake was used to composite Lord of the Rings, Harry Potter, King Kong, Star Wars episode 3, and MI:3, among others.
I agree with you that it's an attempt to side-step the tendency of the rate of profit to fall but I'm not sure it's particularly well-understood by anyone involved. and even a cursory examination of the material basis for so-called imaginary property can't help but identify that such property only exists insofar as computers continue to make them accessible. this transition cannot prevent the death of this society to climate change.
But that's not really a problem, is it? If it works and the contracts cover everything all the same, does it really matter which party is responsible for it? Better yet, if it's not the core business of the company (a Bank for example), would they even care at all how far removed from the ODM a service vendor is?
As someone who lives in an IDE, I don't understand this. Trying to get all of the functionality of the default IDE, along with the trivially added plugins, to work in a visually digestible and sane way would be a curses nightmare of 30 command line tools. If you made it so they played well together, where a human could interpret what they were seeing, you would have something indistinguishable from an IDE.
The problem with modern CNN is that it learned the wrong lessons from Fox: market personalities and mix opinion with news.

CNN was at its best when it had none of that. What was interesting was live reports from Baghdad as AA lit up the sky, not anyone's opinion or the name attached. You know, what used to be called "news".
This is a ridiculous equivalence. If you live in a country you don't have a choice but be subject to its laws, politics, etc. You'd have to leave.

No one is forcing you to buy this product.
Wow. That looks wildly inventive. I'm more interested in the DMG version just to practice my DM skills, but I totally understand the appeal.
I think the top comment was less polite than it should be, but I would echo that the post seems to have a bit of a weird understanding of gradual typing?

The Any type is to allow incremental typing. You start out with dynamic code, and progressively 'typify' it by adding more and more annotations, with Any working as a stopgap where for the moment no valid type exists, until you finally have a fully typed program. Inserting Anys because you're lazy is like casting things to Object in Java because you're lazy, abusing it like that is just incredibly sloppy and bad code.

If someone is really struggling with this, simply use a linting rule to ban Any in 'mature' code.
You can in fact get a certificate for 99 per year and use that to generate entitlements that Apple will happily sign CSRs for. It's how we use MicroMDM.
> I don't get this argument. Isn't this the case for all other code as well? Most code has not been formally verified to work 100% correct. So you assume always all code is wrong? This doesn't make sense.

It isn't that you have to assume the code is wrong (you always have to assume that code is wrong). It's that even though you write type hints and they pass mypy, you still have to assume that the code has type errors. That is, mypy doesn't rigorously check that the program's types match its annotations. It only approximately checks that.

In (some) other languages, the type checker is 100% sound, so if your program passes type checking, you can be completely sure that the types all match. Opportunities for the code to be wrong are thus limited to mismatches between the types and the desired behaviour.
If you are interested in Elixir, supabase is hiring and they are comfortable with unconventional hires, meaning your hobbyist approach could be a plus for them https://github.com/supabase/realtime
this doesn't surprise me at all. /r/superstonk is probably next. i've had countless reddit accounts banned in the last 2 years just for asking simple questions about Gamestop. What are hedge funds? hedge funds are fucked.
How can more songs have V than I?
Bingo! I didn't want to name them, to give them free publicity.
Many synthetics have a PFOA or PFOS treatment to provide the water resistance, which are pretty terrible chemicals when you end up exposed to them all day on your clothing. They also wear off rapidly with normal use, so previously water-resistant clothing loses that property after a few months to a year depending on how often it is worn and washed.
No, it's not a problem. But Apple could have covered those bases themselves, like Microsoft did with Windows (via Active Directory, Azure AD, etc.)
So basically only good if you source your joy from spending large amounts on consumer products that give little lasting enjoyment.

I can see how HN loves this thing
Regardless it should have been a recessed slide.
Just tested it with an address generated by my go-to disposable email service, and that address got a 10/10.

I’m not particularly sympathetic to marketers so I’m not going to reveal the service, but where there’s a will, there’s a way.
I actually find that mypy is pretty weak and lacking, even within the python ecosystem. pyright seems to do a much better job at the type checking portion of things.
I'm surprised that Johnson and Johnson wouldn't want to immediately snap up any available royalties that they could. Getting rid of perpetual royalties seems like an absolute no brainer to me if I were the CEO of JnJ.
I don't think it's for charging at all? It's an innovative rotational game input device, not a generator.
Well, I do keep checking on the realestate megathread daily, so maybe there's something to that. More of a 'misery loves company' thing I guess.
What's not mentioned in the article is that all new improvements would be the county's responsibility, but that means the county also has to decide to approve those projects.

They could just not spend any money on maintaining or improving Disney roads/ infrastructure until Disney gives them a reason to want to.

Which might mean making Disney "voluntarily" pay off the district's past debt as well as agreeing to pay for new projects before any new ones get approved.
well. thanks to china not being under lockdown for long there were no shortages of goods.

globalization is a good thing, we shouldn't want to end it. 'when goods don't cross borders, soldiers do' etc
> When all else is equal, the winner is decided by logistics. Who can "deliver" more missiles to a location first? I'm willing to bet that Chinese highways and Chinese railroads have superior logistics / delivery than Ishigaki Island or the Batanes.

That's an interesting point.

One on hand, rail/highways are superior to anything ocean-going for transport, and cargo ships are easily taken out and would need extremely effective escorts.

On the other hand, rail/highways are much harder to protect because of their length.

If cargo ships could still reach Taiwan with escorts, I wonder if Taiwan could have enough supplies to deny China access to their rail/highway systems such that it negated their numerical advantages.
I find your opinion baffling to be honest.

It's simply not true. Every statically typed language works like I described. Even Typescript works like this. You can have your IDE plugins, but you definitely don't need them to perform type checks. It's not true this requires "a nightmare of 30 command line tools", you just need one: the type checker (built into the language in most statically typed languages, but sometimes split into a separate tool).

Besides, your IDE doesn't live in the build pipeline (in your CI/CD tool). So you cannot rely on it.
The trouble with 'guys' when referring to women
-

The English language doesn't offer many gender-inclusive alternatives, like the Spanish ustedes or the German ihr. With no good phrase for the plural of 'you,' the plural term 'guys' ended up evolving into the colloquial alternative to refer to a group of people, regardless of whether group members are male or female.

However, Reuters Graphics explains that “people who speak languages with stronger gender associations tend to have stronger gender stereotypes, a 2020 study of 25 languages found. A 2021 study in Israel showed that when women were addressed in a math exam using male pronouns, their scores were low. When they were correctly identified with feminine pronouns, scores rose by a third.”

But many people quite fairly still see 'guys' as a gendered word—the dictionary defines the singular 'guy' simply as 'man.' Sherryl Kleinman, a former professor at the University of North Carolina, discusses in her 2002 essay Why Sexist Language Matters that gender-specific language like 'guys' can affect even children:

"I worry about what people with the best of intentions are teaching our children. A colleague’s five-year-old daughter recently left her classroom crying after a teacher said, “What do you guys think?”. She thought the teacher didn’t care about what she thought. When the teacher told her that of course she was included, her tears stopped. But what was the lesson? She learned that her opinion as a girl mattered only when she’s a guy. She learned that men are the norm." - Sherryl Kleinman, Why Sexist Language Matters

Even though most people who use the term don't do so with the intent of it being sexist or exclusive of women, it can and often does cause women to feel left out of the conversation. Imagine you used 'gals' to refer to a room full of men and women—do you think the men would respond?

- Taken from https://www.hotjar.com/blog/gender-inclusive-language-workpl...
Let's reverse engineer what a PM will think with data:

1. 80/20 rule: Target best performing shows, replicate success to capitalize on fan loyalty/momentum (new seasons or spins): The Crown, Money Heist, Designated Survivor, Narcos...

2. Validation: Look at high movie ratings, copy those categories: Korean dramas, documentaries, telenovelas, reality TV...

3. Culture: Follow trending themes on social media - feminism, financial freedom, woke...incorporate them into the screenplay, regardless of bias, craft, or message

4. Engagement: As long as we capture user attention and addiction, reinforce this habit via recommendations with AI algorithms

Like Facebook, they are focused on creating an addiction machine for short term gain, and this strategy is reflected on their increasingly low quality shows - this affects the brand, leading to low trust and rising churn
The telcos do all sorts of funny business and it can take them months to figure out if they can offer service to a particular building. Sometimes they need to send out people to actually poke around, sometimes they have to see if anyone else has access, etc.

If you're a big enough building or throw money at it, they can usually figure out a way to make it work - but it's unlikely to be something an individual wants to spend.
Take a look again at the video I linked to and try and explain how jet fuel doesn't really catch fire and isn't much of a problem if it does.

Preventing an onboard fire is probably the #1 concern of jet designers.

Experience has gotten them pretty good at it. Damned good. Amazingly good. But never forget that jet fuel is not safe. It burns. It burns hot. It'll melt everything on an airplane it touches. It'll burn your wing off in seconds. The whole point of jet fuel is it stores a LOT of energy in a very small amount of weight.
Inclusivity is a problem in every country.
Pyrolyze – Converting Waste to Power
Even if you're right about the financials (which I doubt), then still it doesn't make any sense for Musk to grow his wealth via Twitter. Surely there's better ways to do that and one can wonder what the point of growing wealth is at this stage.

The way I see it, his plays are "larger than life" plays. It's attaching his name and legacy to solutions to giant, seemingly unsolvable problems. Which so far seem to be problems that actually help humanity forward. Most of them anyway.

If so, one can wonder if it matters whether it's driven by a sense of ego or truly and selflessly wanting to help humanity forward, or a bit of both?

One type of criticism I fully agree with, or at least acknowledge. His methods. The goal may be altruistic, but his methods surely are not. He's ruthless in achieving these goals and has no mercy towards anybody standing in his way.

It's hard to say whether the end justify the means, and it may not even be fully purposeful. He's autistic and had a difficult upbringing. Which doesn't have to be an excuse for everything, but it's something to take into account to paint a full picture. Which is a complex one, and not a simplistic Disney villain stereotype.

I ultimately do agree that he shifts the world to benefit him, but perhaps not in the way you mean it. To benefit him to enable him to achieve the goals, no matter what.
Just a couple hours ago, a student asked me what was the type of a parameter in a function I wrote.

A type hint would have answered their question immediately (as they were reading the code).
I agree, we should never try anything new. Too risky.
Interested in a source for this?
Great! one thing that made me move away from github and actually self host gitea was how invasive their social features were without being able to opt out
time.monotonic_ns() may be more appropriate than datetime.datetime.now().timestamp()
Incorrect. Congress can muck up government for everyone while investing in stocks, and receive unlimited campaign cash to help keep their job mucking up government.

As individuals, Congress is doing fine by its members
Has anyone ever tried a debate show, you know before claiming it couldn't work.
> it only depends on how you use it.

It is a tool which is very easy to misuse, by forgetting to file out all the changes you make to it.

That is not uncommon in practice. Most (or all?) Smalltalk's come with an image, but there is no source-file telling you how that image was derived, or how you can derive it from some more basic "standard" vanilla image.

That is the reason why it is so difficult to get code developed on one Smalltalk -platform to work on images provided by other vendors. You could say that is caused by "misuse" of the image-tool, but seems like all Smalltalk vendors are doing it.
You are talking about power. I am talking about security. They are
related, but different.
Lithuania Offers Four-Day Week for Parents of Young Children
Lab is not linear. L predicts perceptual brightness, just like sRGB, which is probably why your two gradients are almost the same.

Gamma encoding is lin_to_srgb(c) = c*12.92 if c<=0.0031308 else 1.055*c**(1/2.4)-0.055. Since lin_to_srgb(0.214)=0.5, in a linear ramp, the middle gray (808080) pixel should occur about 20% of the way through.
I wrote a similar post recently and not all the libraries overlap interestingly. My post includes sample code for each library and evaluates a few various complexity SELECT queries for correctness.

I may have to write a second post now to include some from this one that I missed!

https://datastation.multiprocess.io/blog/2022-04-11-sql-pars...
I view them as similar to python's "private" functions, which are really just functions starting with an underscore. The interpreter will let anyone call them like any other function, but the general rule is don't do it, unless you know what you're doing and are willing to deal with the internals changing.

Python typing is like that. If I say a function takes a List[int], but you know I'm just calling a for loop, you can ignore it and hand me a Set[int]. Maybe it breaks some day, but you're allowed to take that risk, if you have a need.

Do either of these things do anything comments couldn't? Not really. But they're ways of indicating intended semantics without formally documenting your stuff, and when most of what you use the language for is scripts, that's actually pretty helpful. People actually use type hints in a way they didn't with comments, and that's caused a major improvement in code readability. Or at least that's been my experience

You can absolutely look at all this and say python's a crazy, terrible language you never want to touch, but if you've got no choice on language for whatever reason, or you're throwing something together and don't feel like writing `private static final synchronized` forty time, type hints are great.