skysight-inc/HackerNews huggingface dataset:
Horrendous advice on many levels

- reference counting is an implementation detail, it is not part of the spec

- that's because real implementations exist where refcounting does not exist (ironpython, pypy, jython)

- even if it were part of the spec, the schedule for object destruction also is not part of the spec. Your file object was noticed as part of an unused graph at T+0, even mainline CPython can perpetually defer its destruction to T+infinity due to its handling of reference cycles

- the random system resource will eventually be garbage collected, but perhaps not if your code throws the wrong exception and/or one of those cute syntax sugar libraries takes a reference to its frame object you know nothing about. Or how about pretty much any debugging support library like Sentry? Best to have audited them all..

- the random system resource was garbage a few tens of opcodes ago, but you left it locked, and some future change caused your code to immediately attempt to reopen and relock it. surprise, deadlock in production

The comparison with 'dict.clear()' makes no sense whatsoever because explicit external resource control is precisely required because those external resources aren't automatically managed like normal in-memory objects. They have material external state beyond whether they are allocated or deallocated, and require explicit initialization and de-initialization in order to avoid leaving them in unspecified states. Python's memory allocator provides none of these behaviours as guarantees. It's not even guaranteed to always call __del__, this is most commonly observable during interpreter shutdown.

Perhaps a better way of looking at it is this: try/finally and with: exist for you to demand stronger guarantees from the runtime than it normally offers you. "Hey Mr. Python, I know you'll /probably/ clean up this object eventually, but I also know there are 100 edge cases where you won't bother. For this object, you are on the hook for every case, including the cases where I wrote buggy code"

Meanwhile, feel free to follow this advice, and good luck at 4am debugging your prod system that for some inexplicable reason recently began crashing due to running out of file descriptors..
There could still be the possibility that the person claiming to be the time traveler is just someone who managed to hack into your computer memory.

I mean if this happened to me, my first thought would "who is this person and how did I got hacked?" which seems way more likely than being visited by someone from the future. Would prefer to wait for a confirmation such as telling me about what would happen on the next day.
Thanks Jeff, you’re doing a great service to the community here. I’ve tried to hunt around for a good system drive and fell short so far; support for UASP/TRIM in thumb drives is both rare, and seldom specified by manufacturers even when present. Looks like the only way is to buy a bunch and try.
If you know you not ready for a relationship why get into one and still cheat and liar. I was dying inside for my cheating wife, i had no prove, no one to run to. Everyone thought i was paranoid. until i was referred to a Private Investigator Mr Spy. I told him about my situation and He understood me well and helped me spy on my wifes iphone.He hacked her Gmail and Facebook account and linked all her WhatsApp and phone conversation to me, to find out the truth.I saw all the evidence and i was heart Broken,I just want to openly say thank you Mr Spy for helping me get evidence against her,i feel so hurt. If you need help please contact him (Eaglespyhacker at gmail dotcom)
I have a MYSQL database and i'm trying to order tables by "update_time" but it only works some of the time. I'm not sure if it's an issue with the time of the system or if it's innodb. I've search for answers on stackoverflow and someone said innodb had a bug that affected update_time but it's since been patched and i am running the latest MYSQL version in Ubuntu 20.04.
> commentor above you talks about the statistical fact

No, the commenter above talked about the "risk", and cited that one fact. Both of you are forgetting that sick people are infectious. We're trying to control an epidemic here, not save the lives of some particular GT students. If they get sick they'll make others sick. One of those cases might be your grandfather.
Well that was quite a read. What is wrong with a content provider upholding its publicly stated policies?

I'll accept it is a bit strange that POTUS might be deemed afowl of their policies but POTUS never used to tweet, twaddle or play silly buggers beyond what was expected, until this one.

POTUS seems to have decided that despite being the leader of the free world, his message isn't getting across via the entire world's media. So he uses Twitter.

lol.
I can't see a need for more than 16 or 32GB of storage
on one of these things. If your use case needs
greater storage then it probably needs more "box" or
I simply lack imagination.

Generally yeah. One possible (slightly contrived) exception that comes to mind could be using it as "dumb" volatile storage like Redis/memcached/etc.

I say "dumb" because if you are leaning into any of Redis' more advanced stuff (sorted sets, pub/sub, whatever else they've thrown in lately) I suspect CPU would tend to become a bottleneck rather quickly once you've got > 8GB of data.
> If providing usage statistics is something that the Julia developers already know the vast majority of users do not want to do,

I think it is more likely the majority of users don't care, so do whatever the default is. If the vast majority didn't want telemetry enough to opt out anyway, then there wouldn't be any point in having it at all.
Agreed. I also think it's important to create abstractions that provide guarantees and/or maintain invariants. That way, your abstractions actually help you be more confident that your code is correct.

The point of abstraction isn't per se to reduce duplication--it's to make your code more straightforward and to make errors more obvious.
Teaching machines to diagnose cancer, because without that, there's no way we are going to solve cancer generally. There just aren't enough pathologists. Harder that going to Mars, probably easier than world peace. Definitely involves an enormous amount of data. Like, a non-trivial fraction of world-wide storage.
A "show less of this" button should work even if you don't know who it is being applied to.
Do you think they'd still be using USB drives and bothering to keep track of antique passwords in the future?
I've watched a lot of congressional debates and I don't think it's very enlightening at all.
UDP DDOS mitigation. It'll be important for protocols like HTTP3/QUIC where decrypting every packet is costly, and malicious packets can't be identified until after the application tries to decrypt them.

The idea is to assign a random 8 or 16 byte number (DdosID) to each connection. The DdosID is unrelated to any other identifier; like the HTTP3 connection id. The client puts the DdosID at the beginning of every UDP packets data section (raw; no encryption or compression.) Packets that have a valid DdosID are processed. Packets with an invalid DdosID are dropped. New connections use zero as the DdosID. Any client can use zero to re-establish a connection or if something goes wrong.

If attackers make random DdosIDs it will result in packets that are dropped before decryption. If a valid DdosID (or hundreds of valid DdosIDs) are used, the volume of packets with that DdosID will make the attack obvious, and the DdosID can be invalidated and the packets dropped.

Attackers will need to spam new connection attempts (DdosID zero) to deny service. New connection attempts could be dropped, or a small percentage allowed when the application can handle them. The rate of allowed new connection attempts could be adjusted very easily and quickly, but a high rate of bad packets would still deny new connections. Existing connections to continue to work.

The challenges are mostly creating functional thresholds: what packet volume is too high? how long is a DdosID valid? Should a load balancer record the IP and Port and to force a new DdosID if it changes?

I would also like to see a way that applications and load balancers can use a DdosID system without it being dependent on the specific application; DdosID should not depend on the protocol it's protecting.
Well known to you not to others.
The 6' rule isn't a magic bubble of impenetrability. It's just a rule of thumb that (1) most people can easily interpret and enforce and (2) is expected to reduce the rate of spread "enough" to make it worth enforcing.

Likewise masks don't make you safe, they make you safer, etc...
That is treating the symptom by learning to recognize it. What about discovering the cause?
By that phrase I mean "The risk is so incredibly low though". Which to me is a statistical fact. But I think I get what you mean - statistics/data can be combined with language or visuals to enforce multiple different interpretations.
The poster who said "sped through the crowd" seems to be sympathetic to the motorist. The poster who posted the video that you seem to think exonerates him (the flagged and downvoted post) is strongly unsympathetic to the motorist and may sympathise with the protestors. I don't have much sympathy for either...my opinion is still that this was violent behaviour from both the motorist and the protestors. Violence that would normally be bad, but is possibly excusable if, for example, you were in fear of your life. It's not really clear from the video who initiates the violence.
Or Castlemania Games, a retro gaming store.

https://castlemaniagames.com/
When I spoke of buying and selling water rights, I was primarily referring to water rights from the massive California irrigation system, not the aquifer.

But let's talk aquifer. If I want to be uncreative and say that the aquifer is owned by some specific bigcorp, instead of by nobody, the incentives for Bigcorp would be to restrict the supply to maximize the long-run monopoly profits (discounted for time). I don't know that this is the best arrangement, as Bigcorp managers may see fit to put short-term profit ahead of that long term goal... but I guarantee you it's better than the current incentive structure, which is basically "pump like crazy — or someone else will and you'll be left dry!"

But besides "bigcorp" ownership, there are some resource trust structures, I think, and existing landowners could be given some ownership in one of those, which they could buy and sell? They're mostly used in oil or gas today.
I guarantee you I'm going to forget a password in 12 months if I never have to type it in anywhere or use it on any regular basis.

Can I please come up with my password and submit it to the Temporal Password Registry immediately -- and just have it "go public" on December 31 of that year? It'd also be a nice way for me to check back in throughout the year, logged in as me (the only person who should be able to see my password for this year), just to verify what I thought was the password was correct... in the event of needing it.
What do you work in?
Why don't we train more pathologists?
> the statistical fact that cases under in younger people are not only rarer, but very low chance of getting hospitalized, and an even lower chance of death

What are the latest — preferably peer-reviewed — figures on hospitalization and death rate by age? I was trying to find them the other day, but all I could find was papers from many months ago.
Or multiple translations. This is a great idea that I’ve considered but want to leave for V2. V1 is maybe disappoingly simpler, but at least it would mean that your boss 10 years from now isn’t reading through your post history
What should we do about network-effect monopolies
Which just means you don't build the features that are spammable: you end up with friends lists (where users have moderated their own feeds by choosing who to follow) but no discovery (which is where a lot of the dangerous stuff is coming from anyway; good riddance) and no ability to message people who don't follow you (which is the default these days anyway as frankly it is already mostly spam). This sound a like a better world, not a worse world.
It’s like that film Gattaca is becoming reality
GitHub has a tag called "good first issue" for this.
4 Year Compensation Packages Comparison
We probably wouldn't, unless they were part of a local community, and there were stories.
> permanent

Can you give an example of incorrect permanent punishment? Sacco found a job almost immediately. The truck driver may have a more difficult time, but not because this event will follow him, but because the labor market at the moment is shitty. (And to be clear here I'm not saying what happened to him was right or just).

> The problem is that it isn't so cut and dry.

Sure but now we're in a very fuzzy area. We're no longer saying that public shaming is always wrong, but that there are situations where, in your judgement, the scope is misapplied. Those are two very different situations, especially if you're willing to acknowledge that your perception of the severity of some action may indeed be different than the actual effect of that action.

> The narcissism is real, if you're not closing your eyes to it.

I still don't buy this. People not being self aware is narcissism, but not in the way that you seem to be meaning, which is more like that the activism is performative and not genuine.

Not to say that there aren't people who are performative. Lots of social media activism is, but in many ways so is stuff like signing petitions, and that doesn't get a bad rap.
I am not sure if you read my comment through. I mentioned sick people being infectious, and urged the discussion to move towards how sick people infect others, and how long they are infectious.

I would love to learn more about how sick people transmit the disease, and when are they the most "infectious". I have heard something related to a period of few days before showing first symptoms, but I have yet to discover more indepth discussion around it.

For example, its pretty hard for me to undertand how you can be "very infectious" when you do not exhibit symptoms such as coughing or sneezing. Would love to learn more!
Well you have said what I always think. For those familiar C# feels like the next iteration of Delphi, but with curly braces. Both Delphi and Free Pascal haven't stopped though. They've added generics, extension methods, attributes, and many of the other features that have also been added onto C#.

Free Pascal has gone further to add management operators, vector math intrinsics, and improved array features.
> I am saying that the concession that we need to moderate "dirty" behavior is, in and of itself, the rhetoric that validates the mob behavior we're seeing.

I think that's a stretch.

The problem with Twitter isn't the moderation or the "leaning", it's the sheer size of the thing. Any sort of decent moderation is completely impossible at the scales of Twitter, and I voted with my feet a long long time ago and frankly don't feel like I'm missing anything.

On the other hand, there are plenty of smaller social spaces out there that are well moderated, do not treat all viewpoints equally, but at the same time somehow manage to prevent their users from anti-social mob justice.
There's also password managers. But with all this Apple clipboard non-sense, I don't know if it is safe to use one.
This starts to get silly.

"Small integer ratios" apply to huge numbers of natural phenomena, because "small integers" and "ratios" are properties of the world we live in. Pointing out that "harmony is another example of small-integer ratios" seems fairly devoid of content to me, especially when the primary user of musical harmony has long abandoned those pure integer ratios to allow modulation and other desired compositional techniques.

Octaves are not universal across cultures. Byzantine music has no octave equivalence, for example. There was even a paper cited here on HN recently showing lack of octave awareness in different cultures (the paper may have had some flaws, but was interesting).
There is no Cantonese script. It is traditional Chinese characters + low few hundreds (200-300) phonemes that are unique to Cantonese, which is mainly used for informal conversation.

If you publish a book, most likely it will be in the formal Chinese.
Wow, with these creds and experience. I'm ready to buy now - shut up and take my money.
Systems that only work to converse with your "friends" (which I put in quotes, as we use that term so liberally online; just like, an opt-in follow mechanism where you can't be spammed by random strangers) are still "social".
There aren't really legal limits on what taxes a US state can enact; an individual city may or may not be constrained by the state that it's inside of (eg., California cities can't raise taxes without a 2/3rds vote under Prop 13). In this case, the real constraints are Washington state law (prohibiting income taxes), and what voters/residents will stand for. A city that put a 90% tax on billionaires would find that they all left pretty quickly.
Including all of the leadership telling everyone else they aren't important.
I'm curious if they'd tried using CHD. It's worked pretty well for MAMEdev, and even the RetroArch core versions of a few emulators support it.
I have some hours before bed that I could use to take a look at this. Shoot me an email with SSH credentials if you want some free help.
> At this point the BLM movement is a clear net negative for society.

What is your solution to bring awareness against police brutality and systematic racism?
Check out (the now unfortunately named) CoronaSDK from (the also unfortunately named) Corona Labs. It's all Lua based and is now entirely MIT open sourced.

One of the easiest to code cross platform development languages there is.
One guess would be that opponents of cancellation are calm intellectuals who write kindly-worded letters that corporate secretaries chuck in the bin without anyone else taking notice of them whereas angry internet mobs are full of crazy extremists sending death threats and bomb threats, doxxing people, SWAT-ing and that sort of thing which victims often yield to in order to make it stop.
So you are consuming data from others yet assuming it to be perfect and not in need of validation?
Let's make a Teeny Tiny compiler, part 3
Please read the answer I gave to sibling comment. The point is not whether she actually gets to be "canceled" effectively.

The problem with "cancel culture" is more about the culture than the cancelling part. It is the matter of coercing every prominent public figure into some uniform view point that is supposed to be spread around unquestioned.

> hating the right people.

I didn't see any animosity from JK Rowling or Navratilova towards trans-people, yet you are ready to label them TERFs. Who is the one trigger-happy on the hate again?

> There are excesses, sure. People are mean on the internet everywhere.

It's funny how when we see "our side" making something clearly wrong and immoral, we are okay with just calling it "excesses". But if you are so forgiving for mistakes on one side, why not the other?
> The native Intel USB3 UASP solution is only supported under Windows 8. To further complicate matters, not all Z77 motherboards support USB3 UASP. A license is required to implement UASP, and not all motherboard manufacturers are prepared to pass on the extra cost of this license to the end user

Sounds very cursed. I mean, I'm not a hardware vendor, I should not care, but licensing for something that's just another form of SCSI over USB sounds ridiculous.
From a story a couple of weeks ago, octaves, while common, seem to be learned: https://news.ycombinator.com/item?id=23624596
I am extremely interested (I live on a boat which I built myself [also here in NL!] and I'm trying to make it zero emissions) but sadly I think the rotor diameter of 5 meters is a bit big for me to handle. The weight of 85kg is no problem at all, but the large rotors would be tough to fit on the boat. Would it work with significantly smaller blades (say 1.5m diameter?) and some gearing? The blades are a work of art, so if someone can use the whole thing they'd of course be a better candidate than me.

Alternately, I noticed you built a half scale alternator - if you're looking for something to do with it, I'd love to build a wind turbine around that :)
Problem with the odds is that they are moving. What does the death rate jump to with overrun hospitals?

What does the death rate jump to for all other medical emergencies and illnesses with an overrun medical system?
which is not required to implement any usb protocol. one can easily use normal DMA and still get a speed gain. since the bottleneck is not CPU, making it work a bit harder putting together those DMA descriptors is worth it.
There are such people. Since the total number of Linux users is low compared to Windows, probably not very many.

But "is Linux finally ready for audio stuff like mac?" is a meaningless question because there are as many different workflows and definitions of "audio stuff" as there are styles of music.

Also, in this context, even the term "Linux" is not well-defined. You probably mean "Linux in a conventional desktop or laptop computer", but there are many high end digital audio mixing devices you could buy from any major audio tech company that run Linux internally. That's not what you meant, probably, but it's still Linux, thus making the term a bit unclear in this context.
apparently XHCI Streams
What about GINA? https://en.wikipedia.org/wiki/Genetic_Information_Nondiscrim...

> The act bars the use of genetic information in health insurance and employment: it prohibits group health plans and health insurers from denying coverage to a healthy individual or charging that person higher premiums based solely on a genetic predisposition to developing a disease in the future, and it bars employers from using individuals' genetic information when making hiring, firing, job placement, or promotion decisions.
Show HN: Project-templates.nvim – A neovim project management plugin
but they don't have a web-app as far as I can tell... and their webpage is HTTP only with a self-signed certificate? that isn't acceptable nowadays: http://boostforreddit.com/ ... I do this but only on my local network...
> with curly braces

...and .NET in tow.
Just to contribute. I have student visa and the "problem" is that with our visa (F1) we are not allowed to have online classes only. We have to attend class for X hour every week. This or we lose our visa. It's an immigration problem.
This is why standardized solutions like K8s are necessary (or at least a managed container platform). Right now we have no idea about your stack or how it is hosted. With containers it wouldn't have mattered. And with K8s it would have been a simple `kubectl scale deploy/taaalk --replicas 10` regardless of on-prem, cloud X, Y or Z.
Brainstorm here - could you put a number of lower resolution encoders firmly on the same shaft? The theory would be they'll all pulse on slightly different but consistent phases.

Simple example, an encoder is capable of 60 degree resolution. I'll mount 5 of these which will all have some variation in phase, and I'd average out to having 12 degree resolution, with variation that could be modeled statistically.

Conceptually I would have a shaft with n different key slots, one per encoder. This would ensure there will be variation as opposed to having the phase be super similar, such as +/-1 degree in the above low resolution example.
How Wirecard Went from Tech Star to Bankrupt
Anyway, Look real companies like DJI
Not disagreeing; what you said is “running an insurance company 101”

The problem is that the logical extreme is eugenics (and DNA testing is making that a practical reality), except we have a weird carve out for people in the US that have a “proper” job.

That’s why many (most?) people think it’s time to abolish private, for-profit health insurance.