skysight-inc/HackerNews huggingface dataset:
This is also mis-interpretation of micro-benchmark and illustrate pretty well that benchmarking this kind of thing is difficult.

If you analyze the ASM generated by the benchmark he proposed, you see something very different of what the godbolt "simple" compilation of micro-isolated function give you.

- Most call to "fill" are generally transparently replace by a "memset" call directly by the compiler in high level of optimization when done in a normal glibc/GCC linux configuration.

- It can even being removed entirely sometimes and this is also a problem ( https://www.usenix.org/system/files/conference/usenixsecurit... )

- This does not seem to occur on godbolt for ...reasons. https://godbolt.org/z/RGEXH8

- Enable vectorization + some compiler flags can in some case make the memset call replaced by a bunch of SIMD code depending of your compiler / compiler options and/or cpu.

- The intel compiler is (like usual) much more aggressive and replace everything by their home-made memset implementation https://godbolt.org/z/7RAYGc
Funny to read as we are probably procrastinating.
The big bang bullshit is falsified, read the papers collected there http://cosmology.info/
I have ADHD, so this is a constant struggle.

Make sure the thing you have to do is something you want to do. While you can procrastinate on the things you're truly interested in, ultimately you're more likely to follow through with the things that interest you than the other random tasks that require doing.

Writing that design doc, report, or review at work? Meh. I drag my feet until I'm the last person in the office and I have to finish.

That obscure side project that really interests me? Hell yeah. It's called hyper-focus, and those with ADHD know what it's like.

Check out my Github streak. I think I've got the world's fastest faster-than-realtime CPU-only neural TTS and Voice Conversion (VC) systems with multi-speaker embeddings outside of Google. And I wrote an entire data ingestion, cleanup, and curation engine to build massive data sets for training. A year ago I didn't even know what any of this stuff was, and now I can't pull myself away from it. Building is magnetic and addictive, but it's not the thing I need to do.

Sometimes you can pivot the energy you have from a desirable task into an undesirable one. I tell myself I can't work on the fun thing until I get the mundane one done. It's a hack that doesn't always work.

I want to structure my life around things I want to do to the exclusion of all else. I think I'm starting to get there. I've trimmed a lot of unnecessary things from my life.

My dream is to get rich enough doing desirable side hustles that I can pay people to take care of all the undesirable tasks. Delegation to achieve efficiency.

I can work like there is no tomorrow on random side projects. I just wish I could redirect all that focus and energy at will into the areas that need them.

I can't. So I have to become what interests me.
Maybe this works for potters but I don't think it'd work for developers. If a compSci lecturer suggested one group would get an A for writing a perfect, bug free app and the other group would get an A for writing 50,000 lines of code, I wouldn't expect the group writing as much code as they could to make the best app.
Ask HN: How do you manage your bookmarks?
Every time I saw something cool on the internet, I add it to my bookmarks.
Result: I have more than 5000 bookmarks on firefox.
I tried to add keywords and descriptions, but it takes me too much time to do that every time.

I also tried to use notion.so (an amazing tool !) to manage my bookmarks, but the plugin "Notion Web Clipper" does not allow to add tags when you save a link.

And you, how do you deal with your bookmarks?
Any good tips to keep interesting resources close to you?
I'm so sorry to respond so late; I would just like to point out "the cloud," and the fact that there have been very few hypervisor escapes. Just because there are more app-based Jailbreaks on iOS has little to do with what is technically possible given the hardware (recent Intel missteps notwithstanding).
A sense of impending doom is listed in first aid books as a potential sign of a heart attack.
A few EMP bursts can demolish the cloud, at least as we civilians know it.
You can look at the 138 people I follow: https://twitter.com/abdullahkhalids

I have a strict policy of only following people with a high signal to noise ratio (with a few exceptions). I follow only a few friends (and they don't tweet anyway). I unfollow anyone who tweets too much. I use the "don't show retweets" option for anyone who retweets random crap. I also use the "muted words" feature to get rid of political tweets. I myself only tweet things I would want to read 5 years from now.

If there was an easy way, I would write additional filters per person to mute their annoying pet peeves.

My nomination for highest signal to noise ratio is https://twitter.com/michael_nielsen
I doubt any disease will grant you more energy than what you've eaten nor conditions that substantially improve the bodies efficiency. It's important to remember that exercise alone won't burn off that many calories. It's diet that is primarily responsible for that
Hey Anders, there's vulnerability in your code. I've sent an email to you describing it.
My trick is between point 2 and 3. I try to find something, anything interesting in the subject I can play with. It can be really small or minor part of the project, but if it starts to interest me it just drags me to the whole work mindset.

I'm basically conning myself into liking the task :)
The income of the owning company comes to 85% from advertising. It is pretty save to say that they are an ad company.

It is also very likely that any data collected is used to reinforce and consolidate their main business.
What do you put into exploration?

Here in Northern Europe you're expected to do most of your traveling in your 20's, but we also have pretty decent vacations - so the solo / friend / backpacking type of traveling gets replaced with more family friendly stuff when you start getting kids.

I have lots of friends in their late 20's / early 30's that still travel the world, many times a year. But they don't have kids, and their travels (outside summer vacation) tend to be shorter, as in long-weekends etc.
I don't know why, but I love the fact that someone is selling filters strapped to fans on a reasonably glossy and well-made page.
This makes it sound like it's all been in vain. Negative results are just as much if not more progress than the end of resolving the cure
The ball motion formula is less than ideal. Can be much more precise, for very small extra performance cost: https://en.wikipedia.org/wiki/Leapfrog_integration#Algorithm
My grandmother had a small fall but she was frail, when she was discharged by the hospital she asked my uncle who she lived with if he would mind living alone, she passed away in her sleep that night.
Did someone measure that claim? There was a lot of progress in 20th century. Calling arms race a main driver is a pretty wild claim but seems to be repeated all the time by geopolitics and army experts. That doesn't make it true though.
Development of internet was by no means a single source event. That is case for most of technology also and main driving force for progress of internet was definitely market incentive.
The idea is to choose conferences like InfoQ where application type research is accepted. Like Build-X-using-TensorFlow, it doesn't have to align with standard research which requires formal education.

One also needs to be skeptical while reading such a PR post and not get swayed away by the hero's journey in it.
One of the benefit of using Ansible is that when something blows up in the middle, it can restart from there than do it all over again.

Also Ansible Tower (AWX for opensource version) can have user access control and keep a history of past execution whether they succeeded or not.

And there are bunch of community written recipes for many tasks.

While writing everything in yaml may or may not make you feel good but at least it's more readable than a complicated bash script.
Climate Finder
What are the alternatives to hiring a DevOps engineer?
>Linux makes backward compatibility an utmost paradigm. I'm sure a 2.4 era binary will still work on 5.4, nearly 15 years later.

Why then is it that i'm locked to the kernel versions required by the binary blobs from proprietary vendors in the embedded space? Be it smartphones, home/SOHO routers, and so on.

Are they doing it wrong? Am I?

My ISP provided CPE runs Kernel 2.6.32.61 right now. Not to mention the crap uncounted Android devices (not mine, in the world out there) are running.
文言文編程語言。A programming language for the ancient Chinese
> Not a lot of goods move by air, but people do.

This simply isn't true. More people use the NYC metro in one day than people fly in the entire US over an entire year. Comparatively speaking, hardly anyone flies compared to using trains, buses, cars and every other major form of transportation.

> A lot of the world depends on tourism.

No. The world depends on oil, gas, etc. The world depends on transportation of goods. The world depends on manufacturing and production. The world doesn't depend on flights.

> I also use a lot of energy. I pay extra to make sure that energy all comes from carbon neutral sources. That makes a much bigger difference to climate change than using a plane.

No. It makes no difference. Other than allowed privileged people to pat themselves on the back.

I agree with you that flights make up a tiny fraction of overall emissions. But you are completely wrong about the impact of flying on the world economy. Ending flights won't bring the "world economy to a grinding halt." Just like ending flights would have neglible effects on overall emissions, it'll have neglible effects on the world economy. But use whatever rationalization to fly if it helps you sleep at night.
In this hypothetical scenario, instead of counting final lines of code, maybe we should count lines of affected code: take each commit and count how many lines were added, modified or deleted.

That matches "the quantity trumps quality" idea above more closely in our industry.
Process_madvise(), pidfd capabilities, and the revenge of the PIDs
Sounds like a good idea, what app did you use?
I don't know where you got that from because it bears no relation whatsoever to what I was saying.

The point is you can't just take the MCAS out of a MAX and retrain pilots - it's a vital fix for handling characteristics that were unsafe to fly, full stop. Without the MCAS, it - quite rightly - wouldn't have been allowed to carry passengers at all. It's an important distinction with wide implications.

(However, it does strike me that an MCAS-like device, an automated trim to paper over the inability of the airframe to fly stably under all flight regimes, is a fundamentally unsafe device and should never have been allowed in the first place, let alone with such a poor sensor suite. The MAX is an irredeemably unsafe plane, a result of bolting new engines on an ancient airframe that was not designed for them, and the resultant pile of hacks.)
> Invoking Hitler, aka Godwin's Law [1], is a strong indicator that you're no longer listening to counterarguments.

Sigh, surely you realize that in this context, both Hitler and his equal, Churchill are relevant.
they probably work around a small area where they are placed, but particulates outside of that will be unaffected and ultimately fall to the ground ready to be disturbed and recirculated as dust. I'm under the impression that for something like this to work, you would need to feel the air current at every point in the room, like a light breeze
Group B would be assigned to write 50 apps in this case. In your example 50000 LOC would be like making a really giant pot.
> It is a very bad blog post.
[...]
> It would have been much more productive to describe why std::fill with '0' is slower than with '\0' ( integer vs char )

Lemire actually links to BeOnRope post that fully explains the reason. He probably felt that repeating the explanation didn't add anything.
I see stark difference of say current generation and 2 generations ago. We are much more emotionally sensitive (for better or worse), I can see that even generation of our parents is much less used to express their emotions, and are kind of 'hardened' emotionally. But then again they endured WW2, direct fighting of germans vs russians and 40+ years of harsh communism. Life wasn't worth as much as it is now.

This change brought tons of empathy in our culture that led to equality for women, LBGT, minorities and so on, but it also makes us weaker when facing proper pain, be it physical or psychical.

My grandma lost a boy, first baby, after few weeks when it got diarrhea and doctors couldn't save it even with antibiotics of that day. She 'moved on' and had 2 healthy babies afterwards, my father included. Around Halloween we have the tradition of visiting graves of our close ones, and I can see that bond is still strong when we visit his grave. She is a happy cheerful person, no dark shadow of this ever visible.

As a young father a month-old baby, the very idea that something like that would happen to him makes me shiver, I don't think I could handle it. Today I saw an article on BBC about British NHS mistreatments, and there was a picture of a cute newborn boy that died after 6 days due to viral infection that got to his heart. I feel no shame as a man to admit I cried quite a bit after seeing that cute face that didn't get a chance for proper life.

Complicated topic...
When my brain is running idle, my hands autonomously type "Hacker News" in the address bar of my browser.
>Those subjects require a different sort of motivation than a motivation

Is that really the case? Apart from the obvious "maybe that's what they're intrinsically interested in" - if you start with a problem, try to solve it, and "pure mathematics" (whatever exactly that is supposed to be, anyway) is required to arrive at a solution, it becomes part of the intrinsic motivation. And if you keep solving problems without it the question that eventually comes up is "is it really useful at that point?"

I do however agree that if you're looking at someone who's qualification is primarily his "portfolio", you do actually need to check whether it includes interesting problems, or at least projects that are related to what you need them to do at your company. But if that is the case, I really don't see a problem.
A mine could be a lot easier to avoid in the long term.
> I guess it’s enough that I’m surprised that there’s no hardware support for the memory system to support a way to handle it by itself on command, without taking up bus bandwidth or CPU cycles. Kind of like old-fashioned REP STOS but handled off-chip, as it were.

Most ISAs provide a "zero this cache line" instruction: https://en.wikipedia.org/wiki/Cache_control_instruction#Data...

I remember using `dcbz` (Data Cache Block Set to Zero) on PowerPC to quickly zero-out big chunks of memory.
Thing is, you still need to zero out any cache line that might be caching those lines, which would conflict with the CPU accessing the cache. Might as well just let the cpu doing the zeroing.
The only reason it gives you the illusion of beeing richer then our previous generations is, that you can now buy tons of cheap Chinese shit for which your grandparents had to buy very expensive western utilities (the stuff that still works).

Otherwise, we are, on average, poorer then our parents. Our kids, if you are still consider having them, will be poorer then you.

A necessary result from capitalism with fiat money. However, if your wealth exceeds a certain threshold, currently something around 1.5-2 million €, you will benefit from this system and earn more all the time.
I don't find it now, but I've read that anecdote is made up. And I don't think it make sense. Except for when you are an absolute beginner, you won't improve if you don't put in any effort in the quality of your work. See deliberate practice etc..
Indeed interesting. Someone told me long time ago: if you dont provide structure at the job, people will find a shared method of working but it will be culture then (harder to change, mostly implicit).

This stayed with me. I think I recently read a similar statement again in some text.
Agreed, but I meant "properly implemented E2EE".
I think it could potentially work!

Consider someone with little to no experience with programming trying to build a single app and planning it out and refactoring and refining it continuously, compared to constantly creating and archiving multiple toy prototypes of the same app and then considering the best among those.

(The app's size and complexity should be commensurate to a single clay pot in a ceramics course.)

It requires the students to actually try to make something of quality, sure, but only to the same degree that the students in the original (apocryphal) story did- after all, those students could easily have shown up with a pile of baked misshapen clay instead of proper pots.
Didn't Microsoft migrate active directory into Azure so every enterprise client is on Azure?
Not as far out as the memory system, but Arm provides 'DC ZVA' (https://developer.arm.com/docs/ddi0595/b/aarch64-system-inst...) which clears a full cache line to zero at once, which is more efficient than a pile of explicit stores. (You'll see from the description that it correctly handles the case of a watchpoint being set on the memory to be cleared, or an attempt to clear non-writeable memory -- getting those cases right would I think be a lot harder to do outside the CPU.)
This would be analogous to

creating 1 pot using 10 tons of clay = writing 50,000 lines of code for 1 project

vs

writing lots of different projects = creating lots of different pots.
Congrats! Nice website! Wondering - are people actually using the chat to get in touch?
Real work is (comparably) cheap. With F35 budget well over a trillion dollars this is 2-3 orders of magnitude larger than needed to fund maximum number of projects Skunk works can sustain, at max manpower. It is bureaucratic waste with minimum productive output. My 2c.
That why most water filter systems have "stages", every stage "covers" for the next.
Is that how languages that always give you zeroed arrays (e.g., java) do it?
At least it's on board.

ODIN being in the cloud is nothing new - a big pain point with ALIS is the fact that it's cloud based.
More Good Programming Quotes, Part 4
I'd like to share this post[0]:

The last two weeks I made it a goal to run 5km every morning. A few times, particularly today, I felt lazy and run down, but I got out of bed anyway and told myself that I'll at least walk. The next thing I know I'm running and feeling amazing and on to set one of my better times.

The point: When you tell yourself "just one more game" or "just one more post", or "just one more video" and end up doing 3-5 hours more, do that with your other tasks too! "just one line of code", "just one tutorial", "just one rep", "just one line of reading/writing".

We all have this amazing mental tool that we've been honing for years, the tool of self deception. Time to use it for good and not evil.

Copied from:
[0] - https://www.reddit.com/r/productivity/comments/cdir3g/trick_...
Puff piece. Check out Internal Time by Till Roenneberg. You can't "choose" when to go to sleep or wake up. It's in your genes.
Pcap_cpp: A header-file-only modern C++ encapsulation of libpcap
Strange to see so many comments praising the way this guy died. Do people really want to die suddenly in front of strangers without any time to prepare and get your house in order?

So many here say that's the way they want to go, but that's hard to believe. Personally, I'd rather be given a few months or years notice so that I can prepare.
As long as it's BSD license, it won't die due to many manufacturers depending on an OS where it doesn't have to opensource their additions.
Same issue as you. So I don't care anymore.

I have 10/15 bookmarks in the top toolbar that are releant to my work. All the rest goes into limbo, and I don't even bookmark much anymore.

When needed, I write notes (wiki, or paper) with links contextualized by topic/need.

The problem with bookmarks is those 3 together (that are required for bookmarks to be of any usefulness - to me anyway):

1) it's easy to create one, there should be more friction;

2) it's hard to have a long-term storage/indexing system (Delicious & equivalents were a good direction);

3) it requires a custom setup for bookmark search to be integrated.

Also, in the mid-term, most URLs are broken.

A paper notebook, on the other hand:

1) requires a conscious effort to note something done (and to have around also);

2) is relatively a secure & long term storage; it's discoverable;

3) the effort marks a memory inprint that helps indexing in long term memory, just for the "I remember I noted that down somewhere when I was in...".

My offline bookmarks/notes/snippets/activities feel way more productive and fulfilling than the computer-based ones in the long-term.
One thing that really has helped me with e.g. writing an email that I dread writing is to just write a draft that I don't plan to do anything else with than use as a starting point when I write the real email that I won't write until tomorrow. Often the draft is good enough to send after only small edits. Or the writing of the draft have helped me to clarify my thoughts enough, combined with a night of processing, that writing the real mail the next day becomes relativly easy.
There’s exactly the same anecdote in the popular book “Atomic Habits” but instead of pottery, it’s a photography class.
The basics I learnt with GTD have proven to be very useful for me in multiple occasions:

* be clear about what you are doing, ie. what is the desired outcome/end goal (especially important when delegating or receiving a delegated task)

* be very specific about the next(physical) action - break it down as much as you need, just to get started

There can be some unconscious emotional reasons for procrastination, but that's another matter :)
I would suggest worrying much more about PM2.5 and getting a filter that does trap those particles. Many health problems are caused specifically by small particulate matter.
Ever-growing cars: why they keep on getting wider
I highly doubt this. A company of that size with separate P&L division (ex. GCP), operate like collection of mini companies.

Executive of one 'mini company' is free to take their own decision which is good for their division and their OKR.
I wonder what he did think he was adding?
I mean that they have been moving away into more macOS specific code.

The POSIX network stack for example, is now deprecated, and one must use Network.framework for the more up to date features,

"Introducing Network.framework: A modern alternative to Sockets"

https://developer.apple.com/videos/play/wwdc2018/715/

"Optimizing Your App for Today’s Internet"

https://developer.apple.com/videos/play/wwdc2018/714/

Likewise the long term roadmap introduced in Catalina plans to turn macOS into a micro-kernel, by moving all kernel extensions into userspace drivers.
I decided to buy one when the smoke from the Sydney bushfires blanketed my town.

In my bedroom I could see and taste the smoke. The air purifier struggled, but it cleared the air around my computer quite well. I have dividing curtains in my room that I was able to close, which made it easier on the purifier.

All in all I think it was definitely worth the buy. FWIW I picked up a secondhand Kogan SmarterHome air purifier for AUD$60.
To what extent is that "happens 1 in 50" and to what extent is it "happens 1 in 5 but only 10% of people are vocal about it"?