skysight-inc/HackerNews huggingface dataset:
I thought one of the advantages of pyenv was that you switched to also creating virtual envs using pyenv and managed virtual environments with it too. Maybe not.
'Is monetary policy even working?'
https://archive.is/Cm8MK
I love the fact that people outside the Python ecosystem are spreading the word about sans-IO. I think it should be the next iteration in coding using futures-based concurrency. I only wish it were more popular in the Python land as well.
If our implementations are bad because of preemption, then I’m not sure why the natural conclusion isn’t “maybe there should be less preemption” instead of “[even] more of the operating system should be moved into the hardware”.
Latency between me and my cloud provider is about 10x lower than the latency of Python's http.server on localhost.

(It's negated by the SSL handshake, but that's another discussion...)
And as I said, the comparison to other viruses is irrelevant and does not pertain to the original claim.
> I condemn the implementation that doesn't render it with the latest widgets and, instead, implements the same widgets that have been abandoned ages ago.

Interestingly I think this generalises to the whole Windows Explorer.

The Explorer introduced in Win95 and later in NT 4 is a lovely bit of UI design. It introduced the Taskbar (never seen before, and no, the NeXT Dock is not a taskbar, and Acorn's Paul Fellows said NeXT's implementation was apparently derived from the Icon Bar in Acorn RISC OS -- NeXT hired an Acorn developer and he took his Archimedes with him to California). It introduced the Start Menu, with an elegant system of folders and shortcuts as its storage model, later imitated with the newly-customisable Apple Menu of MacOS 8 and later.

But in Win98, Microsoft bodged the Explorer with Active Desktop, which renders via Internet Explorer 4, so that MS could justify bundling IE4 with Windows to the US DOJ in court. That version is multithreaded, which is good, but it's also much bigger and much slower... because it renders via IE. That means new slowdowns and new ugliness, like windows of generic icons, which then get replaced with the correct icons as the renderer tries to catch up. So, they hid that, with an empty window and a flashlight scanning, while the HTML renderer tries to create a view of the Control Panel. It also added wallpapers in folder views, a horribly ugly idea.

And _that_ ugly version is what KDE ended up copying, rather than the cleaner quicker one that was first launched.

And KDE didn't notice and copy the nice neat and Unix-like "just display a Start Menu built from the contents of a directory" idea. It implemented a database instead, and so every successive start menu implementation copies that instead.

The ugly hack done for some other, non-technical reason ends up being the one that influences the successor designs, and the classic clean original implementation is forgotten.

In this case, the results are GNOME 2, MATE, KDE, Cinnamon, LXDE/LXQt, even much of Xfce...
Even on a law and implementation effort like this with such large impact there are maybe 10,000 people in the world involved who actually understand it in any significant sense, and they all have a strong reason not to post about it on a public forum, or even a private one.

And even those people will only understand a limited aspect or perspective.

So the people commenting can only comment based on their outside impressions and emotions about generalities and how the specific implementation details seem to affect they as an end user.

I try to take anything said with that in mind. There is information in the comments about user experience but anything else is at the level of bullshitting at the bar with your friends, and not to be taken personally.
Meh, we're still very very far from mass-production. We got rich and spend a lot of that on inefficiently building higher quality houses.

https://www.construction-physics.com/p/which-construction-ta... cheaper

https://www.construction-physics.com/p/why-are-there-so-few-... scale
I work in manufacturing/logistics and lots of facilities have starlink.

With all software in the cloud now (e.g. WMS) losing connectivity can cause a facility to stop, so having an entirely segregated line on an entirely separate technology platform is worth a lot. Lots of production/warehouse facilities struggle to get truly redundant lines to them, and often are sitting outside of 4G range.
Yes. And now I find Edit prevents that.

Reposting...

Thanks.
Open carry is legal in both states. But I want nothing to do with owning/carrying guns. And haven't ever felt the need - most dogs give up chase once you pass their property. And I've only had a dog get my back tire once, and never flesh (though it does happen).
Having an army of engineers working on an open source project is an anti-trust violation?
Estimated annual sales of iPhones in EU are about 12.4M phones in Q4 2023. If you just do quick math, that is 49.6M phones/year. If you pick an ASP of $800 (??) then that would be about $39.7B annual Gross sales.

If EU actually tried to get that money, Apple would have to just halt all sales of iPhones in EU.

Now, maybe that's what the EU really wants. Are there some bitter former Nokia execs on the EU panel?????
This is completely fair - you have to play by the local rules to be in that economy. But my point is that if those rules become really onerous, then people might calculate that it's better to not play. The best thing is to be the one who invents a new industry, but from over here it seems the big focus over there is not innovation, but regulation.

I'm not saying the European economy would ever collapse, I'm saying it suffers from things like this. It's good now, but could have been wonderful.
Rapid-fire drug screening method targets 40 drugs, obtained within 3 minutes
Most API's (rest, graphql or otherwise) are effectively a proxy. Like you say, if you don't have complex logic and you're effectively mapping an HTTP request to a query, then your API code is just juggling incoming and outgoing responses and this evented/cooperative approach is very effective.
that sounds broken
> But calling it an unsupported belief system goes a bit far. It certainly isn't proven scientific theory.

I agree it would be going too far to call it an unsupported belief system. I don't think I implied that it's unsupported, but it is a belief system. My point is that even with support, the underlying, unproven or unprovable assumptions should not be glossed over.

I'm skeptical that we have a mechanistic explanation of intelligence. I think we have sensible-but-unproven hypotheses, partially supported by observations, for how intelligence might evolve/arise. There's a lot of hand-waving between mechanistic principles and an outcome of general intelligence. One can imagine Occam's razor applying, if the hand-waving eventually resolves to something coherent. Until then, it's a combination of good science and fantasy.

Intelligence is just one of many human experiences that are believed/assumed to have mechanistic explanations. We should be careful to recognize the assumptions, however sound they may seem, and not turn them into dogma.
You don't even need virtualenv much less virtualenv wrapper. On Debian/Ubuntu distros (and most others, with small modifications) you just need python3-venv. Then create your venv with `python3 -m venv myenv` or `python3.11 -m venv my311venv` or whatever version of Python you need. Less is more!
You should look at the command `python -m venv`. Its built in, and is a breeze to create virtual environments. I guess it does not provide shortcuts for activation etc, but I am ok with that.
Chinese hackers targeted Electoral Commission and politicians, say…
Where does the idea that Twitch is meant for/aimed at children come from?
AdNauseam does just that. It clicks the adds before blocking them (possible to whitelist non-tracking adds). It's a fork of uBlock and what I replaced the uBlock with on my phone and PC.

Sadly, it doesn't do clicking in the private browsing mode, which I usually use not to crowd the browsing history with hn and other forums' articles.
C++14 is a safe bet. C++17 is almost pushing it. C++23 isn't even fully implemented by any compiler.

I tend to default to C++11 with C++[11,23]-portability.

In general, write maximally portable code without using vendor- or standard-specific features without a/some very good reason(s).

Also, C++11 is a monumental improvement over C++ from the days of rusty sharp edges of 90's C++ where one needed to follow strict standards to avoid nonobvious UB.
Thanks, nice advice. What are the book of hard knocks?
Did you buy shares on a private market?
Glad I’m not the only one. As soon as I started using Pyenv for local development I bloated my machine with more versions of python than I could manage. Obviously user error, but it never solved a problem I couldn’t get around with virtualenv.
Done. https://news.ycombinator.com/item?id=39818162
I don't understand how this feature even came to be. Presumably these resources are cached (it's going to be used for static resources; for dynamic ones, you'd need to have already performed the request on the server to figure out what to send, so you'd just send the response). So what, you're saving 5 ms off the first page load? Assuming it's not already a static response, in which case again you'd just send it.
“Maybe if we insist loudly enough that we complied, they wont bother checking?”
I made a version of whatsoverhead.com but for satellites: You could ask it, "Hey, Siri, what's overhead…in space?" and it would tell you what the nearest satellite to you was. It was an attempt to help situate yourself in the invisible world of spacecraft flying overhead all the time. The thing is, 70-90% of the time the answer is "STARLINK-1234". It was shocking to me. The app achieved the goal I intended, and the answer was a surprise–it was a more visceral way of understanding the fact that there are a lot of Starlink satellites, for sure.
On the one hand, as a developer, I agree with you.

On the other hand, as a user, and one who has to do de facto IT support for my family, I strongly disagree. Having an off-store method of installing apps is just dangerous. You could argue that it's a question of Apple having an incomplete security model, in which they enforce through human review that apps do not perform malicious behavior. But Apple is just pretty good at this -- the rare app that slips through their net is usually quickly caught and killed, and their security on-first-use opt-ins "Allow this app to access your camera", along with enforcing that apps for whom the permission is denied must still function, is critical, compared to the Android "Allow this app to access all device state forever including private information and your entire DNA sequence" that you get on app install.

On the gripping hand, advanced users, like developers, can basically sideload whatever the hell they want. The barrier here is a lot stronger than a checkbox in settings saying "allow sideloading apps" and thus is intrisically more difficult to access, and then only by people who know what they're doing anyway.
This article has too many self-advertisements for me to take it seriously.

But for most (non-specialized, e.g. self-driving) roles, I don't think I've seen many questions that require something beyond DFS/BFS and maybe Djikstra.
I'm using wsl2 and noticed general responsiveness drops way down during finetuning (comparing to any other heavy cpu+gpu usage natively) . How's that working in your setup?
But the wide agreement on “One China” is like a Don’t Ask Don’t Tell situation, no? Parties like the US agree to a de jure “One China” in order to not rock the boat on the de facto “Two China” status quo.
Like driving a car or taking a flight can lead to death. Sure, what are the chances?
It was unmaintained for a long time (maybe considered done implementing the algorithm it set out to), but recently a Google engineer has revived it: https://github.com/dagrejs/dagre
I am not sure - I can see why Empire State or Chrysler are majestic, but WTC was hideous. And I saw them simultaneously for the first time. The shard is probably nice, shanghai tower is not too ugly, burj khalifa is ok - but almost everything else is eyesore.
Agreed, but `workon` is too convenient not to have
> Is it what you call "freeze opentype axes based on font-feature-settings" or is it something else?

I was talking in context of variable fonts which come with lots of features mapped to opentype tags and axes. font-feature-settings property selects (or activates) those features. Usually this is done at few CSS selector levels. The variable fonts can be trimmed by freezing those features. I did something like this with Fira Code a few years ago. [1]

> I would like to do the subset font optimization. I'm just not sure how much of an improvement it's going to be. Have you done it manually before?

It can be quite an improvement for fonts like Inter which ship with massive number of glyphs to support different languages.[2] Doing this manually is a huge pain. Zach Leatherman created a tool called Glyphhanger to automate some of the usecases [3]

[1]: https://github.com/naiyerasif/FiraSourceMono

[2]: https://paulcalvano.com/2024-02-16-identifying-font-subsetti...

[3]: https://github.com/zachleat/glyphhanger
Of course depending on the definition, but light-framed wood is good for around 5 stories. And mass timber (eg. CLT - cross-laminated timber) is good up to ~20. And for the foundation concrete is still needed. But a lighter one.

https://www.construction-physics.com/p/mass-timber-is-great-...
We would "argue" about what was said anywhere from weeks to months ago, and she would replay the entire conversation verbatim.
It simply lacks Catholic design elements. The stained glass is a jumble of nonsense, not even a nice pattern like the Muslims do, and I suppose there is an altar and a crucifix in there somewhere, but they drown in all the visual clutter, like they’re ashamed of it.

It’s possible, even likely, that the pictures don’t do it justice, so I will take a look in person at some point, but I don’t have high hopes.
The goal of Tor is anonymity not privacy. HTTPS doesn't anonymize you.
Appreciate the effort to keep HN in a good place, but I'm not sure the rules above apply here. While related, tropes and memes are technically distinct concepts.

https://www.grammarphobia.com/blog/2020/01/meme-trope-notion...
London is likely going to be the least effected area of the UK by Brexit, which is ironic given the leave/remain vote distributions.

The real problems are not for global businesses, but for small businesses that lost access to a market around the size of the US (on their doorstep no less) with effectively zero trade restrictions.

Global businesses can eat the red tape required to access external markets, others take a hit to profitability or simply can't survive selling into the UK market alone.

Hopefully this can be slowly reversed otherwise the UK will see a drop in home grown businesses that had the potential to grow organically and stay based in the UK. I foresee small businesses getting bought out more frequently by overseas competitors because they couldn't grow fast enough in the UK alone.
> you have the application call the zookeeper service to get those configuration changes.

as a note, both ZK and etcd have key watches such that one need not poll the key-value store, it'll push out notifications for changes to subscribers, making for super quick reactions in any such distributed applications
I think you're referring to vendoring dependencies? In python/pip for example, you can download the source for a package and point to the folder directly as a dependency instead of the version or a git URL. Most package managers/languages support some version of that. I suppose if you wanted to vendor all dependencies by default, keep them updated etc it would take a little more scripting or extra tools.
As the original submitter of this URL, I'm impressed.
Exactly! I hope Apple will make it absolutely impossible to get an app from a 3rd party store by an accident.
Seconded. If the author consider adding an option, they may get some additional stream of income:D
If you are in Windows, make sure you have installed the Driver Bundle: https://knowledgebase.frame.work/en_us/bios-and-drivers-down...

If you’re having physical click issues, reach out to support for a replacement module.
I found it: https://superuser.com/questions/1381139/why-cant-i-find-a-us...

Apparently this has changed with Thunderbolt 4.
How odd that HN Title silently deletes trailing ... .

Workaround: replace with … .
Have you used Salt? I've heard very good things about it, and it is an agent-based tool.

I'm curious how it compares.
For managing versions of Python packages, I take a similar route and keep it simple:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

However, pyenv addresses a different problem: managing versions of Python itself.

For example, if you need the latest version of Python and it is not available through your OS:

pyenv install 3.12
pyenv global 3.12
Why isn't C++ using my default parameter to deduce a template type?
Tons of great tips in this thread already.

For cheap virtual machines/virtual private servers there’s options beyond the $5/ish a month at Digital Ocean/Vultr:

* many of them offer starting credits for new accounts
* lowendbox often has offers for VMs as cheap as $20 a year
* Scaleway Stardust is super cheap as well. The web interface never shows them in stock, but I have always been able to create them via their CLI tool.

What will definitely help is look for a community (there’s multiple great subreddits that are welcoming to beginners). Don’t be afraid to ask questions, even if they may sound obvious. That’s the best way to learn!

Good luck, and enjoy!
Huh seems they switched away a few years ago due to tariffs. TIL.
Agree to disagree. You'll never convince me that copy and paste is better then reusing existing code or that it's considered good engineering.

And ime, having a job hacking on Memcached, things like considering locks are extremely important for performance. And a project like Memcached, which is a general purpose network server, meaning it used with a large variety use cases and in different settings and also needs to be consistently fast, you need to carefully think through changes.

So again this question is poor imo, it's not clear what you are actually looking for with it. Do you want to see me write code that compiles and does the bare minimum or actually talk about designing a robust feature.
When I fullscreen this page the globe is 870 pixels wide, equating to about 9.1 miles per pixel. Each satellite is represented by a cube 3 dots on edge. This equates to 27 miles per edge or 19,683 cubic miles of volume for each square represented. That's approximately four times the total volume of the Great Lakes in the US.
If they did 10% of global turnover, I'm pretty sure the US government would get involved, so I don't think Europe will go there. They would basically be starting a trade war.

> but I love the idea of smacking companies with real fines for not complying / maliciously complying with laws.

A lot of people don't, or to say, when you have extra-territorial penalties (we are going to fine you on all the money you spend), things get messy really quickly.

Apple can also always just exit the European market. At some point it makes no sense to be in it, and Europeans will simply buy their iPhones on overseas trips.
For me LSD is a recreational experience. I don't think it's improved my cognition, creativity or consciousness, and don't know if it's given me any revelations either. What I do know is that taking some every couple weeks makes me happy, and it's fun to talk to friends on it, because the way it makes me think feels satisfying. It just feels nice.

I think the admiration for it is because it's only recently starting to be re-explored by scientists and researchers, and psychedelics are generally very interesting substances (at least in my opinion). On top of that, the culture and history behind them is also quite interesting. The fact that they're currently illegal in the US is quite unfortunate.
Yes, higher orbits would have increased lifespan, a little bit longer for satellites under control and likely decades longer for satellites out of control.

I think the primary motivation for lower orbits would be compatibility with cellular telephones. While they have gotten it to work at current altitudes, it must be a lot easier at lower ones.

Other reasons could be decreased latency, less overlap/interference between coverage areas, reduced chance of Kessler syndrome, decreased power usage for transmission & reception.
Barefoot Shoes is a common reference to shoes that have zero drop (flat between heel and forefoot), a wide toe box (there are a variety of benefits here) and relatively thin soles to enhance proprioception.

So yes, while it sounds like an oxymoron, it is actually just an industry term of art (you’ll see major companies advertise certain of their shoes as barefoot - Merrell comes to mind with their VaporGlove and Trail Glove, both of which are fantastic shoes).

The other nice thing about barefoot shoes (since I find myself in full on sales mode) is that due to the lack of padding, they last significantly longer than traditional mass market shoes. My trail runners (the Merrell’s) are in season 5 now, when my old trail shoes by Saucony lasted one season Max, and my mileage has increased substantially from when I used to wear the Saucony’s.
You have never had an all day interview? Not even onsite?

That’s weird. Seriously. That’s weird. Every job I have had in my 20+ year engineering career had a multihour interview panel. I’m talking like at least four separate hour long interviews all on the same day. Big company. Small company. It literally didn’t matter.

And you’re saying this has never happened to you? I have to ask, what has been your typical interview experience been, and how tiny are these places?
I cannot upvote this enough. Having a bad trip is plainly one of the most horrible experiences of my life
I've been confused why our Starlink coverage is so good in rural Manitoba, Canada. On HN and elsewhere I heard complaining from Americans about how the service is over-subscribed and over-saturated, but everyone I talk to here raves about the service. I assumed we simply had less subscribers.

This visualization has revealed another reason to me: the satellites hit the northern extent of their orbit and dwell over our province. Who knew orbital mechanics would work out in our favour.
I was about to comment in agreement while also mentioning about having a means to put the hardware up there. But then I realized that there's absolutely no reason why they couldn't just pay SpaceX to put them up there (until Blue Origin is up to the job). SpaceX has put a few Amazon payloads into orbit already.

SpaceX has little reason to thwart any competition since it's just creating more demand for their services, thus in theory helping to reduce the cost of putting mass into orbit, funding future efforts and further solidifying their position as the industry leader.

Not that SpaceX could/would thwart competition since it would be met with a great deal of pressure from the gov.
Alpha tags, incredibly common in Europe and there's no way to block them (from an user perspective at least; ISPs block if they contain reserved words). https://messagemedia.com/uk/blog/send-sms-from-a-name-rather...