skysight-inc/HackerNews huggingface dataset:
The iPhone at the very least always has the slide to power off feature, even before the fingerprint reader was introduced.
Python encodes structure in only one way, using indentation. There is no redundant signal that can be checked for a discrepancy that could indicate a problem. GCC and Clang can diagnose when indentation is "misleading" because it doesn't match what the braces are saying.

Python's choice of representation is such that two different Python programs show zero differences under a white-space-suppressed diff.

The white-space suppressed diff is a useful tool for comparing programs when some sections of code have changed indentation but are otherwise the same; yet we cannot rely on it if we are using Python.

Python's syntax design is objectively poor on several purely technical points. In its favor, there are only handwaving pop psych arguments.
Nothing in that study refutes my thinking that you're uninformed. The numbers normalize eventually around 1% which is what we see for transgender people in populations. Meanwhile, the very small number of teens that do go on puberty blockers or have surgery do so after informed
conversations with doctors and therapists.

This self selects the number of people who might be going through a period of difficulty with their gender to folks who are trans. Trans surgery outcomes have a higher rate of non-regret (something like 97%) than knee surgeries. In other words, you're quoting a study as a justification to prevent people from getting desired medical help and thinking that current treatment amounts to medical malpractice, while the reality is that being forced to go through an unwanted puberty is traumatic and costly to undo for people who know they are trans.

Furthermore the wording of your comments seem to suggest skepticism with the fact that trans people exist, that there are people who don't fit into the gender binary, and that there's absolutely nothing wrong or abnormal in being trans.

So, forgive me, as a trans person who wasn't able to come out until much later in life, if I suggest that trans medical care really is none of your concern as a cis person who does not desire or need it.
Why waste an entire button to just be responsible for powering the device on or off? It's not something I do very often at all and if can be repurposed as a functional button then I am all for it.

It's especially helpful as an accessibility option.
Nobody has made a game quite like it since. Its also really 5 games glued together with different levels of quality. Lots of replay value.
The music industry will never let this fly. They would lose their ability to control our home movies that have an undetectable slight note or two that might have come from a neighbor's stereo system. Mark my words, YouTube will drop this to give the music mafia their control back.
Checked a few of these which were new. Thanks, will add there.
check out https://github.com/mlc-ai/web-llm

IMO the main limitation is access to powerful GPUs for running models locally and the size of some models causing UX problems with cold starts
https://spectrum.ieee.org/1-bit-llm could lower power consumption of data centers.
> more than just a sales pitch

This is a great post. What so many of the developer relations people miss: Don't focus on the sales pitch so much. Focus on a good technical problem that will be relevant to your audience. It's OK to toss your name and product into the mix a bit, but don't beat your audience over the head!
"just add more dimensions, bro!"
We evaluated these over the years for different purposes/clients. And I don’t expect the ‘quirky’ part in 2024 I guess; it gets hard of course when the loads get specific; but in general I expect things to be automatic (multi master, sharding and replication) and simple to set up. Point out other nodes and done.
Don't delude yourself. There is quite a lot of stuff being put here for ungenuine reasons.

If you want to find a platform with true signal to noise golden ratio, you either have to find one on the rise, NOT made by a well known name, and place a timer on it, or you have to find one people think is long dead.
And the cost is that one-time pads are a royal pain in the ass. But if you're willing to pay that price without cutting corners, you get a completely unbreakable crypto system that will laugh in the face of the NSA and quantum computers.
> A liquid is an incompressible fluid.

But can't most fluids be compressed, even if just a bit?
World’s End (1980)
It's not people making silly claims so much as you being very attached to your assumptions.
I’d just like to support this by saying that this is what plants and micro-organisms do. They make many of our chemicals from air and water.
I CE.
Maybe I like the ‘\n’ for me and the ‘;’ for the compiler.
> Certainly always, in the case of companies like Apple.

No, lol. If Apple pulls out of the EU, they won't have any official presence, period.

> They either lose > 95% of their sales in the EU or comply with their regulations.

Or bypass them by pulling out.

> Is not sold on physical media these days.

Yeah, that was the point. Re-read the comment in context.
Perhaps there's a local hackerspace in your area that'd be willing to host your group?
Ah yes. Argumentum ad Ecclesiastes. A classic.

Maybe this time it will be different, eh?
Starlink is in a fairly unique position to be able to pretty easily guarantee that by routing over their laser network in space.

In practice I don’t know how rapidly they’re able to route around damage to the ground network that could be shared, though.
SpaceX video teases potential Starship booster "catch" on next flight
It depends on the display type. When run on something with low per pixel lighting it can flicker a bit due to how quickly the average light changes frame to frame. Anything with local dim zones may struggle. I looked at ways to fix this but could not come up anything other than running a blur filter which ends up looking terrible.
> Also, I trust you'd be happy to have your code MINIXed, to have your code end up in closed source bootloaders locking down your new ARM laptop, and so on.

Yes, this is implied by my view that IP is a fiction
A lot of people say "productivity" when they mean work intensity or pace.

Productivity is about the value delivered per keystroke. Pace is about keystrokes per hour, or whatever metric you want to use.

Managers love to chant "work smarter, not harder", and then flog their people to work longer hours and more quickly.
> So instead of losing 5% or so of their revenue in the EU they’d rather lose > 80-90% seems like a smart business decision…

Not sure where you're pulling that 5% figure from, but the EU wants to fine companies like Apple a much larger percentage of their global revenue, not just EU revenue.

If the fines the EU wants to impose are greater than Apple's profit in the EU, indeed it would be a smart business decision to pull out.

> In any case (not quite the same but gives a glimpse into their mindset) they have zero issues with kowtowing to authoritarian regimes like those in Russia or China

Well, duh. Apple are not concerned with a government abusing its own people, they are concerned with a government taking 10% of their global revenue.
A decade ago meetup.com was the place to look - if you wanted you could have gone to a different meet up every night, from Linux user group, python testing group, London Java community etc.

It seems like some of these are still active on meetup.com, so that might be a good starting point.
Whoa this is like fine sand. Amazing!
Show HN: Simple browser based TypeScript test and code runner
I wanted a simple typescript-based test and code runner in the browser itself.

After some research, I found out that we can run the mocha test in the browser, and there is a Monaco editor that can provide syntax highlight and auto-complete, So I decided to add in my Angular website that I am maintaining.

A little bit of my code is a trick to workaround for running tests, like when you run the test it will refresh, because I couldn't able to figure out how to clear the mocha run instance error. Let me know if you know of any workaround for this, The source code is Open Source.

I am maintaining a list of all small open-source tools I create here: https://www.visrut.fun/useful/small-tools

Let me know what you think.

PS: Node.JS API won't work here because it's only for the browser, The idea was we could write simple logic on the left side and test it on the right side. Any kind of function or algorithm you want to write to submit on any competitive programming platform or Problem-solving platform using TypeScript.
> The EU could start blocking payments to that porn studio.

Sure, but this is not punishing the company in any way which was the other posters point. If the EU was blocking payments to Apple after Apple withdrew from the EU, they are not punishing Apple or holding them accountable to EU law (specifically in the context of complying with competition guidelines and DMA type stuff).

> Avoiding the block would be money laundering, which is also illegal in California.

Hmmmm. I'm not so sure about that. If the EU barred payments to Apple, that block would be on banks and payment processors, not people. If someone goes to the US and buys an iPhone in this new world, they are not committing a crime unless the EU passes a law prohibiting its citizens to buy iPhones.

> The EU (or it's constituent countries - not sure) also controls imports, and could seize and destroy illegally purchased iPhones at the border. Every one of my international purchases is already stopped and processed by customs to evaluate import taxes. It would be quite easy for them to simply say "you can't import this."

Absolutely, but this has nothing to do with Apple, and it isn't the EU punishing Apple, it's Apple punishing people or organizations.

The other posters point was that if Apple withdraws from the EU, EU law wouldn't apply (in the sense they wouldn't need to allow any 3rd party app store, period), and people could still buy iPhones and Apple products outside of it. It's on the EU to try and deal with that.
They likely meant just one million USD + other smaller donations.

https://news.ycombinator.com/item?id=40856791
Likewise, the Save to Watch Later button is also missing from lite-youtube-embed, which is a feature I use a lot.

Yes, you can get to it by playing the video, but that defeats the point. I don't want to play the video, I don't want to wait for the video to load only to pause it and click the Save to Watch Later button.
There are universal, non-regional American dishes, eaten consistently everywhere in the country. Caesar salad, apple pie, fried chicken, chili (though: regional variations), beef stew, a BLT. And then of course there's Americanized ethnic food: pizza, burritos, General Tso's chicken. That's before you dip your toe into fast food.
Yes.

We refer to those ones as gasses.
> Non-human-readable primary representation may be not the best idea though.

What if the AST is persisted as S-expressions, but then you have a different syntax to edit it? Algol-ish, Pascal-ish, C-ish, Python-ish: choose your poison (or even support multiple poisons and let the developer pick the one they prefer?)

This was actually the original plan with Lisp. Lisp was originally supposed to have two syntaxes, S-expressions and M-expressions, with M-expressions being Algol-like. However, the implementation of M-expressions was delayed, and people got so used to using S-expressions directly, they decided M-expressions were unnecessary and they were never implemented in mainstream Lisp. They were implemented in the Lisp 2 project, but that ended up being an evolutionary dead-end; various attempts at the idea have happened since but none of them really took off.

Lisp purists will argue M-expressions are unnecessary and S-expressions are all you need. However, S-expressions can make the language more foreboding to complete beginners, and even among experienced programmers, a decent percentage find them seriously off-putting. Maybe if the M-expression idea had been pursued more seriously, Lisp might be more popular today.
My Italian American family uses a lot of both cilantro and parsley, sometimes mixed together. I think they started shopping at local Mexican butchers for things like tripe and offal and maybe took on some of that cuisine culture.
The Art of Not Sharing
A lot of the death toll for Jews in Eastern Europe was from local ‘auxiliaries’ to the Nazi Einsatzgruppens [https://en.m.wikipedia.org/wiki/List_of_Einsatzgruppen].

If they had more time (and weren’t fighting a war at the time) the same would have happened but more directly murderous.

Frankly, it’s pretty crazy that they distracted themselves from a massive war (which had quickly turned to a war of survival/attrition) to round up and murder people in areas they had already conquered just because of religious affiliation. But psychos are gonna psycho.
Make it happen! That's how these things work. People will show up. You just have to white-knuckle it through the first couple meetups and then they take on a life of their own.
It's thought of that already; you just keep inserting new disks into drive A:\
As I understand, UCSF (University of California at San Francisco) is a graduate school only. And, the medical school _is_ Tier 1, as I understand.

Wiki says:

> In 2023, UCSF received the 2nd highest research funding from the National Institutes of Health. In 2021, the university spent $1.71 billion in research and development, the second most among institutions of higher education in the U.S.
That is the funniest video I've seen in a long time.

Thank you.

I would be remiss if I failed to point out that the peak of gathering information off the Internet used to be Googling for your phrase plus "Reddit." Now when AIs return the exact same results, it is a horrible thing. The point is: AIs make mistakes but so does every other way we have of seeking truth, unless you have divine inspiration. Divine inspiration is infallable.
Roger II found pasta factories when he seized control of Sicily: https://italicsmag.com/2020/05/29/a-brief-history-of-pasta/
An intersection observer can be used to turn the non visible parts off when out of view.
https://developer.mozilla.org/en-US/docs/Web/API/Intersectio...
While your list is true, it's not a great list to make your case. One responder said that the hamburger and hotdog don't fit, because they're German, but that's only appreciably true for the hotdog (which is effectively indistinguishable from a bockwurst).

Gumbo, jambalaya, barbecue, cornbread, chili, clam chowder, fried chicken, pancakes, biscuits and gravy, pies (any sweet sort, not just pumpkin), cheesecake, brownies, fudge. The US is also one of the three great pizza countries (along with Italy and Argentina).

And that's just the some of the stuff that's relatively decisively American. In practice, as I said in my original post, things are incredibly fluid, and a lot of American dishes are heavily based on other cultures, and a lot of other cultures' mainstays are based on New World ingredients. American and Italian versions of "Italian" cuisine significantly co-evolved, and it's virtually impossible to separate one from the other.
States are allowed to shun revenue in order to attract the wealthy. Big lunches. Yacht docking fees.

Then again, look at all the sports figures who turned down positions at the Dodgers, Lakers, Clippers, Warriors, and the 49ers, Rams and Chargers.

None that I know of.

Giants pay a lot but do get a few rejections, probably due to the galactic size of the park. Other sports are more standards-driven.

Big thanks to all but Ohtani, whose salary is massively deferred for 20 years.

Jeff couldn't dodge the 50% divorce tax.

Life is an uneven ride.
I made Personal Computer Assistant which a big upgrade from current chatbots
Today’s chatbots are undeniably useful, not just based on hype. However, they were originally designed as demonstration tools and fall short in their primary function of delivering information effectively.

Current chatbots operate on a manual basis, needing ongoing user interaction and precise language, which results in significant energy waste.

They serve more as a proof of concept rather than a finished product, where all that's left is improving the UI and learning prompt engineering.

How it works:

The core change of this new application is its real-time operation. It is actively monitoring the user’s screen at one-second intervals, automatically deciding whether to intervene or wait, thus removing the need for manual prompting and enabling the app to take initiative.

This proactive approach allows the assistant to always stay on standby and provide help or make corrections, when needed. For example, it could spontaneously deliver information during a web search or suggest ideas during a chat.

The significant update is the transition to a real-time application that operates autonomously, interpreting the screen’s context and processing it through the model without the need for prompts. It either remains silent or responds appropriately within each one-second interval.

The assistant might proactively correct you or provide help when solving small problems. Its ability to assist

with even minor tasks effortlessly makes it increasingly valuable.

Future:

In future iterations, the assistant will be integrating action tokens, enabling it to perform actions like clicking or moving the mouse, interacting with the PC. This will evolve the chatbot into an active participant in all digital activities, akin to having a personal aide attentive to your every action.

Technical:

This prototype represents just the beginning, with many enhancements planned to fully harness AI intelligence for life optimization. Currently, it:

Captures screen context

Feeds data to the model every second

Is fine-tuned to understand when to remain silent

Is trained on datasets to improve proactive assistance and learn to identify relevant opportunities to aid.
> The little indie studios that I buy my games from are all pay once?

Why are you going out of your way to disingenuously interpret comments? It's strangely super-defensive, your comment history shows it isn't a rare occurrence.

No, maybe not the little indie studios you specifically buy your games from, but plenty of indie studios offer free to play games.

Go browse Steam or something before commenting more on this subject please.

> Someone else paid $2000 for hats or whatever CSGO sells in the same period to cover the $20 you and other 98 players haven't paid.

Because they probably had disposable income and wanted to. It doesn't mean they are being fleeced, anymore than Balanciaga is 'fleecing' people here.

I take 'fleecing' here to mean conning, and there is no con happening. It's an honest transaction that people can take if they want to.

> Any free to play game would have been completely different if it were designed as a pay once game.

No shit, business models evolve. That doesn't mean all free to play games are inherently predatory. That's honestly a very foolish assertion to try and make.
For us, there's just too much money taken off our wages to guarantee long-term safety and stability for even a single child. And wage increases barely touch that: The leftover amount is almost constant over a factor of 2 in income increase.
Children's mental models of recursive LOGO programs (1985)
Particularly interesting to me:

Embedded recursion is much harder than tail recursion. This reminds me of the difficulty of central embedding vs tail embedding in linguistics.

Level 3: tail recursion program (:SIDE = 80)
TO SHAPEB :SIDE
IF :SIDE = 20 STOP
REPEAT 4 [FORWARD :SIDE RIGHT 90]
RIGHT 90 FORWARD :SIDE LEFT 90
SHAPEB :SIDE/2
END
Level 4: embedded recursion program (:SIDE = 80)
TO SHAPEC :SIDE
IF :SIDE = 10 STOP
SHAPEC :SIDE/2
REPEAT 4 [FORWARD :SIDE RIGHT 90]
RIGHT 90 FORWARD :SIDE LEFT 90
END

> Mental model of embedded recursion as looping - The children were fundamentally misled by thinking of recursion as looping. While this mental model is adequate for active tail recursion, it will not do for embedded recursion.

> programming constructs often do not allow mapping between meanings of natural language terms and programming language uses of those terms. Neither STOP or END stop or end, but pass control back. The reason that this is important for the Logo novice is that when their mental model of recursion as looping fails, they have no way of inferring from the syntax of recursion in Logo how flow of control does work. So they keep their inadequate looping theory, based on their successful experience with it for tail recursion, or blame discrepancies between their predictions and the program's outcomes on mysterious entities such as numbers, or the "demon" inside the language itself.

> Beyond mistaken mental models about recursion, we have found these to involve atomistic thinking about how programs work, assigning intentionality and negotiability of meaning as in the case of human conversations to lines of programming code, and application of natural language semantics to programming commands.
But the point is to focus on the intrinsic dimension[1], not dimensions of the vector itself. I meant dense in the sense that the two are close, relative to another vector where they are not so close. Perhaps a poor choice of words on my part.

[1]: https://en.wikipedia.org/wiki/Intrinsic_dimension
> The events are at the university campus which is quite off, and makes it relatively inconvenient to get there if you are not at the university anyway.

I just checked Google Maps. The uni is 2 stops on the metro or a 20 minute walk from the main train station (HBH). "[R]elatively inconvenient to get there" -- uh, no.
Chaotic Ninja links to this *interesting* page: https://stopsmaho.076.moe/. (Completely irrelevant to this thread.)
Another way of putting it: Laffer Curve. [1]

You can only raise taxes so much more before people become unwilling to accept it, and your increased taxes end up resulting in reduced revenue. It's the exact same as a business raising prices. Up to a certain point it increases revenue, and then at some point it starts reducing it. From a general health perspective I do not think it's wise for governments to come anywhere near to the peak of this curve (as it may have detrimental effects on longer-term outcomes on things like economic activity and growth), but going beyond it is simply very poor governance.

It seems very odd for anybody to be flirting with wealth taxes when you can just look to places like Norway and see how that turned out in a society where tax aversion is somewhat less than in places like the US.

[1] - https://en.wikipedia.org/wiki/Laffer_curve
Very cool demo thanks for sharing. I would love to have something like this
This looks really nice, I like the design, congrats.

I’ve been getting into Arch (with Sway) recently and resisted installing something like this initially since as they say, the manual install process is the tutorial.

Getting basic WiFi connected with DHCP on vanilla Arch requires enabling multiple services and conf file edits - you rage against the machine thinking why is it so hard but then realise you just learnt how to swap out any part of your network stack (or the other fun footgun of installing multiple conflicting network managers to intermittently and silently break your connection). Anyway, rant over, not going back to Ubuntu anytime soon.
Quack quack quack.

Perfect duckspeak.
eXperimental Computing Facility isn't enough for you?
The chances that your distro ships with network manager are multiple orders of magnitude higher than it shipping with iwd though… I don't think iwd is the default anywhere?

FWIW there's also wpa_cli which tends to work almost always (since everything wraps wpa_supplicant in the end), but it's a CLI rather than a TUI, and not a particularly usable one.
The cross AZ cost: how we reduced AWS Data Transfer cost by 80%
Almost 20 million particles:

run and program the simulations https://tinlizzie.org/~ohshima/shadama2/

https://tinlizzie.org/~ohshima/shadama2/live2017/

https://www.youtube.com/watch?v=tqBO_5GMfWw