skysight-inc/HackerNews huggingface dataset:
Zig builds a statically linked library called "cgo_static_linking" from Zig sources. Zig places the artifact into "./zig-out/lib/cgo_static_linking.a" (or maybe some other extension). The library is exported with C ABI, which Go (cgo) compiler supports.

The #cgo line tells the Go compiler to add custom compilation flags: -l flag tells the compiler that you wish to link to a library called "cgo_static_linking" in to the binary. However, the cgo compiler can't find it since it is not in the default search paths for libraries. The -L option extends the library search path to "./zig-out/lib/", allowing "cgo_static_linking" to be found.

The "#include" line inserts the header file contents as-is into the source file (main.go), bringing the definition of the function available to the compiler. The compiler is then able to compile the Go source, and later link it with the other build artifacts to produce the final executable.

The key here is the "C ABI" which acts as common ground for both languages. The rest is just scaffolding to let the compilers find and connect appropriate files together.
We hacked Gemini's Python sandbox and leaked its source code (at least some)
I find the over use of "socialist" as a negative term to apply to any mutual investment, regardless of returns, so myopic.

Families are "socialist". Investing in each other and their young.

Wealthy families are even more "socialist". Dramatically so. Investing in offspring through childhood, higher education, and often long after.

For good reason. Education and health have a compounding impact on people's potentials, for themselves and as a benefit to others.

Key word here is: Compounding

That being said, all investments must be prioritized against a total balance sheet. Debt also compounds. And Kerala demonstrates health and education are a matter of prioritization of efforts, even more so than money.

EDIT: Not promoting actual Socialism. Which has been demonstrated to be catastrophically unstable, quickly transforming into an authoritarianism of elites, inevitably economically propped up by a "free market", either ad hoc, underground or as a "dual" system. Critiquing a particular brand of "anti-socialism" in the U.S. that can best be described as anti-national investment in people, without consideration for specifics or benefits, and often agnostic on corporate subsidies.
Turns out investing in your own people returns dividends. Unfortunately, the current administration is divesting from the American people. DOGE, and it's cutting of federal grants is a direct example of this divestment. What's happening now in the US reminds me a lot of a mixture of Gorbachev and Yeltsin, where the Chicago economists came in and their shock therapy and large divestment decimated the wealth and health of ordinary people.
Trump restores funding for Radio Free Europe,Open Technology Fund after lawsuits
Hong Kong: https://tv.garden/hk
“Stop hitting yourself.”
> not using a secure RNG.

Wouldn't a quantum RNG solve this issue? I'm aware that there are non-quantum ways to fix this problem, but in my mind quantum is one of the possible solutions, albeit one of the most expensives.
Needs a Tldr!
> Are most people better off with Apple defaults?

I think once you expand the scope to "most people" it might become impossible to say what the correct answer for that large of a group is. In the past their value add might have been more compelling and their feature lock not as draconian. It appears some people think that has changed over time.
They could put pressure on the US government to enact economic reforms and stability or they can accept that sales will be down during Great Depression 2.
Examples as the Prompt: A Scalable Approach for LLM Adaptation in E-Commerce
> will not affect how Amazon behaves, even if presented in a very inspirational way.

It does and will. Amazon has to respect laws and not alienate customers, and also has goodwill toward their community - even if it's trendy to talk like sociopaths.

> Inventing a 2400 year history of discussion of "private cooperative endeavors" that change "countless times," however, is not inspirational.

I don't know about the length of time, but the discussion has gone on for generations.

Your current position is tied to a 1980s theory, new at the time (and maybe from Milton Friedman?), that the only role of corporations is serving its shareholders. Somehow, people have accepted this one theory as an eternal truth. But clearly that doesn't happen; it's a matter of degree: Corporations pay taxes, fund workers compensation, etc.

More recently DEI and ESG have been widely embraced, one side of the argument, and currently the tide in the US is to reject them. The tide will change again.

In other countries, the degree of oblgation to other stakeholders is much greater. German companies are required (?) to have labor representatives on the board of directors, for example. Japanese companies traditionally have a very strong commitment to career employees.
There was a Forth IDE for the Commodore 64 by HES, if that's of any interest.
Although those searches are recorded, which should act as a deterrent for phishing expeditions.
The de facto standard external autorouter workflow is through specctra files.
Nope.

"with little damage".

That's damage.

"It's better off for a Dipteryx oleifera tree to be struck than not" -- because its neighbors will be struck and killed. Not because it got struck.

The article presents zero evidence that being struck by lightning has any direct beneficial effects. It's not like how muscles grow back stronger. It's more like, a horrible disease maimed you and killed your neighbors, but now you can eat better because you're raising crops in their backyards. But the disease didn't make you healthier!

At least this is according to the facts the article presents.
>This is a ret-con...

Another way to see it is that people who programmed for Mac OS already had reasons to be annoyed by Apple (e.g. 64bit Carbon). The iPhone let it get new people, who eventually found out why the pre-iPhone scene felt that way.
> Personally, I find this kind of protesting abhorrent.

Yeah? I find raising ducks in dark sheds so you can kill them because you like the taste abhorrent, with or without force feeding.
Is the number of factors when you write it out this way, always one more than the previous?

EDIT: Never mind, that's part of the definition of the problem!
Indeed, BFS, DFS, and A* are the same algorithm just with a different data structure to track unexplored nodes. BFS uses a FIFO queue, DFS uses a LIFO stack, and A* uses a priority queue (generally a heap)
This problem exists indeed and I encounter it from time to time when I switch between desktop and laptop. My time tracking tool [0] is local-only and I still didn't come up with a solution that lets it remain so and a PWA at the same time. Solutions that allow you to sync data without a dedicated server (as in running specifically for your app needs) range from trivial ones like storing the data in a Google Drive all the way to P2P.

[0] https://github.com/Klaster1/timer-5
hmmmm, does the SSA have a good automated test suite?

If so then maybe it's ripe for conversion by LLM.
XML is a big improvement over YAML.

There, I said it.
recommend using https://removepaywalls.com - with an s - more robust
If the hydrophobic material has different properties than the plastic, they can complement each other. For example, soda cans have an inner coating that eliminates a soda pop-aluminum interface, preserving flavor and protecting the structural integrity of the can.

By analogy, we can imagine sheets of this material where nearly all the mass is the degradable plastic, and a thin film of coating is enough to preserve it adequately for its purpose in the product where it’s being used.
Earth has figured out a bunch of good enough ways to operate. They are by no means always optimal, especially as situations change.

We have knee problems because we evolved fairly recently from creatures that didn't walk upright on asphalt all the time.
Thanks, that was the hope! :)

I would have liked a different froggy reaction for each section but the project budget was zero. :^)
It looks like the supply of hard drives is going to be a bit precarious for a while.
Lantertronics [YouTube]
This is the channel for professor Aaron Lanterman of the School of Electrical and Computer Engineering at the Georgia Institute of Technology. It’s full of amazing work in audio engineering and synthesizers, and full lecture series on analog electronics, guitar electronics, programming for game design, and operational transconductance amplifiers.
While we considered Narwhals (It's pretty new) over Ibis, but ultimately we decided to go with Ibis since it supports the SQL backends that we needed.

We have ambitions of supporting alternative APIs like Narwhals in future though, that can map polars API to Ibis's internal representation.

We found Ibis to be super extensible. In xorq, we also support pandas UDFs, so if you know pandas you should be pretty well covered. UDFs are pretty nice way to extend the API.

What sort of operations did you find Ibis was missing when you tried? What about it isn't extensible?
* Access to sea routes from west and east. Easy access to ideas from around the world. Christianity and Islam came to Kerala long time back peacefully.

* No big invasions from outside India. North India constantly faced Invasion.

* Tropical weather which makes doing agriculture easy.

* Good rainfall and no need to worry about water. Many Indian states you need to worry about water accessibility.

* No shit given to anyone caste or religion for the most part except for things like marriage.
1) no it means legally seeking asylum under the legal process

2) Maybe build more housing? Maybe hire some of the new immigrants to build more housing. They're not unvetted because they are going through a vetting process. Statistically we know most aren't criminals.
FPGA-Based Implementation of Signal Processing Systems (2nd Edition)
That is confusing. In my mind, the tip of the pyramid is the smallest part of the pyramid, just like the brief overview at the beginning of the post is the smallest part. The base of the pyramid is the biggest part of they pyramid, so that is the bulk of the post where it goes into detail.
Imagine if that man-millennium of engineering had been spent working on a decent language and ecosystem instead of C, C++ and Objective-C!

That’s what gets me: better languages are able to scrape by with several orders of magnitude less investment, precisely because they are better — but imagine how much more progress we as an industry would have made had we only invested a little more in those more promising ecosystems and a little less in the terrible ones.
XPATH+XSLT is SQL for XML, declarative selection and transformation.

Using an XML library to iterate through an entire XML document without XPATH is like looping through entire database tables without a JOIN filter or a WHERE clause.

XSLT is the SELECT, transforming XML output with a new level of crazy for recursion.
A basic understand of supply/demand and how many well intended policies can have terrible effects.
Men like me also don't replicate by ourselves. Does that mean that we are not alive?
You can get a login if you want.
People opt in to being cops. There's no way to opt into or out of being black.
Apparently even the first generation Oyster cards should work [1] so at some point I was also misinformed.

On Trip Advisor some people say cards can become deactivated if not used for years, but staff in a ticket office can reactivate them.

[1] https://tfl.gov.uk/fares/how-to-pay-and-where-to-buy-tickets...
Believe in the cache! There's a reason most websites can be written in javascript now and not have major issues, the I/O bottleneck is more important than the raw computation. As long as the algorithm is cacheable (and this means each stage maintains partial/spatial caches!) the implementation language shouldn't be very important.

There are specific NP Hard problems that aren't spatially cacheable and we may need WASM for, but these problems tend to be nearly impossible for humans as well, so PCB designers will opt to just add some space on the board or add additional layers.
There must be a reason in here somewhere to switch from beer to wine.
> You want me back in the office because it’s essential to communication and collaboration? Fine, ban Teams meetings with no external participants. Otherwise the office is just where we go to work remotely in the same place.

I think I'd agree with you, but I'd put it this way: "Fine, co-locate teams at the same office with their customers. No more distributed teams, anywhere, for any reason."

The only reasonable exception to that rule is first-line support team in the opposite time zone, that's it.

Also ban, hoteling/hot desking. You know what also f-cks up in person collaboration? Not knowing where your coworkers are sitting.

Most RTO is executives trying to have their cake and eat it too. The decisions are directly contradicted by other decisions they've made and ideas they advocate for.
When I worked in consulting, we would call this “top down communication” - starting with the key message first. As opposed to storytelling.
Using something similar to a benzene ring with spokes sticking out of it is absolutely a reasonable choice for depicting sodium hexametaphosphate in a schematic. This is actually a pretty common choice in scientific literature regarding this molecule.
Thank you for the kind words. We’re always trying to share our knowledge even if Depot isn’t a good fit for everyone. I hope the scripts get some mileage!
I think it’s very odd that you think that people using LLMs regularly aren’t carefully checking the outputs. Why do you think that people using LLMs don’t care about their work?
A counterfeit jeans ring operating out of my car hole!

https://youtu.be/hT89K-6iJF4?t=60
Are families socialist, or clannish and nepotistic? I don't think you can run a country like a family, especially a multicultural transcontinental one.
What is a "standard dash character"? There is no such thing in English; only hyphen, EN dash, EM dash (and some odds and ends).
Also human hand sweat has both salt and water so anything that requires a human to carry them might not be suitable.
I completely disagree with idea of moving fast at any cost. There's a saying in the marines (I think, maybe navy)...

"slow is smooth, smooth is fast"

It's about first getting the basics right, so you go slow, which then allows you to perform smoothly, and when you perform smoothly you can then accelerate and move quickly. This applies to software development, in my experience. I think codebases have this quality of snowballing, and the snowball can either be good or bad. At first you add code quickly, which means that your snowball will be one of complexity later. If instead you slow down at the beginning and deal with complexity early, the snowball becomes productivity later.

This is hard to explain on non-technical terms though, and it's a hard sell for business and marketing oriented people, mostly because they can't immediately connect the dots to profit (understandably, but also it's just so obvious companies hit the same problems over and over again). The business value is indeed there, after you snowball into compounded productivity because you architected an application that scales smoothly.
These rankings have no effect on how Kagi ranks domains, so not in that sense. Maybe in the sense that a user will go down the list and also block the top blocked sites and uprank the most upranked sites, but that's just idiots being idiots.
It's a metaphor mostly.
The guys I knew from Guatemala doing yardwork/construction in the US had the same setup. They’d sleep in shifts in bunk beds and then go home to their new ranch after a few years.
> Configured a block-level in-memory disk accelerator / cache (fs operations at the speed of RAM!)

I'm slightly old; is that the same thing as a ramdisk? https://en.wikipedia.org/wiki/RAM_drive
Came here to post the same link! That book is wonderfully opinionated and has helped clarify some typographic concepts for me
Love that you tried the tool and couldn't agree more. We think that new layout paradigms similar to flex and CSS grid need to be invented for circuit layout. This is an active area of research for us!
I myself actually had no idea succinct data structures existed until last December , but then I found a paper that used them in the context of XML. Just to be clear: it's 120% of the original size; as it stands this library still uses more memory than the original document, just not a lot of overhead. Normal tree libraries, even if the tree is immutable, take a parent pointer, and a first child pointer and next and previous sibling pointers per node. Even though some nodes can be stored more compactly it does add up.

I suspect with the right FM-Index Xoz might be able to store huge documents in a smaller size than the original, but that's an experiment for the future.
Apropos Drawers: The may have looked a little bit silly back then but today almost every Mac app main windows has a big grey sidebar, so that in Exposé view almost all windows look the same. Drawers got an unfair rap, I think.
XML is the what OOP is for programming languages. Often overcomplicated, hard to follow, full of footguns.
The article is a classic submarine[0] for Kerala.

"The state has one of the highest concentrations of startups". I laughed out loud at this one. Of all the half-truths peddled in that article, this was easily the most hilarious and egregious.

[0] - https://www.paulgraham.com/submarine.html
While true, I think this is more likely a question of framing or anchoring — I am continuously impressed and surprised by how good AI is, but I recognise all the criticisms she's making here. They're amazing, but at the same time they make very weird mistakes.

They actually remind me of myself, as I experience being a native English speaker now living in Berlin and attempting to use a language I mainly learned as an adult.

I can often appear competent in my use of the language, but then I'll do something stupid like asking someone in the office if we have a "Gabelstapler" I can borrow — Gabelstapler is "forklift truck", I meant to ask for a stapler, which is "Tacker" or "Hefter", and I somehow managed to make this mistake directly after carefully looking up the word. (Even this is a big improvement for me, as I started off like Officer Crabtree from Allo' Allo').
I'm working on a story that gets... closer! At least, using star drives as weapons and the general MAD dynamics that produces are relevant to the plot. Also pervasive use of self-replicating bots as tools. No mention of radiators, though. They could be there in the background, I guess.
As a kid I was bugged by the fact that Stirling formula doesn't give exact integer result, so I set to find my own formula. I failed, but discovered that sum from 1 to N is (n*n+n)/2. Surely if perfect formula for sum exists, for multiplication should exist too.
- "A dark space object can be seen when it passes between the observer and stars or other objects,"

Those are called transits. They're extraordinarily rare for any single given object. Moreover, there are quadrillions of natural objects transiting stars as a baseline noise rate, which you'd be hard-pressed to distinguish a spacecraft from. One hiding among quadrillions.

Even if you were very lucky and both observed, and identified, a spacecraft transiting a star, you've instantly lost it. You would need multiple transits in close succession to recover an orbit (and predict its future positions), something which will statistically never happen.
UL safety cortication and energy regulations make it difficult to add UV and IR, UV because it can easily damage people's eyes and IR because it introduces too much heat which can be a fire or touch/burn risk. Energy regulations also limit how much wattage you can put into lighting, if most of that energy goes into creating IR (like real sunlight) then you won't comply with those regulations. For now it's better to buy a separate space heater to create IR, then you could also use a cheaper energy source like gas.
USGS Shakemap intensity is based on the peak ground acceleration (PGA). It has been known that, in some cases, PGA does not correlates well with structural damages. The peak ground velocity (PGV) has better correlation with structural damages [1].

Even so, they are only describing the peak values, it does not describe the ground motion frequency or other ground motion characteristic [4]. It is hard to compress a complex phenomenon into single value.

My colleagues suspect that the soil condition in Bangkok (soft soil and basin) and the distance from the epicenter amplifies long period/low frequency content of earthquake waves, making skycraper to be more vulnerable to damages. Example of basin effect is 1985 Mexico City Earthquake [2] and example of long period effect is the 2011 Tohoku EQ [3]

(Note: Magnitude value would probably be stable, they are based on the energy released by the earth (Moment Magnitude), Intensity is just the on-the-ground observation of the earthquake and it can be subjective.)
[1] https://www.cwa.gov.tw/Data/service/hottopic/20191213_SC_New... ; https://www.ncdr.nat.gov.tw/CEOCworkshop/cwb_2.pdf
[2] https://en.wikipedia.org/wiki/1985_Mexico_City_earthquake
[3] https://en.wikipedia.org/wiki/Long_period_ground_motion
[4] https://www.iitk.ac.in/nicee/wcee/article/WCEE2012_5499.pdf
If the LLM is intelligent, why can’t it figure out that writing a script would be the best way to solve the problem?
Just to be clear, the pause in ZGC is done as an optimisation of thread synchronisation (there's no GC work done in the pause). It's just as easy to do things without anything you would consider a pause, only it's less efficient. Momentarily stopping all program threads is just an efficient way to deliver a message to all threads considering that the OS might have some threads descheduled.

At the end of the day, we care about the latency for some particular thread(s), and truly minimising that at this level requires a realtime kernel (that comes with significant performance disadvantages).
> AOSP is free as in beer.

True, however it isn't Java proper, and apparently Google has started to rewrite subsystems in Kotlin as well, when initially they said the OS layers would still be Java (language).

Apparently the updates to Java 11 and 17 LTS subsets in ART, were motivated to keep up with Maven Central more than anything else.
Only three things in life are certain: taxes, death, and microplastics. And I’m not sure about the former.
The main thing I hate about XML (apart from the tedious syntax and terrible APIs - who thought SAX was a sane idea?) is that the data model is wrong for 99% of use cases.

XML gives you an object soup where text objects can be anywhere and data can be randomly stored in tags or attributes.

It just doesn't at all match the object model used by basically all programming languages.

I think that's a big reason JSON is so successful. It's literally the object model used by JavaScript. There's no weird impedance mismatch between the data represented on disk and in your program.

Then someone had to go and screw things up with YAML...

JSON5 is the way.
If you want a super bad audio-related journey, try fixing external speakers connected to a Linux box. It's abysmal, and 99% of it can only be done via the CLI. Nothing wrong with that... but for something so normal I expected more ease-of-use.
You're better off submitting a specific thing from there you find interesting because lists don't work that well as HN posts.
You should try using a LISP like Racket for XML. Because XML can be expressed directly as S-expressions, XML and LISP go together like peanut butter and jelly.

<greeting attr="val" href="#">Hello <thing>world</thing><greeting>

(greeting ((attr "val") (href "#")) "Hello " (thing "world"))