skysight-inc/HackerNews huggingface dataset:
Huh, would you mind sharing the latest CFO professional handbooks? I definitely wouldn’t wanna overstep the all knowing government agencies by placing emphasizes in the blogpost headlines!
That's a quote from Emily Williams Knight, the president of the Texas Restaurant Association, previously published in the Wall Street Journal:

https://www.wsj.com/story/dreams-of-inexpensive-texas-barbec...

Of course, authority doesn't necessarily make something true, but it deserves a better counterargument than: "I just don't see that as a thing that can happen."

It is certainly hard to imagine losing something so central to a culture, but the financial plight of small town America is quite dire. Sometimes people have to give up things they love when they just can't afford them anymore.
I think there's something special about websites where everyone gets the same thing. Like how Wordle was so popular, or Hacker News -- I often mention to my wife some article from here, and she already read it so we have an interesting discussion. Compare that to TikTok "have you seen that one? no... well they're talking about this roman battle, but the soldiers are all birds..."

That was a small part of the thread, but I mention it because of what he said about the power of human curation -- that the curator picked out these great treasuries from the sea of shirtless dudes. Because if you have the same frontpage for everyone, it's feasible to have an expert just pick that instead of needing some weird flaky NN that's expensive to develop, train, and run, and produces bland (or disturbing) recommendations anyways.

(Even algorithmically-driven sites like HN benefit from that, like dang manually emailing people to resubmit interesting stories.)
Tens of billions, if not more, at Google: https://killedbygoogle.com/
100% on that but the measures proposed seems riskier on the long run than just continuing
Do folk genuinely get asked problems like that in technical interviews these days? I can't think of any plausible reason why anyone would want to do a calculation as contrived as that. I love the required modulo value too.

I assume the trick is to somehow leverage the distributive property of multiplication to refactor the data to no longer require as much iteration? Is there supposed to be a linear time solution?
Respectfully disagree. There is only one side that suffered the consequences, and it's not the agency. There is no incentive for them to change anything.
Can't speak specifically for the embedded use case, but when debugging my mixed Zig/C/C++ projects in VSCode with CodeLLDB or the MS C/C++ extensions (which are frontends for gdc and lldb on Mac and Linux) I can just step from Zig code into C code and back (the same works for other compiled languages that support DWARF debug output btw, there are no 'language barriers' in the debugger).
I imagine careless use of such a structure would be an easy way to create a memory leak.
Is it possible to create persistent collections in js, that will free data no longer directly referenced?
I don't know whether it already exists or if it has a name, but internally I call it Virtual List.

- Reasoning: It's used in cases where you'd ideally use an array because you want contiguous memory (because you'll usually iterate through them in order), but you don't know beforehand how many elements you'll insert. But you can't use a resizeable version like std::vector, because it invalidates any pointers to the elements you've already allocated, and you need to store those pointers.

- Implementation: As a black box, it's used like a list: you index elements with an integer, and you can append to the end. But internally it uses different lists. Like a std::vector, it starts with an allocated size, and when it needs a bigger size, it allocates newer blocks that are "added" to the end, but doesn't move the already allocated elements.

- Downsides: Data is not all contiguous, at some point there are jumps between elements that should be close together. For performance when iterating, it's negligible since those cache misses happen "rarely" (depends on the block size, bigger block size means better cache performance but more potential wasted allocated memory), and most of the time you're iterating from start to end. But this means that you can't use this structure with algorithms that use "pointer + size", since internally it doesn't work like that. And since internally you can't shrink the lists and invalidate pointers, there's no way to delete elements, but in my case it's not a problem since I'd reuse indices afterwards with an added structure.

- Applications: I used it when coding games, when you have a big list of entities/components but you don't know how many beforehand. You access them by index, you might store pointers to elements, and most of the time you'll iterate through the whole list (when updating, drawing, etc.).
I was reading on Reddit that you would only need 12 GB of VRAM for DALL-E 2 to run on a local machine https://www.reddit.com/r/dalle2/comments/w3sbt3/comment/ih01....
What benefit would the author get from naming the agency involved?

There’s a big legal risk involved in doing so and no upside that I can see.
While this is definitely true (I've worked in both kinds of environments), I think the scrum process isn't for low-trust per se, but for managing expectations, especially if you have a larger IT organization. Your direct product owner needs a way to determine how long the development of features can be done, so that they can coordinate and manage expectations with other product owners and other stakeholders (management, customers, etc). I see it as a way to abstract away the individual developers and dev work.

And you probably know that there's a BIG portion of developers who aren't as self-organized or disciplined. You mentioned the shiny things distractions, I think that was a factor in the original post. The other being mismanagement on the agency's side, where they allowed their designers to go out of scope. And I'm not even convinced it's mismanagement, because they turned a $7K project into a $46K project, a 6.5x increase in their revenue off of some small side project.
Would make strategic sense to be fully open. Even if it can’t 100% compete on performance this would give them an edge
Posit numbers (a better floating point representation): https://www.johndcook.com/blog/2018/04/11/anatomy-of-a-posit...

https://www.johngustafson.net/pdfs/BeatingFloatingPoint.pdf
Sweden had a higher death rate than its neighbours combined. Also just like Denmark no very large, densely populated cities.

Paris proper is 2mln people squeezed into a 100km^2 city. Greater Paris is 10mln at a definitely urban density. It's no wonder they had larger death rates and this is a apples to oranges comparison.
I'm pessimistic. Whatever European alternative that will pop up to serve this market will hardly be fit to compete internationally, selling to schools and governments means jumping through hoops to provide an adequate service at an adequate price, that's not the way to build a FAANG competitor. Aside from Spotify there really isn't any top-tier European internet companies with global reach. It's even worse in consumer electronics. There are bits and pieces in other tech, but really, challenging the US isn't a reasonable goal at this point.
The difference in size between companies imply different operation trajectories. If you are their smallest customer, you are bound to be deprioritized and treated as second-class. If you are their biggest customer, you may well destroy them with procurement and governance processes.
See what’s happening? join twitter and we'll let you scroll back up this page.
Am I missing something? These are templates, not template generators. To me a template generator is something like theme builders for Wordpress.
> But it's irrelevant when that's the cheapest new vehicle, most working Americans need a car, and despite better fuel efficiency, it isn't really that much cheaper to own a car. Hedonic adjustments make sense in theory, bpractice it's a loophole to make inflation whatever the government wants it to be.

The average new car in the US lasts like 2x longer than it did in 1998. Shouldn’t that factor in?
> I'm guessing that's because the time zone is included in the "date modified" field, but that's just a hunch.

From reading the description it looks like the second line, if present, is just (somehow) loaded as a ruby file.

So this is exploitable on a file upload if you can find the destination location of the upload data. More generally if you can get a ruby script on the FS somehow, and this is accessible from the tzinfo-gem via a relative path, and you can probe the FS (but depending on the error feedback the vulnerability itself could provide the probing tool, if it lets you discriminate between EFILE and EEXIST… or if rails has a standard upload path and the average application will almost certainly be using that)
It's highly tempting to scour Dribble or Behance to track what the agency was.
It’s also the clearest and least buggy way to iterate over the results. Map over Await Promise.all(map).
Your guide has helped me understand socket API when I was just starting with networking :)

Thank you for your existence.
> It's clear that the fixed costs need to be paid among a fewer number of clients

I am sorry but it is not at all clear. Has there been a drop in the number of slack customers?

Number of people in work is up. Unless slack has become unappealing as a solution to its problem, that means number of subscribers up. If slack is unappealing as a product and people are switching to teams / google that is an entirely different issue.

It is also possible that those fixed costs have increased and they are passing on those costs, while retaining whatever margin they have, as there is inflation out there.
AFAIK good live coding support (e.g. hot code reload) is a goal for Zig which arguably is much more useful than a REPL for a compiled language.
All the European countries that you listed have good public heath care systems, especially when compared with the US situation. That’s the main reason they had less deaths per capita, not their lockdown policies.
Google is making it easy for Microsoft.
That's pretty standard approach in games. This negates problems with loads during gameplay potentially making game choppy, and also makes you aware of your total maximum memory budget (important esp. for consoles) - whereas, with dynamic loads and mallocs, you'll only find that out via extensive testing.
I once interviewed a guy who "revolutionized" his Major Department in Big Firm with Deep Learning. Genius.

He hasn't heard about gradient descent, not by name, not by maths. He was quite impressed when I described it to him, in fact.

If it didn't happen to me, and i still have written records, i wouldn't believe it today.
Equality graphs (e-graphs) for theorem proving and equality saturation and other equality-related things.

They're awesome data structures that efficiently maintain a congruence relation over many expressions

> At a high level, e-graphs extend union-find to compactly represent equivalence classes of expressions while maintaining a key invariant: the equivalence relation is closed under congruence.

e.g. If I were to represent "f(x)" and "f(y)" in the e-graph, and then said "x == y" (merged "x" and "y" in the e-graph), then the e-graph, by congruence, would be able to tell me that "f(x) == f(y)"

e.g. If I were to represent "a*(2/2)", in the e-graph, then say "2/2 == 1", and "x*1 == x", by congruence the e-graph would know "a*(2/2) == a" !

The most recent description of e-graphs with an added insight on implementation is https://arxiv.org/pdf/2004.03082.pdf to the best of my knowledge.

P.S: I'm currently implementing them in Haskell https://github.com/alt-romes/hegg
App Sandbox offers a lot of privacy protections. For example, you can't access bluetooth / GPS / etc. without the OS asking the user for permission. Apple has also started to require entitlements for local networking, and so on.

There's really no point in having Apple check those permissions. It would be much better if the user could check entitlements.

What Apple currently offers (the privacy information and the tracking consent) is all based on goodwill from the publisher -- if the publisher says they don't track you, but they still do, it's going to be very hard to prove.
The French literally executed away their class system.
> If every nation state operates by different rules that's not good for multi-national corporations.

Multi national corporations don’t really care whether the rules are homogenous or not, they’re big enough to do whatever they need to to sell their goods and services in whichever markets they want. The single market was actually more of a benefit for smaller companies, allowing them to sell to 500m people without having to worry about customs declarations, country specific safety certifications etc. There are many many examples of small producers having to stop selling to EU customers after Brexit because of the added cost and bureaucracy.
Ive had many checksum errors with ZFS, really no difference between enterprise Hdd or cheapest possible hdd (new ones). Or i just got unlucky. But some hdds are 15+ years, bad sectors but still usable.
FYI, if you plan to do this in ASP netcore, combine with AsyncLazy for the most optimal results
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/b...
Apparently. I'm not sure e.g. Kahneman would accept the essentially rational but with biases model.
Phoddie/node-red-MCU: experimental Node-RED implementation for microcontrollers
I didn't think that would be an obscure data structure, but Locality-sensitive hashing [1] helps in so many cases. Like nearest neighbour search, collision detection, etc.

[1]: https://en.wikipedia.org/wiki/Locality-sensitive_hashing
Recent language model results from DeepMind
This post is like conservatives posters from red states coping hard by trying their best to trash talk big cities.
Somewhat along these lines, I have formed a concept forcedly called "differentially composable string", or "deposed string", or more precise "poor man's git".

The intended use case is to obtain a compact representation of all the historic text entered into an input field (notes, comments, maybe long-form): all the stages of the text, where a stage is a tuple [add/remove, start_index, text/end_index]. Once you get the stages from the deposed string as JSON, you could transform them however you want then load them into a new deposed string.

You can read more on GitHub: https://github.com/plurid/plurid-data-structures-typescript#... or play around on my note-taking app implementing deposed strings and more: https://denote.plurid.com
Robin Hood tables are a common-ish hash map implementation that often shows up on benchmarks for fast inserts. Depending on the implementation, a Robin Hood table is also a sorted sparse array! This could be useful for data that needs random access and sequential access to a subset of the sorted data, like an order book.
“A developed country is not a place where the poor have cars. It's where the rich use public transportation” – Gustavo Petro, Mayor of Bogotá

> enforcing a racially homogenous society

Are you implying that criminality is genetic...?
Not really obscure, but I had never heard of it till recently (and most people I've talked had no idea about it): Difference Arrays.

Great for when you need to do ranged updates in constant time.

More info: https://codeforces.com/blog/entry/78762
Thanks to the amazing @lucidrains there's already an open-source implementation of DALL-E 2: https://github.com/lucidrains/DALLE2-pytorch and a pretrained model for it should be released within this year.

The same person is also at work on an open-source implementation of Google's Imagen which should be even better (and faster) than DALLE-2: https://github.com/lucidrains/imagen-pytorch.

This is possible because the original research papers behind DALLE-2 and Imagen were both publicly released.
That's entirely subjective, there are a lot of people who have the same negative opinion about 'whitespace matters' languages. I switch between Python and 'curly brace languages' all the time, it's really not an issue after the first three hours or so (but I still miss sometimes that I can't throw in temporary debug code into python with different intendation so that it stands out).

Same with semicolons btw, some people make a big fuzz about it, but in the real world it really doesn't matter, especially with how common real-time linters are nowadays (which helps me a lot because I sometimes accidentally end a line in python with a semicolon).
OK, I re-read the thread and in this case you are right - if it works flawless at least on one specific laptop, it can not "never work at all". Sorry for the disturbance.
You check for if(promiseMap.get(key)) and in the NO case you do promiseMap.delete(key)?

Could you explain why that's necessary? (sorry probs a stupid question)
The article has a point, of course...

Before clicking on the link, i thought it'd be about "putting everything into an Excel spreadsheet" mentality, no matter how insane, redundant and inefficient is..

Ugh, how i hate receiving screenshots in Excel/Word/whathaveyou... and don't even get me started on stale information in multi-megabyte Excel files on some corporate network share...
I don't get it. It seems overengineered to me, but I can't formulate my reasoning well enough.

Why isn't the original value that you're returning protected by a RWLock, and all goroutines will just need to acquire a read lock, instead of using a write lock for what is basically a getter function?

Yeah, I don't get it.
OK, dad!
And nowadays Newtonian mechanics are disproven and we still apply it broadly, because it's still useful. It just doesn't paint the full picture. Same for the geocentric world view. We all know that the earth isn't the center of the solar system, but we still measure days, years, seasons, etc. as if it were. Why? Because for most uses, it is the simpler and more helpful model.

I think something similar could happen here. We come up with a more accurate model that requires fewer exceptions, but is harder to apply/work with day-to-day.
This is very close to (and at times is) climate denial.
LTT is actually building a specialized shop just for testing hardware, with actual experts running it.
Probabilistic data structures are pretty cool.

Count-min sketch [1] is another one. It gives a reasonably accurate count of different events, even millions of unique events, in a fixed memory size. It shows up a bunch in high volume stream processing, and it's easy to understand like the bloom filter.

Another cool data structure is HeavyKeeper [2], which was built as an improvement on count-min sketch for one of its use cases: ranking the most frequent events (like for a leaderboard). It can get 4 nines of accuracy with a small fixed size even for enormous data sets. It's implemented by Redis's topk.

[1]: https://en.wikipedia.org/wiki/Count%E2%80%93min_sketch

[2]: https://www.usenix.org/system/files/conference/atc18/atc18-g...
We should have an organisation like nato where each member state contributes a certain share of their gdp to space research. For instance asteroid mining is the natural way to go if we want to keep our planet fully clean and if we want less reliance on authoritarian states for rare minerals.
CC will hurt the economy whether you like it or not. The more we wait, the more pain there will be. The populace is struggling, but it’s nothing compared to what comes so why not start adjusting expectations now? There is still a lot resistance to positive lifestyle changes irrationally perceived negatively (smaller car, smaller house, used clothes, less meat, …).

Also to add insult to injury the economy is fine, profits are still high and follow years of records profits for shareholders, employment is low. The money is just not correctly redistributed.
?? I never said they were
There's so much "bro-science" when it comes to exercise. I suspect many of this nonsense comes from people getting injured by doing too much too soon, and then generalizing it. Like toes in squats, or pelvic tilt in squats, or locking knees in leg presses. There's some truth that all of these can be dangerous if you're a beginner and you're handling more weight than you should. But the whole point of exercise is that your body adapts. You need to give it time. Tendons, ligaments, and joints take much longer to "get stronger" than muscle does.
They're transparent enough to be trustworthy for reviews, but not they're not really transparent about the influence a company might have. They will do videos for a manufacturer reviewing a product with a given set of rules, but don't always disclose their rules. They argue that their viewers know that if "showcase" is in the title they're being paid for the product (though they often omit "showcase" from their clickbait titles before adding them back later) but their custom definitions for content types are hardly an industry standard, let alone well known to the viewers.

They do disclose what companies send them what, at least. They're better than most YouTube reviews in that sense.

Their current content is always entertainment first, sales second, reliable reviews third. They're a media company, it's the way they do business.

I have no idea what they were trying to do in this video other than show off some cherry picked samples. I'd much rather have seen a quick table of stats next to the unscripted interview during their podcast to be honest, but that doesn't bring in any cash.
Why would the only output be a 15 minute video?

I'm expecting they'll do Anandtech/iFixit level writeups along with the video.
My favorite one that I've had the chance to use professionally is the Marisa trie[0].

Context is a data scientist had written a service that essentially was just lookups on a trie. He'd left and the service was starting to have memory problems so I dug in and swapped the implementation. Iirc swapping the trie implementation changed memory usage from 8gb to 100mb and sped everything up as well.

The actual data structure is equivalent to a trie, but cannot be modified once it's been built (I think it may be the same as a LOUDS trie, I don't remember the specifics)

[0] https://github.com/s-yata/marisa-trie
That a simple statement of fact is bait ought to tell you how much of a fantasy world people live in.

The covid vaccines are shit and don't work.

End of story.

The mental gymnastics needed to claim they do fall apart when you compare them to vaccines for any other deadly disease. We don't still have small pox running rampant in countries with 90%+ vaccination rates. No one walks around telling you that having only your face paralyzed by polio is a great out come and a reason why we should vaccinate toddlers. If you get the MMR vaccine you're not told to be happy that you only got one of the three.

We need to move people's minds to the real world where everyone gets covid during flu season, rename it covid season while we're at it, and build a hospital system to solve that problem.
There's a reason some people call it shitlassian
A standard circular buffer is only single-producer single-consumer. The producer manipulates the head and the consumer manipulates the tail.

Extending a circular buffer to allow multiple consumers is relatively straight forward; you just give each consumer its own tail and accept the loss of back pressure.

Extending it to allow multiple producers without introducing locks is where the complexity shoots up drastically.

But yes, the reason why you would want something like this is to have the semantics of message passing with the performance of direct IPC between userspace processes without going through the kernel.
Move to Europe - we have good buses, trains and cycle lanes :)