skysight-inc/HackerNews huggingface dataset:
The essay is missing a "usually", but it's true that monomorphisation is a gain in the vast majority of situations because of the data locality and optimisation opportunities offered by all the calls being static. Though obviously that assumes a pretty heavy optimisation pipeline (so languages like C++ or Rust benefit a lot more than a language with a lighter AOT optimisation pipeline like Java).

Much as with JITs (though probably with higher thresholds), issues occur for megamorphic callsites (when a generic function has a ton of instances), but that should be possible to dump for visibility, and there are common and pretty easy solutions for at least some cases e.g. trampolining through a small generic function (which will almost certainly be inlined) to one that's already monomorphic is pretty common when the generic bits are mostly a few conversions at the head of the function (this sort of trampolining is common in Rust, where "conversion" generics are often used for convenience purposes so e.g. a function will take an `T: AsRef<str>` so the caller doesn't have to extract an `&str` themselves).
Linux's rough edges form a fractal.
"Any"
Related:

Lucene: The Good Parts - https://news.ycombinator.com/item?id=9667378 - June 2015 (14 comments)

Lucene: The Good Parts - https://news.ycombinator.com/item?id=9198092 - March 2015 (16 comments)
I'm referring to how companies ignore the thorny problem of what to build and instead focus on getting "Something done", which results in delivery of product increment that users at best say "meh" to, and don't use.

As an aside, from a developers perspective, all of the work is clearly valuable, I mean they got paid 300k+. But from a true definition of value perspective, the change increment is just not valuable to the users as evidenced by the lack of use.

Value: Reliable fulfillment of needs
True. Ostensibly, doing #1 could lead to number #2 to a degree. I think both parties have come up with plans to make the filing part easier, but plans from both sides have incomplete or only partially easier implementation.
Honestly, fixing ads related data science problems gave me a lot of satisfaction. I fully admit to being a weirdo, though.
Listen to podcasts in your specific field, follow the podcasters and their guests, attend events where they will be speaking at, or reach out via email. Good luck!
Of the 5 paragraphs you link, one cautions that:

> "It's a controversial and important topic that the public needs to let play out in the academic research, because obviously as a non-economist it will be very difficult to read this study and say, "Oh yes, the methods and the research is valid," Stubblefield said.

And another notes that "This contradicts a University of Oxford study which estimated the lockdowns saved 3-million lives in Europe."
Hubble telescope detects most distant star ever seen, near cosmic dawn
Sorta; the Gray Area Foundation [0] in San Francisco is a great organization that hosts and supports artistic projects that incorporate/interact with/comment on technology and society. They run courses on creative coding and host exhibitions and performances throughout the year. Their biggest event each year is the Gray Area Festival [1], which brings together an incredible collection of tech-adjacent creatives, artists and thinkers for a week of great talks, workshops and events. One of the best and most inspiring conferences I've ever been fortunate to attend.

0: https://grayarea.org/

1: https://grayareafestival.io/
Thank God I have about 100 different people I could call and ask to pick up medicine for me were I in that situation.
Also the 1.6 million office workers[0] would have one less reason to live in the city in the first place.

[0] https://www.osc.state.ny.us/files/reports/osdc/pdf/report-11...
The Ukrainians using the Russian military's credit cards to buy weapons and ammo for themselves has to be one of the coolest hacks in history.
That's pretty dumb grading. Why not flip the sense of the assert for those three tests?
Inside The New York Public Library's Last, Secret Apartments
The Engineering wage raises during 2010-2014 are a huge part due to Facebook back then entering a biding war for talent, which google had to counter which raised comps for everyone. Also, after 2015 you had more companies hitting the fray (Uber, Airbnb, etc). If it wasn't for Facebook, the compensation industry wise would look something like MSFT's comp (pretty low in general).

So, for one thing, Meta / Facebook has been great at raising the comps for engineering in SV.
Why not lay everything on a pcb and have the factory solder boards for you ? Jlcpcb can do this. I believe pcbway can do that too. Your product will also look a lot more neater. I would also suggest to add a video of your product in action. I believe it is about jumping on your chair to play the game but it is unclear to me.
https://archive.ph/VHG8Q
Do you use TurboTax to file your taxes?
Interesting. If true, I wonder why the highly detailed map of Chandler AZ ends abruptly at the boundary of the Waymo One service area.
Thanks, I did not remember seeing this at the time, probably because it was flagged. Hopefully it is worthy of HN now that WaPo is demonstrating the technique.
Shh! Don't talk about the secret stuff! My pharmacies run out of it too often as it is...
I don't use GCP, Google Search, Gmail or Google DNS.
Accidents on desktop hardware:

Multiple bad disk cables (more common in IDE era, but happened once with SATA). Interestingly enough, Windows would reduce the drive speed on certain errors, so I had a drive that booted up in UDMA/133 and the longer it was running the slower it got, eventually settling in at PIO mode 2. Switching the drive cable fixed it.

A sound card that wasn't screwed in to the case, so if you pushed the phone connector in too hard it would unseat. I still don't know how that happened; it must have been me (unless someone pranked me) but the sound-card hadn't been changed in like 2 years at that point.

A DIMM wasn't fully clipped in, but the system worked fine for weeks until someone bumped into the case.

Things that were actually intentional:

We expect anything plugged in externally (e.g. USB, ethernet, HDMI) to be plugged and unplugged without needing to restart the system. This sounds banal, but wasn't always the case. I had a network card with 3 interfaces (10BASE5 AUI, 10BASE2 BNC, 10BASE-T modular plug) and you needed to power off the system and toggle a DIP switch to change which was in use.

I've seen server and minicomputer hardware with hotpluggable CPUs and RAM

Eurocard type systems (e.g. VME, cPCI) could connect all sorts of things, and could run without restarting. This sort of blurs the line as to what a "node" is. If you have multiple CPUs on the same PCI bus, is that one node or many?

eGPUs have made hotplugging a GPU something that anyone might do today. If you run this setup, then the majority of the computational power in your system can appear and disappear at will, along with multiple GB of RAM.
I'm electric engineer for first education, and length of wave is very dependent from environment electromagnetic properties.

And ideal antenna is dipole (two sticks) of quarter wave length.

In short, vacuum have coefficients 1 for electric and for magnetic properties (Earth atmosphere is very close to vacuum) and in medium with higher coefficient (all other mediums have coef 1 or more), speed of light is smaller and wave length is also smaller.

Most known for e-m props are glass, water and glycerine (or just commodity oils), I at the moment lazy to look for glass properties (they vary), but for glycerine, electrostatic 80 times more than vacuum, so antenna will be 80 times smaller.

And after Second World War found (invented) new materials, which have e-m coef-s of 1000-10000 and even more, so could make much smaller antennas than for free air.

Also exists lot of variants of spiral antennas, which are less effective than ideal dipoles, but good enough for practical purposes.

In most radical forms, used some sort of spiral coated with material with very high e-m coefficient, so antenna could be very small.
I think a big concern is some government agency basically saying "you have to start logging, and you better do it quietly."

I'd suggest a warrant canary. It's better than nothing.
In my state, I'm able to walk down the road to a 24/7 chain pharmacy and buy pseudoephedrine whenever I want. The pharmacy, in combination with the state, uses ID to regulate how much an individual may purchase over some time frame(s).

Most doctors will just write you a prescription and you can get it delivered to your home. Super easy.
I wouldn't say "most", it's very variable. Also not unlike Go I think C# uses a hybrid model, where all reference types get the same instances of the generic function.
Seconded on the Joplin recommend.

I've been using it for a little over 3 years and it serves all my note-taking/storage needs, especially with the relatively recent addition of extensions/add-ons. I have had no issues syncing through either dropbox or Nextcloud.
Your risk assessment for items 1, 2, and 3 are basically accurate. If Google decides you're a scammer, it's real hard to rectify that assessment. And because the net of Google services is so wide, if they do decide to ban you, the ban is wide-reaching... Your access to YouTube, GMail, the entire Drive toolchain, the Play store, using Google as an identity broker for OAuth to other sites, etc. is compromised. And their automated systems will actively hunt for sock-puppet indicators and ban accounts they think are owned by the same person as the banned account.

Ironically, these two issues go hand-in-glove: because the reach of a Google account is so broad, they take the risk on compromise of an account extremely seriously. There's a reason they've been pushing people so hard on 2FA for years now; avoiding people falling prey to account compromise is much easier than rolling back the damage done if an account is flagged as a risk.

In practice, the odds of this stuff happening to you are low. It's like the risk of losing your house in a tornado... When it happens, it's disastrous. It happens rarely enough amortized across the population that people still live in Tornado Alley.

I can't decide for you how you feel about those datapoints on the risk model.
The graphic showing the platforms from Austin to SF shows a disturbing trend of these autonomous platforms getting bigger, and therefore more dangerous for those of us on the outside of these vehicles. I would love to see regulations capping the size and speed of these autonomous platforms to minimize the danger to the public.
Sure, eventually they might be proven to be safer than having humans behind the wheel, and then we can consider relaxing those regulations, but even then perhaps the standards should be higher, since they are likely to increase the overall number of cars on the road significantly - traffic will not discourage people from driving as much, if they are not in fact driving.
(FWIW, I would love love love to never have to drive again. I just want us to take a measured approach to getting there for safety.)
The interesting thing I always heard in the Java world is that AOT was actually a drawback as the virtual machine allowed for just in time optimizations according to hotspots. Actually if I remember correctly the word hotspot itself was even used as a tech trademark.

I was always a bit skeptical but given i was never much into Java i just assumed my skepticism was out of ignorance. Now with what I know about profile guided compilation I can see it happening; A JIT language should have a performance advantage, especially if the optimal code paths change dynamically according to workload. Not even profile guided compilation can easily handle that, unless I am ignorant of more than i thought.
But the whole point of weak references is that they don't get shared ownership (i.e. extend the lifetime) of their referenced values. That's not doing GC. They're fine when there's always some other (strong) reference that will ensure whatever lifetime is needed, but that's not the general case that GC is intended for.
If you look at the guy who would be a top experimental particle physicist in the West and leave him in Dhaka you don't get great experimental particle physics; you get a mediocre accountant with dreams of particle physics.
Can also be done with WebSDRs, like http://websdr.ewi.utwente.nl:8901.

Regarding China: I've recently discovered that Chinese radio has Polish language programme. It's mostly (Chinese) music, but it's the first time in my life I've heard Polish spoken with Chinese accent, and it's quite unique. (Not "unique" like engrish or other stereotypes; it's just that Polish isn't particularly popular as a second language.)
I agree, but with the Banana Pi and Orange Pi, that train has already left the station. $Fruit Pi seems to be a thing for single-board computers.
Proctoring software won't be around for long. It's an extremely flawed solution to the problem of cheating in digital exams. There are much better ways to solve cheat proof exams without invasions of privacy.
I think your use of “subjective” is avoiding discussing things that are harder to prove but matter a great deal.
That’s why you speedrun it
> I don’t fully understand how generics are suppose to be made faster than a custom function for that datatype.

The point is that a monomorphized generic function should not be slower than the custom-function-per-datatype, but because Go's generics are not fully monomorphized they can be, and in fact can be slower than the a function-for-interface.
"AI Score" makes me shiver.
> Also, this is mostly for comfort.

Spoken like someone who has never had severe nasal congestion. A week or two of not being able to sleep, taste, or speak with your normal voice would change your view of the importance of good decongestants.
What Are Opioids?
> Some of the antisocial behavior Americans are seeing will resolve itself as the pandemic loosens its grip. In most of the country, masks are coming off, people are resuming normal gatherings, and kids have returned to school.

Doubt.

Things have been "normal" here for a while and people are still fucking assholes. Being an asshole seems to bring more benefits that punishments, so I imagine people are going to continue to be assholes for a while.
If you are saying that people will still be driving cars in 10 years, then yes you are right. I wouldn't be surprised if 100 years from now there were still roads where it was legal for humans to drive cars.

But we should expect that this transition will be very similar to the transition from horses to cars. The first cars were unreliable and unsafe and didn't work well on roads designed for horses. But as cars improved the advantages quickly became huge and demand for horses dropped quickly.

The same situation is happening with Tesla. FSD is unreliable and unsafe today but once it hits an inflection point the advantages are so big more and more people become willing to accept the downsides.
My accountant’s office is entirely paperless and has been for about 10 years now. They actually went on a crusade against paper around that time and bringing up the idea of dropping some paper off instead of emailing documents in is enough to visibly stress my accountant out.

It’s viable, even in the “paper” pushing businesses and at this point is a matter of whether an office has made the choice or not. Personally I still have a pad of paper for structuring some free form thoughts out before committing them to digital form, but I definitely deal a lot more with PDFs and web forms than paper because no one I deal with wants to deal with paper if they can avoid it (including me).
> Runtime library addition (plugins)

I don't see anything inherit to Go that would prevent it. gc even added rudimentary support some time ago, fostering the addition of the plugin package[1], but those doing the work ultimately determined that it wasn't useful enough to dedicate further effort towards improving it.

There was a proposal to remove it, but it turns out that some people are using runtime library addition, and so it remains.

[1] https://pkg.go.dev/plugin
> > Note: you won't need to configure caching though, because Dagger automatically caches all actions out of the box :)

> Is this strictly because it's using Docker underneath and layers can be reused?

Not exactly: we use Buildkit under the hood, not Docker. When you run a Dagger action, it is compiled to a DAG, and run by buildkit. Each node in the DAG has content-addressed inputs. If the same node has been executed with the same inputs, buildkit will cache it. This is the same mechanism that powers caching in "docker build", but generalized to any operation.

The buildkit cache does need to be persisted between runs for this to work. It supports a variety of storage backends, including posix filesystem, a docker registry, or even proprietary key-value services like the Github storage API. If buildkit supports it, Dagger supports it.

Don't let the "docker registry" option confuse you: buildkit cache data isn't the same as docker images, so it doesn't carry the same garbage collection and tag pruning problems.
I dont think its cynical at all, as someone who has done some work for political campaigns, follows them closely, and studies them. Incumbents keep power within their own party by generally massively outspending their primary opponents, making it extremely rare for them to lose in the primary. The only real exceptions to this recently have been Dem stronghold incumbents losing to progressives.

After that, its just whether or not the incumbent can defend against the opposition party in the general election. Primaries are generally where the biggest changes are made, and are also where its the hardest to oust the incumbent.

Its not cynical, nor an excuse.
The title is misleading as written in the article. It should be "The Uselessness of Phenylephrine as a Decongestant". Phenylephrine is a lifesaving medicine in emergency medicine to increase the blood pressure of people with hypotension.
Being able to walk into a machine shop and make a part, right then and there.
If you don't have any form of identification, getting pseudoephedrine from a pharmacy is probably not too high on your to-do list.
Jenkins lets you replay a Pipeline, with changes, which is massively useful — removing the need to change things locally and commit.
Facebook is a major contributor to the pointless cultural war obsession and the erosion of pro-social norms though.
OpenStreetMap has all the curbs, sidewalks and crosswalks, too.
They are not rendered in OSM Carto [1], but show up in the data, when you click on the edit link, or load the region in JOSM [2].

Here's a screenshot of the region in JOSM https://share.getcloudapp.com/X6uEexZo, and here in iD [3]: https://share.getcloudapp.com/7KuQPyLg

The benches are even mapped with their 'viewing direction' and color :)

[1]: The standard style on osm.org: https://github.com/gravitystorm/openstreetmap-carto

[2]: The powerful editor for OSM data: https://josm.openstreetmap.de

[3]: The editor behind the 'Edit' button on osm.org: https://github.com/openstreetmap/iD
> If they give you 30 days like OP, you have to remember all the different places you need to download content from.

Google Takeout (takeout.google.com) should give you almost everything in one place. It's a good idea to do this periodically in case you don't get the 30-day notice. Be prepared to download a few dozen GB, though. And there is no "incremental" option.
I believe Zuckerberg never made it past the "I don't know why these dumb fucks trust me" phase of his psychological development. He's never fully grasped that the fact that people did in fact trust him means he has a responsibility rather than a mandate. Unfortunately every time Zuckerberg has abused his power, he never faces a single consequence, so he just keeps learning the wrong lesson again and again.
I would recommend (if you're serious) to reduce hours and make art every Friday. Most in tech make enough to continue your life, quite a lot earn less than your 4 day week. Making it in the evening is quite taxing if you're want to create some good.
I'm a huge fan. It's very little work to use, as long as all variants can be known to the author, and as long as you aren't in a situation where uncommon variants drastically inflate the size of your common variants, it's a performance win, often a big one, compared to a boxed trait object.

Even when you have to box a variant to avoid inflating the size of the whole enum, that's still an improvement over a `dyn Trait` - it involves half as much pointer chasing

It'd be cool to see this added as a compiler optimization - even for cases where the author of an interface can't possibly know all variants (e.g. you have a `pub fn` that accepts a `&dyn MyTrait`), the compiler can
Not yet for iOS from what I’ve seen.

EDIT: Verified. Not yet for iOS.
> in the US was a lie. We're constantly touting that we have the most advanced technology but if you have a complex condition you are likely to fall prey to multiple kinds of grift.

I feel like so much of what goes on day to day is one grift or another.
Simple log aggregation with Loki and Grafana
Hi HN,

Wanted to show you all what I've made. Nanojob is a job board for micro tasks. I came up with the idea because I was often overwhelmed working on startups as a solo founder. I found other freelance sites too bloated and cumbersome. What I wanted was a minimal job board that would let me just fire off quick tasks from my to-do list, and so I decided to build it.

I welcome any feedback and criticism. Please go easy though, it's just me working on it.
Confirmed for me. Where's the metatest that tests Acid3?
It’s not a deep pain - but it jars a bit once you’ve learnt you can broadcast AM on high frequencies and FM on low.

For a domestic radio, AM / FM just means low / high fidelity, and users just see two sets of numbers 520 to 1602, and 88 to 108 (in the UK). I doubt most people belly feel the physics of it, or that the latter is higher frequency than the former.
> People may laugh at this

Not to spoil the joke, but the paper by "O. Hai" and "I. B. Hakkenshit" is satire--I would be absolutely gobsmacked if anyone is actually doing this.
The number one reason that an inefficient, small antenna works well for AM radio is that even with an awful antenna, AM radio performance isn't limited by receiver sensitivity. Atmospheric noise and nearby EMI will dominate over any receiver noise.
> A good portion of production outages are likely related to cascading failures due to too long GC pauses, and a good portion of developer time is spent testing and tuning GC parameters.

Can’t really accept that without some kind of quantitative evidence.
Depends on config. Bare minimum (mainstream?) is just a "blah blah service login" Accept|Deny.

If you are in and out administering things and accessing protected documentation I could see how the login-to-mfa-popup latency and difference in tenancy names could give a window for a misclick.
(Have never written Zig)

Does the design of the language make them less (or more) likely to occur, though? e.g. all these things are possible in Forth too, but the design of the language definitely seems to conspire to make them less likely than C in my experience (I probably have about as many hours in each now? Roughly 1k, maybe 1.5k?).

(I suspect that this is the case in Forth because the stack gives a "linear-like feel" to most code; it's more obvious that you're accidentally not freeing something, because you need to explicitly discard it.)
non paywalled link anyone?
afaik coca cola is the only entity in the US allowed to import actual coca leaves, so, technically?
Cracking the Neural Code in Humans