skysight-inc/HackerNews huggingface dataset:
> The code is likely still compiled via -O3.

That doesn't matter. You have to specify the target platform as well.

Just take the naive code and specify -O3 in godbolt.org for example.

Assembly exerpt of the inner loop:

L5:
movss xmm0, DWORD PTR [rax]
mulss xmm0, DWORD PTR [rdx]
add rax, 4
add rdx, rdi
addss xmm1, xmm0
movss DWORD PTR [rcx], xmm1
cmp rsi, rax
jne .L5

No AVX in sight.

Now specify -mavx2 -mfma and compare the inner loop:

.L5:
vmovss xmm2, DWORD PTR [rax]
vfmadd231ss xmm0, xmm2, DWORD PTR [rdx]
add rax, 4
add rdx, rdi
vmovss DWORD PTR [rcx], xmm0
cmp rsi, rax
jne .L5

Case in point: without providing the compiler flags used for compilation, charts are misleading at best and outright wrong at worst.
They are committing genocide, run concentration camps and forced labour. They actively threat Taiwan. That's more than enough to justify avoiding them.
Goldfish can learn to navigate a robotic vehicle on land
I second that! MobX + React is a good way to scale your codebase, not just performance-wise, but understanding-wise as well!
> How could anyone design TA (i.e application whose whole point is security and hence it runs in the secure mode) and allow user to set IV in the API?

I mean... TLS did the same (in 1.2, it was fixed in 1.3). I co-authored a paper about it:
https://www.usenix.org/conference/woot16/workshop-program/pr...
Or where electricity got expensive enough that mining ROI is too long to be worth it. However, this is great news in my opinion.
Worse still, Huawei is actively participating in the Uyghur genocide.

Leaked documents link Huawei to China’s domestic spying in Xinjiang: https://www.theverge.com/2021/12/14/22834860/huawei-leaked-d...

Huawei patent mentions use of Uighur-spotting tech: https://www.bbc.com/news/technology-55634388
CSS animation look cool but do we have a way to debug css performance issues?
Last time when I had to fix this I found not tool so the solution was look at the CPU usage and remove the elements you think are problematic until CPU usage goes to 0%.

Is super easy for someone to screw things up and cause a 25% CPU usage and not notice it on his dev machine.

After this incident my rule is to always triple check in code reviews any animation that has "infinite" in it (though I am mostly a backend dev)
I wanted to build my own e-ink tablet as I prefer OSS. The issue that makes e-ink tablets not worth building?

The expensive displays that cost between $150-$300 for 7-8 inch screens, excluding shipping.
Yes, I would really love to put this on the Precurser device.
That's weird, the encirclement maneuver [1] on the eastern Ukraine seems to be going great for the Russians [2]. Can you do a massive sophisticated maneuver like that in a couple of days with bad and exclusively short-range communication?

[1] https://en.wikipedia.org/wiki/Encirclement

[2] https://dragon-first-1.livejournal.com/47526.html
Not a bad idea, but needs to be done under the guidance of a medical professional and he would need to get on some exercise regiment to get the full benefits of the supplementation.
Yeah, as I said - nothing of significance.
All the time? Hardmods have been a thing since the first consoles, all the way down to the latest Nintendo Switch.

Also, consoles are "protecting" not the user, but the manufacturer - which is exactly the point people are trying to make.
Be very careful forming opinion about Russia's army based on these videos. These videos are intended to help other Russian soldiers decide to surrender ("you'll be treated well" message) and that's about it.

They are ruthless and this war is going to be absolutely ruthless if it will not stop soon. Russians had no trouble bombing and shelling sieged cities, hospitals, and even UN convoys in Syria, and they'll do it in Ukraine, too. They're alredy using cluster munitions in the city streets, shit like butterfly mines, etc., and it's going to be a lot worse once they set up heavy artilery and complete the sieges.

This time they'll not be able to lie about it in the west all that easilly, judging by the reaction in my country. Xenophobia will be less of a hindrance to seeing things clearly, at least in some eastern european countries, compared to their Syrian involvement.

But I'm already starting to see the same justifications being used to bomb the cities, as was used in Syria.
Setting fires under people in the hopes that they rise against their government that would not have much trouble quashing such an uprising doesn't make much sense beyond fulfilling power fantasies some people get off on. Sanctions are really good at starving a populace, but not particularly good at achieving a change in power structure.
Maybe you can transition to ML-Ops : it's building stuff around Data Science pipeline, and it's better to understand why it needs to be built.
That's not what I want tho. I want a neat unique device with certain restrictions to curb my creativity. I'm the target audience.
Congrats on the progress you have made, and also for realising what your preferences are.

First: Finish your degree - a valuable and important signal to employers is that you finish things, not start and stop whenever you have a change in emotion. It's ok to feel discouraged sometimes, but it's never ok to quit what you're supposed to finish.

Second: Your data science experience is very valuable already, and so once you start learning SWE, you have a good mix of skills that many of your peers with only data science or SWE won't have.

Third: I still like Ruby on Rails for web app development, and there is still a ton of opportunities out there for employment on it. So think about learning that. To incorporate data science into web apps for production, there are a lot of options, and Rails will keep you productive with moving forward and learning more in that field.

Good luck, and congrats on your upcoming graduation!
I did something similar but used the @ as an A in my name
The rendering technology was replaced, but the Flash development environment never was. This is why there aren't thriving html5 game portals filled with innovative game mechanics from the next generation of junior technical developers. The bar is too high to get started now.

The death of Flash involves a misplaced belief by people unfamiliar with both technologies that HTML5 would supercede Flash in the near term. It's ten years later and it hasn't happened yet.

This misplaced belief was seized upon by a ruthless business leader who stood to benefit from restricting what the web could do (but could not do on his phones). Apple continues this trend today with progressive web apps.
Could you elaborate a bit please. I don't quite understand how tariffs on russian gas will help supply Europe. I assume you mean that it might reduce demand by raising the price for consumers. Which may be partially true, but most of the consumption of gas is hard to reduce... heating, cooking, electricital production.

Imo it wouldn't change the power dynamic or secure ressources for Europe. The suggestions in the article seem more appropriate.
I had the same problem: spending time trying to figure out why something didn’t paint. You also can’t use restructuring the way you might expect. It’s a cool library, though. I think you just need to keep a different set of nuances in mind when using it.
using scale AI to spread message to Russians and Belorussians to stop the war
like scale AI it would be amazing if one can send message to Russian soldiers/people about what is happening in Ukraine.
Thank you.

It wasn't my intent to compare incomparable hardness of time in Russia and Ukraine.

I didn't aim to campaign for Meduza support either. (Anyways thank you).

I wanted to show that blocking communication channels may do more harm than anticipated.
First bit of advice, you're so close to graduation make sure you stick with it and graduate - finishing your course shows that you can learn and that you see things through.

Once you've graduated don't let the fact that your work experience is Data Science based put you off for applying for SWE positions. I've worked with a lot of software engineers whose education is in a different field, so switching over is certainly possible.
The sidebar work for me with a long press. I would have know to try it if I didn’t read your comment, it isn’t very obvious or intuitive.
Looks great but I have trust issues. I would consider if it didn't have microphone (it has 4) and if it supported working offline.
How was, before this hell, the consensus of the people in Ukraine for a Finland like solution, ceading territory (Crimea), neutrality (non-Nato), but within the EU (won't ask about Minsk agreement, cause I know no one supported it)? I always found this to have been the best option for all sides.
Kids who are learning language love playing with language, and find things that don't make sense hilarious. That's why "Dad jokes" are what they are.
You haven’t met me but my laptop basically goes everywhere with me and has for the last dozen years. It also has cameras and mics I have to deal with. And with 5G coming to laptops and how to get those speeds the signals have to target your device, we will always be tracked as long as we touch cell networks... just as you can being on WiFi or having an IP address. I don't feel my phone is closer to me in any way.
I was referring to https://github.com/HazyResearch/blocking-tutorial/blob/maste... which upon closer inspection uses intrinsics in the inner loop, but to a much lesser degree and arguably specifying -mavx2 -mfma compiler options would yield comparable results...
JSX is a purely optional part of React. You can use it with just Javascript and no bundlers just fine.
Putin too in 2000, no?
Under specs it lists 2 speakers and 4 microphones.
There are plenty of ways of doing email right, but we've lost what we had in the early days, the ability to form concensus, and enact change, via RFCs.

Mostly because the big boys want control.
Of course, one should consider, there is for sure a bright future for an analyst with math and economics background from Russia in the west.

For the Company or another..
You think degree is important? I am trying to finish my PhD. But I don't want to stay in academia after I finish. Would my degree be helpful in getting any SWE jobs?
The only people who send me messages on email are recruiters. I'd honestly prefer if they'd just discord me so we could have synchronous communication instead of having to wait 24+ hours for a response.
I don't defend Russia here, I don't have stakes in this war. Just trying to point that it's not black and white, and history matters. There are many subltleties to discuss.

But yes, if you forget what happened from 1939 to 1943, you can look in horror how evil Soviet Union invades Germany. Or you, an example closer to you, you forget Pearl Harbor and look now USA invades Japan and kill innocent Japanese soldiers and civilians.

> Russia got what it wanted. A war.

I don't know if Russia wanted a war. But for the moment, just take a break and take a look who profits and who is a loser of this war.

The biggest loser is the people of Ukraine, followed by the people of Russia. The second-biggest loser is the EU. The winner is clearly the USA and its military and oil industry, followed by the China, which will profit from the trade with both sides.

Now, that we know who benefits from the war, let's think about again who really wanted the war.
Try Session [0]. Decentralized, no phone numbers and adding contacts is done by either sharing your ID or an QR-code. It works well but, at this time, only texting. Does have pretty apps for iOS/Android and most desktops OS's

[0]https://getsession.org/

EDIT grammar
This is not relevant to the actual context of the remark that was written. The mistake being corrected is the misreading of the word "parentheses", believing it to refer to `{` and `}`. Even in the UK, that conclusion is wrong. So the GP you refer to as "only correct in America" is simply "correct", period (full stop).
You mean CCP (Chinese Communist Party).

Edit: Turns out officially it is CPC. English abbreviation is CCP.
In Firefox, you can simply set a preference and scripts won't be able to disable copy/paste.

Go to about:config, and search for dom.event.clipboardevents.enabled and disable it.
Specifically, "You’re unable to view this Tweet because this account owner limits who can view their Tweets."
Deadgames and Alivegames
I could make a list, and we could argue about it, but also, is "invading a democracy" the only horrific crime that a state can undertake, that it's citizens are responsible for preventing?

The post I was replying to actually said "waging unprovoked war on another nation," it didn't say anything about democracies, you've changed the language already, we can keep restricting the language legalistically until we are confident it applies only to what we accuse our enemies of and never to anything we can ever admit our own country has done and continues to do.

It shocks me that people don't realize how full of war and misery the world is every day, and how much the US government is responsible for. That the Russian invasion of Ukraine is a shameful travesty of violence only makes it more shameful that people turn it into some jingoistic "our population is more moral than their population" thing, that instead of using it as an avenue to empathy with refugees and victims of violence everywhere, we use it as a cudgel to paint some other population of day to day people as especially evil, when we aren't any better at figuring out how to deal with our complicity, in fact this projection is a way of avoiding it. We have nothing to be held responsible for on behalf of our government while living comfortable lives as our government commits crimes that we don't know how to stop, it's only them, who deserve punishment for not being willing to sacrifice everything to do something about their government.

The real relevance of "democracy" is probably on the state committing the crimes. If the USA is more of a democracy than, say, Russia, than the USA's residents hypothetically have more power over it's governments actions, and should be held more responsible for them. (Although I can say I don't feel much power).
The solution I have is a wired-in, locked down raspberry pi where I have a separate email account, PGP key, etc. Phones are definitely a writeoff though, with the possible exception of the PinePhone. If memory serves, the 4g modem lacks direct memory access which improves security substantially.
In previous years, small companies did not see a reason to protect their data, and this is part of why security problems are becoming more common.
Collaborative Annotations When Building Computer Vision Models
Ohh i see. Yes, that makes sense. Thanks for taking the time to reply.
There is a lot of software out there. Were you intending on focusing on a specific domain?
The iPad probably moves a lot more units though due to more general appeal. There are economies of scale that e-ink devices don't currently benefit from.

Also if you try buy an e-ink screen as a part for a project you'll see a difference in price, which will no doubt be a factor too (though the difference you or I pay for a single unit might not be entire indicative of what is paid for bulk/regular orders by manufacturers).
If you meant Russia, there has to be consequences for its actions, so yes. Nobody wanted the war or to have to impose sanctions.

If you meant it as a praise, biggest nuclear power, after some point it doesn't matter anymore, both US and Russia can destroy the world by themselves. (also note that warheads on wikipedia doesn't track MIRVs, each of those can split off in space and target multiple cities on reentry)

In NATO there's also France/UK that can destroy Russia by themselves.
reduce area of focus

no need to know everything

for the things that matter [to you] read broadly and infer… hope for the best
Navalny is detested by Russians. He has successfully been painted as everything evil: hopelessly corrupt, western stooge, nazi. I don't have any idea how much of that is true, probably mostly fabricated or exaggerated, but Putin understanders will confirm my statement and that it is actually true for all of these things.
I checked them out and as far as I could tell, both are making displays based on E-ink's film. E-ink is also a major shareholder of Plastic Logic.

As I was saying, E-ink is the only game in town making the film. All the others are making displays based on it.
I agree completely with this SWEs who understand data are extremely valuable. It sounds like you have enough hobby experience combined with your current work to get a SWE position. But, like other commenters have mentioned finish your degree first! Having a degree, any degree will open more doors for you.
The sidebar example is my fault for forgetting to make the menu itself tab-accessible (ie focusing the sidebar will trigger the `:focus-within` selector rather than just focusing the links or hovering). I'll update the example so hopefully it should work.

As for the sticky example, I'm really not sure what's going on there. It certainly seems to be supported. https://caniuse.com/css-sticky
Security requirements are often at odds with good UE.
I loved products from Huawei and Xiaomi, but also can't justify buying their products since the Uyghur situation.
Highly likely, but remember those bans affect the government, not private citizens. You’re free to buy Huawei products.
Like Wordle for Quantum Computing
RIPE NCC executive board resolution on provision of critical services
Banning access by the country bombing your offices and employees seems rational. How is it "Mean girls" behavior?
I wish Pixel devices were easy to acquire in my country or I would have considered this. I was actually looking at it yesterday for my girlfriend's new phone.
The OS looks similar to Onyx Boox's.
Wouldn't be amazed if it a collab.
I've worked as software engineer for the past 16 years. My degree was completely orthogonal - physics - although I took some software courses on the side. Never stopped my progress.

Finish your studies, and then find an employer. Do a few online courses if you feel you need to brush up on your skills.

Your degree is most valuable by existing, not being in any specific field.

There are of course position that can be quite strict from qualifications point of view, but don't let that stop you. There are many, many others.
Different products appeal to different people. For me, the Playdate is far more interesting. You get the device and 24 games and get to support the development of something novel. All that for less than $200? To me, that seems like a very reasonable price.

Plus, the Playdate has great industrial design. The Odroid is downright ugly in comparison.
I commented on this a while back (before things got kinetic) regarding the puzzling framing [by Western leaders and media] of the late December treaty proposals (to US and NATO respectively) published in English by Kremlin. At the time, I assumed the media was directed to focus on Ukraine to allow so-called off-ramps to Putin (so he can save face). You can trivially find these treaties on the net if you search for them.

Today Lavrov again repeated the RF's demands for removal of US's nuclear weapons from Europe.

(And yes, I too believe we are not privy to what has transpired in the past few months, if not past year between the various powers. And there is no way short of collective madness in Russian leadership that this "operation" will be limited to Ukraine.)
Ukraine was effectively already at war with Russia since 2014, it just got paused without real resolution.
I have many happy memories of my Dad reading LOTR to me at about that age. Bedtime stories are awesome.

Now I read for my wife sometimes, before we fall asleep. Technical books are great.
Yes, I mostly work with Haskell. I'm the CTO at Supercede and our project is currently ~100,000 lines of Haskell code.

I think every developer ought to at least learn Elm. Being forced to think so lucidly about the types and effects of your systems is unreasonably effective, and I think it shapes the way you then write code in other languages.
This reminds me very much of a "hack" I performed in a workplace that used Outlook/Exchange as its primary email system. I simply sent an email (to a few, trusted people) with the "from" field set to the CEO's name/address.

In their inbox it looked completely legit. Outlook even put the CEO's avatar next to it and everything. They were genuinely shocked. Even after I explain that the "from" field is just like me writing "love from Mum" at the bottom of a letter I think they still couldn't believe it.

There is a problem with people assuming that all data they find is authoritative. People don't question whether they can trust data often enough. Another problem is when you make things look nice enough, they look trustworthy. This is a well known confidence trick, of course.

My PhD supervisor objected to me typesetting my work in LaTeX before it had been checked because he said once it's typeset it looks correct, but might still be complete rubbish.

Unfortunately this all boils down to web-of-trust, as usual. We've had the solution for decades now, but we've collectively agreed that it's more trouble than it's worth. So these kinds of problems will keep popping up again and again.
OK, that's fair.
It depends on how far out you are. Finishing what you start is always a "good" sign. That's what a lot of people look for.

With the OP, he's 4 months away from finishing his degree. In the grand scheme of life, that's a "blink of an eye". There is no point not to, and (I don't agree with this at all) people judge you differently if you have a degree vs. not.
Build your own e-ink display from scratch
I love how a page criticising web developers is unreadable on my phone because one centimeter of text is cut off on the right (:
I give it time. I'm not likely to be of any use against the war on Ukraine so I'm getting weekly updates for it

Same with Covid, Trump, etc prior. I don't personally need to know this stuff in realtime and I'd probably mentally unravel if I tried to keep up with it all
Freezing Russian-held croins on exchanges would mean anyone (this includes both the .001% and Putin as well as e.g. my classmates who just have their basic needs covered) could still use them (to hoard wealth or transact), they would just henceforth avoid any of participating exchanges like plague, no?
The issue is more about not understanding how React works and how to use hooks. The setInterval example is easily solved. No, you can't just half-assedly guess your way to a correct solution.

Also, composing asynchronous behavior with useEffect is also not a good idea. Don't abuse useEffect as an Event Handler (too much). Think about using Redux (+ thunks/saga) or something similar.
Chrome devtools have a Performance tab that's extremely useful for this, as well as other performance issues. It includes repaint information, CPU usage and more, and makes it relatively easy to find the culprit. That said, as a frontend developer I very much agree that CSS animations are a great footgun. A testament to this is running into laggy and slow animations on random webpages, oftentimes ones owned by big companies. Of course, they can be done well too, but not without great care.