skysight-inc/HackerNews huggingface dataset:
> But we're designing the hash table! There's no reason for us to make it possible for the user to provide a custom hash function.

Technically Rust users are also welcome to provide a custom hash function, it's just that it's defined in terms of an API called by all the stuff which wants to be hashed via the trait named Hasher. You can get a drop-in FNV1a hash for example: https://crates.io/crates/fnv

The mechanics to make all this work in Rust involve a proc macro, so people who want to be able to put a Foozle in a HashMap (or an FNV HashMap, or their own custom hashtable) just write #[derive(Hash,Eq,PartialEq)] above the definition of Foozle telling Rust yeah, just look at the constituent parts of this type and use them to derive functions for equality and hashing the whole type. C++ macros aren't powerful enough to do that, so you'd need a more powerful reflection mechanism and templates to do it I think.
I made a similar one, https://summatim.app/ , it's an extension that adds timestamp block near youtube videos, and allows you to jump to these sections.

Maybe I'm doing something wrong, but it was deleted from producthunt, so I'm scared to post it here. :(
True, but the thing is, the battery in that 1 euro candle was most likely not a name brand one with a long life, like a Varta, Panasonic, Duracell or Energizer, but a no-name one that won't last very long.
> But you have to admit there’s quite a bit of fluff in so many videos just to extend the time and try to keep eyeballs long enough to mention the sponsor or show ads.

Eh, none of the channels I follow do this. You the customer need to use pressure on creator, just unsubscribe to those fluff channels.
The replies to this command are top HackerNews: every commenter is a bigger expert than Donald Knuth but nobody quotes any actual benchmark results to go with their theories.
Switching.software
Similarly, one should never state that something is "obvious".

I catch myself sometimes starting a sentence with "Obviously," and usually stop myself at that point and restart.
In the ChatGPT Age, Prompting Is the Language to Learn
You can run WSL on it, and auto-start it (and containers) upon boot, plus Remote Desktop to it for interactive maintenance (and yes, you can also go out and grab a new Intel N100 miniPC and kit it out to similar specs and have much less power draw than your i5 config, which I think will be cheaper in the long run and actually faster…).
So, it's off limits in a technical text to say that, say !(!a && !b) simplifies to a || b, or anything else in a similar vein?
Personally I prefer that type of sentences, it allows me to know which procedures are easy once you know them, and which aren't.

If you are new, everything is difficult. But if you read that something is simple you know that, even though for you right now it isn't, it will be in the future.

If you have issues with that simple task, maybe you are doing it wrong and should ask for help.
On the other hand, if the documentation says that something is hard, you shouldn't even attempt it as a beginner, and perhaps wait until you have more experience.
Parents don’t do that and nobody is going to be able to enforce a law specifically against them
> cited definition of success that was created right after the launch blew up

Categorically false. Just watch the recording of the live stream. They told us what their definition of success is at multiple points before they lit a single engine.

> He redefines success as learning a lot.

Look, I find Elon distastefull in uncountable ways. But this particular mindset is an important one if you want to achieve hard things. More people should live by it.
I don’t think that it is attributable to absolute pitch, that might not even be required.

It’s “just” insanely good memory for music.
The keyboard in your thinkpad 701C has a mechanism we affectionately call butter… oh never mind.
Sure — how does an institution keeping secrets from them help that situation?

From my perspective, you’re validating their delusion that institutional actors are trying to manipulate and control them; specifically how does keeping notes secret help that situation?

Go ahead, be explicit.

I think your failure to give an explicit answer even when asked points to this being a delusion on your part; so I’ll ask for you to give a specific example again.
Genious move into outsource critical thinking, lol.
I think your question was phrased in a way that suggested you had not understood the article. The described system detects unused libraries and binaries, but does not seem to look for dead code paths in source files.

Dead code path detection is an interesting topic which I think the linked article doesn’t address at all.
I thought the issue with throwing up a bunch of dust is that the planet this rocket was starting from is inhabited.
> If you read the source of ‘cat’ and ‘more’ you’ll see that if they are reading /etc/passwd they replace the passwords of system users with ‘*’, unless you are uid 0.

That sounds so wrong, anything from a user-written program, `ed`, etc to a symlink/hardlink could read the password.
‘Statistically impossible’ heat extremes are here
Reprinted at phys.org: https://phys.org/news/2023-04-statistically-impossible-extre...

submitted paper: https://www.nature.com/articles/s41467-023-37554-1
This is only the simplest possible reaper tool. You can (and Google does) also write tools to find flags that have only ever been set to one value, codepaths that haven't been exercised in months, databases that haven't been accessed in years, etc.
Found the economically-illiterate entitled socialist, who refuses to think about personal responsibility (to actually become competitive in the global economy, to save money by being frugal and then to invest money to grow savings — you know, the things others on Earth do to become successful in life, doesn’t happen by magic!) as the answer to lower class financial problems… who instead only ever has his hand out trying to steal from the productive (and ready to blame the productive instead of himself at every opportunity!) to satisfy the unproductive’s natural urge to get money for nothing.

Meanwhile, in reality land in 2022:

>> The bottom 43% of US income tax filers pay -4.8% of federal income taxes (negative b/c they get a tax refund credit on average because of tax law).

>> The top 10% of taxpayers pay 80% of federal taxes.

But muh “rIcH nEeD tO pAy ThEiR fAiR sHaRe”!!!11

How about the bottom 43% of America actually sacrifices (studies during childhood to actually learn in and out of school + and actually works hard in first job to make good impression and get better job and actually learns on the job + maybe even starts their own company from learnings, all the while being frugal to maximize savings and then invest in a diversified stock index fund to grow savings over time with compound interest, and so on…) to build useful skills and become competitive in the global economy, the way people all around the world take responsibility to do?

Nahhh, way too much hard work!

Better to just waste childhood not valuing education, and then be a goodfornothing at your low-wage job so no one values you (IF indeed you are even capable of getting and holding the low-wage job), and then take your entitled personality that you carefully developed over all those years onto hackernews! (to complain about the small 10% minority who actually lived responsibly and made something of their lives and now pays 80% of federal taxes!)

This system is literally already socialist/communist in philosophy, in the distribution of percent of people paying taxes that sustains the system, but no, even this isn’t good enough. Why? Because of course it’s never good enough for the spoiled brat who is incentivized by the system to always be a spoiled brat, while 10% of the country literally carries them on their back.

Shameless!

You feel no shame to be dependent on others to provide for you. Historically people actually had shame, they would feel it hurts their dignity to accept even charity (voluntary donation of money)! But now, people in the West like you are even happy to take money even forcefully through the tax system. No more dignity, no more shame.
I think some competition would be healthy for the App Store. For example, referral systems for iPhone apps are basically impossible to write with Apple's in-app subscriptions: the App Store API only allows two requests per user per year for extending subscriptions, meaning I can only reward users for two invites, but not beyond that. I can only assume this limitation exists to avoid some other loophole, but still, basic referral systems - like Dropbox' "invite a user and get 100mb storage" style - don't work.

Deferred deep linking is also broken. Of course, nobody likes tracking, but referral links also don't work anymore. You used to be able to send someone a single link to install the app and redeem a voucher/discount/special, now you always have to say "install the app, open it (!), then go back here and click this link".

I soooooo hope that this will improve with competition - at least point 1). And my biggest hope is that Apple will fix it in their store because of competition.
>to the level of harm imposed by social media to their kids

That 'level of harm' being decided by yourself, I'll wager?
That's precisely the problem with many landlords. Being a landlord is not free money without any work, even though many think it is.
Needs a critical mass of tenants. Any landlord with a significant portion of low ratings would be assumed that the positive ratings are fake.
Whiskey lake (8th gen) is affected by spectre/meltdown, but is is fully supported by Windows 11. There are also a couple 7th gen cpus supported, that by pure coincidence are the ones used, in at that time latest, surface studio. There are also many unsupported cpus that even with ~20% slowdown are twice as fast as the supported ones.
This site has Australian ratings in it. Only problem is at the moment, the rental market is so tight, you really have no choice about your agent.
How does keeping secrets help any of those situations?

“I’m manipulating you for your own good!” sounds like you’re validating their delusions and fears. I’m just hearing the same excuse the government gives when they, eg, censor facts and promote misinformation for the “public good”.

Go ahead; explain to me specifically how it would help any of those cases — because this comes across as prioritizing the therapist’s convenience ahead of honesty with the patient.
Last time I use Microsoft hardware is a Surface Pro 3. Though the mSATA SSD could be replaced, but firmly glued display is a nightmare.
> but were considered conspiracy theorists because Elon Musk was claiming the exact opposite at the same time

Do you have a citation for these two claims? One for the “Elon Musk was claiming the exact opposite” and one for the “were considered conspiracy theorists”. Thank you.
For the next benefit of the platform (next people to visit the question) and OP (learn how the site works)

Very different goals for the person saying like/subscribe or mark my answer accepted.
At Google there’s not really such a thing as code that never changes. Your dependencies will shift beneath you, even if it’s just the compiler itself. More likely though the libraries you use have been updated, a robot or two have come through and applied automated fixes etc etc.

So if we’re using it once a year, (we do have tools like that, maybe not strictly annually but certainly rarely) then you do indeed want it to be automatically built on some kind of recurring basis so it’s ready to go when you need it. And the tooling makes it (relatively) easy to have that happen.
https://www.intel.com/content/www/us/en/support/articles/000...

"Intel® 6th Generation Core Processors or Newer Processors are supported by Windows DCH Drivers."
Public invited to swear their allegiance as king is crowned
That's the premium treatment.

You forgot at least mildly insulting the patient by calling him stupid.
If things really go wrong, you can just bury it under a media blitz about ‘anti science’ ‘fake news’ ‘disinformation’. Why would you take any responsibility at all?
Can a court compel someone to give up information they don't have?
> For any real learning use books and other reference materials.

Different people at different times and under different circumstances; and different teachers with different methods can all impact the best medium to engage with content or learn things.

I'm happy you've found what works for you. At the same time, I'll continue to consider YouTube a viable source of educational content when I find it the appropriate medium for such, which is often.

Honestly, the real loss to educational content has been the loss of dislike metrics, which can very effectively tell you if content is valuable or not in the education space. At least it's been partly replaced by a "users viewed here" histogram, which can be a true help.
it's not only the word `simply`; I find myself perusing more and more docs that boil down to an emoji-laden slab of super-shallow tutorials and marketing lingo, which just tell you how to do the most basic thing - or the barely less basic thing in the most ideal scenario - and nothing more.

I'm all ok with tutorials and examples into the docs, but give some depth to them, not only breadth (or emojis).
https://job-booster.60sec.site/
Require the reviews to be videos of someone speaking, and require that they turn their head sideways several times during the video.
No, you take the highest bits. The product is a fixed-point real fraction. The integer part has overflowed out of the machine word. 0..(2**64-1) represents 0.0<=x<1.0
Picking the n highest bits is like multiplying with 2**n and using the integer result.
All I want is a card or motherboard with some GPIOs and other pins. I've seen some products that almost get there, but they're something awkward like an ARM SBC stuck on Linux 2.6.x with an embedded Arduino. Memory mapping doesn't matter to me, although it would be cool.
> For example, it’s possible to unintentionally break Fedora’s dnf command with a pip install

In this case I really think it’s dnf that should use its own virtualenv instead of using the os python.
Seems like the summary is just random parts from the transcript thrown together randomly, at least for the five videos that I tested.
If your once-a-year binary has any dependencies in common with others, then you need to at the very least be rebuilding and re-running the tests when those shared dependencies change, or else you'll find at the end of the year that it doesn't build, let alone work. And the compiler and stdlib count as shared dependencies.
> This should _only_ help if you use a terrible hash function.

So in other words it helps. The point being that when you're writing a library where you have no control over what people will pass you, you can either punt on doing the best you can and leave it to be the users problem, or when - like in this case - there is a trivially simple option that makes things better you can make it better.

> I'm also not sure why they claim that integer modulo is slow when the* show how to make it fast by using bitwise AND.

They show that integer modulo is slow because a lot of code uses the actual modulo rather than bitwise and (granted often because they assume they need a prime sized hash table to do well).

EDIT: Note that the article specifically also addresses the bitwise and by pointing out that Dinkumware in using that 1) had to compensate by using a more expensive hash for integers, 2) created a situation where implementers providing a custom hash had to be aware that this specific implementation would just throw away the high bits, and pointed out they'd been bitten by that issue several times. It also mentions how Google's google::dense_hash_map did the same thing but without even providing it's own integer hash replacement to compensate.

> But we're designing the hash table! There's no reason for us to make it possible for the user to provide a custom hash function.

He's comparing it to the C++ stdlib. An implementation that is intended to be a drop-in replacement for that needs to abide by similar guarantees, so it is possible to provide a custom hash function for the set of contracts in the libraries he compares with, and it's fairly common to do so.

The logical conclusion is that there is a reason for him to make it possible for the user to provide a custom hash function, because it's what the clients he wants to support expects.

Sure when you have control over the API and you are free to refuse to let users of the API set custom hash functions, just provide a better hash function.

But that is explicitly not the case this article is addressing, so you're arguing against a strawman.

The argument that another solution to this issue is to just refuse to let users provide the hash function would be entirely reasonable, and maybe it'd have been nice if the article started by addressing that.
Dead code or abandoned project with goals that got forgotten but might still be important?
The tax you propose is not as simple as you suggest :

Do you tax on material weight ? But bigger sized systems tends to be easier to repair/recycle than nano electronics. They also often last longer.

Do you tax on raw materials ? That would exclude all the junk made abroad. Or on components ? That would make a gigantic and perpetually changing list to maintain, creating an incentive to always create alternatives only needed to game this tax.

Hope does that address the externality “not infinite material rarefaction” ? Making thinks more expensive just make them less affordable for a part of the population while the other part can not care much especially for cheap disposable(!) small devices.

I don’t have the perfect solution but IMHO we need regulations, not tax. Creating an obligatory (long) warranty would push the society in the sustainability direction. I don’t need 2$ led lamp, an even slimmer keyboard or a 120hz screen, just want it to last way more (or being able to make repair) that 2/3 product cycle time frame defined by the corp business team. Who want to say to their children “enjoy this tech while there’s still some rare earth left” ?
>not very up to date on what's going on in the Android ecosystem

I've run various terminals and even cut down distros on Android since all the way back in the Android 2.1 era. Maybe people have simply forgotten, maybe they don't care because they're stuck inside Apple's ecosystem, but there's nothing new here.

The biggest news is that Google is actually trying to cut down on running downloadable executables for security reasons, which is one of the reasons why the Termux release on Google Play can't be updated anymore. The devs would be required to target modern Android, which would drop all compatibility workarounds, which would break running most executables these tools provide. Luckily, the F-Droid version still remains usable.
Not quite. It is speculated that the rocket engines were damaged by chunks of the pad hitting them. That is a danger to the launch itself even if the dust wouldn’t bother anyone else.
I imagine there are orders of magnitude more:

* Minecraft tutorial videos
* "how to fix your _____ in your apartment"

videos than there are informational/educational/tutorial videos about Stable Diffusion.
Chatgpt can't get pregnant when things go wrong in order to soften the blow.
one down [checks account on dnsimple.com] 59 to go...
It's a comparision to the two stroke cycle. There is no four stroke equivalent for rotaries
> They will never launch within 8 weeks.

And the quotes don’t say that they will. In fact they imply that they won’t.
True, there is no such thing as a concept been obvious to everybody.

Feyman has this great bit in his biography where he tackles mathematicians that keep saying in their demonstration that a step is trivial.
Which is a flaw in the US court system - "winning" a civil case may not award you the attorneys fees, so it paradoxically makes it easier to just accept instead of fight, if you're against somebody rich.
> If you have issues with that simple task, maybe you are doing it wrong and should ask for help.

Far more common, in my experience, is that the author considered it so simple they did not spend any effort explaining it adequately. I.e. they were so distanced from their target audience (by virtue of their amassed experience) that they forget to adapt the text for them.

There are other, more descriptive ways to explain that things are more or less complex for experienced users.
Equally annoying. I can think of that myself. You could have an interactive tutorial for every new user though, or more simple: a welcome message. However given its text its easier to skip than audio or video.
> It use to be very simple to find detailed tutorials with images and then many posts of relevant discussion on how to fix any part of a vehicle ... The people doing them weren't doing it for money

Uh, pardon? This was and continues to be a very well-monetized industry for the major players, e.g. https://en.wikipedia.org/wiki/Chilton_Company
Why should there be age restrictions once you're legally an adult at 18? 21 is unnecessarily puritanical (EU countries don't have that) and most teenagers are going to drink anyway, just as they're going to find a way to bypass age verifications for their social media of choice.
Yeah, I wonder how they deal with it in the liquid piston engine, emission control gotta be harder with no valves that can be controlled.
Ironically, TikTok allows and encourages such incredibly short form content xD
Breadwinning is quickly becoming a foreign concept in the Western world, as the new strategy is simply breadtaking. Why work hard to win, when you can simply take?

What you need to understand is they are simply shameless, like they feel no shame to be dependent on others to provide for them. Historically people actually had shame, they would feel it hurts their dignity to accept even charity (voluntary donation of money)! But now, people in the West are even happy to take money even forcefully through the tax system. No more dignity, no more shame.

And this behavior is incentivized by our political system and tax system.

More details on this perspective, in my response to him, here:

https://news.ycombinator.com/item?id=35761106
There’s a big difference between making a project easy to use and requiring they package it all up in someone’s preferred container format which can’t even legally include all the dependencies.

Facebook seems to be pretty hands off (as is expected since the code is open source) unless you distribute the model weights and then they drop the dmca banhammer.

So, yeah, simply complaining with no effort to understand the problem is kind of ungrateful.
OpenBSD: Vmd(8) moves to a multi-process model
Tweeting you ‘plan to leave’ is not the same as actually quitting.
On one hand, I would avoid personifying corporations, they’re going to do what makes the most money.

On the other hand, I do think the current leadership at Microsoft has correctly realized there are huge long term benefits to improving the industry you operate in for the consumer.
> But many landlords are just normal people with other jobs, where being a landlord is not a job to them, but an opportunity to earn money by renting. While one should be able to expect them to know the relevant laws, I bet that most of them don't care to bother because of the time and effort it takes.

...so ? They earn money for doing essentially nothing, the least they should do is to know the law.
Big agree, everytime I find myself typing a comment on slack along the lines of "can we just do x", I immediately stop and delete the word just. The message doesn't loose any meaning and is a lot less obnoxious.