skysight-inc/HackerNews huggingface dataset:
Maybe this is a subtlety of Go I'm not aware of, but at least in most languages, the issue with the explicit return value is that you must first return before you can send the value.

By being able to call into the response object, the handler is able to send to the client immediately, and then the handler writer can do other bookkeeping before exiting the handler.

With a return value, work would need to be fire off asynchronously before the return value is sent.
Even easier: tar --help
Oh I see, how many did you choose for the bucket numbers?

( I assumed pre-allocate was a capacity allocation rather than bucket parameter )

I'd recommend 82139 which is the closest prime above 82137 which is Sqrt(Pi/2 * 2^32) which is the expected number of items before a collision.

I'd also be interested to hear the performance under the hash function:

hash(x) = x

This is the CLR and JRE's prefered int32 hash. It's a poor hash for cryptographic purposes or wanting random bits but it has stellar performance for the most part.
One thing I don't understand is that crypto and web3 are about taking back control, but anyone can drop anything in my wallet. Is that correct? It makes me anxious about participating because I can't control that.
Providing `White Phosphorous` manufacturing service for people who you know use it for illegal acts is also illegal.
Where do we report a mod that is abusing his authority? Dang is banning people left and right without justification.
Winston Churchill once said that: “HN comments are the worst form of online dialog – except for all the others that have been tried.”
I am subscribed to this RSS feed that shows recent, highly voted comments from across HN: https://hnrss.org/bestcomments. It relieves me a bit from the FOMO that might arise while browsing the site.
You may get better results by leaving the clock speed settings alone and adjusting the long-term power limits to an acceptable level. That way you won't sacrifice peak performance (ie. latency, especially with only one or two cores in use) but will still get most of the power savings.
I write this shit down so I don’t have to remember it, thanks.

Back in the age of modems, when PPP was still the new hotness, I was proud of myself for memorizing the IP addresses for a few of the services I used regularly. Two or three times I got to punk my friends when the DNS servers got messed up, and they’re sitting with me in the computer lab wondering what else we could do to pass the time when they looked over and noticed that I’m happily typing away in the very thing they couldn’t get into because The Internet Is Down. No man, it’s just DNS.

Older, sadder but wiser me knows that I still could have done that joke if I had written the numbers on a scrap of paper. I could have had twenty instead of five.
>In such a case, it is possible to determine both the amplitude and the frequency of any electromagnetic radiation, e.g. light, with a frequency intermediate between the 2 peak frequencies of the receptors, from the 2 values provided by the 2 receptors.

Is it? How would you distinguish between monospectral illumination at a frequency between the two peaks and lower amplitude polyspectral illumination at each of the peaks? That ambiguity is essentially the basis of rgb displays.
Three DocSend, Zapier integrations to help you save time and boost productivity
I’m using the Zephyrus G14. I wouldn’t call the build quality bad.

It’s a more traditional style than a Unibody, sure. But it’s fine.
Facebook Gave Police Teenager's DMs in Abortion Prosecution
I beg of you, please reconsider the SSO tax (https://sso.tax/). This is becoming a big pain point for small orgs trying to become compliant that a small change like this can be huge in decision making. If I look at Pipedream, Airplane, Temporal, and Retool none of them will even list pricing if I need SSO, I'm suddenly a 40 person company with "Enterprise" needs. If you want an easy differentiator, including SSO in your Team tier is a simple way to do that.
It's like there is no barrier to entry to write a blog post -- anyone can do it!

Remove the long bulleted list about the travails of writing and publicizing a blog post, and you are left with a dozen short paragraphs whose thesis boils down to:

>> You can read an article written by someone who went through the difficulties I mentioned earlier and spent quite some time creating a content that he found important enough, or you can read the comments made by several other people who took like 10 seconds to write something (often mean and critical) about the title of the article.

Doesn't really require a lot of careful reading and consideration.
Another issue is that I've spent a lot of time and effort in the past to train up graduates on our grad program. Previously you would train up people and they'd train 2 years then work for at least 2 years after.

During the boom the last few years, people left after a year or 18 months. Only one stayed a full 2 years largely because he wasn't that great. Honestly can't be bothered any more.
> How would you feel, then, if people started writing mean comments down your post in less than 10 seconds?

Happens all the time. People have said mean things about me since 2nd grade. Doesn't bother me at all.
Unity is announcing their Q2 results today after market close.

If it's a disappointment, the company could easily be worth a couple billion less tomorrow morning. And then AppLovin's deal might sound more interesting to Unity's shareholders. That's probably why AppLovin timed this announcement like this.
Burying trees seems like a huge effort.

Is there a fundamental reason you can't treat the wood to make it non flammable and non digestible, and just stack them in big piles somewhere?
In grad school it seems obvious what you want to retain, after that it can become a bit trickier to make the choice. General question for everyone using this approach: how do you go about selecting topics to put into your SR schedule?

I mean there are so many things that would be good to remember: math problems and leetcode are actually continuously relevant if you're in employment and ever thinking about moving jobs, software engineering tools that are important for daily work (those are changing so fast in some cases that I'm wondering again how much is worth committing to long-term memory), maybe there are some academic fields where you want to stay up-to-date on the research, all sorts of life hacks in the household / cooking / DIY space, literally everything about your family life, maybe some strategies in hobbies (just recently got into speedcubing, which is a lot about algorithm memorization),...

Maybe the problem is just that I have too much of a "finite memory" mindset and we can easily remember all of those, lol.
With the new integration, Reddit users will be able to use FTX Pay, the company’s payment and exchange infrastructure platform, to buy Ether from supported Reddit apps.
No, it's not: https://www.cambridge.org/core/journals/perspectives-on-poli...

Even less so on issues like this, where the two privileged parties have the exact same policy despite it not benefiting the American people.
Yeah, at first (once my immediate confusion was dispelled) I thought they might be the Harvard Museum of Natural History but then realized his institution. Thanks for the reference; I’ll check it out the next time I’m nearby.

The first part of my comment was more a lighthearted comment on magazine photography + a little brain quirk.
This is not a good thing but I read HN comments as a way to outsource my critical thinking. The author of a blog post or article is speaking from a single perspective and set of biases. Reading through the comments gives me a sampling of thinking that comes from different perspectives and biases.
I've used Astro my company's landing page for the past year or so [0]. We write blog posts in Notion and port them right to the site and the experience has been fantastic. There are a few understanding quirks with regard to using React etc within Astro (it's SSR'd unless you add the "client" attribute, and counter-intuitively the Component Lifecycle doesn't run the same). For client landing pages, we'll use Astro too- occasionally they'll want a CMS to write their own blog posts without a Git / commit pipeline. In those cases, Netlify CMS plugs in seamlessly and has a generous free tier.

[0] https://koptional.com
It's just awareness that Intel hasn't shown they have any qualms about willfully overselling capability or externalizing technical debts.

Even with longer fulfillment timelines, availability isn't necessary worth the surprise cost of competitiveness.

Lifecycling early and having to buy additional hardware to meet capacity was passed onto our customers.
I finished my PhD a couple years ago, and my PhD friends that transitioned to software went into ML. Teach yourself some tool like Pytorch and some basic CS skills. ML’s barrier to entry is a PhD, but it doesn’t particularly matter which field it’s in so long as you can sell it right and pass the technical interviews.
Anyone can transfer money into your bank account.
This happened in the 2000 crash. There were a lot of people with CS undergraduate degrees that couldn't write a for loop.

A letter from an undergrad advisor was usually enough for the strong coders to cut through the noise.

These days most decent coding academies have relationships with hiring pipelines (check before you enroll!), and write recommendations for the strong students. That might only get you an entry level stepping stone job, though. (A letter from a professor with relevant publications is worth much more than a letter from an unknown coding acadamy.)
he's dead.
5.4mm == some
"You can read an article written by someone who went through the difficulties I mentioned earlier and spent quite some time creating a content that he found important enough, or you can read the comments made by several other people who took like 10 seconds to write something"

Can't I do both? I'm pretty sure I can, because that's what I do.

"You can read an article that is at least somewhat cohesive and informative, or you can read countless opinions that often do not add anything to your knowledge."

Again, I'm pretty sure I can do both. And opinions in comments often do add something valuable. That's why I continue to read them.

"You can choose to read a piece of article that took 1 hour to write by one person, or read the comments made by 360 people who took 10 seconds to write their opinion about the article. In the end, you end up consuming the same 3600 man-seconds. The difference is that the article author went through the steps I mentioned earlier to give a better experience about his content, and the commenters did not."

Three different paragraphs all to say the same thing. The article should be more useful, so you should read that instead of the comments, which are almost certainly not useful.

I guess my experience is not at all similar. Most of the time I find the comments more useful than the article. The article in question is no exception. The entire thing can be summarized in one "ten second" comment with nothing useful added by reading the full article.
Get a job as an entry level QA. This is the way.
Just check the unarchived version of the site OP linked: https://help.github.com/en/github/managing-large-files/what-...
Unfortunately I have to say that honestly some of the comments on HN are way more well-thought-out, insightful, important, etc. than the article. Sometimes the article is written by someone who doesn’t really understand what they’re writing about, and the 10-second comment is written by an expert in their field.

IMO there are 2 types of “negative” comments:

- Constructive criticism: if you don’t like this, don’t read it. But personally I really want constructive criticism for whatever I post. HN is good because commenters give everyone constructive criticism, they won’t “beat around the bush” and even if your post is 99% good, they’ll focus on the 1% bad part. This is really good to the writer, as constructive criticism is how you improve.

It’s also really good for commenters, especially if the article is promotional (which many are). Nothing wrong with promoting something but I want to see the benefits and drawbacks. In fact, hearing honest flaws in a product from HN commenters sometimes increases its value, because I know where it falls short and where it doesn’t, vs. having to guess the flaws myself (which I tend to overestimate, having seen too much BS).

- Non-constructive criticism aka “mean” criticism. I agree with the author and I’d like to see this go away or be downvoted. Unfortunately HN does have a lot of mean criticism, even some of the most highly-upvoted comments are mean. This includes: criticism of the author, criticism of something unrelated, criticism which doesn’t offer solutions or justification (e.g. “this sucks”), pointing out some hard-to-fix flaw while completely ignoring why the flaw is hard or impossible to fix (e.g. criticizing a company from doing something when they legally have to, without even mentioning how the company could satisfy the law another way - e.g. criticizing GitHub for taking down repos with genuine DMCA violations). Overall, any criticism which the author can’t improve from, especially criticism which uses particularly harsh words.

I really have to emphasize the last part. Nobody should ever be saying “X sucks”, “X is garbage”, “X is a failure”, “X is completely useless” towards a post or it’s author. It’s way too unnecessarily harsh and no solution, you’re not helping someone improve with these words, you’re just putting them down. And nobody should ever tell someone to “die in a fire” or “jump in front of a bus”, but I occasionally hear those things even on HN. These types of comments should be flagged, they just shouldn’t exist.

But the constructive criticism, that is a very good thing. It helps remove bias which is so prevalent in this world. And there are many cases where it actually caused the author or company to fix a big flaw, which didn’t just not exist when people didn’t mention it.

The author is fine not reading HN comments to avoid reading criticism. Nobody should be forced to themselves read harsh feedback if they don’t want it. But personally, I really think it’s essential to HN I don’t want to ever see it go away.
I mean, even if the trees lock up carbon for 50 years, it would be a huge benefit.
Accessible from Japan here.
Sounds like something that should have been found during pen testing.
> only sends codes to the primary mail

One should be able to login with multiple methods. E.g. with 2FA you should always be able to connect two devices, and if you choose to login with a third party like Google/Facebook you should be able to add a password for login as well.
> However, it would be a significant bump in requirements for using the compiler on macOS: currently, the compiler can run on macOS 10.9 or newer. This would move that requirement to macOS 10.15.

Is this even relevant? For using a newer Swift with Xcode I'm forced to upgrade the OS anyway. Xcode absolutely refuses to be installed on previous OSes. Can you sensibly develop in Swift with anything else besides Xcode?
“Hello world” is slower in C++ than in C (Linux)
There is an oversupply of junior developers, especially in spaces where bootcamps and other quick, nondegree training was creating them. I can certainly sympathize with people who saw development as a route to make a living, but there are only so many developers needed out there. Honestly I think the industry did a lot of people a disservice by making it sound like learning basic coding was guaranteed to yield a good job, since that didn’t take into account the finiteness of the job landscape.
Show HN: MOS, an application to help you deploy mathematical optimization models
We built MOS in response to the frictions we experienced in deploying optimization solutions.

Some of the key benefits provided are the following:
- Models can be easily uploaded to the application after adding simple annotations to the model code.
- Models can be accessed via various available interfaces, including a REST API, a web graphical user interface, and client libraries in popular programming languages such as Python and Julia.
- Models can be run with different inputs by workers running locally or distributed over the network.
- Intermediate and end results can be extracted, browsed, and analyzed.

This is all available without the need for (the typically required) custom ad-hoc code.
When all you have is a hammer... What a ridiculous take, most server apps don't use Java and they are just fine.
> logically, the source must be the first one!

You mean the target, but that isn’t a logically necessary consequence at all. Conceivably, `ln` could support the following two syntaxes:

ln [options] target
ln [options] link_name target

The way I remember the correct parameter order is that I remember it’s the non-intuitive one.
An interesting convention that ~started with Firebug was the use of angle brackets in the DOM/Elements view. (eg a DIV element is shown as `<div>`). HTML, as a text format, uses angle brackets to denote tags. But DOM is an in-memory object model; it doesn't have tags, but elements, and those have nothing do with angle brackets (other than getting el.innerHTML will serialize back).

From a usability POV, it's entirely defendable: make the DOM visually look like the HTML you authored. But Firebug and our current browser devtools only add them for aesthetics and familiarity.

It rarely causes problems, but it'll explain why you'll see `<tbody>` in DevTools even if your HTML doesn't have it. Still, I think dropping the HTML-y representation of DOM elements could be a win — removing end tags in particular would improve the information density.

Bonus: A Firebug Cheatsheet I made in 2007, 4 years before I was working on Chrome DevTools: https://imgur.com/I2KbZWm
Anyone can drop anything in your bank account, are you anxious about that?
very similar, but seems a bit more polished is https://coder.com, you can write your own terraform modules and run it on whatever cloud you want.
Our $4.9M round and ways it will grow the Wren community
I don't understand why you think this quote is relevant, maybe you think that was the only part used so the entire thing was an honest mistake that still killed many?

Here's some others parts from https://en.wikipedia.org/wiki/Gulf_of_Tonkin_incident

>In the 2003 documentary The Fog of War, the former United States Secretary of Defense Robert S. McNamara admitted that an attack on the USS Maddox happened on August 2, but the August 4 attack, for which Washington authorized retaliation, never happened.

>As the evening progressed, further signals intelligence (SIGINT) did not support any such ambush, but the NSA personnel were apparently so convinced of an attack that they ignored the 90% of SIGINT that did not support that conclusion, and that was also excluded from any reports they produced for the consumption by the president.

McNamara admits of didn't happen, the NSA admits they intentionally doctored the report.
> how much does a home price have to come down to offset interest rates climbing

Generally speaking it's a rule of 10x in purchasing power (not price, clearly, because we haven't seen the corresponding price correction yet).

So 1% increasing in mortgage rate should be 10% decreasing in purchasing power, just based on the math. And yes I believe there has been a 2% increase in average mortgage rate (3% -> 5%) so 20% sounds right.
Nobody should write terraform
I'm not sure you fully appreciate how tailored the JVM, and hotspot in particular, are to executing OOP oriented code. One great example I can think of is polymorphic methods. In C++ for example, you have to explicitly declare a class method as "virtual" in order for it to be polymorphic - i.e. the version called at runtime is tied to the runtime object instance, not the compile time type. This is because in order to do this in C++, there needs to be an extra lookup in the vtable to find the function address for every virtual function call at runtime. If C++ made all its methods virtual, it would take a significant performance hit from the extra vtable lookup for every function invocation.

In Java, all methods are virtual by default. Java also does the equivalent of a vtable lookup at runtime for function calls, but it has something C++ doesn't have - the hotspot optimizer. For any call site that is executed enough to affect runtime performance, the hotspot optimizer will optimize away the vtable lookup if there are only 1 or 2 method versions called at that site at runtime. This is true for the vast majority of cases. For most of the other cases, where you have 3 or more possible method implementations that could be invoked at a given call site, you would probably have to have something like a vtable lookup at that call site whether you use OOP or not (switch statement, if-else, explicit table of function pointers, etc), so you're not losing performance there either. The end result is, the JVM gets polymorphic methods basically for free in terms of performance.

This is just one example, there are many other clever things the JVM does to make OOP code performant. I don't have a citation, but I do recall seeing a talk (maybe by James Gosling?) where he mentioned that one of the primary design goals of Java was to make "doing the right thing" from an OOP perspective also the best option for performance.
Counter: Unity's prior price (as opposed to value) increase was mostly (solely?) due to market conditions.

They barely get more than a billion/year in revenue while burning over half that amount. Paying nearly $20B for that is a huge leap of faith with regards to their future potential and hardly a sure thing. The stock market valuing them at that price during a period of zero interest rate with blinders on for risk is not really a valid stamp of proper value. The fact they agreed to sell at that price to a malware company might indicate as such too.
Did you work for a high-end dealership?

This is definitely true for most car dealerships (Ford, Honda, etc) but I've found it not the case at all for higher end cars.

When I took my Porsche to my trusted mechanic they recommended I take it to a Porsche dealer, and advised me not to even adjust the oil myself. I've owned less expensive cars for most of my life and am used to doing a lot of maintenance myself. It took me awhile of owning a Porsche to realize things are a bit different with more expensive cars.

I imagine this is even more true for a Ferrari.
If you're targeting well paid jobs at interesting companies, maybe. But we're at the point where practically every municipality, every government subdivision, and every corporation has IT development needs.

Developing and maintaining these boring systems is the primary source of employment in my corner of Europe.
If you're serious about understanding this stuff, be prepared to set aside a lot of time. no lifehacks to learning physics, unlike many other things.
The screenshots were taken on a non-retina monitor. I installed Ventura on a secondary Mac only used for testing various OS versions.
I had some really bad issues using vendor supplied (TI even!) and snap parts with misnumbered pins or the wrong width package... and many bad experiences with eagle built in libraries.

I much prefer using a formula based tool to make packages for a specific part's mechanical drawing, I just don't trust what other people have made yet. I'd like to be able to but the trust isn't there yet.

Maybe kicad could list parts as verified against a standard footprint based on user feedback so that I know that whatever random part number actually fits this particular soic wide or whatever bga pattern. Maybe a part number has no notes but it's nice to know that no one has checked it manually yet too. Like the wine database.

Maybe it already exists, I haven't found it yet.
Could you elaborate? I've never heard this before.
Top-rated comments can be hit or miss though. Toxic snark under the guise of "wit" can still get upvoted (even when the community rules specifically discourage it).