skysight-inc/HackerNews huggingface dataset:
These are good questions; I'll try to give you good answers.

// If it’s funded by a flat tax, then yes, but then what’s the point? Seems like nothing more than a shell game. //

yes.

// If it’s funded by a progressive tax, then how is it anything more than a tax increase combined with increased welfare? //

A couple of points:

1. We actually already have UBI and a single-payer health care system--you just have to be 63+ to get it :-) Social Security is the very paradigm of (as you put it), "A tax increase combined with increased welfare." And yet, everybody seems to love having it, or not having to pay for their parent's and grandparent's housing and medical bills.

2. If we had a UBI--say one that paid proportionally to our GDP--nobody would be fearing AI, robots doing the dirty work, etc etc. Every voter would be massively incentivized to vote for public policy which would have our GDP growing as fast as technological progress could let it. This alone, IMHO, is worth the price of admission.

3. I'm going to go out on a limb and guess that you are a big fan of Hayak? :-) UBI is a cornerstone of Hayak's "road outta serfdom." Imagine driving an Amazon truck--and being told when you can and when you can't go to the bathroom. You probably don't have to imagine your employer putting key-and-mouse monitoring systems on your computer. If somebody can tell you not to go to the bathroom when you need to, and if somebody can punish you for not pounding your keyboard fast enough, lets face it, you don't have any freedom. UBI would give us the leverage we need to exercise our inalienable right to freedom even at our workplaces.

// Either way, seems like nothing but a recipe for inefficiency and increased government bureaucracy. //

As others have noted, it is quite the opposite. Think about how MANY different ways the government subsidizes things...sugar prices, corn prices, beef prices are all artificially high because farmers get subsidies. And we're just getting started--oil companies getting subsidies, subsidized student loans---and there are *square miles* of buildings staffed with people to administer them all.

Literally (not metaphorically, or hyperbolicly) literally *square miles* of bureaucracy would no longer be needed.

And if we had UBU--it would be OK to lay them off!
Germans and space industry, what could go wrong
As users of otel, we are looking at reusing otel for our LLM stack, and as it is easy to instrument, don't need a new framework for that part.

However, the more interesting part is the storage: Imagine ingesting 100pg PDFs or 1M tweets, and doing many/big LLM map/reduce with big (128K+) context. In observability land, we generally have small payloads, sample data, and retire data... and backends + pricing assumes that. In LLMs, we instead might want some hot, rest in the DWH, and store everything.

How have folks been dealing with these kind of mismatches? Eg, Clickhouse backends for otel? Something else? Small stuff in otel and big stuff manually in a doc store / s3 json / parquet?
As the problems become harder, you can’t just Google for solutions. Really great engineers often build things that nobody has ever built before — or at least not documented how they built it publicly. If you don’t have fluency in the fundamentals, you won’t be able to piece together the parts that you need to build novel systems.

Second, part of hiring junior engineers is evaluating their growth prospects — e.g. new grads are often completely unproductive for up to a year, and firms make large investments when hiring them (maybe up to $200,000 in mentorship and wages). People with the attitude “I don’t need to learn/understand things, I can just Google them” are unlikely (IMO) to reach that level of seniority.
It's a pain trying to find a job these days. I'm literally going broke if I can't find a job in a couple of months. (Realistically I guess the warehouse is hiring)

Surprisingly enough I got interviews from a big tech company. Definitely the biggest place I have ever interviewed, I don't even believe I'm getting interviewed. Didn't make it but lasted two rounds so at least I should have a bit more confidence.
It's now live at https://cluttr.ai

I'm going to write a few blog articles about some of the challenges I've had, and where I'd like to see the tooling of local first to mature.
Unlike now, where only innocent people are convicted and everyone knows all the science that always works, like DNA testing?
Netflix's efforts to grow ad tier in focus as subscriber growth slows
Sorry, I thought it was implicit that I was an American. You said you never heard of it, so I was just trying to give some context.
> BAD: you use the built-in python logging module. It is a complete disaster of an API. You should use loguru everywhere instead.

???
It's not worth it. Like, you could mandate planes fly 100 meters lower, but a lead coating would be so heavy. Let's say a 737 with a max weight of 70 tons. Covering the top half with lead would mean a 200 square meter sheet, and at 1cm thick it would weigh more than 20 tons.
How do they keep the watch from locking up while using it? My Apple Watch will always auto lock after a few seconds if not on my wrist and I’m not constantly tapping the screen.
This comment's tone is presumptuous, judgmental, and reactionary. Based on the small sample of textual prose in this completely unrelated context, I have to assume that the author's whole interpersonal vibe and decision-making process is not a culture fit for our organization. We were impressed by your background but will be pursuing other applicants
All the things you describe also require money.

You're right that the kevlar is the last line of defense. Nevertheless, one would be a fool not to wear it, as machinery fails and people make mistakes. There are photos on the intertoobs of shredded kevlar and no injury to the "thank god I put on my armor!" sawyer.
The description is very perplexing. Especially the "entirely client-side" phrase. Isn't that how VMs normally work?

Looking at it further, this has very little to do with "virtualization". It's just another emulator.
Yeah, I tried a web search and after a lot of stuff about the South Sydney Rabbitohs, I found this review of Rabbit R1:

https://www.theverge.com/2024/5/2/24147159/rabbit-r1-review-...

They don't seem impressed.
There is no such thing as "safe" and "unsafe". There's a continuum between them. At some point, making things more safe becomes so costly it is unworkable.
As an American who has lived abroad for several years, exactly this. The grass is not greener. America may have its problems but there is social/economic/environmental/political instability everywhere. Do you really want to sign up for unrest that you don't understand, in a completely new context, with different cultural values where you don't know who to trust? And if you have a family, good luck uprooting everything they know.

I understand that the US has problems too but consider they are familiar problems and, to some extent, they are your problems as well. You can't run away from them without cutting ties.

Personal anecdote: I moved my family back to America, as it happened exactly on Jan 20, 2017 (inauguration day). I could've chosen to stay abroad but I felt a sense of duty to return and support my stateside family and friends through what was sure to be a hard four years, soon to be a hard twelve.

Re: the Jeffersonian ideal, I concur. Capitalist-mediated mob rule (which is effectively what we have now) has absolutely no resemblance to the republic envisioned by our founders - we must return to that politeia. If not, we explicitly give up on the cultural experiment that we once called America. Our current system bears no resemblance and is in danger of losing sight of that vision in the next generation.
Never worked in tech so I find this mindset really alien. Why no specialisation and separation of duties? Why not have someone really good on the business side and someone else who is really good at coding?
Not familiar with this at all, but I assume it's so that one type can encode and store mixed lists of 64-bit signed and unsigned integers.
Bitcoin is too volatile to be a store of value and too slow and expensive to be useful for transactions. It is public so it is not even great for illicit transactions.

> Fiat is weak money

Try explaining that to the IRS when they ask for taxes in dollars.

> Bitcoin is a force of nature

Asteroids are also a force of nature. That doesn’t make them good.
or they're just younger than you
https://archive.ph/Tw5Xx
These are surprisingly beautiful, poetic. They reflect what I think would be the best of the humanity that we have, anywhere and everywhere. I thank the collector of these for some brief moments in the music of others' lives.
This felt like someone uploaded their ai pictures folder and put it behind a Tinder-like photo browser.

What is happening behind the scenes?

I swiped left of every super hero looking, yet they still kept coming. I swiped left on almost every anime one, and a lot kept coming. There was a random cat and some sand. I also saw several duplicates. I also swiped left on a bunch that looked like a plus sized Billie Eilish, yet they still kept coming.

I expected a lot of randomness at the start, but then more and more right swipes as time went on. This wasn’t the case. It seemed pretty random, in terms of my tastes, and seemed heavily influenced by what the author was into, and it wouldn’t let it go.

Interesting idea though. I just wasn’t feeling like it was using a recommendation algo based on my swipes. I also wasn’t entirely clear on the play button. I did press that on the first image to see what it did, and it just changed the image. Is that why it kept showing me more stuff like that, even though I swiped left?
Release the hounds Securing datacenters may soon need sniffer dogs
Yes, the algorithm :p

Actually joking aside, if there are infinite results that are built up by preference it would be interesting to see what my "type" actually was. Particularly given o dont feel I have a "type".

Probably won't explore it, but I have to admit it could be interesting.
Thanks for the feedback!

I realized at least the double-calling of line.split while writing the second instance, but figured I'm in an interview (not a take-home where you polish it before handing in) and this is more about getting a working solution (fairly quickly, since there are more questions and topics and most interviews are 1h) and from there the interviewer will steer towards what issues they care about. But then I never had to do live coding in an interview, so perhaps I'm wrong? Or overoptimizing what would take a handful of seconds to improve

That only ever one user path will hit length==3 at a time is an insight I hadn't realized, that's from minor point #3 but I guess it also shows up in major points #2 and #3 because it means you can design the whole thing differently -- each user having a rolling buffer of 3 elements and a pointer, perhaps. (I guess this is the sort of conversation to have with the interviewer)

Defaultdict, yeah I know of it, I don't remember the API by heart so I don't use it. Not sure the advantage is worth it but yep it would look cleaner

Got curious about the performance now. Downloading 1M lines of my web server logs and formatting it so that IPaddr=user and URI=page (size is now 65MB), the code runs in 3.1 seconds. I'm not displeased with 322k lines/sec for a quick/naive solution in cpython I must say. One might argue that for an average webshop, more engineering time would just be wasted :) but of course a better solution would be better

Finally, I was going to ask what you meant with major point #1 since the task does say top 3 but then I read it one more time and...... right. I should have seen that!

As for that major point though, would you rather see a solution that does not scale to N results? Like, now it can give the top 3 paths but also the top N, whereas a faster solution that keeps a separate variable for the top entry cannot do that (or it needs to keep a list, but then there's more complexity and more O(n) operations). I'm not sure I agree that sorting is not a valid trade-off given the information at hand, that is, not having specified it needs to work realtime on a billion rows, for example. (Checking just now to quantify the time it takes: sorting is about 5% of the time on this 1M lines data sample.)

For anyone curious, the top results from my access logs are

/ -> / -> / with a count of 6120
/robots.txt -> /robots.txt -> /robots.txt with a count of 4459
/ -> /404.html -> / with a count of 4300
I wonder if this will change Elon’s endorsement. He has long seemed pro-AI regulation. He said he went to Washington to try and fight for it and no one listened.
NASA understands sunk cost fallacy.

NYT doesn’t.
“High taxes” is really a question of how rich you are: Texas famously does not have an income tax but they compensate with other taxes and that ends up making it much closer, possibly even in California’s favor, for most people:

https://wallethub.com/edu/best-worst-states-to-be-a-taxpayer...

Texas also has worse public services so you’re going to be paying more out of pocket for replacements, too, and spending more time indoors due to the climate and lack of things like parks.

Now, if you’re the boss this is fine because you have such high income that the difference in property and local taxes doesn’t come anywhere near cancelling out your savings on income taxes, but that’s not true for most employees. Everyone I know who’s moved from California, DC, or NYC moved back because it wasn’t really cheaper and the quality of life was so much lower.
School Discipline – An App to help parents and kids know their rights
Not sure. We're currently using GitLab wikis a lot, oddly enough.

Obsidian is nice but start time on mobile is bad too.
> we should ban lava too

Have we not already? That seems like an oversight...
I don’t think that answers the question. Denying transactions is certainly an issue. If it is true that the majority of mining power is in China, only a minority is outside of it. What mechanism does Bitcoin have for a minority of nodes to deny the transactions of a majority of nodes?
Why does a/(b/c) = a(c/b)?
(it was sarcastic. Too late to edit in a /s)
Indeed.

Let's just be disrespectful to women by speaking for them and assuming they're a homogenous indistinguishable group that all think in lockstep.
Because Nvidia has made a compelling product and AMD has not...
On latest NixOS unstable and KDE + Wayland is still a bit of a dumpster fire for me (3070 + latest NV drivers). In particular there’s a buffer wait bug in EGL that needs fixing on the Nvidia side that causes the Plasma UI to become unresponsive. Panels are also broken for me, with icons not showing.

Having said that, the latest is a pain on X11 right now as well, with frequent crashing of Plasma, which atleast restarts itself.

There’s a lot of bleeding on the bleeding edge right at this moment :)
“Kubernetes is bad and complexity is bad, things should be simple like they used to be” is such a huge red flag.

If the market uses a tool, and you don’t understand the tool, perhaps reserve judgement or even feign interest. The example of wrapping a CLI tool in docker does not make the argument the author thinks it does. It shows they resent standardization and are stubborn. I’ve turned down dozens of applicants for similar suggestions.

It’s fine to suggest or prefer simplicity, but it’s beyond silly to suggest only idiots are using tools like Docker and K8s. It’s weirdly common refrain from jobless developers: “I don’t know how to use your tools or what benefits they bring but I don’t like them”.

Okay, next?

In a way it reminds me of the arguments against modern cars: “too complex!”. The complexity serves a purpose; dismissal out of hand shows gross disrespect for the engineering skills of others.
Why do you put zeroes in front of your dates?
> 8,000 hours of development on top of a lifetime of working in high performance distributed systems experience, yet nobody really wants to buy it when free worse performing choies exist.

He misspells choices, fair, I make typos too. But might want to catch that on a résumé. Then comes across like he’s not getting the proper traction or respect for it. Fine, but probably don’t complain about that there, idk. I’d still hire him though.
Not in mice AFAIK, but they've done it with flies which have an even better generational turnaround time (although are less alike to us). Selective breeding of fruit flies at their oldest possible age for breeding, yields longer lifespans in as few as ~12 generations. And the inverse, yields shorter lifespans.
So it's using vector embeddings - for each image. As you swipe, you get an aggregate preferences vector - which is more heavily influenced by downloads and plays. There is a time decay on the preference vector (older likes mattering less).
Still tuning things for the optimal quality vs. your desires tradeoff (like purely optimising for your preference vector would lead to possibly crap images)

But maybe I can adjust a little more to preferences
I completely disagree with your anecdotal premise.
> Things like Erlang + C seem unlikely; their whole purposes are different.

Erlang and C are complimentary.

Erlang calls code written in NIFs, coordinates C Nodes, and/or programs talking to the emulator over ports.

The original design goal of Erlang was to make it easy to write correct, concurrent, fault-tolerant supervisors and coordinators for complex, high-performance systems. (Like suchas telecom switches.) Erlang wasn't intended to be particularly fast, but to make writing concurrent systems easy, and provide fairly low and fairly predictable latency. One bounces out to C for performance-critical stuff, rather than writing it in Erlang... even today.
What browser? It was smooth for me in Safari.
This is really interesting. Our app Sticky (https://getstic.ky) has been rejected based on guideline 4.7 too. We are a social media app and included HTML5 games. Apple kept claiming that "offering HTML5 games appears to be the primary purpose of your app" which is not the case (certainly not in the update we are submitting) as we have several other features with equal weight. The changes to guideline 4.7 which allow HTML5 mini-games or mini-apps and which allow emulators were made in late January of this year, shortly before the US DOJ antitrust suit, where these issues are central, was filed (March). I imagine Apple changed the guideline for a legal or PR reason related to that suit, but does not really want to follow its own updated guidelines and so is finding every excuse it possibly can to reject emulators and apps with HTML5 mini-games/mini-apps. In our case, after the appeal, we were called up by someone from Apple who started the call saying they did not consent to it being recorded (how's that for inspiring trust?), who walked-back what they had said about HTML5 (and of course they did not put that in writing in the message they sent afterwards), but then came up with a couple of brand-new reasons for keeping our update off the store: claiming that we had changed the app concept... because our app was different some 4 years ago and hundreds of updates ago when it started! And including mentioning rule 4.7 regarding emulators... which we are not and do not claim to be! So I'm glad that you made this public, because I suspected we were not the only ones who were getting bogus rejections around rule 4.7, and you have confirmed it. If our issue is not resolved by the end of the week intend to publish the entire history of communication with App Review printed-off from App Store Connect so people can have a look and see for themselves.
They can’t alter them? Can’t they do whatever they want if they collude to execute a 51% attack?
I can confirm it wasn't an intern project (I implemented it and am not an intern haha)
The 3100s could be sluggish running local apps but really shined when used as an X terminal with apps on an alpha server.
We know Microsoft is working on it, but that's about it.

All bets are off as for when, but I would expect it to show up alongside capable hardware.
They're written in awktal.
That's interesting, maybe it's hardware-dependent? I'm doing nixos + KDE + Wayland and I've had almost no issues in day-to-day usage and productivity.

I agree with you that there's a lot of bleeding. Linux is nicer than it used to be and there's less fiddling required to get to a usable base, but still plenty of fiddling as you get into more niche usage, especially when it involves any GPU hardware/software. Yet somehow one can run Elden Ring on Steam via Proton with a few mouse clicks and no issues, which would've been inconceivable to me only a few years ago.
> As for that major point though, would you rather see a solution that does not scale to N results? Like, now it can give the top 3 paths but also the top N, whereas a faster solution that keeps a separate variable for the top entry cannot do that (or it needs to keep a list, but then there's more complexity and more O(n) operations). I'm not sure I agree that sorting is not a valid trade-off given the information at hand, that is, not having specified it needs to work realtime on a billion rows, for example. (Checking just now to quantify the time it takes: sorting is about 5% of the time on this 1M lines data sample.)

You need the list regardless, just do `max` instead of `sort` at the end, which is O(N) rather than O(N log N). Likewise, returning top 3 elements can still be done in O(N) without sorting (with heapq.nlargest or similar), although I agree that you probably shouldn't expect most interviewees to know about this.

As for the rest, as I've said, it depends on the candidate level. From a junior it's fine as-is, although I'd still want them to be able to fix at least some of those issues once I point them out. I'd expect a senior to be able to write a cleaner solution on their own, or at most with minimal prompting (eg "Can you optimize this?")

FYI, defaultdict and setdefault is not the same thing.

d = defaultdict(list)
d[key].append(value)

vs

d = {}
d.setdefault(key, []).append(value)

useful when you only want the "default" behavior in one piece of code but not others

> / -> / -> / with a count of 6120
> /robots.txt -> /robots.txt -> /robots.txt with a count of 4459

LOL
>tactful - showing skill and sensitivity in dealing with people. Right or wrong, your comments do not contribute to the discussion.

just take a look at the depth of your incredibly rotten stupidity and ugliness of mind, you fucktard and dotard (dotard means something like a senile person, in case you didn't know):

hn user jacob019, you little mofo:

you say that "Right or wrong, your comments do not contribute to the discussion."

that itself is a contradiction in terms.

so you are saying that my comments do not contribute to the discussion even if i am right?

(what an utter fool and liar and swine you are.)

then why should i and anyone else think that your comments contribute to the discussion when they so totally fucking wrong, biased, shitheaded, pissheaded, and other choice epithets?

comgrats, you have really jumped the shark in terms of being a creep.

enjoy your miserable life for what it is worth, you worm.
You can still get the "dumb" non-cloud ones for similar prices.
$PLTR going up on this.
Are there any vehicles on the road that can actually charge at 400kW?
This specific issue is a central part of the US DOJ antitrust case against Apple, so there's a team of attorneys-general who think its unlawful.
It's a nod to the Long Now Foundation

https://longnow.org/

and can be taken in many ways, either as a sign of a true believer or just to invoke a sense of the scale of time beyond the immediate.
The problem with C++ is you just don't know what you don't know. But you know there is a lot of it. A good framework certainly helps but it doesn't solve this basic problem.
What does the play button do? Perhaps an explanation of the interface might help.