skysight-inc/HackerNews huggingface dataset:
> But the main problem for me is the cost is too high for such little benefit. Understanding and maintaining a type system like that is hard. You are not going to eliminate all bugs. Wouldn't the effort be better spent on writing more tests? I feel like developers prefer creating more types over writing more tests because it's easier, though.

It's not that types are "easier", it's that they give you things that tests either can't provide or don't provide without serious discipline (often lacking in general, but even when present it's easy to let things slip through).

The thing to aim for is both. Since, short of dependently typed languages, it's practically impossible to encode everything into the type system, tests will remain. But types allow you to express things that become tedious in tests and get the same at least as many guarantees as a comprehensively tested code base but without the same dependency on discipline, which doesn't scale.

> This contradicts the Universal part of UUID. If they're not the same then why use UUID at all?

UUID = Universally Unique Identifier. Not "Universal", "Universally". That extra bit is important, it's qualifying the "Unique" part and not the "Identifier" part. But, importantly in the context of the article, UUIDs could refer to different "types" of things (users, inventory items, addresses, transactions, etc.). By adding a shallow (in this case) wrapper around it it prevents trying to do something like receive a User ID (as a UUID) and trying to find it in the inventory database (using the same UUID value).
I'm joking about the restaurant experience. Nowadays the staff usually comes out with a portable machine though.
It all depends on how well-implemented, or not.

For example, Toasttab QR codes on the paper tab work brilliantly. They do not require the restaurant to retool with thousands of dollars of mobile devices for servers. Excellent use of a QR code.

As others have pointed out, getting a pdf that does not format well on your smartphone is a disappointing experience, but that is not the fault of the QR code. The problem is in what comes after.

You could be able to order from your table via smartphone, but usually you can't because the landing page is a dumb pdf of a paper menu, and the QR code does not include information about which table you are at, and the restaurant systems need human intervention to know when to open a new tab.
This is the trait that I have found in successful people around me:

> The most basic level of which is simply to feel you should be working without anyone telling you to.

> Now, when I'm not working hard, alarm bells go off. I can't be sure I'm getting anywhere when I'm working hard, but I can be sure I'm getting nowhere when I'm not, and it feels awful.

How does one cultivate this feeling?
All of them. The data still needs to be downloaded to be rendered.
> Like all things in life, when its implemented well it works

As does a physical menu.

I don't want to take my phone out when dining.
I don't know the exact details and I could be wrong, but my understanding is:

There is IP around the production process (specifically the genetic strain of e-coli). Because the production process is biological, generics produced with a different process are not automatically approved by the FDA and have to undergo an expensive approval process. Thus the goal here is to devolop a process with open IP and get that process approved.
It's not that it's secured with PHP, it's that it's not secured properly. Given the scale of this screw-up, there's nothing tying it to PHP, and it could've been done in the HN language/platform du jour.
micro-dollars are a better way of representing it (multiply by 10e6); store as bigint.

See: https://stackoverflow.com/a/51238749
Actually, I believe it's tricky to say if even human can actually do that safely. There's the whole concept of "cleanroom rewrite" - meaning, if you want to rewrite some GPL or closed-source project into a different license, you should make sure you never ever seen even a glimpse of the original code. If you look on GPL or closed-source code (or, actually, code governed by any other license), it's hard to prove you didn't accidentally/subconsciously remember parts of this code, and copy them into your "rewrite" project even if "you made a decision to not copy". The border between "inspired by" and "blatant copyright infringement" is blurry and messy. If that was already so tricky and troublesome legal-wise before, my first instinct is that with the Copilot it could be even more legally murky territory. IANAL, yet I'd feel better if they made some [legally binding] promises that their model is based only on code carefully verified to have one of an explicit (and published) whitelist of permissive licenses. (Even this could be tricky, with MIT etc. actually requiring some mention in your advertising materials [which is often forgotten], but now that's a completely different level of trouble than not knowing if I'm infringing GPL or some closed-source code, or other weird license.)
Standard floats cannot represent very common numbers such as 0.1 exactly so they are generally disfavored for financial calculations where an approximated result is often unacceptable.

> For example, the non-representability of 0.1 and 0.01 (in binary) means that the result of attempting to square 0.1 is neither 0.01 nor the representable number closest to it.

https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accu...
Brilliant.

I remember over a decade ago seeing a grad student project with a very straightforward and very clever idea: extending JavaDocs based on code snippets of actual use (to address the common pattern problem in Java code that you often get an instance of an object not by direct construction, but by calling a factory function or singleton getter somewhere). Kicking myself that I didn't see this day coming.
I don't get the obsession with awesomelists. Seems like every time I go to check them out, there's five different lists for the same subject, and none of them are kept up to date. Just seems like someone's weekend project that gets immediately forgotten.
LOL. But you actually make a good point here. GPT-3 can replace most comms / PR type jobs since they all sound like Exec-speak.
Yeah, but you have access to a computer and you are speaking english. Some may consider that privilege, like "Being able to decide what to work on requires a certain amount of privilege". I can decide what to work on like all of my friends and family but I don't think me or they are privileged. In current climate, anything beyond subsistence is considered privilege and used to belittle and shame those who have means to have life not lacking in neccessities. I'm flamebaiting, because original comment is not in any way insightful, but essentially means 'Oh look, he can choose what to work on, he is "privileged"' without any further meaning.
Please note that this is a parody:

> The PARACHUTE trial satirically highlights some of the limitations of randomized controlled trials. Nevertheless, we believe that such trials remain the gold standard for the evaluation of most new treatments. The PARACHUTE trial does suggest, however, that their accurate interpretation requires more than a cursory reading of the abstract. Rather, interpretation requires a complete and critical appraisal of the study.

> After several rounds of discussion, the Registry declined to register the trial because they thought that “the research question lacks scientific validity” and “the trial data cannot be meaningful.” We appreciated their thorough review (and actually agree with their decision).

> All authors suffered substantial abdominal discomfort from laughter. RWY worried that BKN would not keep his mouth shut until the Christmas issue was published.
There's that insecurity thing he was talking about.
I haven't personally done any experiments in biology, but I believe control group'ing and randomization is so basic that if they haven't done that, they're probably not trying to seriously study the issue.

The purpose is to try to diminish a bunch of systematic errors in the setup of the experiment. Systematic errors lead to stupid wild goose chases of side effects of the experiments themselves, rather than actual interesting effects.
> If you like quick and dirty, just make sure you have a working Node.js environment and generate a simple project that supports Webpack or Parcel

There’s nothing quick or easy about these steps. Linking to a jQuery CDN and getting working code immediately is easy.
http://g.co/appsecurity has more details but TL;DR is that Google is supportive of people disclosing unfixed bugs after 90 days, which is what happened here.
Strange how this was suddenly removed from the frontpage. Is this done manually?
Who thinks being a millionaire means a yacht and a jet, other than children?
Eh, I don't know. I came from a lower middle class background, but am now top 1% for my age and income + I probably have more wealth at this stage of my life than PG did.

I love idleness and leisure. I only work to get more of it in the future. I do have a drive to do a job well, but not for the sake of achievement itself shudder.

The idea of saying at age 13 "I hate leisure activities, its not productive" is really unsettling to me.
> If a user forgets their password or

Isn't this the reason for a hardware reset button?

Having this available over the internet is probably negligent.
> Only smart people could be convinced of such foolishness. A classification system as simple as 'race' may not provide an accurate taxonomy for all scientific purposes. It does however provide a sensible abstraction which has persisted uniformly across cultures and time because of its utility.

Notions of race (either at the high level of what race in general is, or at the lower level of what defines specific races) are not, even approximately, consistent across either space or time. I mean, I get that it makes building arguments much easier if you can start with your conclusion and just invent whatever premises are convenient to support it, but...
Martin - if you're here, and would want to continue speaking were it not for the physical problems you face - perhaps you should give beta blockers a shot? Side effects are uncommon, risks are low, addictive potential is low, so doctors are generally willing to prescribe them if the patient requests it.

It sounds like you're just experiencing stage fright. Many professional performers get this way, and beta blockers have been shown to help reduce the physical symptoms of stage fright(tachycardia, sweating, etc): https://pubmed.ncbi.nlm.nih.gov/6129674/

I had zero problem public speaking in school, or in casual public speaking (ie addressing participants in a sports league I help run), but I learned when I was 25 that I actually do have public speaking anxiety from a professional perspective. Perhaps it is because school/sports were low-stake activities in my mind, whereas I know that my professional performance is directly tied to my ability to support my family. So now I occasionally take a beta blocker before a big presentation, and they go as smoothly as my public speaking did back in college.
Is “you’re gatekeeping!” the new “first comment!”? I fail to see the information gain from adding this message to every thread.
A contractor seems equivalent to SaaS to me
Github sources suggestions from OS projects. There have been AI completion tools that upload your code, basically spyware. Definitely check thoroughly if that’s the case!
> Code confidently
in unfamiliar territory

Hmm... this looks like it could be a useful tool but I'm wary of its use devolving into an all-purpose hammer.
ClickHouse Object Storage Performance Benchmarking: MinIO vs. AWS S3
How do you scrub your Facebook profile? There aren’t good tools for it. Facebook itself only lets you do it one post at a time in their activity log. Their constant design changes have broken extensions that used to help you do it (https://chrome.google.com/webstore/detail/social-book-post-m...)
The retail price of my Humalog is $280 a vial. I have insurance so my cost is a fraction of that. Also, I don't know how Novolog compares to Humalog, but $73 a vial is a step in the right direction for diabetes patients who are uninsured or underinsured.
I noticed that as well.
Food engineering, maybe. It's not science or even applied science.
This page has a looping back button hijack for me
Why do roads, rail, and infrastructure cost so much to build in the US?
It's the old joke isn't it. A boss is out with one of his employees when they see a Ferrari drive past. The boss turns to his employee and says if you put in the hours and work really hard then one day I'll be able to afford one of those.
Natively no, but writing some JS code that will take an array of objects and turn it into a DocumentFragment is a trivial exercise. And once you're representing your HTML as data, looping and data binding are trivial.
The jQuery example is good, but the "vanilla" example is cleaner and simpler: the class name isn't decorated with a dot, the CSS property name is not quoted, $ might be hijacked or overloaded, it is not obvious (compared to a plain assignment) that css is a setter and what arguments it takes.
So Mozilla wasn't sending browsing history to Cliqz?
document.querySelector(selector) is more typing and more visual clutter on the editor screen.

jQuery is elegant, concise, and was designed by a genius. The "modern" methods are ugly, verbose, and were designed by a committee.
> I think the network effect is highly overblown for the average person. Sure, networks can be good for the people in the top 10%, but I don't see it really helping most of us because what are the chances our average friends will be in a position to hire us to a high position.

Your friends don't need to be in a position to hire you into a high position. They just need to be in a position to recommend you for a good job that might be a step up. Or put in a good word for you when you apply at their company.

They don't even need to be friends. In fact, most of the time I get my back-channel references from people who simply worked at a company at the same time as another person.

Network effects aren't always obvious. I can't tell you how many times I've changed my mind on a candidate (in either direction) due to a friend of a friend giving me some more info about their experience working with the candidate.
> The one precisely dateable landmark I have is when I stopped watching TV, at age 13.

It frustrates me when people brag about this like it's a universally good thing. Imagine 100 years ago someone bragging that they stopped wasting time reading books.

It's especially frustrating to see PG do it given that he's an artist (or at least used to be), basically putting down another art form.

TV has good and bad things. TV can convey information. TV can be an art form, consumed passively like a painting. And TV can just be a mental escape, like reading a novel.

TV is not good or bad, it's how you spend your time watching it that matters.
That's not really how it's going to go though. Just look at what your average person is able to accomplish with Excel.

Your own example of the CEO becoming a CTO can be used in every level and part of the business.

Now the receptionist is building office automation tools because they can describe what they want in plain English and have this thing spit out code.
Which of the book elaborates on the funding of innovation by the pentagon due to purchase contracts.
The last building I lived in was reinforced concrete. It was great, I definitely couldn't hear the neighbors, except I could still hear the people upstairs walking around in what sounded like tap shoes at 2am on Saturday nights. Some people just have more fun than me.
It would seem that the creators actually relish this because it's a great attention grabbing tactic. It's the same thing as click bait headlines "one weird trick"... trying to goad the platforms into enforcing their policy so that you can jump up and down about how you're being "censored"... A certain kind of audience, prone to conspiratorial myth, will flock to these creators and the "controversy" like moths to the flame. https://twitter.com/NovelSci/status/1404819889454342159
We already do this with libraries and frameworks in a more primitive way. The hard work is actually done by a hand full of programmers, everyone else is sticking pipes together. I don't think that's a bad thing per se, but in my experience most people don't make the distinction. You're not going to be able to write your own database server with this tool if you weren't able to do so without it. If you're one of the few programmers that are able to build a database, a graphics engine, a compiler etc. you're fine. Everyone else should probably feel a mild panic. You'll be automated away in a couple of AI generations.
Great. Maybe the availability of data that isn't easily analyzable by GWAS will finally move genomics away from correlational studies and towards actually trying to understand causation.
> A human (developer) displacing another human (business person) is entirely different

That's not what is happening though, a few developers replace thousands of business and industry people with automated tools. Say, automated route planning for package delivery, would take many thousands of humans if not for the AI bots that do the job instead.

> SWE is a complex field, way more than typing a few routines. In best case (technologically speaking) this will be an augmentation.

Of course there will always be some jobs for humans to do. Just like there are still jobs for humans loading thread into the automated looms and such.

But your arguments against automation displacing programming jobs ring hollow. People said the same thing about chess playing programs, they would never be able to understand the subtlety or complexity like a human could.
As a programmer who specializes in security, I worry that many of the common errors that people make will get picked up the AI and recommended to new users. It looks like it gets reinforcement from the code that the user selects. In my experience the majority of developers make security errors, so how is the algorithm going to learn not to do it the wrong way when it's learning from bad code and getting reinforced by developers who are wrong? (This is an honest question, not a criticism. I think this product is fascinating)
Pfizer and Moderna vaccines may produce lasting immunity
Ask HN: Has anyone had a manager who's started having memory/cognitive problems?
I work on a small team within a larger R&D group. Earlier this year our program changed. Now, 5 months later, I'm still having to remind my boss of the difference between two key technologies that we're using. He's also often mixing up unit prefixes (I do it to, but not all the time) or questioning why we're adding a feature we've reviewed a number of times. He's in his early 60s and I'm worried he's experiencing some early-onset symptoms or something. He's a great guy and still is helpful in business practices (developing the structure for proposals, etc.) but it's becoming difficult to make progress in getting budget and driving decisions from leadership when he has a hard time retaining the limited number of details and justifications for what we want to do.

Has anyone gone through something like this? I'm really hoping it's a temporary thing, but thinking back it does seem like he's had a gradual decline and some personality changes over the last year, and it's only now that things have gotten quite apparent that I'm realizing there may have been earlier signs. I think the right thing to do is to talk to him and ask if he's doing okay, but we don't have regular one-on-ones and it will be hard to make this happen naturally. I don't think engaging HR is the right thing to do, and I don't want to go over his head to higher management either.
As someone who has gone from being poor to being upper middle class via the tech industry, I can say without exception hard work had nothing to do with it. Every quantum leap in my career came from convincing some rich guy to allow me to bask in the mist of the cash firehose being directed at them.

I would say working hard is actually negatively associated with success. Once you get branded a “worker bee”, your chances for high level advancement quickly bottom out.

If you really want to get ahead go to the right parties. The VP no one can ever get a hold of is making an order of magnitude more money then the middle manager putting in 80 hours a week. That person will correctly have been identified by the execs as not belonging to the upper class.

That being said, once you see how the game is played it can be hard to stomach. It is reality though.
Virtual DOM is completely different from Shadow DOM. Shadow DOM is an isolated DOM of a web component, separate from the global DOM.
In addition on my pixel 3 you can open camera app and long press QR code. This works with or without enabling lens suggestions.

So, double press power button, long tap QR code, and click link to visit site.
It's a bad argument, though. Financial literacy isn't even necessary, though it may help. Life happens, things occur that make sustained savings impractical or impossible, and so on.
I wonder if the work they put in can be extracted to some kind of tool the other projects can use as well. NAT traversal always seems like the limiting factor in projects like this.
I think what they are getting at are loss-leading products they fear wouldn't have been made in that timeline.
Once again YT caves into the mob and cancel culture which has targeted an innocent victim.

If you read into the story of Bret Weinstein and evergreen state college you'll see that Bret is actually the target of racism, not the other way around.

I have watched Bret's content on YT and his content is always high quality and very well researched. He keeps an open mind to topics and thoroughly researches stuff before dismissing it.

Once again YT is in the wrong here.
Using float for currency calculations is how you accumulate a bunch of rounding errors. Standard practice when dealing with money is to use an arbitrary-precision numerical type.
Depends on the restaurant. Cooks are human too, so some will get bored after making the same exact thing for a year. Others might never get bored after a decade, or decide to keep making a dish because it sells well.
Odiggo – Car-Services in minutes
Odiggo is a marketplace that helps car owners get access to all car parts suppliers & service providers around them
> Khruschev-era Soviet apartment

They were terrible, yet better than a wooden house.

As somebody who spent few years of my childhood in Russia, I find it bizarre that today construction quality actually went lower than that.
This is common for political content (often that leans in any direction) due to user flagging.
Yes, in my opinion this study is too small and uses a too narrow sample of the population to matter. Not much to write about really
I think we should begin thinking about not only "unpaid" internships (if there was no value, no one would do them), but also "admission costs" for internships. If you want that little FAANG blurb on your resume, you gotta cough it up. The lifetime value of that internship probably exceeds a million but a solid 5k sounds good to me.
There is already a legal structure in place for cover song licensing.

https://en.wikipedia.org/wiki/Cover_version#United_States_co...
I read that straw is basically outlawed bec it’s hard to make a house with it and still be on the right side of fire safety codes. Especially if you’re using it as part of your insulation strategy.
Even Google's Go client for the GCE metadata uses an IP address:

> Using a fixed IP makes it very difficult to spoof the metadata

https://github.com/googleapis/google-cloud-go/commit/ae56891...
Don't worry - this article isn't about Uncle Bob.
Wondering as well.
It's definitely not free when you consider the infrastructure behind providing online menus.