skysight-inc/HackerNews huggingface dataset:
Please note that the context of these points is in comparison to BEAM processes, as used by Erlang and Elixir. It is a comparative analysis of goroutines, not an holistic critique of them.

I appreciate the mention of context cancelation, that is a good example of how to terminate a goroutine, provided that a) the goroutine has a context to cancel and b) the goroutine does not spend too much time in operations that can't be canceled (e.g., file system calls, time.Sleep, blocking select without case <-ctx.Done(), etc.). This is still cooperative multitasking though, while BEAM processes are fully preemptive.

A "goroutine-local variable" would be a variable accessible by other goroutines which is still scoped to a particular goroutine. Ordinary local variables are only accessible by the goroutine in whose stack they belong. Something like the process dictionary can be constructed in Go using a synchronized map with atomic values, but it certainly isn't a built-in part of the runtime like it is in BEAM.

I generally don't regard goroutines with much attachment. There are, however, some situations in which goroutines must be long-lived: the main goroutine, the "scheduler" goroutines you mentioned, and in general any goroutine performing a supervisory role over other goroutines. Monitoring these important goroutines is more complicated in Go than BEAM languages, but certainly isn't impossible.

The more problematic aspect of goroutines vs. BEAM processes is that, due to the lack of application-accessible preemption, when a critical-path goroutine does get stuck, the only real solution most of the time is to kill the entire program. This is rarer than it was in Go's early days, at least.
What about he just continue doing what he is doing? We are talking about the most succesful open source project here
Thanks that is helpful to me.
Are long uptimes still a thing? Both at home and in production at work I instead strive for regular updates and restarts.
Candela's hydrofoil electric speedboats set new record with international voyage
Rocket Cars in Cleveland
Only in very limited scenarios. Namely when there is excess production and it is used near production of that green energy. And the green energy is not dispatchable. So wind or solar in times of excess production.

Which as a whole is very limited scenario.
My understanding had been that you get a double whammy of there being too many versions of the “common” dependencies, so it is already in-effect a per-site cache (or nearly so), but that uniqueness also means a fingerprint can be established with fairly few latency tests
Ask HN: Has anyone scaled Postgres to over a billion rows?
What server did you use? How did you do it? I am trying to avoid using RDS or something similar since the costs will be very high.
My friends in finance don't have a management chain 4+ levels deep and idiot product managers and product marketers calling the shots.

Most people I know love the craft, but hate the industry.
Probably the best outcome. Nicotine is a pretty potent poison, not sure how much is in vape juice though.
I think it was nice for a modem using 2 wire very lightweight and flexible phone connector

Cat5 connector - too heavy and too easy to break the XJACK
Exactyl my point... I think we're on the same page/boat/car/whatever...
Got it! Thanks for taking the time and sharing a video.

Why not try a simple UI version like this:
https://hub.scroll.pub/distill/

(I didn't stylize or hook it up to your API, but you can edit that here: https://hub.scroll.pub/edit.html?folderName=distill&fileName...)
It's all rumors, iFixit hasn't released guides to the iphone 16 yet, not even a teardown AFAIK.

Repair guides, disassembly, and troubleshooting information for the iPhone 16 Pro, released September 20th, 2024.

https://www.ifixit.com/Device/iPhone_16
If rationality is an illusion, then rationality is both an illusion and not an illusion, and all things are impermanent and permanent in the same respect, and Buddha both did and didn't have the breakthrough you describe, and you are both right and wrong in everything you write here, and so on.
At some point in the depreciation curve of the iPhone, it will not make sense for certain types of users (students?) to pay $120 for Apple to replace the battery, since $30 battery is not available, and instead would make more sense to buy a newer used iPhone. The price sensitive user themselves would not drop $1k on a new phone, but someone else in the upgrade treadmill will.
AFAIK, insulin therapy is already relatively cheap and does not incur risky side-effects.

So, I'd say that a cure falls more in the "nice to have" than "absolutely need".
> 4) don't have the mechanical and technical skills do do the replacement themselves by ordering the parts (and possibly renting tools) from Apple

There's several YouTube videos explaining how ridiculous this process is (renting the 'proper tools' from Apple). It's another attempt by Apple to justify repair-resistant devices by claiming it requires massive cases of specialised tools to do even the most basic repairs. Which maybe it does, but only because the devices aren't designed to be repaired...
But the first time someone came up with that idea it was an act of creativity.
The art of anal retentiveness :)

(“Anal-retentive” is characterized by excessive concern with details, being obsessively tidy, punctual, and respectful of authority.)
Why merely target universities?

Think of high school, while most people do not pay fees directly while in high school your taxes pay for it. Most people for most occupations only require perhaps 5 years of staggered high school education. One can have an (extended) apprentice or higher degrees for others.
It's absolutely insane that we don't have proper standards for interchangeable and reusable batteries.

People still design new AA battery products because there's almost no other standards. It's crazy.

We need something like USB but for batteries and expansion modules.
The problem for people starting in the world of work in the USA is that its very hard to get a job that pays real money without degrees, certifications, and contacts. Its also much easier for most people to do the 'looks good feels good' thing if you know you have been successful and well paid in job X, and job Y would be similar. So once you are established in an industry your experience and self-acquired skills matter more than your degree, but getting in to that industry is hard And the housing shortage in most rich countries makes it hard to spend 5 or 10 years trying different things until you establish yourself in an industry that works for you.
6.10 broke my fedora gaming proton box and I was on holiday at the time and so upset I just nuked it and put windows on it to play games. Now it's only powered on on the weekends to play games and I've moved all my linux needs to a VM on my overspecc'd Mac.

I also had an AMDGPU system.
5600X, AMD 6800 GPU, Fedora 40. -> now win11 (which has so much cruft out of the box I am considering nuking it and going back haha)
The US hasn't destabilized Mexico, Guatemala and El Salvador, yet they get migrants from those countries. And Gaddafi also got screwed by Szarkozy and Tony Blair. The US probably had other plans which didn't quite work out as intended.
The person who sent along the EOs also sent a Simon. I couldn't get that working either. Sigh.
Never Gonna Gifugue Up [video]
> China gave BYD $3.7 billion to ‘win’ the EV race.

That amounts to $1k per vehicle, way less than EU or US subsidies.

https://electrek.co/2024/04/12/china-gave-byd-an-incredible-...
There are three fundamentally contradictory paradigms.

1. human lifespan has doubled in last 100 years. Lifespan is still increasing but healthspan isn’t at the same rate. This means in the later years, we are spending a fortune on healthcare costs to extend lifespan a few more months.

2. Retirement age is fixed-ish in most countries. With rising lifespans, this means more years are spent draining on retirement income.

3. Lower birth rates means fewer people working to pay for retirees.

Something has to give. If we have fewer longer living people, then we need them to work more years.

Ideally retirement age is (average lifespan - 20 years) and is adjusted every few years.

It is a tough pill to swallow. Keeping the status quo means current generation will pay for boomers but by the time they retire, the pot runs out.

In US they say, social security will be drained by 2035 if nothing changes.
I suspect, but am not certain - that if it had all of formalized mathematics in its context window it could likely extend the edges slightly further. Would be an interesting experiment irregardless.
This does sometimes cause problems when trying to understand history. Would love if git recorded the current branch name (if any) somewhere in the commit
It’s strange that git aliases can’t accept multiple git commands. It gives a strange divide between single command aliases which go in your git config and multi command aliases which go in a shell config. Shells vary and some don’t even have aliases (cmd is probably the most used shell of them all and it - almost - doesn’t have aliases at all).

Being able to define an && alias in .gitconfig would be great for being able to share snippets like these across shells and OS:es.

My most used alias is by far “git oops” for git commmit —all —-amend —-no-edit
Show HN: Revq – CLI tool to search GitHub PR
I was in Manila last month, didn't see any electric vehicles.

The jeepney isnt exactly enviroment friendly, but it gets the job done and is easy to repair/maintain. Thats where the focus is in that kind of economy.
You explained yourself the same problem that you’re trying to dismiss. The vilification will continue until the emphasis is placed where it needs to be, ie going after big fish instead of little ones, regardless of which fish are easy targets and easy wins for enforcement quotas, and regardless of whether the enforcement team is 4 people or 4000.
If you’re using a framework, I wouldn’t (personally) layer another reset on top of it.

For me, especially when managing non-typographic layout, ensuring that all browser-default margins and padding are gone, as well as a consistent font size and line height for every element are important.

I also think that the `dvh` unit is really helpful if you’re going to be working with full-screen layouts that target any iOS browser.
Tao is famous for being the world's most singular and inspiring genius. It's kind of a meme position* that most people accept because they think everyone else accepts it, but for people of a certain inclination, it makes anything he might say into a Pronouncement to read depths into. If you think someone is possibly the greatest mathematician of all time, you'd be interested in everything they think!

(* I think one could very legitimately view him as the top researcher in harmonic analysis in the world - he is a great mathematician - but it's not clear to me how people go from that to Epochal Genius and his extreme celebrity status across STEM)
Always worked for me on Thinkpads (T41/T61/T420/T520). T420 reports a somewhat optimistic "122 hours remaining" when coming out of sleep with a fully charged battery though.
It's a good post but for some reason he decided to end it with a random attack on Paul Graham, which seems weird. It's not really necessary to say this and actually the accusation is slightly ridiculous (how does he know how bright Paul Graham thinks Paul Graham is?). Not good judgment to include this in the post, and undermines the rest of it for me a bit.
They look like Google glasses because they have the same design constraints: small lens and needing to fit a lot of electronics in the frame. If they could make them look normal I think they obviously would.
Chat with Your SQL Database Using LLM
Unlock the power of LLMs like ChatGPT and Ollama to effortlessly query and analyze your SQL database using natural language. Learn to set up and use LangChain for complex queries, making data-driven decisions easier and accessible to all, even without technical expertise.
> Yet, the code to express the same output is more bloated.

But it's trivially ready to be parameterized and reused. Model is easy to change, you could think about relations between features not absolute entities.

It's my 3rd attempt to use code-CAD to be honest. OpenSCAD -> CadQuery -> Build123d. I have past experience with SolveSpace and OnShape. GUI CAD approach with drafting in 2D and making solids as late as possible works perfectly well and you could transfer spatial thinking as-is to model coding.

I have somewhat frustrating experience with OpenSCAD and CadQuery. OpenSCAD is perfect for simple things but gap to complex parameterized models was to big for me. CadQuery looks great in examples, but I could not grasp how to use it for my tasks. State tracking is crazy hard.

There are three major factors it clicked for me with build123d.

First is explicit algebra mode. My little coder brain could not comprehend large object trees from OpenSCAD or hardcore chain dance of cadquery. But I know what an object and mutability are. Build123d is amazingly intuitive and has tight primitive set large enough for complex things and small enough to be memorized by heart. Also Build123d has nice docstrings and type hints. I mainly use IDE help instead of online docs.

Second is a good interactive visualizer. I use yet-another-cad-viewer[1]. It allows to quickly debug issues and use my favorite editor. It's crucial to have visual representation and ability to know object bindings to variable name in source code. Killer features for me are on-hand access to per-object transparency setting and selection tool to measure distances between features. It really helps during learning.

Third is I actually sat down and spent around 10h with TTT practice models[2] :))

I believe I'm already effective with Build123d on the same level as with OnShape.

There is a major weak thing with code-CADs though. It's edge selection for fillets. I think about custom filters to narrow edge location. But now it's largely a guess work with edge visualization on fail.

[1]: https://github.com/yeicor-3d/yet-another-cad-viewer
[2]: https://www.tootalltoby.com/practice/
That’s my concern, the Debian experience is usually pretty lovely and I’d hate to leave it behind, but maybe there’s no point in fiddling with something stuck in trends.
SEEKING WORK | Worldwide| Open to Remote Work

I am a UI/UX designer with over 5 years of experience across industries such as health tech, fintech, crypto, logistics, music, and social media. I specialize in turning user insights into intuitive, visually engaging designs. My expertise includes user research, prototyping, and developing design systems that ensure usability and consistency.

I have led the design of major features and products at different organisations. I’m also skilled in using tools like Figma, Adobe XD, Framer, and more.

I’m currently open to remote opportunities. Let's collaborate to create impactful and user-centric products!

Website: https://taiwodamilare.framer.website
Portfolio: https://docs.google.com/presentation/d/11ASOisKeJ0GuP9G37Qyn...
Resume: https://drive.google.com/file/d/1zV8i3xNtabGHsf1bQ9IbM60Pzbw...
Contact: osokoyataiwo@gmail.com
Sure. People who have no signals (including contacts and credentials) have trouble lining up jobs other than (and maybe including) fast food. People need signals for professional work which include degrees and various sorts of credentials. I'm not sure it's much different anywhere else in the world.
Someone at the top of their field discussing the capability of models in their field is much more interesting than someone mediocre in their field making trite observations about capabilities outside their field.
There kind of are. 14500 is the lithium AA equivalent, although the predominant standards are 18650 and 21700.
I recently has a consulting gig (medical informatics) that required English Declarative -> Imperative code. Direct code generation by the LLM turned out to be buggy so I added an intermediate DSL implemented in Prolog! The prompt described the Prolog predicates it had to work with and their semantics and the declarative goal. The resulting (highly accurate and bug free) Prolog code was then executed to generate the conventional (Groovy) imperative code that was then executed dynamically. In some hand-wavy way the logical constraints of using Prolog as an intermediate DSL seemed to keep the LLM on the straight and narrow.
I mean… I don’t see acting wrong with that, really. As a fan, it sucks to have the story retconned, but it’s not your story, it’s Disney’s.

Official canon, at that point, is just a marketing tool.
If you as the reader don’t like it, don’t engage with it.

The only real restriction placed upon readers is that they can’t sell their alternative stories under the franchise name, which seems fair to me. It’d cause too much market confusion otherwise.
This is not true anymore with PythonSCAD.
There is a mesh() function which can yield the points and triangles from any
Object. The User is free to modify these points and faces and finally create a new solid from it "polyhedron"
You could use this to skew your model in a fancy way by altering the point coordinates but it might be more difficult to alter on the triangles.
There must be balance
Cost vs. utilization is a big issue. About ten years ago, there were Foldmate and Laundroid, robotic laundry folding machines. They worked, but cost too much for home use. Industrial-strength machines which do such jobs exist.[1] They work fine, but you need a hotel or hospital sized laundry operation to keep that machinery busy.

[1] https://news.ycombinator.com/item?id=36491732
No need. Just make a custom asset referenced only by those sites, and get the browser to cache it.
Disclaimer. I'm not a great biologist.

Couldn't this be proven by growing mammals in petri dishes?

If the entire information is encoded in DNA, then the fetus would grow fine.

If however, the fetus needs to be in a womb to develop, then there must be information (and resources) that need to be sent from the mother to the baby in a sort of quine fashion.

Consider a Java compiler or python interpreter, they are themselves written in the target language, unless we are talking about early version. So you already need a java compiler to compile Java, the code for the compiler does not hold all of the necessary information, as you need a mother compiler to execute it.

Which part of the target is in the code and which in the interpreter/compiler?

A thought experiment would be a language where a built in statement compile() compiles code according to specifications. Thus the code for a compiler would simply be compile().

My best guess is that fetuses can only grow inside a functioning human, and that the information in DNA is not sufficient, you need a functioning specimen to grow another specimen.
It doesn't need to be intentionally programmed to cause an accident. The far more likely scenario is that it simply doesn't take into account what's behind them. It causes accidents by unintentional negligence, simply because nobody bothered to add a check.

Human drivers are taught to avoid scenarios like that. During drivers' lessons you will be taught to check your mirror before braking, and you will be taught to activate your alarm lights when there's a sudden stop on a highway to alert the drivers after you. Basic self-preservation makes it pretty clear that you don't want a car crashing into your rear.

Waymo doesn't need to care. If the other vehicle is considered at fault, their insurance is going to pay for your damages. It's at worst a minor inconvenience, so why bother spending engineering time on writing code to avoid it?
Midway-point between the authorities, or overshoot and see what's behind them. Depending on the scenery/layout placing 2-3 of these can make a big difference.

Also why not drop them from a small (less-noisy) drone? Drone with a camera can help surveil the situation from above, it can drop one of these balls, so you increase visibility by a lot.
Building Skills in Object-Oriented Design: Step-by-Step Construction v4
It's a controversial take on how our society is slowly collapsing. I attempt to discuss points which I think contribute the most to this happening.

Please read it with an open mind, I'm open to criticism.

I might not have the best insight, since I'm only 20, but based on personal experiences, I was able to draw a pretty good point I believe.
This proof is flawed:

"Let’s assume that a protocol exists which guarantees that a recipient receives a message from the sender once and only once. Such a protocol could then solve the two generals problem! Representing the time of the attack as the message, the first general (the sender) would only need to adhere to the protocol for the second general (recipient) to have received the attack time exactly one time. However, since we know that this is not possible, we also know that exactly once is not possible."

The 2GP is not just the first general knowing that the second general received the message. The 2GP is the problem of achieving common knowledge between the two generals, i.e. it's not just that G1 needs to know that G2 got the message, it is that G2 needs to know that G1 knows that G2 got the message, and G1 needs to know that G2 knows that G1 knows that G2 got the message, and so on.

Exactly-once delivery is possible. The only thing that is not possible is for the sender to know when the message has been received so that no duplicates are sent. But exactly-once delivery is not only possible, it's trivial. All you need to do is discard duplicates at the receiver.
Mapillary (Meta) is using AI to detect common objects for OpenStreetMap mappers
excellent tutorial, thank you for that.
You can be pretty liberal about cells in parallel, it's series that bites you.

He's using a 5s arrangement, it looks like - so his 100w fast charging will only be around 5-6A, not 30A, which those wires will probably be OK with (though i would have picked something thicker myself)

Wiring up random batteries into series is definitely not OK, and is perhaps what you meant to refer to.

I personally don't think thermals are an issue in this particular instance. 35 cells are going to laugh at 100w charging (only 3w each). The real risk is a dodgy hidden bad cells, though ideally the BMS detects this regardless.

The real question is why bother with all this effort for a monstrous power bank with shit capacity. 15000mAh is nothing for that many cells.. that's the same capacity as 4-5 brand-new lithium cells, or a 50$ powebank off amazon :/. Those vape cells must be pretty shit (probably 1500mAh power-focused cells, id guess, hence the shit capacity)
There is also:

from __future__ import print_function

following which you can print output using the Python 3 print() function instead of the Python 2 print statement.

Also see:

https://stackoverflow.com/questions/7075082/what-is-future-i...

Note that all this is for Python 2.
I wrote a LINQ provider (.Net) for Elasticsearch. Was quite the challenge dealing with the sorts of quirks and subtle differences between the two. Case sensitivity and the tokenization are also hurdles to overcome but mapping Group by to Elastics aggregates was facets back then) was the toughest part.

Hats off to Coralogix for taking up the challenge in converting SQL.