skysight-inc/HackerNews huggingface dataset:
>So how can you get people do unpleasant but necessary work without direct benefit for them?

I don't think we're going to be able to discuss this. Our priors are too different. This question sneaks the premise that people won't and don't "do unpleasant but necessary work without direct benefit for them", despite counterexamples littering the (impressively capitalist) world. Engaging with the question on its face is accepting the premise. It'd be like if I asked the parent "by ensuring that nearly everyone has to do often-meaningless and sometimes actively harmful things in order to avoid succumbing to exposure, what are the powerful people (who can, and do, choose not to debase themselves thusly) trying to prevent?"

For that matter, I might recommend David Graeber's Bullshit Jobs, in answer to implication that all work is necessary.

>My impression is that the tedious and unpleasant work in large projects like Linux is often done by those who are paid for it

Linux itself didn't spring from a salaried worker, and large open-source projects having paid maintainers wasn't a requirement for their inception. AFAICT, paid maintainers exist precisely because their open-source projects have grown too large, unwieldy, and important to be allowed to be someone's pet project that's only worked on in spare moments.

And it's not that nobody's interested in large open-source projects, it's that the current system doesn't allow one to focus oneself entirely on something that doesn't make money, because without money, one dies of exposure. I can say this with confidence, because all those open-source projects that now support paid workers evolved from smaller ones whose contributors worked for free-as-in-starving-artist.
> Prions are "just" proteins

According to whom? You make it sound as if at some point scientists thought that prions were "just proteins", which I'm sure is not true.

I'm not saying new medicine can't have side effects a long time after ingestion.
That model had a known issue with excessively high write amplification, for which Intel published a firmware fix: https://www.intel.com/content/www/us/en/download/18821/26452...

In general, you should be aware that the "life remaining" indicator may merely be the "warranty remaining" indicator. If the unused reserved block count isn't approaching zero, a drive can usually keep operating long past the official write endurance rating. However, in addition to the above bug, Intel is also known for putting a kill switch in their SSD firmware tied to the "life remaining" counter, so you might have actually experienced the SSD going read-only when that hits zero.
"worst ever" seems overblown from random 'security expert' but definitely a shock to smaller province areas like Newfoundland to be knocked offline for so many days. Seems like will forever be problems like this when all it takes is a random email link click and whole networks of computers linked together can be tied up.
They had backups but still missing weekend/recent days - typical.

Question is, did they pay the ransom?
Would be interesting to see how that data compares with other diseases. For instance heart disease, which is largely preventable and kills more people
I would also add that many people are not used to asking for help like this, and he may need to really encourage his mother to get requests out of her.

It took a long time for my father to ask for help, and I could have been helping sooner.
Don’t mistake relative risk for absolute risk. Not everyone who is vaccinated gets Covid, but everyone vaccinated is at risk of vaccine side effects.

If a 30 year old has a 0.08% chance of hospitalization, the risk drops to 0.008%. But they might stand a 1 in 5 chance of getting infected so now it’s 0.016% to 0.0016%.

But if they get injected with a vaccine, the risk of a rare side effect might be 1 in 100,000 or 0.001% which is pretty similar to Covid.

It’s the same analysis the UK did that caused them to recommend against the AZ vaccine for certain age groups.
I think these references aren't really about what you think they are.

Under #4, the first one is about navigation. Again, if you don't know somethings't there, then this doesn't help you. The second one is about detecting other submarines. This was an underwater mountain. The third one is about both things, which as we just said aren't applicable, and is also about a work of fiction.

The Google patent is, again, about an Inertial Navigation System. It says so in the first sentence. It doesn't do what we're talking about.

The final paper, if you read beyond the abstract, talks about it just being theoretically possible. (The title with the question mark is the clue!) So we don't know if the submarine has the technology or not, or how developed it is.

All that lets us know it isn’t ‘child play’. I think people are thinking of active sonar when they say that.
>tools like type-hints, mypy, (frozen)dataclasses, Pydantic, etc. is trying to address at least the latter two points here (type-driven & illegal-states-unrepresentable)

At some point you have to admit to yourself that it's the wrong tool for the job, when is this going to be?

Dependency/environment management is poor as well given how popular the language is. I believe it's popularity is similar to that of PHP in the past; flooded with carefree users.

I would strongly advise against using python for anything other than PoC/experimental endeavours.

It's a scripting language, and should be used as such.
SciFounder Capital – investment voting rights given to scientist founders
Erlang - which does async very well for a lot of tasks - is not particularly fast. What it is good at is juggling a lot of things at the same time in a fairly predictable amount of time.
I've never worked for a company that did (18 years in the industry this year). Of the 8 companies I've worked for, only one had interviewing figured out, and they didn't track or measure metrics on coding tests, challenges, etc. They did allow the challenges to evolve and they were tailored to the position that the tests/challenges were for.
Doesn’t matter which way you say it. Taiwan is not part of China.
HN works like this: People submit links and other people vote on this links. You too can add something to HN, just use the Link submit, try it! :) Share something interesting with the community!
More readable link on mobile: https://teddit.net/r/whatsapp/comments/qmwtyn/my_security_co...
I used to think that same thing

I recently found a very smart fellow who has been writing translations of a small Scala "expression interpreter" with monads and what.

But in Java. I kid you not.

He wrote it in JDK 8 Java (pretty far from Scala)

Then updated with JDK 15 features Java (getting closer)

I made a rough pass at JDK17 Java
using records and ADTs (sealed types) with pattern match "switch" and the net result is an almost verbatim translation.

https://github.com/Randgalt/expressive-java/issues/1

There is one ugly line which JDK18 will fix, "destructuring in pattern captures/match".

See "Deconstruction Patterns" at bottom of page here:

https://openjdk.java.net/jeps/405
This is the number one reason to scrape websites. It's always nice when there's an API with documentation and rate limiting rules you can follow. Sometimes the data I need just isn't there, though. Then I open up their site and find a huge amount of private API endpoints that do exactly what I want. Then I open up a ticket about it and it gets 200 replies but they ignore it for years. It's fucking stupid and it's really no wonder people scrape their site.
My personal opinion, which reasonable people may of course disagree with depending on how they weight various factors, is that forcing people to regularly hide their faces in public is too large a price to pay to avoid sometimes getting a cold.
App stores are experiencing a “race to the bottom”
Waymo will start mapping the complex traffic patterns of New York City
I run a large scraper farm against several large sites. They're not online shops, and we don't compete with them. But they do have hundreds of thousands of data points that we use to provide reports and analytics for our clients, who also do not compete with the sites.

I absolutely would pay for an API that provides that data. I'd be willing to pay 10x more than the cost of maintaining and running the scrapers.

But the sites being scraped have no interest in that.
I hope the author found gainful employment, but this post seems self-unaware which may part of be why he gets rejected. He concludes the interviewers/process are bad, because he thinks he "aced it". There's no consideration that he may not have done as well as he thought.

People like that are hard to work with, because they react this way to everything. Bad feedback on code review? "I thought my code was great, it's the reviewer that sucks." Nobody wants to work with people like this and they are almost never as good technically as they think. They work hard to not see their own shortcomings so they don't fix them.

I don't know the poster, he may not be the type I describe, just how the post vibes with me.
No, in his benchmarks the async version should still be faster, the problem is python is just slow.
Computers have to run even when we're not looking at them, at the very least.
I’m actually at an appointments for my sons leukemia right now.

My email is in my profile; feel free to reach out and/or look in my comment history. Sorry I don’t have time for a more in depth answer right now.
Many consider astrology to be a creative and self-reflective process. Definitely would want to hear technical ideas from that kind of person. In any case, it’s up to the reader to decide where they will look for ideas and what they find valuable.
For some components, like a button, overriding some css may be all you need. But other components can be more "opinionated" - for example, for a Slider component, do you want to label your thumb value? Does it go on the side of the slider or on top? Maybe even embedded into the slider track itself? Is it only visible when you're dragging or always there? What if there are multiple thumbs? Etc.

Some libraries will offer a ton of props to customize different parts of a component - and for some use cases, that is enough. But sometimes it is just easier to structure and style the component however you want, with custom behavior sprinkled in, and then letting a library like react-aria take care of the rest.
I’m perplexed why you are defending a corporation after such an excellent reply from the above poster ( and I’ve taken the vax).

But l add the death rate according the administration is around 0.5% from the latest stats due to lack of testing.
I think on older machines you could hold down the option key and get a secret menu that let you set more options - not sure if that's still the case though.
No, their shareholders lose money. People who later become their shareholders gain money.

As with any other way of spending money, that is often in their shareholders' best interest, but arguing that it is not an expense is nonsense.
Go Functional Options are named args on steroids
As my handle would imply I've spend most of my career in Japan. Paradoxically some of the best coders among Japanese are the worse English speakers--perhaps an inverse-correlation. It's not uncommon to see code comments in Japanese (or Chinese for that matter in China.)
It's not a TLS certificate that's the issue, it's a certificate for the signatures on the executables.
I think his argument is that this is the first time remote work has gone from some sort of fringe concept to a widely accepted concept. So it's a cultural shift.
Apple ditched all the x86-32 code with Big Sur (one reason we can't upgrade at work..). So its a subset. They did the same with 32 bit iOS Apps. Apple is happy to leave old software behind.
I’ve found therapy and support groups helpful during and after going through this. People at work and other places may not get it or have the capacity to care to the extent to make a difference.

It’s weird when people are having conversations about dealing with a home purchase or finding a daycare then when asked “what have you been up to?” Saying “dealing with a family member who is/may be dying” and then they say “oh wow, sorry to hear that let us know if we can be of support” and knowing they don’t really mean it and are just kind of trying to move on to an easier conversation.

It’s not an easy thing to go through.
I think it's fairly common, in different professional fields, to teach skills that would require expensive equipment.

Most of the practical lab skills you're taught for doing "wet" biology require quite an expensive lab, and doing computational biology often requires a much more expensive supercomputers.
Heh. I was a TA for a grad school engineering course. The professor accidentally assigned a problem he thought would be easy, but he had a typo and it led to very messy integrals. It wasn't hard, just tedious (think multiple pages of derivations, where at each step the expression was multiple lines long - repeated integration by parts).

He had a policy of no calculators/computer use, but he relaxed it for this assignment as he didn't want students to needlessly suffer.

All the kids that used software (Mathematica and similar ones) got it wrong. All of them. Each and every one made a typo somewhere.

Thing is, had any of these students done a very simple dimensional analysis, they would have known very quickly that their answer was incorrect. I'm sure they would have done that analysis had they attempted solving it by hand. However, people tend to forget sanity checks when working on a computer.
Several wrongs doesn’t make a right?
The article talks a lot about coverage but not utilization. Searching the domain (I'm not going to read all of its content to narrowly search for something) doesn't surface much data or discussion of bus utilization.
Indeed goes deep it was the first time I look into code doing something like this done, Joe the original creator wrote a tutorial for his method whic:h helped me understand it a bit
https://www.j0e.io/tutorials/wad3-format/

I'm not that good when it comes to algorithms and such so I can't say I can replicate the method by myself in other languages for example, That's why my additions were only the redesign and minor features like search and exporting

Oh and maybe y'all can talk about the parsing etc, that's his website I linked above, when I emailed him he said he forgot about the project since no one ever mentioned it (despite being the only HL WAD editor that works online I found)
I have this idea that maybe ads should be entirely disallowed from everywhere, except for catalogues, printed and online. Crazy, right?

It would work like this: you feel like spending money or you want to buy a specific type of product? You pick-up/load the catalogue and browse until you can't take it anymore, or at least until you find something. And then follow a link to the seller's website, or get the address of the local store. No more ads everywhere, not in the physical world and neither in the online world.

Admittedly, I have not spent much time thinking about it and the possible side effects.
Pretty much the obvious - they are drop in engine swaps sold in a crate. These offer a somewhat straightforward way to upgrade a powertrain and often come with brand recognition (like the "Hellcrate"), certifications to a certain power level, pre-made engine control tuning, or sometimes even a warranty.

However, in the internal combustion world, they generally represent a poor value compared to sourcing a used engine block and upgrading it with aftermarket parts. So they're by and large the domain of wealthy buyers who are usually paying a shop for a "build."
You need to rephrase your question. Does M1 (any M1) still hit 90+°C at full utilization? Yes it does. Does the machine itself get warm/hot when working hard? The Air, yes (plain M1 but no fan). The 13" Pro, not really (plain M1 and has fan). The larger Pros, yes (have fans, but more powerful M1s).
Do the machines get unbearably hot? Depends on what you consider unbearable. For some people, apparently not.
> Specifically HandleFileUploads in uploads.go is called from a couple of PreAuthorizeHandler contexts allowing the HandleFileUploads logic, which calls down to rewrite.go and exif.go, to execute before authentication.

I'm no security guy, but this seems... incredibly dumb? Like even for perfectly secure code, the asymmetry in resource usage alone to submit an image vs. get them to dump a file, shell out to a scanner, and rewrite that file would probably be enough to seriously hurt smaller GitLab VMs.
Well... they're not really "making" an astrology product. They're an engineer "making" an application backend. It's almost kind of irrelevant what it's being used for in this context (a relatively technical discussion on the merits of a language).
Exactly! The development actually languished for many months and I almost scrapped it. Only in the past week or two did I decide to revive it when I once again felt the need for it (9 months go by fast).

Thanks!
I don't have much experience with modern async python, but I used Twisted coroutines (with `yield` instead of `await`) a lot. I found the greatest benefit was responsiveness. You could write networking code for a GUI in imperative style, and the GUI would still remain responsive. You do have to make sure to not do any big computations, but only IO on the main thread, as async only helps with the latter.

Actually, I found that in some places the code wasn't perfectly "async", or there were some hidden CPU intensive parts, so that every now and then the GUI still had responsiveness issues. I then moved all the network code to a separate thread. Then I had two event loops, one from the toolkit (Gtk) on the main thread, and one from Twisted on the background thread. For communication, I had functions to "submit" a function to run on either thread (a form of message passing). Personally, I found this to be the best way to architecture a complex GUI app. For such an app, the most imporant things are that it is responsive and correct, so this works pretty well.
London is great.

So are many other large and diverse multinational cities. Many of them also happen to be great for in-office tech job opportunities.
I will still want to live in a big city, and I will still likely rent a place in a coworking fitted as I wish.
Ransoming one kind of ignorance for another, based off the impact one risk has over another, is Pascal's Wager, not knowledge.
Somewhere in Croatia. Good weather, good food, good internet.
The partner repost without paywall
https://arstechnica.com/science/2021/11/alphabet-launches-ai...
We recently had our first child and finding a name for him was extremely difficult. We tried using books and apps but they weren't that helpful.

Part of the problem was that we wanted a name that would work in both english and spanish, and wasn't too popular or trendy.

I found that I hated most boy names, especially the ones that are trendy today (Aiden, Jaiden, Zaiden).

Feel free to name your kids whatever you want, but here is my advice to anyone who is trying to name a child:

---------

1. Do not tell anyone what the name will be before the child is born. They will try to talk you out of it.

2. If your family is not a native speaker of your language then present them with a list of a bunch of names that also includes the ones you want. Then ask them to pronounce all the names. That will let you know if your family will be able to accurately pronounce the name.

3. If you are going to give them a middle name make sure that their initials don't spell out something embarrassing like Carl Otis Winslow.

4. Do a google search of your child's first and last name so you don't accidentally name them after a serial killer or some other controversial person. Also google their initials so you don't accidentally name them after a company or a chemical.

5. Consider how their first name can used against them by other kids. Does it rhyme with something? Is there some famous fictional character with the same name?

6. Try to delay giving your child a name for as long as you can before leaving the hospital. This will give you time to decide which name best fits this person who is now in the world. (I thought I would name my son one thing, but decided that he didn't 'look' like some one with that name)

7. Do not leave the hospital without naming the child (unless you have a good reason to do this). I know some one who waited a month to name their child and they wouldn't recommend doing this.

8. Consider how popular the name is. Most of the names in the top 10 are popular for a reason, they tend to be good names, but do you want your kid to have a unique name, or just another kid among the other 10 Liams and Olivias in their class?

9. People are going to give your kid a nickname the instant they are born, whether you like it or not. Are you okay with people calling your kid Bobby, Danny, Mikey, etc? If not then consider a different name.
The statement that at some level species have been optimized is a religious belief, not a scientific one. Species are at the end of an evolutionary history that ended in the present. There is no reason to believe that that endpoint is optimal in any sense. It is certainly not globally optimal, and absent very strong selection, it may not even be locally optimal. Evolution explores an infinitesimal fraction of the possible states/pathways available. Without more thorough exploration and strong selection, there is no reason to believe things are optimal.

I think I’m not going out on a limb to say that no modern evolutionary biologist believes organisms are optimal. They simply survived.
Thousands of intel officers refusing vaccine risk dismissal
Again, as someone who worked with toxicology, yeah. The default is every new molecule might be highly toxic and needs to be proven otherwise.

It’s why we don’t look at a molecule and say “oh, that’s not a carcinogen! No need to test”. And the same reason we run hERG tests to make sure drugs don’t give you a fatal arrhythmia (a surprising number of drugs do this and some are still on the market).
>When did Facebook and twitter become the authorities?

When they became defacto owners of the largest modern day town square where the majority of political speech is conducted?
Yes, I don't disagree with rjbwork.

I may have read the article a bit differently, it sounded like "don't bother too much with async, it's slower, even for realistic web servers".

In your I/O-bound Node.js server, if you would exchange all async calls with synchronous ones, your performance would get a big hit.
What do you mean by rewritten? In

func_a() > func_b()

I expect left-to-right execution order. Not that it should matter in a good code, but anyway.
HPV vaccine cutting cervical cancer by nearly 90%
It's shorter, I don't know about concise though I suppose that's a subjective point anyways. While it's generally exactly the same there are some corner cases involving formatting rather than structure tags where it's not always 1:1.
Xiaomi is in Beijing
For point number 2:

> use AWS Step Functions to orchestrate these workflows using a versionable, JSON-defined state machine.

I think a better approach would be to use a proper workflow engine [0]. Using a standard modelling language like BPMN and the ability to monitor, audit, and optimize make this a better option than an Amazon-specific approach.

[0] https://www.infoq.com/articles/events-workflow-automation/
> the common anti vax sentiments I hear on this web site (ugh).

Seeing this stuff so prevalent on HN really disappointed me.
So you don’t think littering the environment with a battery encased in plastic is a big deal?
We tried that at one company I worked for and it worked well enough. Our contract with the consulting firm said if we dumped the contractor within 90 days we didn't pay a cent for any of their time. This resulted in the consulting firm only sending us candidates that had good reviews in prior engagements. And good reviews from prior engagements strongly correlates with good reviews in future engagements.