skysight-inc/HackerNews huggingface dataset:
I have no idea what you just wrote. I don't speak C, know basically nothing about it, I'm not in the business and I'm not ever going to do either, because I don't like it.

So I looked that up. You're talking about intrinsics. I have no idea about that, beyond "Why would people rather remember this instead of just learning the proper assembly code, which is far easier to read and remember anyway?"

I don't write code for compilers to do the work I am supposed to be doing, so I have no idea of the world you code in.

Your response doesn't really answer my question, but that's totally my fault, so ...

Hand me a box with a defined problem, some compiled code I can run to benchmark my own solution against, then wait for me to beat your solution within defined parameters.

My goal is to have some challenges that need optimization, but there needs to be a point to it. I can take any problem from the web, rethink the approach and rewrite it in assembly, but in 99.999% of all cases there's no point to it and I have nothing to compare it against on my own machine anyway.

I do not know what's generally useful to optimize and I certainly do not know who actually cares about that anymore.

Like, for example, how the pattern matching/string search function in freepascal is damn slow. I've researched the topic and noticed that all the solutions I've found are basically crap, so I wrote my own, beating it by some wide margin in terms of codesize and performance. I don't even know why these devs accept subpar solutions, but responses I got to that question were, basically, "It's fast enough" ... which is dumb.

Still, I don't actually have a way of fairly comparing my work.

Regardless, apparently the fastest fixed size pattern/string search algorithms I've found are all crap, but I really have no way of creating a fair comparison. Oh, on that note ... you don't, by chance, have a pattern matching benchmark for fixed sized needles I could compare my own against?

Sorry for being a mess. :D I really just wanna work on something that's actually a challenge AND something people actually need to run more efficiently, just like the QuickSort example.
I deliberately skip the semicolons
Correct, I meant aphantasia. Thanks.
Wait until you take up a role in these unfolding dramas and the story arcs start linking up from past dreams.
Agree, the game is like a meditation on the nature of learning and perception. These realizations ("Is that just a tree or ...?") also gave me goosebumps.
This is exactly why I'm hesitant about going back to Apple ecosystem. I like the M1 stuff and the recent hardware changes - but the walled garden and the Appstore lockdown to protect their cash cow are coming at the expense of functionality and I just can't get behind that.

Hoping the next gen of x86 chips finally hit that sweet spot of performance/low power/heat.
A Lisp macro sees the actual source it encloses and this source does not need to adhere to any pre-defined syntax.

For example: we may want a macro which outputs the source it encloses, before execution:

CL-USER 12 > (defmacro my-loop (&body things)
`(progn
(pprint (list :doing-loop-with ',things))
(loop ,@things)))
MY-LOOP

CL-USER 13 > (my-loop for i from 1 upto 3 sum
(my-loop for j upto 3
sum (* i j)))

(:DOING-LOOP-WITH
(FOR I FROM 1 UPTO 3 SUM (MY-LOOP FOR J UPTO 3 SUM (* I J))))
(:DOING-LOOP-WITH (FOR J UPTO 3 SUM (* I J)))
(:DOING-LOOP-WITH (FOR J UPTO 3 SUM (* I J)))
(:DOING-LOOP-WITH (FOR J UPTO 3 SUM (* I J)))
36

A normal function can't do that, since it does not get source as an argument, but just sees the arguments values.

Since a macro sees source, it can not only print it, but also simplify, transform, mutate, etc. the source.
Show HN: Fix Chrome's font rendering gamma issue with a single patch
I immediately thought of Bot Land as well! Oh man, it's been a while.
The performance of the Ruby YJIT version is interesting:

5.73 ± 0.34 times faster than 'ruby --yjit'
11.17 ± 0.67 times faster than '#ruby'

which is approximately twice as fast as the standard Ruby.

This is probably explained by the nature of the benchmark used, "Running a recursive fibonacci(35) inside the Monkey interpreter", which is very simple and repetitive, making it ideal for JITs.

On the other hand, if that's the benchmark used for assessing the performance (as it seems), it's not representative of the performance of the tested languages at all.
I think I'd argue that the Postal Reorganization Act of 1970 is to blame[0]. In short, postal workers prior to this law were not allowed to engage in collective bargaining. They went on strike to protest this, and this bill, in response, permitted mail employees to organize. In exchange, however, the US Post Office Department, which was formerly directed a cabinet position, was abolished and replaced with a corporation-like independent agency (the USPS as we now know it).

The USPS is expected to produce almost all of its own funds and has had most of its pre-1970 subsidies cut back or eliminated. At the same time, the prices it charges are still set by the federal government (specifically by the Postal Regulatory Commission, appointed by the President), meaning it can't truly set rates that allow it to be profitable[1]. The effect of all this essentially means it's forced to try and generate revenue elsewhere, like through these ads.

[0]: https://en.wikipedia.org/wiki/Postal_Reorganization_Act
[1]: https://en.wikipedia.org/wiki/United_States_Postal_Service#R...
It tells me that Apple is big enough to have a team of people who developed a feature which seems to work fine (hardware virtualization) but was never launched.
”lion“ is spelled „Löwe“, not ”Löve“.
I'm not sure if you're asking specifically about this data or the General topic. If it's the general topic the Wikipedia article links to a few. https://en.m.wikipedia.org/wiki/Pseudo-panspermia
Professional mathematician (but in business, not academia). I hold a PhD in mathematical physics. Below the list of books that taught me the most. However, these books are often not directly related to my current work. Also, I don't think they will be useful for everyone, as some of them are strong specialized books. These books mostly taught me to think like a mathematician. One of the strongest skills I learned as a mathematician is to dive deep into a topic and learn almost everything that you can learn about it (going from 80% of knowledge to 99.9%). I "read" these books completely several times in my career.

* Atiyah, Macdonald - Introduction to Commutative Algebra.

* Bourbaki (in French).

* Gasper, Rahman - Basic Hypergeometric Functions.

* Hasti et al - Elements Of Statistical Learning.

* Rudin - Real & Complex Analysis.

* Thomas, Thomas - Elements of Information Theory.
Sawn wood is cheap to store but kiln dried and processed much less so. JIT also means you can't just build a lot of warehouses quickly to store them. And we're not even talking about the supply chain disruption, or the bottlenecks in processing green wood.

Even sand is in short supply right now. You can argue sand is even more storable.
Show HN: Micro LZMA decoder (x86 assembly code golf)
I had a friend who said that after a while of meditating he stopped having dreams. It seems to be a common phenomena.
imo the problem with UST vs DAI was not under vs over collateralisation, but rather that Luna supporting UST had its value tied to UST adoption. On the other hand, DAI is collateralised by things like Eth, which could also in theory crash, but get their value from a much wider ecosystem than just DAI - hence one potentially avoids the circularity.

For a great read on this and more, check out Vitalik's post: https://vitalik.ca/general/2022/05/25/stable.html
This reminds me of all the episodes of Closer to Truth[1] about the question "Why is there something rather than nothing?" He's absolutely relentless with that question, over two decades now, asking every single famous philosopher, mathematician and scientist he can find. Here's one from around Season 3 around 2009[2], another from season 12[3] a few years ago and so on.

1. https://www.youtube.com/c/CloserToTruthTV

2. https://youtu.be/cfmewf2DoKU

3. https://youtu.be/YkB-phz_2cA
Well, if you take that into consideration then no nop instruction (of non-zero size) can exist in asm, because they still require advancing EIP (and decoding the instruction).
I think once I read that Temple OS' "text editor" works kind of the same way - regular plain text but lets you incorporate things like 3d gradient meshes
My town's entire core infrastructure runs FOSS only. Schools, accounting, administration etc. We spend a lot of time training and answering queries, especially for non-technical people but it somehow works. The key is to have skilled people available to help out and good internal documentation
I was sharing the average (mean) not median.

Can you share how you arrived at that number? I've been trying to verify my approach to this.

What I did:

- Create a spreadsheet for a simulation

- col 1 has "number of people remaining". I start this at 1000

- col 2 has "month number"

- col 3 has "% of people who left this month"

- col 4 has "number of people who left this month"

- in each new row, I subtract the col 4 value from the col 1 value to come up with a new headcount

- I fill this down for 10 years (120 months)

- for each month, I multiply the number of people that left \ the number of months they were there

- I sum the man-months worked, add the man-months for the people who are still there, and divide by 1000 (the number of people in the experiment). This is the average number of man-months.
I'd guess that it made sense to use iPads as a cheap testing ground for stuff before they went all-in on M1. Maybe they found bugs in hardware that they could fix in time for the M1 release but made virtualization impossible or a security hole on iPads.
Researchers study society’s readiness for AI ethical decision making
It's not that far off from my experience in a research organization.

We underestimate the commitment of others to helping the organization that pays for their food's success (even though we feel the commitment). Coordination is needed but if you trust and empower the ICs you can communicate a high level vision and then just look out for major problems and opportunities rather than micromanaging the people who are doing roughly the right thing.

It's a model that doesn't work everywhere but it can lead to increased creative output, happiness despite lower wages, less need for middle management, and other benefits to an organization.
But why would you need routing if you are building a desktop app without an address bar?
10-15 (lost the rest of the sheet)

I definitely was outside my body but maybe what I call ego death isn’t as intense as a full blown trip?
We have completely redesigned our homepage.
It used to be a one-pager with no details. We improved it step by step as a result of your feedback.
Our current position perfectly reflects Producter's quality and value proposition.
Let us know what you think!
This is of course already done (to some extent) in aviation. Human error is indeed a start of investigation - there is extensive psychological profiling for pilots, why they did what they did given the circumstances, how much sleep did they get (often - not enough) and what function did they optimize (e.g. their salary bonus). One more thing is we have a co-pilot that can mitigate errors of the captain. Sadly, we don't (yet) for driving (and timescale of decision making is much smaller typically).
Sign in with Apple (2019) [video]
It helps me to think about it in opposite terms. You're increasing the radius by ~1ft (radius around the whole earth), and 2pi is the linear relationship with circumference, so you'll get six ft. Thinking about it this way kind of ignores the fact the circle is huge. I'm not too visual of a person though.
I'm not saying that 2.7 years is great. But it is not horrible either, as parent categorized it.
I wanted asdf to launch Postgresql and redis so I can get rid of Docker Compose. Is this too far away?
Now you can use your M1 to remote into a single core 2GB cloud box 5000 miles away!

Progress!
Thank you. Those links are gems. It's probably worth also noting that the government does borrow a lot (even when it doesn't have to), but often from itself, and also often from the private sector but on terms that are completely different from those available to anyone else. Also that government borrowing generally doesn't cause (or even coincide with) inflation (although I think maybe sometimes it does - this is where I'm not clear on the details).
Thanks for your post! Let me explain my problem, which fits right to it. It works as an example, too.

So, in freepascal there's some subpar pattern matching/string search function. It annoyed me so greatly, I've started researching into the "state of the art" and apparently they're all crap. My fixed size pattern matching solution fits into less than 256 bytes, not counting setup code, which is minimal.

And here start the problems for me, because I have no way of actually comparing my solution to "the state of the art", because "the state of the art" doesn't offer me downloadable, compiled benchmarks I can just run to compare stuff to my own and learning a new language (like, i don't speak C and certainly never will), installing a compiler, getting through all the walls that inevitably be in my way to getting it to run, etc ... totally breaks my timebudget and thus I drop the problem.

Basically, what I'm looking for is:

Give me a problem that's worth tackling, with a defined set of parameters and a compiled solution I can compare my own against and I will beat it eventually. I've tried doing this on my own, but that's just a big no-go on many levels, so I'm dependent on someone handing something to me.

Like ... the QuickSort. I have no way of comparing my potential own solution against "the state of the art", which is - as far as I know - pretty much all that's holding me back.
At first look that page is a mess.
Apple to Announce New Search Engine at WWDC on June 6th?
The "unrestful" part, I am familiar with it from my chess dreams. Sometime I would dream of a position on a chessboard and of course have to think about what the best move is. Threads are everywhere. It takes time to figure out the move. When I finally have the move, the board grows and suddenly there might be a bishop somewhere far away on that grown board destroying all my "best move" plans. The cycle starts anew.

After such a dream, when I wake up, I really feel like "damn, I should have found the best move and shown them!" but also like my brain is burned out from thinking so much and visualizing so much in my mind. Not restful.

But fortunately I have better dreams as well and sometimes, when I feel lonely, my brain turns on self-healing mode or something and I dream of someone I love. I will gladly take all the exhausting dreams, to keep the good ones.
OPEC only controls 40% of all supply and often accuses its members of breaking quotas.

Producers seek the profit maximizing price, not the highest price (those aren’t the same).

Would you rather sell 1,000,000 barrels at a profit of $10 per barrel ($10M profit) OR 1,200,000 barrels at a profit of $9 per barrel ($10.8M profit)?
It should work as this is for k8s and OpenShift is based on k8s.
Aahhh, now I get it! So you basically write code for "one size fits all" for the programmers convinience, at the cost of performance/general efficiency?

Thank you for the response!
> Incidentally, running Podman or Docker on Linux is a much better experience that the simulation via VM that exists on Windows and MacOS. Another plus is that containers behave for developers like they will in production, leading to better decisions about using containers.

This is probably the most important point and something that I can wholeheartedly agree with! On Windows, you get the occasional issues with bind mounts or file permissions (e.g. wanting to use a container that has SSH keys in it, but software complaining about 77X access, instead of 700, which you literally cannot change), or even networking.

Whereas everything "just working" on *nix is great.
Besides employment. So like the rest of us, she likely coded before she started doing it professionally. I don’t think your “2/3 => 10” equation is supported by the quote. Seems pretty clear she started building things at 9 or 10, and got her first job a decade later.
You may also like this site:
https://earth.nullschool.net/#current/wind/surface/level/ove...
‘Hidden world’ of marine life discovered in Antarctic ‘river’ under ice
All we can say is that it's not exactly Lion nor exactly Löwe but it could reasonably be either
Sorcery. This is not possible by mere mortals to do in 4kb.
Workers of the (Digital) World
It works nice 95% of the time, but the remaining 5%, you want to throw the damn thing at a wall in frustration for not reading your mind. I hate all forms of dictionary-based input and at this point I doubt it could ever get nearly as good as a real keyboard.
There's definitely room to improve in the products (ie I think Slack's recent scheduled messages are a good improvement towards this), but personal discipline goes a long way here, especially when frequently the product/company goals (pumping engagement) are the inverse of your own.

You need to set your own boundaries, and not allow these devices/services to dictate so much of your attention (I say as I procrastinate on HN). Use app or OS features to mute notifications. Sign out. Wait before replying. Leave your phone behind.

99 times out of 100 you can definitely just wait before checking and replying.
Isn't pushing water up doing some work? And then it coming down can do same or less work? Just because pump can push without limit, it doesn't mean it's free.
Gedit (and Gnome Builder, etc) do this.
The only thing I don't get, and forgive me if it's a dumb question, what's the difference with say sending yourself an email/making a github repo/entry/any timestamped note?
Not all our timber. In fact Scotland is ~73% self-sufficient in timber production.
https://scotland.forestry.gov.uk/images/corporate/pdf/Hbook0...
Would this be easy to convert to vscode? I've never looked at theming either before.
There was a long time period (IMHO good few years in early 2000s) where Python looked better on paper but Perl was still better for production.

All the Perl libraries for doing certain things (db access, web stuff, process management) were "actually battle tested" and worked well even if they were utterly unreadable. Python looked a lot nicer but when you tried to do any real work with it everything seemed to leak memory or give you continuous paper cuts - and it was a lot slower.

I made the switch to Python eventually but it took a while.
These are so beautiful. One thing the pictures don’t capture are the vibrations that move through the murmuration—that is, the shifting phase synchrony of thousands of flapping wings. I’d love to get some footage to understand whether individual bird synchronize to the frequency/phase of surrounding birds, or just to the velocity of surrounding birds.
> Even conversions to docx work fine since your documents are simple.

In my day to day operation, converting pdf to docx is not a trivial task.
We Need Resilient Software Design
SVG in its entirety is of considerable complexity but its path data attribute syntax is fairly simple, well documented and optimized to be forgiving and compressed while still using nothing but a few ASCII letters, digits and plus and minus signs
They can be faked. This, supposedly, cannot.
They can have an Apple Arcade version, and a "Free" pay-to-win version simulatenously. They don't even have to pull the Apple Arcade version.
yeah it's more focused on Europe for now
Much less
“Soluble Organic Compounds in Asteroid 162173 Ryugu”: https://www.hou.usra.edu/meetings/lpsc2022/pdf/1781.pdf
Always reminds me of that unofficial "Hollow Talk" music video someone made [1]. Wish it was available in higher quality than potato.

1. https://youtu.be/Vy7yuj-UrNI
Now you replaced a trivial file format that (from a quick glance at the code) needed about ~35 of easily readable and self-contained Lua code to parse with an external dependency that would be much larger and harder to follow and either having (at least) an XML parser as its own dependency or implementing its own XML parsing, as well as being at the mercy of their developers. Also unless you are using some highly popular library, you may end up with some abandoned dependency.

Examples of both are at [0] (C++ based parser, you'd also need to write some bindings for lua) and [1] (Lua based parser for a subset of the format, abandoned for almost a decade).

There are times when using an external dependency might be a good idea, but a text-based file format that describes lines and can be implemented in a few lines of code is not one.

[0] https://github.com/svgpp/svgpp

[1] https://github.com/luapower/svg_parser
Some people appreciate simplicity as a virtue - simplicity of implementation as well. To such people, using a third party library to conceal an incredibly complicated implementation is still in principle ugly. I don't know if that is what motivated the author here, but I certainly know lots of people who would cite that as their motivation.
CL is often seen as "dynamic" but it's better than that: we compile our code with a keystroke and we instantly get compile-time type warnings and errors. It is not fully statically typed, but it is still way better than say Python. Usually, type checks happen at the functions' boundaries: this expected a int but was given a string, this argument is declared but unused etc. Add in Coalton, and you're approaching a Haskell experience. And that happens in our tight read-eval-print-loop, the feedback is instant. We can also do many things at compile time (macros etc). It's better than one might think.
Also used for treating warts.
You might want to look at Template Haskell, which is used for macros in Haskell (a language which already makes heavy use of higher-order functions).

One nice thing I've used macros for is reading and parsing files at compile-time, to bake-in data into programs. That way, the compiled programs just process stdio, without having to care about file paths, permission errors, parse errors, etc. (those all become compile errors)
I like it a lot better than NW/Electron that I've used plenty before. Smaller packages and faster startup but way longer build times, which is a bit of a hassle but it's Rust, so not sure you can expect otherwise.

There are still some bugs around that are a bit of a hassle to deal with, but only one that is a showstopper for me personally (the back button on the mouse doesn't navigate back), otherwise it works out well for me.
> Sadly, we don't (yet) for driving (and timescale of decision making is much smaller typically).

... and politics.
As long as the code is versioned you don't completely kill your checked in darlings.
> Their revenue growth and revenues in general are tiny what $2.8 billion, and mostly restricted to licensing/royalties.

Their business IS licensing and royalties

> The landscape is shifting by adopting the Big Little structure, adding more core counts ...

Arm invented Big/Little in 2011 [1]

Arm SoCs win on core counts [2]

[1] https://en.wikipedia.org/wiki/ARM_big.LITTLE

[2] "Ampere's flagship 128-core Altra Max M128-30 ... packs an unprecedented number of general-purpose 64-bit cores"
Strong support for metaprogramming techniques is one of the underappreciated features of Tcl - see https://wiki.tcl-lang.org/page/Meta+Programming and https://www.magicsplat.com/blog/meta-html/ .