skysight-inc/HackerNews huggingface dataset:
> But in Python the amount of magic shit one had to do to get things loaded in a sane manner was always somehow a serious burden.

Controlling how Python imports things, seems dead easy with importlib [0] (introduced in Python 3.1). You can control the namespaces, the loader, the paths, generate code on the fly, etc.

If you wanted to, say, duplicate lockfile imports using a requirements.txt file, then that's probably a teeny tiny ten line thing or something like that.

Python is quite flexible if you want to rewrite how the language is doing something.

[0] https://docs.python.org/3/library/importlib.html
The same problem has occurred with many P2P protocols, just search for 'p2p router crash'. The problem occurs with Bittorrent, DC++, eDonkey and, yes, IPFS - as well as many other applications which open a lot of connections at the same time. This causes the undersized NAT connection tracking tables to overflow upon which the thing will no longer be able to create new connections.

I'm rather surprised that you think only go-ipfs causes these problems given that this is a well-known problem with lower-spec or misconfigured consumer routers, cable modems and other similar devices. Sometimes it can be solved by increasing the size of the tables (which often are set to some ridiculously low number like 1024 or 2048 places) if the device has enough memory. If this is not feasible just get a better device with OpenWRT or a similar free software distribution, configure it for 16K connections and it should work.
Why wouldn't it work for the miners or the reactor?

Neutrons pass through rock quite well.

Reactors are basically just giant neutron transmitters, by modulating reactor output you also modulate their neutron output.

Flipping a magnet definitely won't penetrate a shield better than neutrons, in fact because of Gauss' law it probably won't penetrate at all.
I used to use a popular project to get employment and it worked very well.
I am not following you around, I just happened to read the same thread because System76 developers were in it, they are the ones who I follow. It even seems that you went out of your way to insert yourself into the conversation and make yourself noticed. Yes I read reddit sometimes even though I don't have an account there. I didn't even notice it was you until the bottom of the conversation thread when I happened to look at the name on one of the posts. If you are not comfortable with somebody noticing that you use multiple websites then you may want to use a different username when you post to a different site. Please understand that it is fairly common for people on here to discuss the same things on multiple sites and to use the same handle on multiple sites, e.g. twitter, reddit, medium, mastodon, etc. If you had tweeted at GNOME or System76 developers for example, I may have noticed that too if I was reading about this subject on twitter.

Also, just to reply to your other paragraph:

- I never claimed you are evil, I don't think you are evil. I never even used that word, so please stop with the accusations. I think you are a fine person, and if you'll notice I said before my main goal was to help you.

- Please avoid making baseless generalizations about things. "Gnome has a well deserved bad reputation among a lot of developers" is vague and inflammatory and is a potentially harmful statement. Again if you want to discuss the specific issue of GNOME and KDE theming, I'd love to talk about that, but making these inflammatory statements based on some rather benign comments on one bug report is not helpful.

- If I have misrepresented something then I apologize, it's an accident, please feel free to correct me if that's the case.

- If you cannot address my comments as a whole then we can start with one at a time. And previously I also suggested that we just restart the discussion entirely.
This was unnecessary, mate
What is Swash and is it changing data ownership?
is there somewhere where there is a comparison of the performance between active and passive mode? I don't imagine it to be significant for most use cases, so the extra safety seemed worth it to me in all the libraries I wrote, though I suppose it wouldn't be hard to rewrite those with {active, 1}.
Yes, Python's REPL speeds up development, but Lisp's REPL (we should say image-based development model) is even more interactive! We never wait for a server to restart, our test data is live on the REPL, we compile our code function-by-function with a keystroke and we get instant warnings and errors, when there is an error we get an interactive debugger that pops up and allows us to inspect the stack, go to the buggy line, recompile, come back to the REPL, resume the execution from the point we want, objects are updated when a class definition changes and we can even control that… it's crazy. From time to time it becomes a mess and I restart the Lisp image, but it's about every two weeks :p I tried to explain more here: https://lisp-journey.gitlab.io/pythonvslisp/

Note that I'm not a 10x master, I use CL for mundane, real-world tasks (access to an FTP, parsing XML, DB access, showing products on a website, sending email with sendgrid…), my programs had 1 trivial bug, I am more productive and I have more fun… Just to say it has its uses, even today, even with "all the libs" of Python (and btw, see py4cl).
Hi Peter. I believe the regs around the H1B require workers to be paid close to their US counterparts. Based on what you've seen and heard, to what extent does this actually hold true in the real world?

The general consensus in tech is that H1Bs are underpaid vs their US coworkers, but that many companies in the bay area (FAANG, etc) do pay fairly.
The mere fact that they hint at a Q clearance shows they have no idea how little weight that actually carries.
Yes, that's what I thought. I had fallen many times with recumbents and never the slightest problem, because you're so close to the ground.

And then my foot hit the ground, ever so briefly. And that's a failure mode I never really considered but what happened next went pretty quick and irreversible once it starts: your foot hits the ground, the bike moves a little bit forward, this puts more pressure on your foot, so it becomes harder to lift. Within a fraction of a second all of your weight will be on that foot, there is no way to lift it up because you are still seated behind your foot. By the time your foot is under you you will have a couple of broken bones and a twisted ankle. If you're lucky.

So no, they are not the safest bikes, they are safe most of the time, except for that one nasty little corner case.

I live a theoretical argument as much as the next guy but in this particular case my practical experience should count for something. Don't ride a low racer, not if you like your legs.
Linus did use a MacBook Air quite happily for several years. Running Linux, of course.
Stop Calling Everything AI
Hah, seems ok. Really I have 2-3 cups a day. I tried stopping for a month once and really didn't feel great the whole time.
This is a start but only goes back to 1954 and is limited to a few russian pop culture images.

https://www.rbth.com/history/332103-soviet-space-colonizatio...
Amazon’s Prime Air Drone Unit Quietly Disbanded French R&D Team
If you define anything against the user's wishes as user hostile I don't know why you are using that term. If you had said "I don't like this technology because it operates against the drunk driver's wishes and technology should not do that." then at least your position would be clear.

If you need a poorly defined buzzword like "user hostile" to make your objection sound more convincing, maybe it wasn't so great.

I just looked up the definition of user hostile and it doesn't seem to matcb your usage, either.
As expected from the "security" experts -- it is all chicken little "Sky is falling" talk and zero demonstrations.

This is why pretty much no one takes it seriously : it used to be that the fancy vulnerabilities came with a demo:

$ ./some-exploit-code

#

some-exploit-code won the argument. No one could argue that it did not matter as anyone who managed to get code executed on a target server got #. These days we just get lots of "OMG! We are all going to get pwned!" handwaving and zero demonstration that can be done in front of execs.
The name European "Parliament" is a bad joke. I'm not aware of any other parliament in existence without the power to propose laws! The executive AND legislative power is in the Commission, which is unelected, unknown (for 95% of the public), and mostly unaccountable bureaucrats.

Regarding monetary and economic policy, believe it or not it gets worse. Much power lies in the "Eurogroup", an informal body of finance ministers of member countries which meet behind closed doors, as does the council by the way. Why do we not require our servants (that's what politicians are, supposedly) to have their meetings livestreamed for the public again?
> didn't buy a compatible product ... But good grief everyone, don't pretend to be dispassionate observers, you just want access to superchargers.

No, what I want is for EV infrastructure to have the same utility as ICE infrastructure. I can fuel my ICE vehicle at any fueling station, no matter the brand of the station or the brand of the car. Similarly, I should be able to charge my EV at any charging station.

Tesla switched to CCS in Europe a few years ago and they've just recently opened an initial 10 charging sites in the Netherlands to all EVs. That's the benefit of a common standard.

All other manufacturers have switched to CCS in North America. Tesla is the last remaining holdout. Balkanized charging infrastructure is just plain dumb and no good for anyone. Incompatible plugs and brand exclusive chargers just make EVs worse.
People tend to overestimate how much brown field land there actually is. And what does exist is often more suitable for commercial or industrial development anyway. A disused power station site (for example) could be better for a data centre, distribution center or another power station than residential housing.

Also, just because a parcel of land is green does not necessarily mean that it is a valuable ecosystem. Intensively farmed agricultural land can be degraded already. A well designed development will leave the hedgerows, introduce gardens and have wild areas. It can and should be better for wildlife.
Why would it make me feel better?

I mean, I've watched almost every episode of that show but if there are known or covered up design flaws, I'm still scared.
> There's no tax havens inside the US for states to steal tax revenue from one another

Yes there are; heck there are even tax havens within states for localities to compete that way.
A simple question:

Who wrote the Windows drivers and who wrote the Linux drivers?

Without cheating by researching, I predict that Intel devs wrote the Windows drivers and they didn't write the Linux drivers. It's time that hardware producers made the drivers for their own software, or supplied sufficient information to the other devs to also write good drivers.
Lisp code I write today may run 10 years from now, but would I be able to read it a month from now? Maybe I just never got familiar enough with it, but code I wrote for my AI class was meaningless to me 6 months later.
Hi Peter! I work for an American company and we have a distributed team of developers around the world (India, UK, US) and we don’t know if it’s legal for us to come together for a week or two in the states, to plan, bond but also work?

Thank you so much for your contributions.
Oh yeah, Veritasium has some great visualizations of that too. I cant remember what the video was called but it was about fractals and the Newton Raphson method, and he had these input/output complex planes left and right to illustrate it.
Maybe the C code was just badly written
One trick that I happened upon was speeding up complex multiplication (like a factor of 5) under gcc with the --enable-cx-fortran switch.
I don't see why there is this distinction where lambdas have to be called differently than functions.
Tux the penguin would be great
True reason for inflation:
FED and insane printing of money.
Although the book has a strict no-hindsight rule, because it's a novel, I also have a section "Let's DO have hindsight" [1] where Jerry Morrison and I look at the counterfactual: what should they have done?

My conclusion is that anything Xerox as a corporation did would have turned out as badly as the IBM PC did. Middle management screws everything up.

So then the question is: what else could they have done? In fact, PARC did spin off some companies which turned out quite well -- in one case, ending up with a larger market cap than Xerox itself.

Jerry looks at it more as a process issue: Waterfall was the only respectable business school methodology then, and that's what they tried to do. It was a colossal misfit for a product like Star.

[1] https://www.albertcory.io/lets-do-have-hindsight
Interestingly, Perl doesn't get a lot of love on HackerNews but I would classify it in the family of "eternal languages."
$76B a Day: How Binance Became the Biggest Crypto Exchange
This is a funny and good presentation, but I can't help but feel there is a better way.

I am the rockstar engineer. I am the one who delivers features people pay money for.

Why can't I just have my own business and sell directly to customers? Why do I need to win the trust of 17 other very important people?
Born i Stockholm, I remember taking the ferry to Finland as a young boy for some cheap vodka (and you only had to be 18 years old, not 20).

This was in the late 70's and my first visit to Helsinki, I tried to order a drink in a bar. But no service until I discovered my mistake: I had spoken in Swedish.

Switching to English got me a nice Finnish beer. That was my first glimpse of Finland's "complicated" history.
How many times are you going to tempt fate? You already had an accident which makes it so you can't easily ride a regular bike anymore and yet here you are on an e-bike. I don't really want an answer, just more expressing my dismay. Good luck!
I miss Matt's podcast. I heard he started an agency, anyone know if that's why he stopped the show?
Weird, I just don't see why business-related (or even employment) income in other country X should be any different to investment income, rental income, etc. in other country X.
The responses here think you are talking about the TeX programming language. But you're talking about Web, which dating to 1987 long predates the WWW. The key feature of it is "literate programming", the idea that you'd write an essay interspersed with the working code. It's not an idea that caught on.

https://en.wikipedia.org/wiki/Web_(programming_system)
Real numbers are for straight number lines, and imaginary numbers are for circular number lines. That is about all there is to it.

It's really a shame we introduce imaginary numbers as quirky work around for negative square roots. I would say that is more of a side effect. Multiplying positive numbers always results in positive numbers, but due to the circular nature of imaginary numbers you can get positive or negative results.

Complex roots are like saying this equation has no solution in a traditional Cartesian/Euclidean world, but does have solutions in a rotational one.

I think we if introduced imaginary numbers as rotations initially, the seemingly magical things like Euler's Identify and Formula would look much more trivial.

EDIT: I would also say the lie that we live in a 3+1D world (X, Y, Z + Time), helps confuse the mater. We probably live in a 6D + 1 world: X, Y, Z, Pitch, Yaw, Roll, and Time. Just as you can conceive of a flatland 2D universe without a Z axis, you could conceive of a 3D world without rotational orientation.
What if I want to memoize my RPC function though? I would have to implement that myself I think
If you’d see snippets you probably would run away at the sight of all these parenthesis
> We never wait for a server to restart

I'm not sure I understand. When I run Python's REPL, I'm running the interpreter on my local machine; I'm not talking to any server. The same would be true if I run the Lisp interpreter, but I don't see how that is any advantage for Lisp over Python.
I mean “wiki <search>“ works on Google too. But I don’t want to type anything extra. My problem here is if we assume the search engine should be good at predicting what I actually want to see for a given term, Google is failing at that.
Many of the ISO standards are available for free via some form of illegal but highly moral pirating.

My concern is more that the ISO process is corrupt, and many ISO standards in the realm of software engineering are not standards in any practical sense of the word.

I admire ISO/IEC 60601, however.
If you're allowed an accelerator, perhaps something like https://en.wikipedia.org/wiki/ISIS_neutron_source if not in a confined space.
IRS tax regulations do not allow businesses to write off the cost of educational reimbursements that train you for a new job. They would have to add everything to your W-2 as taxable income! A JD or an MBA are big IRS red flags

https://www.irs.gov/publications/p15b

> Education. Certain job-related education you provide to an employee may qualify for exclusion as a working condition benefit. To qualify, the education must meet the same requirements that would apply for determining whether the employee could deduct the expenses had the employee paid the expenses. Degree programs as a whole don't necessarily qualify as a working condition benefit. Each course in the program must be evaluated individually for qualification as a working condition benefit.

The education must meet at least one of the following tests.

- The education is required by the employer or by law for the employee to keep his or her present salary, status, or job. The required education must serve a bona fide business purpose of the employer.

- The education maintains or improves skills needed in the job.

However, even if the education meets one or both of the above tests, it isn't qualifying education if it:

- Is needed to meet the minimum educational requirements of the employee's present trade or business, or

- Is part of a program of study that will qualify the employee for a new trade or business.
It's not entirely "manually" checked in .NET, it is also sometimes "panic on cancel" in that the most common "manual" "check" in .NET is a simple `cancellationToken.ThrowIfCancellationRequested()`. While it is great to implement high-level, intelligent cancellation, for the most part in .NET as long as you are passing the CancellationToken to enough low-level components you are increasingly more likely going to get a TaskCancelledException from your low-level components and maybe don't even need to wire high-level checks. (Depending on what your business logic is, and yes, the usefulness of unwinding effects at a high level such as carefully rolling back transactions or what not.)

Also it's really interesting that the original F# approach to .NET Cancellation was to handle them automatically in async { } blocks, handling and for the most passing them automatically, and after a lot of usage patterns seen in the real world they decided that the overhead of all the automated checks wasn't worth it enough and the new in F# 10 task { } blocks follow the rest of .NET in preferring entirely manual CancellationTokens.
That is a nice journey guys. I just need x10 to reach your ARR. Currently doing AMA on IH about my bootstrapping project which made ~$50k revenue in less then year.
https://www.indiehackers.com/post/bootstrapped-my-saas-to-50...
More like sokol-gfx header only library.
Here's a Taycan charging at 134 kW on a Tesla charger:

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

The charger claims to be rated for 1000 volts but either the Taycan isn't requesting enough volts or the charger isn't delivering them.
On the other hand, almost everything comes with hidden costs and risks as well. Pretty much every new technology or cool gadget comes to the public as a double-edged sword especially when it's "free" or inexpensive. In the open source/developer space things are often far better, but the general public is just screwed. Right now our lives are filled with very cool tech, but nearly always at a hidden price no matter what we've paid for it.

Even the hardware is increasingly controlled and inaccessible (thanks to trusted computing and DRM) and most of the software and devices people use today routinely get code pushed to them remotely (often silently) with little if any ability for the supposed "owner" to control or understand what's being done.

Still, in very specific spaces there really is some great hardware and software available and information is accessible to help people willing to put in the work to take advantage of it. It's nice to take some time to appreciate how far tech has come and how much technology is still open, accessible, and working for us without also being used against us.
>Processing power has always been one mainly due to the electrical power demands. We're just now getting to battery tech that is impressive.

The M1 Mac laptops are using the same battery tech as everyone else.

What has changed is the ratio of performance to power draw, and leaving behind the almost immediate thermal throttling you see in x86 laptops.

>The chips here aren’t only able to outclass any competitor laptop design, but also competes against the best desktop systems out there, you’d have to bring out server-class hardware to get ahead of the M1 Max – it’s just generally absurd.

https://www.anandtech.com/show/17024/apple-m1-max-performanc...

High performance, combined with all day battery life is a new thing, not a niche.
it's like you totally missed my concluding sentence.
I think the point is that people don't think your take on this is credible.
I hear this talked about quite a bit, but it still doesn't quite make sense to me why it's such a big deal: I know this situation where debugging-fix attempt loop is far more efficient if you don't lose state, but it's nowhere near a pervasive situation: when it comes up, I can generally write something quickly to re-create the necessary parts of the state automatically.

If I was doing that every day, or even every week, I could see it being a huge advantage to incorporate a solution in the language—but at least for me it just doesn't appear to be an obstacle that often (incidentally my background was initially in game programming, too).
This is truly hacker! awesome.

Reading OPs own multiple mentions of live bomb, more than a little bit scary, "especially given where it is located" makes me nervous just looking at it!

Hopefully op says the casing trespa has enough protection so they can get off it it catches fire or the ali express balancer breaks. From what I've read managing the batteries is a big part of tesla's success.
Jeff Dean: AI isn't as smart as you think – but it could be
If you are not familiar, this is part of a very long-running discussion in the philosophy of mathematics: https://plato.stanford.edu/entries/philosophy-mathematics/#F... (For context on the intro to that section, Platonism is, roughly speaking, the idea that mathematical objects truly exist and mathematicians are discovering them)
None of that is related to the parent's comment - even if you prefer them, they're still not searchable or indexed, and rewinding is still a bad experience.

Given that many people (including GP and me) prefer document content (not "text" because you can put interactive tools and diagrams in documents, but not text) and it has all of those advantages, it seems like it's pretty clearly the superior medium.

Plus, human brains are notoriously bad at introspection, so I wouldn't be surprised if you don't actually learn faster from videos, and just prefer them because they're e.g. more engaging.
Using active mode is a nice because you can receive other messages as well, instead of blocking to receive just a tcp message. I like active once myself.