skysight-inc/HackerNews huggingface dataset:
Misprediction recovery is an important area of optimization. Mispredictions tend to flush and begin refetching ASAP, so rather than wait until retire, they will do that when they execute, including out of order (a newer branch could flush before an older one is resolved, and later itself could be flushed by that older one).

There are also several levels of predictor and mistakes in the low latency but less accurate ones can cause recovery events if they are overridden a few cycles later by slower predictors.

Flush / recovery is made as light weight as possible, only flushing instructions after the branch, and only the parts of the pipeline that the oldest one has reached.

There is some literature on controlling speculation if you are not confident. Say if you have a really poorly predicted indirect branch target where a mispredict is not 50/50 but 99/1, and it depends on a very slow source, then you might not want to speculate 500 instructions ahead of that but say okay let's just wait for it to resolve. Or, if you have a 50/50 hard to predict branch, you might kick off some prefetching down the other path when you see it so recovery is faster (but this will cost more power). I don't know if anybody does anything with these "hard to predict branches" today. Apparently it's actually quite difficult to predict whether a branch is hard to predict, and the resources to make that prediction can be put to better use just trying to predict them instead of predicting that you can't predict them :) Although that might change. Point is al kinds of misprediction optimization are actively being pursued.
I’m not saying it was bad for the greek (the people) but for the Greece (the country). Also, if you think long-term, it might not be that beneficial for the greek. Moving to another country incur extra costs, which could be avoided on your own country. Greeks might have been more well-off if their own country developed instead.
> Methods-with-self-in-args-list isn’t the “weird” one?

I agree that it's uncommon, but I do like the clarity it adds compared to something like "this" which magically refers to the current instance. Hasn't C++ just added something like it with "deducing this"?
This is the problem. The data could be used for good: to improve the education being provided to the students, and to improve conditions for those working for the university, but history tells that most of the time it will end up being used against/at the expense of those same people and that there will be a much stronger profit incentive to do the wrong thing rather than the right one.
Compiling Brainfuck Code – Part 4: A Static Compiler
Why ‘buy, borrow, die’ tax strategy could become ‘buy, borrow, pray’
Remove node_modules from .gitignore (and make git handle doing that more
graceful!)
> Isn’t that generally true worldwide?

The US in general is more business friendly, which leads to people wanting to invest their dollars in US business.

I recall some German friends of mine being quite surprised at how easy it is to start a business in the US. Though some businesses the government is very hostile to, like being a landlord.
> Preventing web scraping is good for privacy.

You will need to elaborate on that.
You seem to be in very heavy denial. This will never be as nice to use as a native app, because you cannot replicate all of the small details of how native UI works on each platform. And say you manage to get close to emulating a native app on one platform — when the OS UI updates, you’ll be behind again.

I get that it’s inconvenient/expensive for you to build three UI layers. But that’s the only way to do this well. This was true for cross-platform apps in 1989 and it remains true decades later.
Author here.

The difference is that FOSS is not a business model. It is far closer to infrastructure, which is usually supported by other means than business models. Things like community structures for common goods (regularly called government but not always).

There is a different problem here, which I have chosen to not talk about here, but that is the problem of funding profitable software products. We simply... do not do that. We do not have the tools for that. But that is a different rant.
It is extremely arguable whether the EU is necessary for that though. There is no magic barrier preventing goods moving across the border except that the customs department decides to interfere.

> Can't tell if you're being flip

I can't tell if HN is being flippant. I've never seen such unanimous approval for a powerful entity engaged in triviality. The world has not confronted the level of threat we currently have of international industrial war for 70 years, and one of things that most bought people together celebrating the EU's contribution to the world seemed to be ... phone charger cables. It seemed to be the stand-out example of the EU doing something simultaneously newsworthy, well liked and good, which is concerning.

People in the halls of power in the EU don't seem to have been focusing on the important issues if issues like that are what generate praise. Doubly so because the EU has failed to produce anyone who knows how to design a good phone. All the industrial muscle for that is in Asia and America along with the track records of success.
The moment the date passed is midnight, the bottom of the clock, using your local hour hand it should be intuitive enough to see which timezones have passed that point, without calculation
As a human being, it can be very useful to separate out “moral” behavior from “legal” behavior. Even if Apple or John Smith acts perfectly legally, that doesn’t mean they’re acting in a kind or good or well-intentioned or fair way. The law - no matter how comprehensive - can never legislate kindness. In fact, if you are sophisticated about it, you can be a world-class Greatest Of All Time A—-hole while still technically complying with every law in your jurisdiction.
Most of the most valuable software in the world (iOS, Play Services, Google Workspace, all the Nvidia libs enabling the AI revolution, Windows, Excel, GitHub, etc) is proprietary. It's easy to see the huge successes of f/oss and forget that it's only the tip of the value iceberg.

k8s and such tip the scales a bit, but there is still 10x more value locked up in proprietary software than with us software freedom zealots.

I will continue to release every piece of code I write into the public domain. I recognize however that the majority of people making valuable software do not share my ideology about the illegitimacy of the fiction that is "intellectual property".
> Nothing says “I don’t give a crap about our users or the user experience” like building a web app or using a cross-platform toolkit. It telegraphs you mainly care about doing it as cheap as you can instead of just building a good app.

What a better world we'd have if
Apple and Google agreed upon a common UI toolkit baseline.

I'd rather a small, scrappy company spend their limited resources on solving their core competency and value prop than fitting to these two stupid and needlessly different platforms.

Web should have won. It still has a good chance. We should have a "native web" in the future: WASM, hardware renderer access, device control, and more. That'll be the target to develop for.

Building for Apple and Android is a total waste of annual human cognitive resources. I hope every company starts doing cross-platform.
Com2fun – Transform Document into Function
Even as someone who loves Rust, I completely agree with this. Rust is a niche tool, better suited for replacing C++ workloads than Python workloads
They could have very well printed their way out of the problem and let everyone in the country pay for the mistake of the usual class of corrupted politicians.

Oh but they're in the EU now, they can't do that, so let's just let the peasants starve while the wealthy invest in german stocks.

I'm not saying Greece is a perfect system, but the EU way has been just way worse for Greek citizens.
Aaaah fair. Well i will go cower behind excuses and say it is late (well early) on the first day of 2023 for me :)

Thank you for the explanation
Yes, it can be. In general, the lines between angel and pre-seed, seed and Series A are becoming fairly blurred at this point. You can raise a lot or a little. You can do it on SAFEs or a priced round. You can add a board member, or not. A lot of approaches sort of compete with each other for relevance in the open market, so you could raise a bad big round or a good small round, it's all 'it depends'.

Diluting yourself that much that early is a possible signal to later investors that your overall ambitions are smaller than they might hope. The reason being if you know you need to raise $X00M to get to scale, giving up so much so soon is an indication that path might not be as likely. And while as a founder it might not seem like a big deal (or be one) to the investor they are looking at seed stage companies more like 'There's a 5% chance this gets huge' than as a standalone asset. In that scenario, more dilution might make it 3-4%, which is much worse.

Amazon gave up 33% in their seed round to Sequoia, raising $1M on $3M pre-money. You can create a generational company and massive wealth with 40% dilution in your seed round no question. It is mostly just an incrementally worse indication for future investors, hardly a deal breaker, but something to be mindful of.
I don't see how this position means FOSS would fail as a business model. It's not like anyone would be saying "we won't ever provide these guarantees." It's instead "if you just want to use my software without paying, go for it. But if you want any supply chain guarantees, then pay me for them."
What does it mean to be enrolled? What if someone takes a semester off? What if they are part time? What if they are on a foreign exchange program this year? What if ...

The above are the type of questions that can result in different definitions of enrolled.
> hundreds if not thousands of years of storied history

lots of wars incl. the 1st, second and the cold war.

The EU has helped to create a larger Europe with much less conflicts. Having a single currency is a great advantage, borders are no longer necessary and, yes, nations are still responsible for their fiscal and economic policies.

> even destroying the identities of those member nations

the EU doesn't do that.

> EU will see more Brexits again sooner or later unless those fundamental issues are properly addressed

Actually it's the opposite. The UK was dumb enough to give up the single market, freedom of movement, common standards, common politics, solidarity, etc. The negative effects and the lack of positive effects of the Brexit are plain to see and the younger generation in the UK will demand the benefits back. Those lost the most because of Brexit.

The disintegration of the EU after the Brexit was always propaganda. If one read the British press, the EU was always collapsing the next day and the Eurozone would disappear. Nothing like that has happened, not even remotely.

> foolhardy to think an even more tightly-federated EU would be successful just like that

The EU is already a huge success.
I’m so crazy I think Silicon Valley is more a Wall Street phenomenon then a technical one and that Intel gets way too much credit for the microprocessor.
While I get that we are fighting 200 years of inertia, I do still wish that all the nations standardised on a single power plug design.
> No, the EU started as a trade alliance and evolved into the bureaucratic behemoth it is today

You're not disagreeing, just adding additional context. A quick search established the following:

> The European Community (EC) was created in 1957 as a way to foster trade cooperation and reduce tensions in the aftermath of World War II.

So in effect, the trade alliance was started to avoid war; lessons were drawn from WWI tensions leading to WWII.
I am not a driver, while creating free car blueprints that car manufacturers use to build cars?
Apparently they had a large funding budget for that site at one point. Danny & team went out there and dug it up with hoes quickly, so perhaps that is part of the reason why you can’t excavate now
Two uses for RSS feeds in conjunction with invidious and nitter:

1. You can subscribe to YouTube channels via an invidious instance without ever logging into google.

2. You can subscribe to anyone's twitter feed via a nitter instance without ever logging into twitter.

https://invidious.io/

https://nitter.net/
It should be doing this at the moment unless there is some bug :(
Or flex!
Depending on where you are, questions 1 and 3 are just straight up illegal. No interviewer in the US would dare ask about vices or your family situation unless they don’t mind shelling out lawsuit settlements to everyone they interview and decline to hire.
modern multi-core processors do distribute protothreads / [compiler brand name] fibers across multiple cores.
I wonder if there are studies about morale building activities.

My anecdotal guess is that morale building activities work as long as you don't try to to make them "morale building activities".

Board game nights, fifa tournaments, paid-for conferences, drink-carts, thanksgiving potlucks & year-end parties are all morale building events. But it is important for them to appear organic and unsupervised. These serve as great ways to build genuine connections with coworkers, understand why they have certain triggers and resolve issues through a secondary activity. But if HR is breathing down your neck, forcing you to do any of that.....it won't happen.

However, it also means allowing uncertainty & odd conversations every once in a while. As long as HR only exists as a guard-rail to avoid the worst outcomes (actual aggression, black-out drunks, sexual harassment), these events can be incredibly rewarding.
Some people enjoy that stuff, it’s important for us to remember that, and it is important for them to remember some of us hate it.
When did they last update the site?

The “News Flash” announcement about Joichi Ito being selected to head the MIT Media Lab hasn’t just aged, but it’s aged like milk. In his time running the Media Lab, he associated with and took investments from Jeffrey Epstein, and it all came to light in 2019.

If you’re not familiar with the story, here’s a writeup from _The New Yorker_, [How an Élite University Research Center Concealed Its Relationship with Jeffrey Epstein](https://www.newyorker.com/news/news-desk/how-an-elite-univer...).

I’m pretty sure they’d want to remove that news flash.
Hmm, I was really intrigued by this post and am thinking about digging into capacitor a bit. It does seem to me, however, that there are often subtle ways in which the fact that an app isn't native bleeds through. For example, trying the demo you linked to: if I click on one of the notes in the list and then swipe right from the edge of the screen in order to go back (gesture navigation), I expected it to behave the same way the arrow in the top left would, but it doesn't and I found myself back on some other website. Maybe it doesn't work like this if I actually download the app on Android?
“The US doesn’t work” can only be taken as rhetorical. Perhaps you feel it doesn’t “work” well, and certainly you’ve identified serious flaws. But it’s still there ticking along… if it doesn’t work then “work” is just shorthand for “work the way I want” which isn’t particularly interesting or useful.

Separately, I’m not sure that US folks are actually any better at accepting the distribution of their taxes far afield than anyone else but I suppose that could make sense.
Edit: Not worth commenting on this when I'm already getting accused of bad things. Sorry folks, but apparently wanting companies like CF regulated is too controversial.
We will see how this will play out. Being part of the EU will trigger tax liabilities and for some it’ll mean getting a Schengen visa (which the EU recently made more difficult to get).
Edited to add as I can't reply: I know of multiple tradespeople that have moved from Zagreb, mostly to Germany and Austria. That's plumbers, house painters,
HVAC installers, ..

The difference in wages is large and unemployment in rich EU countries low - that's a potent combination.
Oxytocin, the wonder drug that doesn't do what people thought it did. I'm a bit surprised to not see a reference about that in the blog. Could be that it is from 2007.

From what I remember of those studies, the way oxytocin operates is that it increases reciprocate behavior towards people perceive as in-group, while at the same time lowering reciprocate behavior towards out-groups. There is some link there in connection with kin-selection.

A business that has a oxytocin-rich environment might not be the best place.
The Chinese Communists used capitalism to get their country filthy rich while the supposedly "capitalist" west turned into a bunch of socialist dictatorships with high taxes and regulations.

Nothing surprising, if not the fact the western citizens allowed it to happen without revolting. Most likely they were glued to their phones while it happened.
Andrej is learning Rust. I’ve been holding out. Sounds like it’s almost time…
>4. Why do you change jobs so often (so rarely)?

Am I wrong to think this seems at least somewhat reasonable? Like obviously it's annoying to explain yourself, but it takes time to on-board someone and for them to become productive and it seems reasonable to want someone to stay on long enough for that at least. This naturally applies less to those super engineers you barely need to train and have obvious experienced, but that's probably not the normal case.
Oh, right! I should actually just delete the display of the local time zone... done!
Lessons Learned Shipping 12 Small Indie Games in a Year
When I was younger I worked at a local supermarket and later at a sports store - turns out customers at the sports store were almost exclusively nice.

Not a huge sample size as I only worked at the one store but from talking to others seems like the number of degenerates is waaaay lower when people play sports
Your link is broken. Are you able to provide another one?
Haha all good. I've had my fair share of comments that whooshed over me. Thanks for the great post and Happy New Year!
When Britain went Gregorian, with the results shown by cal, there were riots where people chanted “Give us back our 11 days!”. The rioters believed that everyone was fated to die on a given calendar date, and thus everybody's life had been shortened.

Actually, cal is showing a rather astonishing thing: the first 2 days of September were on the Julian calendar, the remaining 17 on the Gregorian calendar. Either a pure Julian or a pure Gregorian calendar would have shown all 30 days. However, cal's result is the most useful, as it tells us the dating system that was actually used.
Oh definitely, but doing that (bruteforcing using only whitespace) for all 160 bits of sha-1 is way beyond our capability.
I agree 100%. Ionic's default UI is aweful; it makes me so sad.
Stock Android allows viewing Wi-Fi passwords these days
https://en.wikipedia.org/wiki/Thread_(computing)

https://en.wikipedia.org/wiki/Protothread

https://en.wikipedia.org/wiki/Fiber_(computer_science)

https://en.wikipedia.org/wiki/Virtual_threads

https://en.wikipedia.org/wiki/Green_thread
Glad it helps you!
it's a very basic feature for modern RSS readers to detect this and fetch the full article. it's a shame that so many RSS programs treat their inputs as good enough for users.

i'll generalize my japanese reading assistant software for general RSS use soon as a result of pervasive quality problems like this. not to mention abhorrent disrespect for user privacy in most cloud software.
Merry Sky looks great. You've really captured that nice line between detail and 'at-a-glance' that made Dark Sky a pleasure to use. Thanks!

On my Desktop, I use accuweather and occasionally https://www.timeanddate.com/weather/ - among so many others. None really gave me a UI that I felt comfortable using. Always clicking to get additional data or overloaded with non-vital information.

On Android - after the Dark Sky fiasco - I settled on Yr[0] eventually.

Merry Sky looks poised to replace my Desktop weather links already (I use my own local custom home page). On Android, the (home icon) link leads to a really nice looking "Android App". Yr will be harder to replace but Merry Sky has already found a home here (just need time to verify its accuracy).

[0] https://play.google.com/store/apps/details?id=no.nrk.yr&gl=U...
I've done it. Once you're setup, it really does work quite out of the box. What you do have to be mindful of is clear separation of concerns when designing platform specific components - you have to think in terms of Button.native.ts and Button.web.ts when you're doing things like haptic feedback or animations.

The only thing that's really a pain is that react dev tools has a harder time dealing with RNW components, and debugging in general can be a bit of a pain.
T_T that's the nicest thing anyone's ever said to me
Silly me; I thought they were still a thing. I did some quick searches and found out they dissolved in 2013.
How will these companies be able to sell services to the Western EU if all the skilled workers moved West? Are they as capitalized as their Western counterparts?
Yeah, they generally produce really wonderful and intelligent content (and lots of it!). For an ole DC hand like me, it's perfect.

Interested in your work -- legal tech? -- I have so many things I would love to work on in that space!
I really enjoyed Elizabeth Kostova's "The Historian", which quietly mixes real historical sources about Vlad III with invented vampire lore to create a lovely, creepy travelogue of a novel.
looking forward to seeing & hearing more about Xilem. i didnt have much time to re-scopenit out but yhe hope here that others take-up the torch & advance this makes me very interested to see what roadmap/plans there are that can be followed.
I did read. It has outdated information. Appeal to authority? Any real argument behind that? You comment about black teenagers is not a cogent argument.

Walking is not a crime. Show me otherwise.

The one that's more reasonable to believe is the one where kids have their noses in phones and aren't independent enough to go out on their own.

"Fairly rural neighborhood" and "rural town". Rural, but in the context of a neighborhood or a town. There are varying levels of development, and the larger surrounding area can add context.

It sounds like you're trolling if you can't make a good argument and are simply attacking me. Bye
> Don’t make people cheat you.

Solid general piece of advice there. If the best answer is a lie, it’s not a good question.
I'm in a layer that just gathers chargeback signals and passes them off to other teams. I have effectively no insight to how the signals are used for your payment profile and your Google account overall. I mainly just pay attention to people issuing their chargeback against Google, and then posting about it on the internet and the fallout they see.

Also, if you see charges from Google on one of your cards but wasn't on your profile, I recommend following this guide: https://support.google.com/googleplay/answer/2851610?hl=en
Ok, what are the best questions?
Is branch prediction even a good idea? I remember it blowing my mind when I learned about the existence of this stuff from Spectre. Should CPUs even try to be this "clever"? It seems like something better left to the kernel.
Yup!

A tiny bit simplified, but we built the LHC to basically throw particles at eachother until they crack, just to see what falls out.
I love the fact that you use good old-fashioned pencil and paper to work out the details. Not enough of our students appreciate the value of such preparation.
>without any checks

Not necessarily true, any country can legitimately or not (there are some regulations on this practice, often breached) force them, for mere political shows of force too, here's one recent such example.

https://www.euronews.com/travel/2022/11/17/france-italy-bord...