skysight-inc/HackerNews huggingface dataset:
Looking at ThinkPad Z13. I don't understand why would they mess up the keyboard as well. They have plenty of space for full size cursors and a block of Home/PgUp/PgDown/End keys and likely they could get F keys larger. Such a missed opportunity. Oh and the focus on Z letter - they had plenty of time to use different one. Given the current events, pulling out a laptop with Z on it would be a massive faux pas.

Elitebook is even worse. Looks like a cheap generic laptop from AliExpress and a crap keyboard at massive premium.
> how do we keep the knowledge alive?

... books? Scientific journals?

Have you visited a library lately? Particularly one of the thousands of technical libraries on university campuses? They're still around. In fact it is an enduring frustration for me that I can sometimes only find quality technical information in books, particularly when it is esoteric.

Retaining knowledge was a surmountable problem for past generations of scientists and innovators who had far fewer archival tools than we do today. I think we will manage.
Yep, that's the case I was talking about. I know some students refused to fool around or gossip in front of school computers after that incident in fear that the microphones and cameras might be recording.
No, any reaction to “woke” happened later and unfortunately comes from the worst possible places. Woke fits in way more with the general culture than racism and sexism on the GOP spectrum does. Am I going to jump to a conclusion that corporate America deliberately boosted racist perspectives to divide us? No, because that’s not rational and you’re driven by an agenda.
I'm assuming you're not suggesting the United States is a 3rd world country...

Based on data from the NCSA[1] for the US and SSB[2] for Norway, I get the following for 2019 (before COVID-19 hit):

USA: 36096 fatalities and 3.262e12 miles[3] driven = 1.1 fatalities per 100 million miles driven.

Norway: 108 fatalities and 45.562e9 km driven = 0.38 fatalities per 100 million miles driven.

Might be I did my math wrong. If not, that's still 3x higher than Norway.

[1]: https://www-fars.nhtsa.dot.gov/Trends/TrendsGeneral.aspx

[2]: https://www.ssb.no/transport-og-reiseliv/landtransport/stati... (using 2019 data)

[3]: I'm assuming they use Billion to mean long scale (1e12), otherwise I can't get their table to make sense.
One of the issues is that by chance the models used have an unexpected behavior that seems to confirm the initial hypothesis is sound.

And this is not rare. Sometimes it is fraudulent, people know things are faulty but continue anyway. In other cases it could be by ignorance of the existence of the phenomenon behind the faulty behavior or simply because that phenomenon has not been discovered yet.
I had many hardware issues with Macbooks as well. The final straw for me was when I bought an expensive Apple-made monitor, and 50% of the time when unplugging my MBP from it, the MBP screen would stay off/blank rather than receiving the handoff. The only way to recover was to hold the power button. On a $4,000 setup. Where the same company controls the entire stack, on both devices. Absolutely inexcusable to buy a product set so expensive and so unreliable. The insult to the injury though was people telling me I must be doing something wrong because Apple stuff "just works." (I literally just plugged and unplugged a cable)
Conversely, I think Apple Silicon has drawn the line exactly where it needs to be. It's a fine laptop, but I'm not paying more than $300 for an ARM computer until the software support isn't treated like an afterthought. By the time people actually get multi-arch builds on most of their software, I reckon we'll have moved on to RISC-V anyways.
If you do this you often get hit with significant import & customs duty (at least in NZ, everything here is more expensive than in US)
Installing over network is ancient. Here's one option
https://docs.oracle.com/cd/E19127-01/ultra27.ws/820-6772/z40...
please at least do what rust|go can: generate multiple platform code easily, i.e. make the build tool cross platform friendly.

one reason I use golang over c++ is the network, for c++ network socket Unix and Windows are totally different(winsock vs bsd socket), while golang works well at both OSes.
many times, transformational ideas come from the most unlikely of sources.
> lethal design standards

What are you referring to?
Yep, the prevalance of broken things and asinine limitations is what ultimately pushed me back towards Linux/Android. If I'm going to have to install extra software to make my experience tolerable, I may at least use the platform where those extensions don't cost me extra money on top of the hardware premium I'm already settling...
This would not be up to specification, although non compliant bitcoin clients are functionally transparent (unless they reuse `k`, in which case your funds will be quickly drained):

https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch06...

To avoid this vulnerability, the industry best practice is to not generate k with a random-number generator seeded with entropy, but instead to use a deterministic-random process seeded with the transaction data itself. This ensures that each transaction produces a different k. The industry-standard algorithm for deterministic initialization of k is defined in RFC 6979, published by the Internet Engineering Task Force.

> If you are implementing an algorithm to sign transactions in bitcoin, you must use RFC 6979 or a similarly deterministic-random algorithm to ensure you generate a different k for each transaction.

(https://datatracker.ietf.org/doc/html/rfc6979)
Yeah, in these cases people try to balance for both "engagement" and "retention" (probably called something like "discovery" - the more they can show you about what other options they have, and the more shows you start watching, the less you quit after the first show you watch).

The problem is that they don't have a way of collecting "annoying" metrics as easily as they do those two. So it's a big blind spot in terms of "should we tweak more in favor of one or the other."
Do you know if Greenspan made any remarks explaining why he changed his mind about the gold standard[0] and embraced interest rate intervention?

[0]https://www.google.com/url?sa=t&source=web&rct=j&url=https:/...
Reservoir sampling is a statistical technique used to randomly select a finite number of elements from a population. The elements are chosen such that each element has an equal probability of being selected. This technique is often used when it is impractical to select a random sample of elements from a very large population.

To do reservoir sampling, you first need to decide how many items you want in your sample. This number is called the size of the reservoir. Once you have the size of the reservoir, you can fill it by selecting items from the population at random.

The code is beautifully simple:

for i = k to population.length-1
j = random integer between 0 and i, inclusive
if j < k
reservoir[j] = population[i]
return reservoir
Living in a developed country that will shield me from the worst of the effects until complete societal collapse.
It would be trivial to have a typed forth, the reason why no one bothers is because at the micro controller level all data is the same datatype: bits.

What helped me understand and become productive in forth was that you had the normal commands which manipulated values and are in every language, and a meta-language for manipulating the stacks. Once I made the stacks dance forth became just another language.
Treap: https://en.wikipedia.org/wiki/Treap

It's like a Red-Black tree in use case, but much faster to implement, which is good for competitive programming. The average case complexity is the same for all operations, but there's an unlikely degeneration to worst-case linked-list behaviour.

Lazy Propagation Segment Tree: https://cp-algorithms.com/data_structures/segment_tree.html

Like a segment tree in that it supports range queries in logarithmic time, but supports range updates in log time as well.

I know a few more fun ones that I occasionally use in contests, but I've never touched otherwise.
> This should be considered a flaw (bug in tech terms) not a feature. why would you take decisions about funding something or not if you are not an expert.

Because funding requires taking from something else -- either raising more revenue or reducing funding for any of the infinite possibilities that it could be spent on. And nobody is an expert in everything.

Where a particular area of expertise does cover the choices to direct funding, it generally does. With a lot of inefficiency and corruption and incompetence thrown in of course, but politicians and bureaucrats sure didn't decide how every dollar on the JWST would be spent.
Resource Description Framework (RDF)

The Resource Description Format (RDF) is the W3C standard for web data. It allows for data the be linked, anywhere, and to be "grounded" in semantic descriptions of the data. The core RDF data model is very simple: It is a set of triples orgainzed into a RDF Graph.

https://www.w3.org/egov/wiki/Resource_Description_Format
Is CRT specifically actionable? Does it suggest anything we can do for racial disparities (besides awareness) that we don't need to do for poverty anyway?

And while we're at it, why do US-based affirmative action programs not distinguish between descendants of slaves and recent immigrants from Africa (i.e. poor American blacks vs. rich African blacks)? I hear that despite Harvard students being 15% black, the number of undergrads actually descended from slaves can be counted on one's hands.
> They very likely did (and negatively), but no excecutive ever wants to hear that, so they just barrel ahead anyway. Because what do those lowly peons know, right?

I was fired from a project because I told an executive the wrong thing about how shitty a product was that I was trying to save after a contractor fucked it up, thus revealing the ruse of my boss.

> Then there’s always the risk that the internal Hertz guys are just terrible and just trying to keep the contractors out to make sure they aren’t exposed.

This was why I was hired there in the first place, so basically I was hired as the fall guy and then my boss executed on that plan.

> From the executive side it’s hard too.

I'm sure it was stressful, lucky for my boss he was able to successfully pass the buck and still works there to this day. I've also heard from customers of my current company that the company that "recylced" me is not doing well in my former bosses department, so perhaps he will not survive forever?

Either way: fuck useless execs.
Private school tuition at about $1600/year? Public university tuition was well under that, but my recollection is that private university tuition was about double that.
That's like the car equivalent of D.A.R.E. It's so farcical it does more harm than good.
There's not much about it online. They do mention it in the docs, they call this "prefix compression" [0], so you can search for that. This article describes it [1], although it is somewhat high level.

They only use this for indexes. It works really well for internal mongo ids (they all start with timestamps if I remember correctly). It also works well for compound indexes. Pro tip: for compound indexes always go from low-cardinality attribute to high-cardinality attribute to get the best results from prefix compression (it's also good for speed of queries).

[0] https://www.mongodb.com/docs/manual/reference/glossary/#std-...

[1] https://medium.com/swlh/mongodb-indexes-deep-dive-understand...
Modify Atomic Bonds in a Single Molecule
Hazard Pointers are an interesting concurrent data structure.

Suppose we've got a lot of Doodads, let's say there's a Graph of ten million Doodads, and a whole bunch (dozens? hundreds?) of threads are poking around in this same graph, maybe looking at Doodads and sometimes (but not often) removing them from the Graph.

What happens if my thread is looking at a Doodad, and meanwhile a different thread removes it from the Graph? Is the Doodad destroyed while I was looking at it? That sounds very bad. What if while I'm looking at it, the Doodad is destroyed, but, a nearly identical Doodad appears in its place. How would I know? Not acceptable.

We could reference count the Doodads, we'd need atomic reference counts, something like C++ shared_ptr -- but this would work. However now our performance is terrible, because we've got 100 threads increasing and decreasing these reference counts just to look at Doodads and each such change causes a write that must be observed on other threads.

So instead Hazard pointers go like this:

Every thread who wants to look at Doodads asks for a Hazard Pointer, usually these are never deleted once made because it's much easier. A thread sets this Hazard Pointer to point at a Doodad when it wants to look at one, it checks this was successful (if not the Doodad is gone now), then contemplates the Doodad (it can be in this state for an arbitrarily long period of time) and then it clears the hazard pointer once it is done. It can only point one Hazard Pointer at one Doodad (some schemes allow a thread to have say, two or some finite number of Hazard Pointers each)

Somewhere a Linked List of all these hazard pointers is kept. When you want to remove a Doodad, you take it out of the graph, then you check the List of Hazard Pointers. If any of them was pointing at the Doodad you removed, you put the Doodad on a special pile since it can't be deleted yet, otherwise you can delete it immediately because nobody else needs it any more. This is a relatively expensive operation, but you're only doing it for removal, not just reads.

Finally there needs to be some mopping up of that pile of "couldn't delete yet" Doodads by trying to delete them again (checking the Hazard Pointers again of course). This can be periodic, it can happen every time somebody tries to delete one, or whatever, the best policy may vary between applications.

This approach means reading Doodads costs only two local writes, no waiting around for the cache. Removing them is more expensive, but that's OK because it was rare.
it’s not that they want to fail delivery; it’s that any new small agile firm of like 10 people who manages to qualify and deliver in some small project will instantly have so much demand that they will scale from 10 to 100 people in short order until they cannot effectively manage and turn into the the thing they hate. and contracting is low margin after bizdev costs, the economics really aren’t there so you make money by squeezing labor salaries. you can’t raise rates because moral hazard - you’d have immediate incentive to pocket the margin. behold the stable state.
The left is big tent. Being on the left I don’t agree with any of the trans or any of the runaway feminism nonsense, but what choice do I have. Vote for the racist, sexist republicans instead?
Put an order in a month ago. Can we expect it to arrive by Aug 15, first day of school? :-D
American roads could also be a lot safer.

https://www.fastcompany.com/90771003/american-roads-are-desi...
Oh I’d prefer it be illegal too. See point about the California law. This is a good thing.

Illegal or not, it happens and my comment was what to do if/when it happens. The parent was someone complaining that they had a “billing bug” that they tried to charge back.

I wish everyone was nicer to consumers and not shareholders, but if you want your money back while you petition for new laws. sometimes you have to jump through hoops.
I've been told to consider it constant for all practical purposes
> Or you could simply make it so that the threat of driving drunk was so high that people actually thought twice.

Every jackboot says this but in reality it does nothing because everyone thinks they're good and won't get caught.
Patential link with diabetes: https://www.health.harvard.edu/blog/whats-the-relationship-b...
The real strategy is to change political will. Right now our politicians are mostly leaning towards as little change as possible towards a climate change solution. That needs to change. WE need to get involved and change people's and politician's minds.

Acting alone will do nothing. I can move to one of the poles and try to survive there but ultimately the world wide societal chaos that will be part of the changing environment will catch up to me. We are going to see fights for land ,water and general resources. I don't think people understand that it's not just a change in the weather but it's also a change on the way our world wide society functions.
This was a more substantial argument than I had anticipated.
Low resistance across each of the pins in the finished connector is not enough for testing? That's how cable tester devices, like for CAT5, work afaik. Maybe add another test for ground (like add another multimeter that is connected to ground and make sure it's not being shorted to ground) but that's all you need for most regular dumb cables, I would think?

Of course, if the cable itself is also a device and the cable has a protocol of its own that it needs to speak (looking at USB-C here, I read these stupid things need chips now to indicate they can safely carry more power), then things get more complicated
Isn’t GitHub in a similar spot as a Rails monolith? Or did they move recently?
I am not entirely sure what the above commenter means that dx is rigorously defined in "infinitesimal calculus" because I don't know what they necessarily mean by "infinitesimal calculus". As far as I am aware, there is standard calculus, non-standard analysis by Robinson, and smooth infinitesimal analysis that uses intuitionistic logic. The three are very different. dx has no meaning in standard calculus. It is simply there for notation. It is given meaning by the theory of smooth manifolds and differential forms. In that setting, differentials such as dx are given explicit meaning: they are functions that operate on tangent vectors. For example, apply dx to the unit vector d/dx + d/dy to get dx(d/dx+ d/dy) = d/dx(x) + d/dy(x) = 1 + 0 = 1.
... yes it's there deliberately...
Uncivility is really not welcome on this site, and there's no point engaging with it anyway.
Absolutely not true. I’ve seen things become consensus because of one single questionable image in one paper from a “trusted” lab.

In my alma matter field the question was whether her2 receptor recycles (has implication of all breast cancer antibody therapies that target her2) and a paper from a Genentech lab had ONE FIGURE (where different data points from different experiments) as proof. An entire sub field including projects in my own lab were spawned assuming this.

Whenever I point out this flaw in lab meetings I’d be shut down by my professors as “they know the authors they trust them”.
Ask them what they want as proof?

I think a certified mail to legal of the company (and a reasonable period of time for them to correct) is probably a good start.

If they actually tell you the bill was a mistake, that should definitely be proof.
I don't think Glassdoor should be forced to produce the name at all, but a New Zealand court handling the case at least makes more sense to me for this specific instance.
What do you mean an individual's valuation? What pattern of cash flows are you using? How is this any different than taking integrals of different time periods for a flat annual $100 CF?
I’m kind of surprised to see that the CV of a CIO like that is filled with the same meaningless drivel that mine is.

Like, I could write these exact same things, and they’d be true, except I’d have to scale the number of employees down to 15… and change a few instances of car.
Agreed. At this point, I view anyone who worked for more than six months at any of the big IT consulting companies - and especially accounting firms pretending to be IT consulting companies - with deep suspicion.

I've literally witnessed teams where a single contractor out-performed a team of twenty people by a factor of 10 because they were reasonably competent. I guess this is where the myth of the 10x programmer comes from!
IDK about the rest of that, but an alcantara-covered palm rest wouldn't hurt.
The Suffix Array is surprisingly cool and useful https://en.wikipedia.org/wiki/Suffix_array

The Alias Table for sampling a discrete distribution in O(1) time is a very clever idea https://www.keithschwarz.com/darts-dice-coins/
Honestly, just staying in the Upper Midwest Great Lakes region of the U.S. is looking like a great option for me. Winters aren't great right now, but will only get milder and summers are amazing.
https://developer.mozilla.org/en-US/docs/Web/Security/Subres...

Though so few sites use it that your browsing experiencing would be awful if you made it mandatory.
Biggest issue with that post is that "memory" or "thinking" is basically equated with conscious thought. Remembering is a little more complex and tacit than just actively having words in your mind or straight forward recollection.

You may forget most of a book in a very literal sense but that doesn't mean that connections you've made while reading haven't left some impressions on how you 'think'.

that's particularly obvious if instead of reading you take something like making music. You often 'construct' or build on things you've learned in ways that aren't conscious choices at all. What you learned doesn't just manifest by playing scales but maybe by some subtle stylistic choice or technique you can't recall picking up.

So I think it's just a false dichotomy. A lot of what you construct, in particular subconsciously is based on transmission, and transmission always requires reconstruction anyway, because we're not databases, and every act of transmission is interpretation.
Yep I was going to say the same. My recent gig was like this, they paid a consultant firm big money to find out what the "market rate" was, around when I was hired, and when they finished and my boss spoke to me about it, he was like, "well you are way beyond the market rate they determined." My response was, "well are they going to try to claw some money out of my salary" and he kind of laughed and said no.

And turnover here is super high due to salary.
Yeah, at least they eventually got a working system out of it.
I would like to find a really good guide on how, after taking things apart this thoroughly, to systematically organize, track, and reassemble them.

I know people do successfully take apart vehicles to the last nut and bolt and restore and reassemble, but seems like a lot more give up part way.
Spatial hashing.

Say that you have data that is identified with points in 2D or 3D space. The standard way that CS students learn in school to represent this is via a quadtree or octree. However, these tree data structures tend to have a lot of "fluff" (needless allocations and pointer chasing) and need a lot of work to be made efficient.

Spatial hashing is the stupidly simple solution of just rounding coordinates to a grid and storing nearby objects together in a hash table. As long as your data is reasonably well behaved then you get many of the advantages of a quadtree, and it's completely trivial to implement.
Still half a billion dollars of NIH money went into this sub field.

The article points to how the main accused got an R01 approved AFTER this misconduct started to come out, and the guy awarding it was one of the coauthors of the first fabricated papers.
It's possible to separate the two, but not in a way that gives a meaningful true market value for land alone in the short term-- rather just values for land in long-term option value after other rights are considered.

That is, that leaseholder you can't turf is enjoying a lot of the value of the land, and it may not be correlated to past payments or transactions.

In turn, lots of the benefits of a LVT evaporate if the taxable value (of landowner's eventual rights) is so decorrelated from the present value of land uses.

That's the problem here: valuing the land alone is hard. Separating rights, adding more owners and options and preferences --- doesn't make valuing the land alone easier.