skysight-inc/HackerNews huggingface dataset:
Thanks for your insights!

Regarding multi-step pipelines and fan-out capabilities: It's a great suggestion, and while PgQueuer doesn't currently support this, it's something I'm considering for future updates.

As for the LISTEN/NOTIFY payload limit, PgQueuer uses these signals just to indicate changes in the queue table, avoiding the size constraint by not transmitting substantial data through this channel.
I've read about breeder reactors in a German kids book in the nineties. How long do they have to be "experimental"? No surprise the nuclear industry is so weak when the progress is kept so slow (I used the word "kept" because the thing we are discussing can hardly be considered a bleeding edge advance).
Because a dev's IDE project file can differ between every other dev, so committing it doesn't make sense. On the other hand, adding it to the .gitignore solves the problem of having differing config files.
Do you mean tree-shaking? I think basically all JavaScript "compilers" do this these days so that the code you serve is only the code you actually use.
> can I have a function that takes a parameter of type Iter?

fn example<I: Iterator>(iter: I) { ... }
// or:
fn example<I>(iter: I) where I: Iterator { ... }
// or:
fn example(iter: impl Iterator) { ... }

> Can it take any implementation of Iter than, regardless of what item type that returns?

Yes, in the above example. Then, the item type can be referred to as "<I as Iterator>::Item", or "I::Item" for short, unless you use the "impl Trait" syntax. You can also give the item type a name by giving it its own type parameter:

fn example<T, I: Iterator<Item = T>>(iter: I) { ... }

> How would I define a function that only accepts iterators that return, say, i32 items?

fn example<I: Iterator<Item = i32>>(iter: I) { ... }
// etc., just write Iterator<Item = i32> in place of Iterator
That would be terrifying in the case of an emergency; and no, the police aren't the only people you should want to be able to access in case of an emergency.

And if there are exceptions, you can put anyone on the exception list (because it's just a list) and it makes the change as useless as any other feature.

Parents already have parental modes on phones and they're not using them to this degree, it would seem.
I strongly disagree.

> Very few average people are interested in such information, even if various groups are hyper focused on it.

On the contrary, I find it that very few average people are interested in anything but gossip. Gossip is the distilled form of information, stripped free of complex ideas and difficult topics, refined to serve the single purpose most people care about: being a social object. That is, giving people something to talk about with other people. To bond over it, or argue over it - doesn't matter. For most people, the only thing that matters is relationships with other people - truth, or objectivity, or reality be damned.

People who care about accuracy of their news either actually need it for their jobs, or are just nerds. Which is what I personally prefer to be, but that's still a small minority.
Discovering two screens aren't better than one (2014)
Females are often under-diagnosed with ADHD as well, the going theory being that males are more often hyperactive type and females inattentive (people can also have both characteristics). The boy running around the class being disruptive is more likely noticed than the girl always looking out the windown.
What do you mean with single user? It does support multiple controllers.
In the "real world" all assignments I had had answers. To quote a mathematics professor, "how else could I expect you to understand the material on your own, outside of my lecture".
But who would make that adjustment? Companies aren't going to choose to make less money. Governments can fiddle with minimum wages and full-time thresholds, but companies will work around those and pass any cost-increases to the customers. And very many employees will gladly work 40 hours anyway to outcompete their 20 hour coworkers for promotions and bonuses.
> with a large enough receive window

Yeah, that's the issue. I didn't have root permissions on either side. Moreover, a transfer tool should just work without requiring its users to have expert knowledge like this.

In this case, I checked the roundtrip ping time and multiplied it by the buffer size, and it agreed with the speeds I was seeing within ~5%, so it was not an issue with throttling. Actually, if I were a network provider interested in doing this, I would throttle on the 2-tuple as well.
I'm still down to seriously consider Zed, but this is one of the most inorganic posts I have ever seen.
The reason is simple: You write Java.

People using VS Code are writing JavaScript/TypeScript/Python that doesn't need full IDE features. And VS Code is much faster than Eclipse / IDEA kinds.
That's a good point. Particularly good pieces of work are hard to rewrite.

I remember rewriting some piece of infrastructure once when I moved to another job, but I failed to summon the energy to rewrite it a second time at another job.
It's not rational, most people are not rational.
I don't like to rant, I like to have professional discussions.

Than you for reading the article and for sharing the FB link with a git ignore example - the contents of the example file is not long because it doesn't have every dev tool possible, so I think you proved my point - so thank you :)
An order of magnitude isn't a defined quantity, it depends on what base you're working in.
Doesn’t X censor usage of the word “cisgender”?
Same situation here. Everyone loves how much and how well our kids can speak despite being trilingual (we speak three languages at home), and how rich their vocabulary is compared to monolingual kids around us (studies show delayed language development in bilingual and trilingual kids) The difference is that their screen time is around 30 mins to 1 hour per week. While for other kids I observe easily that amounts to at least a couple of hours per day.

Obviously parenting becomes easier with screens around. But being a parent is not about choosing the easiest path for yourself.
good point, comments are super important
A try { } catch block that calls terminate has no overhead. Normally the constraints on reordering are because e.g. constructor/destructor semantics and other side effects need to be accurately preserved during unwinding, but here any exception is going to result on a call to terminate, and (auto) destructors are not going to run.

This was the entire point of noexcept versus the throw() specifier...
>How ever did anyone survive before

I really, really hate this mindless, lazy line of argument in general. It gets tossed out with absolutely everything, from the internet to vaccines to modern farming. The simple answer in many cases to "how did anyone survive before X" is "well, often they didn't". Life expectancies were in fact lower in the past. More people died, or were maimed, with no hope of treatment. Or sometimes it's "they did, but much less efficiently and we come to depend on each growth of the economy which at the foundation is literally about being able to do things more efficiently". Ease of communication, knowing what the weather is, all sorts of things mean less wasteful use of time and energy. Sometimes "they did, but perhaps less happily". A loved relative was in and accident, went to the hospital and you never got the chance to be involved when it mattered. And of course in some cases it's "new things have created downsides that create a need for other new things, the world has changed". Sometimes we can do something about that in the near term. Sometimes we cannot.

Low effort responses like you made are discouraged on HN for good reason. Yeah, absolutely new negatives have come with the new positives and seeking to reduce the former matters. But productive discussion and activity tends to focus on specifics vs generalities. Reducing the benefits of real time communication devices to a binary "life/death" and then NOT grappling with modern trends in everything from natural disasters to school shootings to reduced bussing doesn't strike me as great Walter.
Unless the architecture is also an input. "Given the following C code, emit assembly for an architecture with the following characteristics."

Why not? (Apart from the difficulty of writing a sufficiently general sufficiently smart compiler)

I'm now imagining a world where Itanium took the place of RISC-V and we had a new generation of custom chips based on it.
Maybe worth mentioning the ppen source server side component as well since it is unclear how long gamestream will continue to work? : https://github.com/LizardByte/Sunshine

Worked like a charm for me in 4k
> I think returning an iterator is acceptable, the docs could explain the expense of the operation, and the implementation could change in the future as needed. But that does hide some complexity.

if a function returns an iterator, it should be iterating the input. thats impossible in this situation. you'd need to loop the entire map, then return an iterator that tricks the user into thinking they are getting better performance when they are getting the worst possible performance.
>This means your government has codified into law the false idea that all human employees are undifferentiated commodities (like cattle). So as an employer

If layoffs only affected "underperformers" you may have a point. laying off 6% of your workforce despite a profitable year betrays the basic idea of "underperforming".

All that aside, if your worst employee is still generating a profit for the company then there's little ground to say they are "underperforming".
Yes, but even that is more involvement: you need to create a new specific folder, add a device, share that folder, accept on the receiver, copy the file in the folder, and wait for full sync in the web ui. It's a much longer setup that makes sense if you will synchronize files/folders with the same machine in the same folder, but that's not always the case. magic-wormhole removes all that back-and-forth dance for one-off sends.
'Virtually intact' wreck believed to be Royal Navy warship torpedoed in WWI
I am building an SQS compatible queue for exactly that reason. Use with any language or framework. https://github.com/poundifdef/smoothmq

It is based on SQLite, but it’s written in a modular way. It would be easy to add Postgres as a backend (in fact, it might “just work” if I switch the ORM connection string.)
It is written that the bold Ed has passed the power over the users to the one true editor a long time ago.
LISTEN/NOTIFY and SELECT FOR UPDATE SKIP LOCKED serve different purposes in PgQueuer. LISTEN/NOTIFY notifies consumers about changes in the queue table, prompting them to check for new jobs. This method doesn’t inherently lose messages if a process crashes, because it simply triggers a check rather than transmitting data. The actual job handling and locking are managed by SELECT FOR UPDATE SKIP LOCKED, which safely processes each job even when multiple workers are involved.
> Once you have less skin in the game, it is easier to make bad decisions.

I beg to differ. I think _this_ article is incorrect because it assumes that above is true. The money that you raised from venture capital is literally oxygen for your company. It is _your_ lifeline as much as it is the VC's skin.
Show HN: I built "Big on X" to spot X's rising stars at any follower level
Hey all! On X, big stars are easy to spot, but finding awesome smaller accounts isn't. I built Big on X - a talent leaderboard that finds rising stars early. Whether you've got 100 or 1M followers, if you're growing, we'll highlight you. Check it out if you're curious about up-and-coming X accounts:)
Our World in Data has a nice series on this here. [1] Female labor participation rate was dramatically lower in the past. Unfortunately it only goes back to 1890 but even as 'recent' as that, it was still only ~19%.

The nature of work was also dramatically different in the past with the overwhelming majority of people being independently employed, or working at extremely small local businesses. Said businesses would also generally double as the store owner's house. So the notion of work was just starkly different than what it is today in most urban Western areas.

[1] - https://ourworldindata.org/female-labor-supply
these are the exact same arguments people make against something like UBI or really any public benefits. "starving people feel motivated to eat food, so they work to make money to buy food. therefore starving people is the correct thing to do because I believe that if we give people food they will be lazy"

I have personally seen a handful of people in tech and tech influencers argue that if people had all their basic necessities met, then they wouldn't be motivated to do anything and they would just play video games all day.

To me, this is a profoundly privileged opinion to have that follows this exact same hyper-idealistic thinking pattern. It comes from these "first principles" that are naive at best. In reality it is more so the bias of the person showing through, we can analyze these systems, look at the data and we won't be coming to these conclusions.

These "first principles" are not based on data or understanding. They are based on emotions, personal experience and biases. ie "I was lazy as college student, therefore all people are lazy.. therefore if people had their needs met, they would also be lazy like I was... therefore depriving people of basic necessities is actually the justified thing to do" I say from my multi-million dollar house in North Dakota with my 300k a year salary and cushy full-time youtube platform.
It is partially that and partially logistics. Food waste is significantly higher in areas where hunger is endemic because a lot of food never makes it to a market where it would be purchased due to poor transport links, lack of refrigeration, etc.
> they think you're difficult to work with too.

Sounds like they're right. That attitude is difficult to work with.

> no assumption unquestioned

That's just unhelpful and a hindrance. Assumptions are good! They are huge time savers. Occasionally they are wrong and that can lead to bad things but questioning every assumption is just pointless and going to piss everyone off.

People have told you you're difficult to work with, and you can't really argue with that anymore than you can argue with someone saying they don't like you. You can't say "yes you do!".

> there is always the room for suggestion and criticism, which means you have to "consider it".

Erm yeah! Why would you not want to consider people's suggestions?

Maybe instead of complaining about people finding you difficult to work with you could try and change your attitude so that they don't?
In what way is the operation common? We obviously would never say that there is never a use for such thing as there are clear edge cases where it is necessary, but as jerf points out, it is probably not what you actually need in most cases.

Even ignoring that in the most common case the map isn't the right structure to begin with, what even is the general case for the situations that remain? You mentioned the marshalling of arbitrary data case, but in that case you also have reflection details to worry about, and which you can optimize for with a custom implementation, and thus wouldn't likely use the built-in anyway. A sibling thread discussed the cache benefits of colocating the values with the keys if a map is exceedingly small, but as soon as the map is of any reasonable size the added overhead of the values is almost certainly going to blow the cache even where the keys alone might still fit.

All of which is to say that the best approach is highly context dependent. How do you even begin to choose which is the general case if you were to include such a function?
I assume you correctly obey the licensing when you copy and paste it in....
you need to define "easily". No, you cannot just one day walk to an employee and say "you're fired, effective now".

But it's not some multi-year ordeal just to let go of one employee in the EU. Maybe in Asia, but different culture, different sentiments.
why do i have this vibe
?

https://blogs.perficient.com/2012/09/25/a-mathematical-model...
It is much more difficult to establish standards of intent interpretation than it is to establish standards of statutory interpretation. One could imagine a law written as follows:

In order to facilitate the safe enjoyment of ice cream, puff pastry and pizzas of diverse origins, the health department shall regulate the minimum temperature of freezers in grocery stores, restaurants and other establishments. The minimum temperature shall not be greater than -18C.

There are some gaps that a court needs to fill in order to apply this statute:

- The health department and the area of effect are not specified but these can be assumed to be the health department and area connected to whatever legislature passed the statute. If there is no health department that is the obvious one -- if, for example, it was passed by a city legislature and the city has no health department -- this could introduce some difficulty.

- The use of "minimum" and "shall not be greater" together in this statute are confused and confusing but since it pertains to freezers, the court can infer that freezers must be set to temperatures of -18C or below (-19C, &c).

However, sorting out the true intent presents insoluble problems that would lead to inconsistent interpretation of the law. Perhaps an establishment only has frozen fish. Does this law apply to them? Generally, the rule is that clear intent clauses -- "In order to facilitate the safe enjoyment of ice cream, puff pastry and pizzas of diverse origins..." -- are ignored in statutory interpretation. The operative part of the statute is that "...the health department shall regulate the minimum temperature of freezers in grocery stores, restaurants and other establishments." and that the temperature established by the health department must be -18C or below.
Looks like it does vary from account to account. All the famous people I’ve seen are open access, as is my electric company. My water company however is closed.
> I know there's a GDB plugin for Sublime but it's a pain to configure.

Which did you try? The one using DAP https://packagecontrol.io/packages/Debugger works the samé as with VS Code. But you need to install Terminus too for it to work.
Hopefully constructive criticism: the glow from the light sources bothers me because it washes out the player and background. The opposite would be preferable — darken all but a "gradiated" region around the light sources.

That or use a different form of compositing — something equivalent to "Lighten" or "Screen" (using standard paint-program parlance).
I’m building an app with OpenAI, using structured outputs. Does OpenAI also support prompt caching?
Most people who live in cities are very domesticated. In third world countries and also small towns in USA, where the police blatantly rob people under the color of law, people form their own small gangs and literally hunt the other gang (irrespective of costume/uniform) down and kill them.

Highway robbery is highway robbery, uniformed or not.
Reckoning: Part 2 – Object Lesson
Of course they don't, how could they? How could anything, for that matter? (Apart from guarantees you could ensure statically, natch.)
> Examples of folders included in the git ignore file are generated files like “.next” from NextJS or “test-results” from Playwright. These will be generated for every developer on the project regardless of their OS, IDE etc.

> Yes I am saying this is wrong… (let me know if you agree/disagree below)

I didn't realize that the first paragraph is saying "This is good"; I thought the second paragraph was saying that the first paragraph is bad.
There is a difference between memorization and rote memorization. In chess, rote memorization of master games or chess positions is not a recognized training method. Chess memory improves as a byproduct of analyzing many positions.
On indentation, most files are going to be autoformatted by the LSP, and there are tab_size settings in the languages section, needing specific file settings seems like an edge case.

As for collaboration and AI features, I have no use for them personally, but I think that's their avenue for future monetization, so I can't really complain that they are focussing on that when I get an amazing piece of software for free.
Sounds like you need a different manager.
Either through assertions, through fuzz testing, or by formal verification.
1000 cars doesn’t sound like many as an accident reduction survey, unless it’s just to prove the tech itself works.
I'd rather go through a bigger hoop one time every 10 years or more than the current circus of being let go every 2-3 years and needing to re-interview. The latter just means I spend part of my free time worrying about the next job hop by studying trivia, instead of doing something I actually like to do.
No. Facebook and Google are ad businesses. The data only exists to influence people into buying things they don’t need. It’s a net negative to society.

I don’t know how anyone justifies working at either place, given their mission is to separate people from their money.
In this case transferring the data at the slow rate would have taken more than a week, so it's no small difference. Actually one side had a 10 Gbps line, so if the other side had had faster networking I could easily have exceeded the limit and gotten the transfer done more than 6x faster.

I used the term "1 Gbps line" just because it's a well known quantity - the limitation of Gigabit Ethernet. The point wasn't that multiplexing TCP can get you 6x better speeds, it's that it improved the speed so much that the TCP bandwidth-delay product was no longer the limiting factor in the transfer.
Ok you must work with much worse juniors than me (or have an enormous ego) because generally I find that they are more or less competent but inexperienced.

> What if I come to your team and want to rewrite everything you have in Lua, and then complain when you "gatekeep" me?

I would say "what's the benefit of that?" and if you can convince me then I would let you try rewriting part of it as an experiment. No gatekeeping.

But no junior devs I've worked with have suggested anything like that anyway.
Yes, I agree. I did write some C software for Z80 but mostly I used assembler.
I have written Ocaml, Java, C, C++, Ada and Python professionally in my career. I either used an editor or an IDE. I had a plugin for eMacs when doing Ocaml but the experience was really subpar (that was before Merlin - yes, I’m that old).

I’m sorry but having used both. VSCode is not faster than Eclipse. It’s far less good at writing Java however.

You are not really answering my question by the way. So people are indeed using VsCode because there are no proper IDE for JS and TypeScript?
Basically, you want juniors to work on critical components, but do not want the responsibility for the very predictable result of things not working. So, you want someone else to make the decision of assigning that junior and you want seniors then to parachute in to save the day ... while calling them old farts as they are telling you this was predictable and they said so.
There is no established definition of democracy that defines it as a public discussion with a vote.
Never had to deal with your third point, I just open it via the CLI and it's pretty verbose regarding issues it encounters.
> estimate something that you can absolutely just DIRECTLY measure.

Sure, you can track people over 70 years, follow up to see if they die from cancer, and then record the result. But then, everyone affected is already dead.

We already know how certain chemicals affect people, and because of that, we can protect people before they die of environmental issues. That's the point of the EPA. Not simply to measure problems after they happen.