skysight-inc/HackerNews huggingface dataset:
Instagram’s search screen is the worst for this

You start typing and at first it shows you best matched accounts - things you recently visited or you follow - and then it loads in search suggestions on top of them, pushing the whole layout down

when in reality you already saw the thing you were going to click on and now you misclicked on one of the suggestions
Ah... so it's the challenge, and not whether anyone will ever use it.

In the same vein, there's an old DOS assembler trick from the late 80's through the mid 90's - remap INT 20h (which was a 1-byte opcode to exit the currently running program), to INT 21h (a 2-byte instruction for DOS, which includes a clean exit for the program as a built-in function). This could break how programs exit cleanly, but probably never did. In a substantial program, it saved a lot of bytes in DOS calls.

It was mostly used competitively, but it was a pretty stable code size hack.
An aside to those curious, linking to jwz's blog from HN is not liked by him, and the website, if it detects a direct visitor HN redirects to a vulgar NSFW image. This apparently is a work around.
This is something that I never could have imagined AI making possible. Sadly I never kept a diary but I'd love to be able dialog with that young cocky Detroit boy whose possibilities seemed endless.
Well I would say UTF-8 is a clever hack, by exploiting bit patterns rather than really having proper "code planes" to encode characters one by one. The inherent problem of UTF-8 is of course having wasted spaces and requires the processor to have fast bit masking operation (well although it is virtually solved in the 90s), but the advantanges of UTF-8 outweights the bad side
I want to like Nix so badly but I just can’t get past the thought that it’s complete overkill.

By the time you get comfortable with the syntax and tooling, you could’ve just crafted use-case specific shell scripts to compile/configure everything from source…
The one that aggravated me the most was https://cloud.google.com/

The "Console" button on the top right shifts just at the right point in time for me to see it but miss clicking it.

I trained myself to start typing con to autocomplete console.cloud.google.com instead.
you can bisect with commands other than make
I mentioned this as an afterthought in a nested comment, but it bears repeating.

The real problem here is not the bug in the memcmp() call, it's that you should not use a memory compare to compare two structs in a test at all.

If the structs have any padding, you are invoking undefined behavior if the padding is not initialized.

And as we've seen, memcmp() opens the door to all kinds of errors.

Don't rely on a compiler to catch this for you. Instead write the code correctly in the first place.

The author's struct has x, y, and z fields, and the right way to compare these structs is to explicitly compare these three fields.

For example, based on the author's code (using a typedef for the struct, and naming it xyz instead of tmp):

typedef int bool;

typedef struct {
int x, y, z;
} xyz;

bool xyz_equal( xyz one, xyz two ) {
return(
one.x == two.x &&
one.y == two.y &&
one.z == two.z
);
}

Now you can use xyz_equal() in your test code and it won't have any of the problems that the misuse of memcmp() caused.
I heard that the government decided to limit imports of children’s Tylenol, to better support domestic manufacturing initiatives. There were some delays in bringing production up? If I understand this article right, the government has just announced it’s allowing imports again to help with this shortage.

So I think what they mean by blaming government officials was that maybe their plan to limit imports was too aggressive?
Hailing a taxi with no one behind the wheel
Colima is all you need now, it's basically a drop in replacement for docker desktop. There are actually very few container runtime engines (containerd and runc are the big ones) and all the tools you read about just wrap that lower level container runtime. They're all the same when you get down to it and just have different opinions about config, networking and storage.
Open-Source: SwiftUI library for a customizable media picker
Caffeine is way more soluble in water than most of the other stuff, so you get most of the caffeine out of the coffee when you brew it the first time, the second cup will be much less potent
I don't mean to sound flippant, but that sounds like you're using a computer for business that can't handle the work you are trying to do. If 32/64GB isn't enough memory then yeah, I guess you need something else, but if your machine has less than that then it sounds like you need to buy the right computer for the job.

Also, are you using AMD or ARM images for those?
<<Anyway, the idea that the beneficial effects of vegetables are due to plant defenses isn't an unusual idea

The beneficial effects of plant-based diets (according to Sinclair, podcasts) is due to lower activation of mTor by plant protein vs. animal protein (also apart
from various beneficial plant fibers, flavonols and polyphenols). Animal protein activates mTor most highly, and it is the inhibition of mTor (after main development) that correlates most robustly with healthspan.
it's a thin wrapper around qemu, for those interested
The segmentation happens during importing assets into the editor. 50% of the talk on Nanite is concerned with their new compression system for geometry, which enables seemless segmentation of meshes due to some clever graph theory trickery.
maybe you should tell that to the tibetans, uyghurs, taiwanese, etc.
Does it still have rotational symmetry if the elecron has n>1? Doesn't this lead to wavefunction shapes that aren't spherically symmetric? Thank you. (I'm coincidentally running into this conundrum while trying to build a chemistry visualizer. Have only attempted for n=1 with the potential being a single proton.)

What about an electron in more complicated potentials, like the ones you'd see in real life vice textbook examples?
I wonder if stable diffusion / dall-e type offerings could procedurally generate images?
Artemis I – Day 12: Orion Star Trackers, Reaction Control Thrusters Tested
Powell raised rates and said he was going to bring pain to households, layoffs ensue, but they have no bearing on the actual world.

Ok, I’m done here.
For comparison, a gallon of propane is equivalent to 27Kwh[0] so that 20 lb cylinder contains about 124 Kwh equivalent. Now that's not something I'd keep inside the house but it's not too far away.

[0] https://www.blossmangas.com/knowing-the-numbers-propane-vs-e....
> an implicit understanding of what obesity is not: a personal failing

Isn't questioning implicit assumptions a really important thing to do when you can't figure something out?

> a prevailing societal view of obesity, which assumes people have full control over their body size

Unless you eat while sleepwalking or something, you do have full control over how much you eat, and I don't think anyone who only eats 2000kcal/day ends up weighing 300lbs.

> As long as we treat obesity as a personal responsibility issue, its prevalence is unlikely to decline.

That's true for now, since we're heading towards a culture that eschews personal responsibility.

> A recent Times of London column argued that fat shaming is a real solution to obesity, just as Bill Maher ranted earlier that the body positivity movement — a “joyful celebration of gluttony,” he said — harms people by condoning weight gain. Quite the contrary: Researchers have repeatedly found fat shaming promotes weight gain and harms.

Consider moving a point along y=x^2, starting at the origin. Increasing x increases y. Does this mean doing the opposite must decrease y? Of course not.
48,500-year-old virus has been revived from Siberian permafrost
"Linux is not Unix" is useless pedantry, but sure, Solaris SMF did it earlier than systemd, both dependency based boot and parallel boot.
Apple released update limiting AirDrop in China in light of recent protests
The base stops are ISO 100, 200, 400, etc.

Many cameras let you set the ISO in 1/3 stop increments, but if I recall correctly, many camera manufacturers just keep the sensitivity at the base stops and adjust the brightness via software.

So shooting at ISO 250 really means ISO 200 (underexposing what you requested) but then adding a third stop equivalent of brightening to the digital file. Conversely, using ISO 160 actually means the camera is using ISO 200 (overexposing) and lowering the brightness in software.

What this means, at least 10 years ago when I was more in tune with the photography world, is that people would prefer to shoot at the [base ISO stop - 1/3] levels to because those were the levels with the least noise near that exposure setting. The cost is you risk saturating more pixels in the highlights.

And for the same reasoning, the ISO setting s 1/3 over the base stops were typically avoided as they were noisier, albeit with slightly more dynamic range.
Thank you, I am more interested about the latter (implementation of his techniques at industrial setting). Will check that soon.
Yeah I actually found 100 tea bag packs of black tea at the dollar store of all places--not bad for $1.25! The bags are super cheap and junky but it doesn't matter, the tea brews up just fine. Loose leaf stuff is great for afternoon or when I want tea as more of a treat.
Yeah, this doesn’t pass the smell test. I love cheeseburgers and would be borderline sick after two double quarter pounders.
Anybody have the English translation?
Most of the linters I'm aware of do the opposite. You could probably create rules for one that require the condition of an if statement to always contain a comparison, but it's worth remembering that the comparison operators themselves return 0 and 1.
The consensus algorithms used by cryptocurrency fit into group C.

Smart contracts are programmable incentive mechanisms. I am hoping we figure out how to use them to coordinate productively, rather than for financial schemes.
not at all what i was trying to investigate, but thanks
Except in the next sentence he says that he doesn't really use a gorilla (and that's the bit that's obviously a joke). But he doesn't say he doesn't use 10 wraps.
Good points. But that doesn't mean China won't copy this. Because the model for global power has always been ruthless force. One empire after another.
Unfortunately, language inserted into the NDAA changed that in 2012.

https://www.buzzfeednews.com/article/mhastings/congressmen-s...

>The new law would give sweeping powers to the government to push television, radio, newspaper, and social media onto the U.S. public. “It removes the protection for Americans,” says a Pentagon official who is concerned about the law. “It removes oversight from the people who want to put out this information. There are no checks and balances. No one knows if the information is accurate, partially accurate, or entirely false.”
Never underestimate the placebo effect
Fake article. When you delete items from Gmail, it puts it into Trash. You can easily undelete things from there. I know because I do this all the time. I'm at 97% capacity and constantly deleting large swathes of emails regularly to keep under the limit.
What paper of the paper is relevant to the claim that there were "publically announced job openings at a US Airforce base for _1000_ people" to "maintain and operate multiple online accounts and personas"?

> Due to the horrible state of search engines now I can't find the originals

Or it's hard to find because there is no original?
Easier to visualize if you just plot it.

Start with total mass is 100 kg, and 99 kg water, and 1 kg dry.
Let x be the kg of water removed. Then the ratio of water to total mass is

(99 - x)/(100 - x)
Plot: https://imgur.com/a/oDaKLVo

It's intuitive that until x becomes pretty large, there is negligible effect on the ratio.
Ziproxy: Non-caching HTTP proxy, optimizes images and minifys JavaScript/CSS
As someone who used to administer solaris, sunos, hpux, and aix boxes, i can almost guarantee that the first thing they'd say is "What the fuck is up with this systemd shit?" Because i say that all the time.
* US: 39 accounts
* China: 81 accounts
* Russia: 1,633 accounts

Either Russia invests orders of magnitude more in these coordinated inauthentic behavior campaigns, or they are just that much worse at flying under the radar.
> Google has tons of information on you

Do you have any good sources about this? what do we know for sure Google know and track about us? I work for Google now, but speak for myself here. In my time here (not much, less than a year still) I've seen a huge focus on privacy and not storing user data. Then again, I don't work on ads. However, even before working at Google I was surprised that given my liberal sharing of information on the internet, ad targeting did not seem particularly more informed for me than "middle aged male living in Canada" ¯\_(ツ)_/¯.
What exactly do you imagine as “doing better”, here?
I can understand not wanting the traffic, but it sounds like he has something personal against the HN userbase. Do you know what that is?
I joined a group called Portfolio of Small Bets by Daniel Vassallo. It’s an online community in Discord full of people doing all kinds of projects. The majority are devs. There are channels for marketing, lifestyle, meetups, small wins. The premise is to design work to fit your life

I’ve met many interesting creators there. Some build software, many create info products and courses, and some make and sell physical products. The community is full of top tier creators so great to learn insider tips
all youtube channels can be added as RSS feeds natively.
It doesn't really matter if there are 'bad intentions', there are plenty of people still using it today as religious symbol.

At the end of the day people are free to believe whatever they want from people using a symbol, but it will only betray their own ignorance in its history and still active use in the non-western world. The idea that a symbol still currently used by probably billions shouldn't be used because of connections only westerners make is peak eurocentrism/UScentrism.
HTML email templates made for Apps and Developers
Everything you need to build beautifully crafted responsive HTML emails for your next start-up project, built with MJML support :)
>no adblock blocks in-content ads

Ever heard of SponsorBlock?
Similarly, my car (Subaru) won't let me turn off the radio for 10 seconds when I start it because it needs to display some ridiculous warning.
Ask HN: If you could move anywhere in the USA, what would be your top criterias?
What about printing some very tight (a week or two away) expiration dates on the boxes? Ethical issues of wasting medicine aside, might that prevent people from stockpiling or being more free with donating to neighbours with sick kids?
Or russians used more accounts per campaign. Or facebook puts more effort into finding russian campaigns. Or russian campaigns are inherently easier to identify, or trying to achieve more difficult goals.
If the content itself includes paid promotion then (a) it’s not individualized, and (b) the platform you view it on (YouTube, FreeTube, Blu-ray, or VHS) doesn’t matter…
…so I don’t think paid promotions from the content creators themselves are relevant to the discussion? Your only option is manually skipping the promotional content which is usually really trivial to do.

I have YouTube Premium and don’t see any ads by Google/YouTube. I’m not a heavy YouTube viewer though so it’s possible I’m missing something.

Edit: just discovered sponsorblock and wooow am I impressed at the lengths some folks will go to skip ads. TIL
the biggest problem with JS's is extremely incidental, but a total mess in practice. If you type from left to right it's impossible for auto-complete to help you with member names (since it can't know what module you're looking for!)
Consider the Hummingbird
The transparency is much appreciated.
I hope other social media companies follow suit. As someone who tries to stay off social media as much as possible, I find those login walls really annoying.

On the flip side, they help keep me more fully off of those sites..
I've been second brewing plunger coffee for a while now and it's well worth the effort if you don't mind the diminishing potentency and flavour.

For me the diminishing potency is perfect as I don't want full strength coffee after 9 or 10 am so it's 0erfect and it saves me a bunch of coin.
Not on any reasonable time horizon, no.
Trees give us life. These fake ones give us TikTok on our cellphones
Highly probable, we have a bit of history with the neighbors a few doors down and would not surprise me one bit if they were snooping around the outside of my house for absolutely no good reason and got the random urge to nosefuck my bushes. They're certifiable and have nothing better to do all day.
I think there is a fundamental difference between creative work like apparel, programming or animation and basic necessities or basic materials like mining, farming, dying, etc.

To continue with the fabric industry. The automatic removed jobs in weaving fabric, but it made fabric cheaper and created many times those jobs in sewing this fabric.
The tools you have as an "industry" software engineer will be incredibly useful for helping scale research.

However modern software engineering practices from industry have not all percolated into the research world, so it may be an uphill battle to get support for resources to improve infrastructure. In some cases, it may be counter-productive to implement those practices "half-way", especially if you're a one-man infrastructure team.

Iteration speed, flexibility and ease of experimentation is paramount in the research world, so pitch the work in the context of these goals.
Yeah, that's fair, but it's low risk if done properly, whereas a lot of the electrical work homeowners get up to introduces risk even if executed as intended :)
interesting. thanks for sharing! the article unfortunately doesn't delve into the mechanics beyond claiming an increase in glucose from more liver fat.

why would more liver fat increase glucose production? if anything, i would expect a negative correlation.

what hypotheses do you think are persuasive?
Aperture Size, Shutter Speed and ISO. Just understand what they are. And their units.

Actually see pictures varying one and keeping others constant to get a hang of things.

Then go backwards, check professional pictures and guess the values. Professional photography forums all photos have these values published
.

Night/Day photography, moving/still and background focus are the only 3 skills you need as an amateur photographer. They rely on the 3 settings above.

Beyond that lies the rabbit hole that, if you venture, speak not to any people whom you wish to keep friends. They hate when you try to tell them.

Don't spend over 2k on lenses.

Have printed photos on glossy, matte paper. Touch and feel them. Worth the time.
In reality only emails dont matter. You probably can delete your entire sent mail folder. I.e. if you care about your replies more than the things you recieve.
Based on the last 6 months, the hell are you on about? Literally no part of my earlier comment said the last 6 months. Gotta also love that you mention the last 20 years as if nothing happened in those 20 years that completely fucked over young people.
Oh, absolutely. For example, actual rivals triggering a waste of resources on climate change, DEI, and the rest of the contemporary follies.
I don't think it's arbitrary at all. Just look at the tax breakdown for a Los Angeles resident --- there's a bunch of places to get it (every metro area publishes them! they're like the receipt for your property taxes!). Once you have the relative numbers, you can back out what it means for X% of the city general fund to go to the police. Of course, schools are so expensive, whatever X% is, the real number will be <(X/2)%.
+1000. I forget which search -- it's probably macOS Spotlight -- drives me batty with this daily.

Firefox has a related misdesign. If you type a word which matches both a search keyword and a history item, the search keyword takes precedence -- which is nonsensical, since I've typed nothing (not even a space) following the search keyword. So e.g. I have a `cpp` keyword to search `en.cppreference.com`; typing `cp`+Enter brings up `en.cppreference.com`, as does `cppr`+Enter, but `cpp`+Enter does a search for an empty string.
Chapter 3 of this book is pretty useful for that, as each of the instructions have pseudo code descriptions. Worth noting they only pop once for the ADD instruction, not twice!
https://www.amazon.eg/-/en/gp/help/customer/display.html?nod...

> Cash on Delivery is available as a payment method for fulfilled by Amazon and some seller fulfilled items. If you have Gift Card balance in your account, you can redeem it and pay the remaining amount using Cash on Delivery payment method.
You spend much more on food if you actually want it to be nutritious, even these days. You can’t live on sugar and flour alone, as cheap as they are. To be clear, I am at least 40% certain than malnutrition (not lack of food, but eating the wrong kind of food nutrient-wise) is one of the contributing factors here.
Waze CEO Says Privacy Definition Is Moving Target (2019)
This article confuses the web with the internet. There are many applications that use the internet, but are not themselves websites.
Why Monterey Pop Was a Turning Point for Sixties Rock
I was trying to find an issue management system for doing “the perfect commit” and tried loads without thinking of GitHub issues, which is obviously the correct place to put things. Exciting to hear about GitHub projects too which sounds fantastic!

I would love to watch a day of programming by someone as prolific as Simon to see what other things he does to maintain speed and keep churning out code!
Reminds me of The Simpsons episode where they cross bred tomatoes and tobacco. Tomacco! Homer ends up eating tons of tomatoes and gets addicted and strung out on nicotine.
I think it's more likely that would price out poor people in need. Those who could afford it will stock up "just in case"
The regulations that allowed for private warships and artillery?

Those gun control regulations?

If there are actual gun control regulations from the post-revolutionary period, I'm sure that they'll be used to defend NY's and CA's modern regulations soon.