skysight-inc/HackerNews huggingface dataset:
Java (JIT) vs C++ (AOT) for a simple hash table
The goal of this research is to explore the performance differences between JIT (just-in-time compilation) and AOT (ahead-of-time compilation) strategies and to understand their respective advantages and disadvantages. The intent is not to claim that one language is slower or worse than the other.

In our tests, we observed better results with the HotSpot JVM 23 using JIT compilation. We got slower results with C++ (compiled with Clang 18), GraalVM 23 (compiled with native-image), and HotSpot JVM 23 with the -Xcomp flag. We are seeking to understand why this happens, and if possible, identify ways to improve the performance of the C++ version to match the results of Java's JIT compilation.

Our benchmark involves comparing a hash table (map) implementation in Java to an equivalent implementation in C++. We made every effort to ensure consistency between the two implementations, but it’s possible that some nuances were overlooked.

The hash table implementation itself is simple, and we aimed to make the Java and C++ code as equivalent as possible, including how memory is managed. For instance, we ensured that the C++ hash table values are stored by reference, not by value, to avoid unnecessary copying.

The benchmark creates a hash table with 5,000,000 buckets and inserts 10,000,000 objects, minimizing collisions. The linear search in each bucket is kept to a maximum of two iterations to avoid discrepancies in measurements due to varying collision behavior across different elements.

The Bench class, which handles the measurements, should also be equivalent in both implementations.

Given these details, does anyone have insights into why the C++ version of the benchmark was slower than the Java version? Could there be something we overlooked or an aspect of the C++ implementation that could be optimized further? Perhaps specific Clang optimization options we should explore?

The link to the project is here => https://github.com/coralblocks/CoralBench?tab=readme-ov-file...
This is a good overview of some of your biases, but I don't think it generalises to reality.
I dunno until I learned to swipe on a touchscreen keyboard I was (and still would be) much slower there then with T9. I miss being able to text in my pocket without looking at my phone too...
If you're not touching code you're not an engineering manager. You're a manager that happens to oversee engineers.

I might be a bit jaded, but I don't feel like I've seen an implementation of EMs I actually feel work well, at least from an IC perspective. The EM often ends up being a mix of both tech lead and all HR stuff, being overworked and unavailable, or neglecting one of the tasks.

I've actually preferred when my "EM" is on a different team than me. Can then speak freely to the person about issues in my team etc.
It would be a good project but you need people to review all code. I think effort/money could be spent on more pressing matters in this environment; open-source contribution is rather niche.
> Maybe the model is you have to pay per account to use it

Spammers can afford more money per bot for their operations than the average user can justify to spend on social media.
Precisely. They've already talked about the capability to relay satellite-to-satellite, rather than relying on a ground station near the user.
I don't get why they needed to bother you about this at all.

Every half decent switch made in the last 25 years can be configured to allowlist MAC addresses. Either that, or dropping customers onto their own VLANs is the standard way of managing this.
How much of this is Hetzner's fault really vs the EU and their Digital Services "think of the children" Act which presumably makes hosting providers act in ways I'm sure were largely predicted while it was being drafted?
T9 was pretty good, I remember being fairly fast on it. It wouldn't have been such a slog to type on, I don't think.
https://leetcodewizard.io

I released this fairly simple ChatGPT/Claude wrapper a few months ago. Currently it’s doing about 15K/month. It’s an invisible Electron app that can be used to cheat in coding interviews / OA’s.
Explaining to a junior dev how the terminal streams output from the bottom and must be scrolled up to find earlier output from the build makes me feel old
TBH you need to take the youtube influencer Sabine Hoffenfelder with a bigger grain of salt. She has converted to mainly posting clickbait youtube stuff over the last years (unfortunately, she was interesting to listen to earlier).

The RCS is a common benchmark with no practical value, as is stated several times in the blog announcement as well. It's used because if a quantum computer can't do that, it can't do any other calculation either.

The main contribution here seems to be what they indeed put first, which is the error correction scaling.
> I don't have specific info on the rationale, but a powerful language with a small surface area that's easy to parse was probably an attractive choice

I interviewed with the team that worked on this a few years back, and if I recall correctly one of them just liked scheme, and it was easy to embed.
Tree Calculus is awesome with implications beyond this website.

Shame the website doesn't attribute the creator and author Prof. Barry Jay. (Seems to be a pattern for them sadly, not sure why)

See Jay's book on GitHub for more https://github.com/barry-jay-personal/tree-calculus/blob/mas...
If constexpr and static if have different semantics, specifically if constexpr can't inject names outside it's scope which is what Bjarne was worried about.
> Yes, how do you know the whereabouts of a CEO?

You might know about their public appearances such as for shareholder meetings but how would you know which hotel they're staying at and that they would leave said hotel at 6:45 AM(!) and walk(!!) to the meeting venue?

Either massive luck on the shooter's side or there is a source of information that hasn't been discovered yet.
Oh wow, you're attributing this ideology to Ted? There is a long history.. https://en.wikipedia.org/wiki/Malthusianism
Why is there no keyboard on the screen there?
https://blog.yarsalabs.com/blender-topology-guide/

https://cgcookie.com/posts/guide-to-clean-topology
Virtual particles are the generalisation to all quantum fields of what near-field is in radio to just photons. It's where you don't really benefit much from even calling things "particles" in the first place, because the wave function itself is a much better description.

Unfortunately the maths of QM doesn't play nice with the maths of GR, which is also why zero-point effects are either renormalised to exactly zero or otherwise predict an effect 10^122 times larger than observed.
There's enough fake news out there as is, you don't need to generate more unfounded nonsense.
But what were the results?
If you do, don't make it like that [1] though please.

[1] https://imgur.com/iqDL9D7
Show HN: I made a simple use case from Meta SAM model
I am a fan of grayscale and deep-colored photography. I wanted to try that photo editing concept on my own images but since I am not proficient with Photoshop I did not even give it a try. But after I saw the SAM model demo by META it triggered again and made this simple tool to add a color pop effect with few a clicks. It's a simple project that anyone can try yourself and see. Moreover, this is my first publicly hosted web app, and learned a lot while working with this.
I would've expected some information on the architecture, maybe even a simulator. That should surely already have existed before any working hardware?

Let's try to make sense of that code shown:

...
jsr println
anyi r3 r0 #1324
jsr println
anyi r3 r0 #1412
jsr println
hlt

r0 appears to be the zero register, "anyi" combines that with an immediate to load a pointer to the string to print into r3. The immediate field is 12 trits, so we have a maximum address range of 531441 (trytes?)

The encoding for the "jsr println" is always the same, so it's using absolute addresses, range is 3^20 or slightly less than 3.5G. Or would be if we were allowing negative addresses, since it appears to be balanced ternary (+--+00 = 144 decimal)

Next bit of code is println, the address matches the one from jsr.

println:
ld r2 0(r3) ;get char
jeq r2 r0 exit_println ;exit if nul
out 50(r0) r2 ;output to console0?
out 60(r0) r2 ;output to console1?
addi r3 r3 #4 ;next char - why add 4?
jmp println ;loop

exit_println:
anyi r4 r0 #10 ;ASCII LF
out 60(r0) r4 ;output to console1?
anyi r4 r0 #13 ;ASCII CR
out 60(r0) r4 ;output to console1?
jr r26 ;return (r26 = link register set by jsr)

I'm not sure if this is supposed to be a word-addressed machine. Or would be better if it actually was. The addressing unit appears to be 6-trit "trytes", but loads only work when aligned to 4? Which seems a bit (no pun intended) inconvenient for a ternary computer! Is there no "load tryte" instruction?

Jump instructions are encoded relative to the next instruction, with a 12-trit immediate. Seems fine, but a bit inconsistent with how jsr uses absolute addresses. Also again every instruction is 4 trytes, so we could drop the low bits and shift... ah, I'm forgetting that it's ternary, never mind.

Separate I/O space, seems a bit un-RISCy. I personally happen to like x86, but even there it's considered a legacy feature nowadays.

---

This may sound harsh, but to me the architecture looks both fairly conventional, and at the same time like a bit of a mess, which would be fine for a hobby project, but not for something with a website making grandiose claims and clearly intending to be a commercial product.
still makes historic data garbage, both users and pids can be created/destroyed over time.
As a leader/manager it is essential to spend your time on the right thing. Sometimes that might be coding, most of the time though, it is not.

Mike Michalowicz's Clockwork has a really nice framework, called 4D:

- Do - the least important type of action a leader can do and where they should spend as little time as possible

- Decide - a level higher, but still not the core activity for leaders. Being the decision makes means that they have to be informed about everything.

- Delegate - this is an important skill for leaders, assigning who is responsible for which outcome

- Design - the most important type of action: designing the organization of the future and creating the right conditions for that organization to emerge; Put differently, this is truly working ON the business rather than IN the business.
>if a young family was sat on a park bench doing this and you went and sat on the bench between the mother and the father it would be considered at the least incredibly rude and inappropriate.

context is everything in public settings. Was it a tired old man on a cane that clearly needed to sit down? clearly it's rude for the couple to at least not scoot over. is the bench super long? there's probably no real beef as long as you're not directly sitting in their personal space.

In this case, these are clips uploaded over a decade ago for one reason or another. Realistically it's the same case-by-case. In general I don't really feel any guilt per se.
You can find all the results and code in our GitHub repository => https://github.com/coralblocks/CoralBench?tab=readme-ov-file...
Nice write-up and overall very informative blog. Kind of off topic, but are you Stefanos, doing your PhD at UIUC? That's my alma mater, I hope you find the academic* environment there stimulating!

*Let's not talk about the social environment of UC.
I don't understand what is notable about this. Looking at timestamps those are all jokes, not even good ones.
Synapse Pro, a new enterprise Matrix server from Element
Berenstein
A problem with keeping lithium batteries outside is that it gets way, way too cold in many parts of the world for them to survive charge cycling.

I mean: Sure, there's ways to improve that. There's even climate-controlled outdoor racks, and rack-mount batteries from vendors like EG4 to slot into them.

But a common goal of home battery arrays is to improve the energy efficiency of that home. Heating (or, I suppose in extreme cases, perhaps even cooling) a battery box runs counter to that goal.
Crazy government money printer at work, everything is subsidised. Observe insane inflation as byproduct. And Musk is ideal distraction in the form of benevolent visionary for multi-planetary dream, while in reality the only ones who pays for all this infrastructure in low earth orbit are pentagon with Starshield project behind the curtains that eats whole planet SIGINT with a motto similar to "nothing is beyond our reach"

https://commons.wikimedia.org/wiki/File:NROL_39_vector_logo....
They probably wouldn't have for a DMCA complaint, but for _fraud_, frivolous complaints are rarer, and the consequences of _not_ acting promptly are potentially more serious.

I suspect as the flow of 'AI'-powered 'brand management' spam grows, registrars will stop taking fraud complaints at all seriously, and the internet will get a little worse (because there certainly are legitimate cases).
As much as I would love to agree, this is just objectively not true.

Halfway decent used BEVs are super rare and usually expensive, so new remains to only viable option for most. And buying a new car to begin with is a huge premium.

And while prices have been steadily declining for BEVs, in most instances a somewhat comparable ICE car is still cheaper to buy.

Wether or not that is the case for actually maintaining the vehicle heavily depends on electricity and fuel prices where you live. Considering the article is from Germany, take it as an example. Most people do not live in single family homes, but apartments. Most apartments still don’t have a spot for EV charging, so you have to rely on public chargers. They run from anywhere to 35ct/kWh to 60ct/kWh depending on location and charging method.
> Still, most people cannot tell reality from fiction. If you just tell them it’s real, they’ll most likely believe it.

This goes for conversation too! My neighbour recently told me about a mutual neighbour who walks 200 miles per day working on his farm. When I explained that this is impossible he said "I'll have to disagree with you there"
Am I the only one who clicked through just to find out how to get neovim working on my iPhone? My iPhone doesn’t do that :(
Show HN: Directory for Finding Software Houses in Brazil
I built SW House Brasil, a platform to connect businesses with software houses in Brazil. The goal is to make it easier to find reliable partners for software development projects.

Why I built it:
The local market is fragmented, and finding the right software house often feels overwhelming. SW House Brasil centralizes this process, allowing businesses to compare companies based on location, expertise, and technology stack.

What it offers:
- Search by region, service type, or specialization.
- Detailed company profiles with essential information for decision-making.
- Filters to quickly narrow down results.

What’s next:
- More filters
- Companies can claim and update their profiles.
- Simplified onboarding for software houses.
- Reviews and ratings for transparency.
- Personalized recommendations to match businesses with the best options.

I aim to create a valuable resource for the Brazilian tech ecosystem. If you are looking for a software house or represent one, I’d love your feedback.

Let me know your thoughts, critiques, or ideas for improvement. Thanks!
Representational State Transfer (2000)
Promising efficiency, "new functionality written in Rust".

But also:

> Available under a commercial license, Synapse Pro will alhelp fund and accelerate the continued open source development of Synapse for the benefit of all of Matrix.

https://mastodon.matrix.org/@element/113627636666252355

> Synapse Pro is for nation-scale deployments, not community use.

https://mastodon.matrix.org/@element/113628266288510356

Not sure how to feel about it just yet.
Look you're coming at this from a mathematics perspective and worrying about every single detail. There's value in this, obviously, but it's unnecessary in practical use, in the same way that I don't have to explain Dedekind cuts to kids before they start to work with real numbers. Nor do I explain measure theory to beginners before they start integrating stuff.

> What if you picked N^2? or 2^N? or some upper limit set whose existence is stronger than choice?

I'm not sure what you mean about picking N to be an upper limit set. N is a hyperreal here, not an ordinal. There aren't really set theoretic difficulties, you can easily construct a model of the hyperreals in ZFC.

It doesn't matter what representative you pick for your Heaviside function - so long as it differs pointwise from the standard Heaviside function by infinitesmals you will get a delta function by differentiating it in NSA. And continuing to differentiate it will give you the higher multiple moments. This is what I meant in my previous response.

It's useful to have the choice because depending on what you want to model you can have non-standard functions that "go to infinity" twice as fast as other functions, for instance. Taking the equivalence class destroys that information, which is sometimes useful, and sometimes not. If all you care about is a small computation you can just pick a representative and move on, I don't think it's a big deal.

Anyway, I'm going to leave this discussion now - we're not really bickering over anything important to my mind. Use the tool you like! Personally I'm having fun playing with NSA right now. Thanks for your time.
His parents still want to send him to medical school, because he's Asian, so he needs to be a doctor. (I'm directly quoting him!)

That's ... something.
I mean, I think the convincing lie machine is qualitatively different from those other things.
> Is there a word for these types of snarky quips that trigger off a single word but fail to address the point?

They're (attempts at) a bon mot

https://en.wiktionary.org/wiki/bon_mot
It would appear that programs in even SKI calculus and other combinatory logics can reduce to base combinators in finitely many steps, but when those combinators are applied to arguments, then the possibility of non-termination arises [0]:

Combinatory logic [9,12] is very close to λ-calculus, and widely considered to be equivalent to it [8], but there are
important differences. In particular, by modifying the usual account of recursion, i.e. by modifying the usual account of
fixpoint functions, it is possible to ensure that all programs are represented by stable combinators, i.e. combinators that are
irreducible or in normal form. Only when applied to arguments does non-termination become possible.
That is, we may define a program to be a combinator in normal form. As such it is both an executable, since applications
of it will trigger evaluation, and also a syntax tree, i.e. a binary tree of applications, with leaves labelled by the primitive
combinators, say S and K.

[0] https://sci-hub.se/https://dl.acm.org/doi/abs/10.1016/j.tcs....
You did it to yourself by WILLINGLY and KNOWINGLY using proprietary software.

You can only blame yourself.
What a garbage milketoast read.
I'm guessing they are afraid of inspiring copy-cats.

Not that it would stop a really determined copy-cat from taking notes from Luigi Mangione.
a lot of these unethical arguments veer on this idea that creating an account and publishing online content in this early smartphone era was some foreign concept. I don't subscribe that even in 2006 that people were that internet illiterate.

people didn't change, our perception of the internet changed (for better and worse). I still see enough people posting intimate stuff way past my boundaries that I think this is simply how some people are wired. I'd definitely wager that 90% of the people who I'd notify of this in some sort of census would not bother to delete/unlist these videos.
So make copywrite a 10 year prevention on duplication, with exemptions if the original artist abandons widespread sales/profits/access
On the semantics page the reductions presented in the definition are not the same thing as the OCaml code does. Or if it is actually equivalent, it should be largely commented because it really is not obvious.

But this criticism is valid for most of the website. Nothing is really clear.
"Short reasons for long vectors in HPC CPUs: a study based on RISC-V": https://arxiv.org/abs/2309.06865

Suggests that VLEN>DLEN can help hide the memory latency.

"Instruction Scheduling in the Saturn Vector Unit": https://arxiv.org/html/2412.00997v1

> VII-A Chime Length

> The “native” chime length in Saturn, for instructions with no register grouping, is given by the VLEN:DLEN ratio. Increasing the native chime length reduces overall throughput pressure on many components in Saturn, including instruction fetch, load-store queue sizes, issue-queue sizes, and sequencer throughput.

> However, a higher native chime length for a constant datapath linearly scales the size of the multi-ported register file. The interlock logic in Saturn scales linearly with the chime length as well. We evaluate several configurations with varying VLEN:DLEN ratios, varying VLEN with fixed DLEN=256. As we increment the VLEN:DLEN ratio, we record the percent improvement in performance for each kernel. Table IV depicts the results of this comparison.

> A native chime length of 1 imposes a very high performance burden, as this implementation effectively requires 1 IPC instruction issue when executing non-register-grouped code. Moving a 2:1 ratio yields significant performance improvements across most kernels, as greater chime lengths diminish the performance impact of scalar stalls. A 2:1 ratio is feasible with the precise scheduling mechanism and is the target design point for Saturn.

> The effect is largely diminished at a 4:1 ratio, where only a few low-LMUL kernels see the benefit. We additionally observe that some benchmarks actually exhibit performance degradation at high chime lengths. Analysis of these cases revealed that deep temporal execution diminishes the effectiveness of load balancing across issue paths. These cases exposed a performance peculiarity specific to our evaluation system’s memory system: the evaluated LLC achieves higher throughput with a dynamic mix of loads and stores, compared to separate load-intensive and store-intensive phases.
I don't underatand. You're saying people can't use PiHole with Android? But lots of people do that... Or do you mean it can't be installed on Android itself? I googled that and it seems it can be...

1. https://www.reddit.com/r/pihole/comments/18ov638/pi_hole_on_...
Well don’t leave us hanging, what was the stuff that worked for you?
Secrecy, Openness, and Knowledge in Online Innovation Communities
Writing a theory cs paper is a bit like this game: you start with a bunch of predicates describing states of the world, and the goal is to sort them all out within a given number of pages so they are not presented out of implicational order. (with tfaes, in particular iffs, for cutting down by mutual implication)
> Those who get caught doing one crime or another either were dumb to begin or eventually got lazy and made a dumb mistake in hindsight.

>Besides that though, the ethos that we have lends itself well to acquiring advanced knowledge in more-or-less all domains, crime and forensics included.

I wouldn't give too much credit to law enforcement. Perpetrators need to get it (opsec/disposal of evidence/etc.) right every single time, sometimes for decades. Law enforcement only needs to get it right once. And yet, clearance rates for murder are still pretty low.
> Sometimes that might be coding, most of the time though, it is not.

I agree 100%, though I will add it is important to have a manager who can do, so that at the very least they can have technical conversations.

Nothing worse than a manager who has no concept of what the doing even is.