skysight-inc/HackerNews huggingface dataset:
I don't think anyone is questioning the strategy, just the naming.

Polling, as a term, already generally means asking if there is anything ready. The library might instead have had a poll() to indicate readiness and an unsafeTakeReadyBatch()/releaseBatch() or similar to handle the low level receipt primitives. Or you could even have had a checkForReady() and left poll() to implement a generic version of your busy waiting example, polling with a given sleep and timeout until items were ready, as a convenience for the user.

It's fine as is, of course, as you document expected usage quite well.
I completely disagree with you seanhunter ( and everyone else mostly) so please dont take offence I could be wrong but the following is my opinion.

I am thankful most companies are gatekept by people who think like you as I feel it gives me and my company an advantage. In the UK over the course of nearly 20 years I was asked by random interviews to do "fizzbuzz" which I always refused to do out of principle.

The problem being anyone who doesn't know how to code could just memorize it.

My problem was it wasn't a "starter" question it was the equivalent of asking me if I wear shoes on a daily basis and if so, to demonstrate it in an extremely concise way.

I felt it was offensive regarding my ability, indicative of narrow minded testing protocols for candidates, and a lack of respect for why they had chosen to interview me as it meant they probably were unaware of my portfolio, which many companies were.

I am not saying this to convince anyone on HN they are a bad idea as most of them rely on codemonkey exercises like these to prove their worth straight out of college, I am just saying I think they are idiotic.
Improve Readme Documentation :

- Add AutoHotkey and Interception driver command line installation guide.

- Add header and badges.

- Add Supported Key List.

- Add How Does KeyTik Work.

- Add Star History.

- Remove upcoming update and move it to issue.

- And another change.
But if we're talking about privacy, I would like to know if something is using the camera even when it's obstructed
That’s fair, but most software jobs aren’t at top-tier companies. HR often stays out of the process due to technical barriers, leaving engineers to handle interviews. Leetcode becomes the easiest way to offload the hassle—ironically, a self-inflicted wound on fellow engineers.
Sooooo...

Tangentially related

But I'm looking for leetcode buddies to grind with actually. I have around 300 questions done.

I'm not in a rush, and also, I kind of like it. The more I do it, the more it's actually fun.

Anyone wants to join me? We could form a small group.

My email is in my profile.
It's a bit of a strawman argument - I'm not aware of any company that hires purely based on leetcode results; they typically also include interviews focused on product/design skills and "culture fit".
Ukraine's actions were a pragmatic choice, it was that or nothing. Germany could have chosen different and continued to signal clearly that they are were committed to their strategy of dependence on Russian energy up to the point where Russia invaded in 2022.

In fact Germany's energy policy made it even harder for Ukraine. And again it was not like nobody saw it coming, Trump (supposedly Putins catspaw) was warning them clearly.
"Nothing" is often preferable to enabling abuses of power.
Sorry, are you having difficulty with the concept that human prisoners should have more rights than mice?
I envision that meme of having large bookshelves filled with books, something I could show off to friends as a proof that there is still plenty to be found in books, that I've found valuable in books. That on some days I might take the time to sit down, brew some tea or something, and read a book.
Heh, that's how the interview at my first job went at a small Ruby on Rails company.

The lead developer asked me intermediate to advanced questions about Rails that you'd only know if you knew Rails. He asked me about impl details of a Rails projects on my Github. And I got the job.

I never had an interview as pleasant as that since.
> explore how AI can assist in this workflow, and discuss how Qodo Merge, which just released support for Jira tickets, can help with maintaining code quality

“And now it begins,” said Ser Arthur Dayne, the Sword of the Morning. He unsheathed Dawn and held it with both hands. The blade was pale as milkglass, alive with light. “No,” Ned said with sadness in his voice. “Now it ends.”
Really interesting. Will definitely test this! Greeting from the Sauerland @GorillaMoe
That’s essentially a non-choice. Also data of self-administration is probably worthless.
Yes? So ban it all, just like drugs?
Thanks for the kind words.

I chose TS, because otherwise we had to put JSDoc everywhere.
Just tried to programatically take a picture on my MacBook Pro 2012. Managed to take a picture in sub second. The LED flashes briefly and you could easily miss it .

Would be good to keep that LED ON well after the Camera switches off (Not sure what that minimum would be without causing an inconvenience - but how about 15 minutes ? - Long enough to educate the users to worry about their privacy and perhaps take breaks between making video calls !) - Just a thought.
I have no complaints at all about this model. They work out the cost of providing a service, then they charge that cost plus a markup. They keep doing things that make them money. They stop doing things that don't make them money.

It seems like a straightforward way to run a business.
That might be part of it. And yet sometimes people with normally-functioning immune systems also get cancer. So while that might be an effective treatment for some patients it's not going to be a universal cure.
Skimming the paper (which honestly I am still trying to understand), the paper authors suggest that the "depth of competition" parameter can be understood as "a measure of the imbalance in strength or skill between the average pair of players".

In other words, it's statement about the skill/strength/power distribution of your population of players.

As I understood it, the general model they are working with (Bradley-Terry) is about how to take a set of win/loss measurements amongst a fixed set of participants, and then try to predict the win/loss probability of unobserved competitions (and I guess also allow you to generate rankings).

Intuitively, I think you can imagine how you could take that type of observation and build out a ranking of participants basically through a series of pairwise comparisons on win/loss rates. But then when it comes time to predict the win/loss ratio of an unobserved competition, you're forced to make assumptions about how to model/extrapolate win/loss ratios. This depth of competition parameter would be part of that extrapolation.

EDIT: Just a thought, I think it's fun to consider the language around "depth of competition". The paper uses "deep" to mean there is a strong gradient in strength. But when we often talk about "depth" in sports, we typically say that "deep" teams or "deep" leagues have a swallow gradient. Think about teams having "deep benches".
All other serious endeavors require endless “grinding”. Imagine a hockey player being annoyed about being asked to tryout. Imagine whining about having to practice their skating or shooting.

Compared to many other things, software engineering requires astonishingly low prep. Your average high school baseball player has spent more time in the batting cage to earn a varsity letter than the median SF SWE has spent on leetcode
Probably more bullying and hushed up suicides.
LG unveils a stretchable display that expands by 50 percent when you pull on it
Any example of good programming problems (python), that you can solve while learning something?
Hello, fellow German!
Canon TDD – By Kent Beck – Software Design: Tidy First?
Society is flush with lots of drugs tobacco, alcohol, sugar, junk food, social media, reels... At society level, better laws and campaigns may work best but at individual level you'll get best ROI by focusing efforts on disciplining yourself and your family and friends.
That's total BS btw, I've been part of the Nim community for over 7 years now and never had an bad interactions with the project's lead. But I did witness behavior from certain individuals that was out of line. Some of them went on to blame Araq in other places, I have read their criticism, which I found very hypocritical. You should take their views less seriously.
Have you looked into row-based presentation of the images? I usually feel like pages with row-based image grids have a higher-quality look to them.

See e.g. [1] and [2] for more info and [3] for an implementation.

[1]: https://medium.com/google-design/google-photos-45b714dfbed1
[2]: https://blog.vjeux.com/2014/image/google-plus-layout-find-be...
[3]: https://www.npmjs.com/package/react-photo-gallery
Yes, always keep basic statistics in mind. Every single proxy you apply that isn't correlated to what you really want will filter-out the outliers towards the median.

And remember what the median job candidate that applies to your place looks like. Do you want to remove the people that don't look like them? If yes, you are on the clear.
They are in the same way that Chinese is.
I hate to say it, but good documentation is the key here. Visualizing data as interconnected nodes breaks down silos, aligns teams and makes it easier to build reusable, loosely-coupled systems.
That depends entirely on the problem they ask you to solve. All the technical interviews I've done have been completely reasonable basic programming tasks. Yet I always get really good feedback, did one a few weeks ago where the interviewer said it was the best technical interview he'd had in years. I felt like it could have gone better, and like I could have done just as well years ago when I was fresh out of university.

So that tells me that a lot of devs really suck at basic programming, I assume they're the ones joking that their job is just copying code from SO. And probably also the ones who complain about having to show that they can write code before being hired to write code.

Personally I think it's great. Easy way to show that I know my shit and separate myself from all my peers who somehow graduated with the same degree as me despite not being able to write a correct fizzbuzz after 3 years. I'll take a live coding interview any time. I know I'm good at this, don't mind proving it.
Is this just your opinion, or is there a scientific retort I can read?
Nintendo, Palworld, a GTA 5 Mod, and an Injunction for the Japanese Market
For one, the proposed alternative seems to boil down to "give me special treatment" which is not a great look. For another, there is no perfect screening process, only tradeoffs between throughput, accuracy, and cost. Finally, if you think this very common interviewing process is "humiliating" then you're going to absolutely hate the hour to hour of most jobs...
Even a 10x cheaper mask set would still be $2-3 million USD.
What is the acceptance criteria for this test case?
I wonder if we should even call this social media at this point. More like interactive TV 3.0. All the feeds are heavily ad infested and “promoted” content appears from “infliences” .. some people shadow banned while others artificially boosted up your feed.

All designed to maximize your attention but also sway your opinion.

The social part of social media seems to have gone mostly by the wayside.

“Did you see the new dance this one kid did in Texas” like like, hashtag, loved it , repost, etc … not really building much of a social relationship, or perhaps it is and just seems a bit off to us older folks,
Before anyone reading this gets the bright idea to retail this as a new & "innovative" beauty product, consider the lawsuit potential from skin damage that will come from using it in an inevitably slapdash manner.
I recommend the book Treasure Islands by Nicholas Shaxson. It covers offshore tax havens and the central role played by the City in facilitating capital flight and tax avoidance. Chapter 12 is devoted entirely to the City of London Corporation.

Haven't read it for a while but I do recall the word "strange" appearing a lot.
SWEs will happily tell you that their profession is such a highly demanded activity and they don't need a union because the pay/benefits are so excellent.

However, I think this comment highlights the fact that swes are not some privileged elite above at least some of the benefits of organized labour.

the leetcode will continue until union perception improves.
You got it backwards. It's like asking an accountant to do basic math. I don't trust you to handle my money if you can't even do that.
US regulator says AI scanner 'deceived' users after BBC story
I like the thought, but if it becomes an "oh, that light's always on, just ignore it" kind of experience, that might train people to think it is not an important signal.
The COVID school closures and remote learning years will prove to be the biggest negative educational/developmental impact on a generation that we've seen in a long time.
That's usually true if you see the actual costs of the thing.

In the case of data transmission if you were using some data transmission system where you were charged per byte based on the operator's costs (possibly time dependent so the cost per byte might vary depending on the amount of traffic on the provider's network and on the varying real time prices of the networks they connect to) then you would indeed see prices going down over time and performance going up.

Consumers, small businesses, and often even medium businesses generally hate that kind of pricing. They like fixed monthly bills. So providers offer that, setting the amount of data included in that price high enough that most customers won't ever come near it.

That tends to result in the lower bandwidth users actually paying quite a bit more than they would if they had per byte pricing and the higher bandwidth (but not so high as to go over the included data and hit overage fees) paying less than they would under the per byte model.

That can attract more high bandwidth customers and eventually the model of customer bandwidth usage that was used to set the price and bandwidth allowance is no longer accurate and gets adjusted.

Note that this means that price you pay is not just a function of the underlying technology costs--it is also a function of how other people are using the service.

Same thing happens even in non-technology areas. You probably wouldn't go into a fixed price "all you can eat" restaurant just to get a donut and cup of coffee. The fixed price is set to cover people getting full meals. And if a bunch of competitive eaters started coming in every day to do their training at that restaurant you can safely bet that the price is going to go up for everyone or there is going to be an asterisk added to "all you can eat" with a footnote that puts some sort of cap on it.
How the bullet train transformed Japan
This marketing page is the word equivalent of those As Seen on TV ads that try to portray simple tasks as utterly impossible. Oh no your developers with 2+ screens might have to Alt-Tab sometimes, the horror.

Definitely a product that exists simply because it was easy to build not because it's actually useful.
It is hard to prove what you achieved in other companies.

I don't like competitive programming but at least it is an objective measure. Most criterias in interviews are subjective.
So, who's going to Reinvent next week?
It will not work and this is exactly why it will be copied.
Well when then fuck are social media companies going to take their responsibility seriously?
> I shared those concerns at first - as that was similar to my situation (though less lgbt+ but more just on-the-spectrum stuff)

The catch is, unfortunately, that our social media data trails make it all to feasible to detect which of us is on the spectrum using machine learning.

And which if our kids have what is vulgarly called "daddy issues."

And which of us are beginning to succumb to schizophrenia.

We've only begun to see the creepy dystopian consequences of centrally archived social media.
Euclid Could Find 170,000 Strong Gravitational Lenses
These kind of tools (and the aesthetic) make me so happy for some reason.

Another one that's pretty impressive and very lovely looking is Crocotile: https://crocotile3d.com/
I guess it will become self-fulfilling if everyone denies that there are privacy friendly options. Legislatures globally are starting to take this seriously so chances are it's happening one way or another.
> I have written more code than most people

If by most people you mean non-programmers, then maybe. Otherwise it sounds like a whining of a B-player who just realized they've never had skills sufficient for NFL.

The fact of the matter is the better you're in understanding CS and the underlying mathematical domains, the easier the leetcode questions get, it always has been and always will be. And contrary to most beliefs, you don't have to memorize individual problems. You learn the domains of problems and solve them with the same repeating methods. But most people just prefer spending their time on infortainment and being presumptious on Twitter, than actually learning stuff.
Kinda feels like this might be an instance of simply simply holding your tools wrong. What about ASM prevents incremental parsing and structured editing from being useful?

Some concrete examples for us lesser mortals please.
Runs smack into the Rule of Lenity.
Governments should not be in the business of telling tech companies how to design software.

Honest observers will look back on the anti-social-media movement as a moral panic. It isn't so much that social media is good, it's that the proper attitude toward new, scary things is to integrate them into your life in a healthy way rather than banning them.

And if we should ban anything it's drugs and gambling, not tiktok
Nothing. This is just a proof of concept that is ridiculously easy to detect. If your attackers can drop files in your /boot or /boot/efi directory, I think you have much worse things to worry about than this.

In fact, this bootkit would be about the least thing I would worry about. Because by the time an attack can write to /boot, they can also write to /etc/init.d . And the later is not protected by "secure boot".
Good luck with that, these companies weight more than most countries. Meta &co won't disclose their secret sauce and/or change their algorithms because a small country asked politely.

Social medias are like petrol, we're addicted and they provide way too much power to the people controlling them, we all know what the right moves are but nobody will pull the trigger.
translated, who ever doesnt toe the line
I think the execution is bad because I don’t know how it’s going to be enforced. It explicitly says you can’t use government ID.
> It will be so cheap that once you are done, you can just toss is out.

Oh no, that’s just… why?

At least with a paper book you can give it away, sell it to a book reseller, or put it in one of those little lending library boxes people put in front of their houses. If nothing else, if it has no more value, you can recycle it for paper pulp.

I mean if you’re a publisher, hoping to cash in on people wanting to disconnect, and trying to evade the first sale doctrine, sure. That is a way to do it. But the environmental consequences are just bad. Maybe have the sleep screen list what books are on the device and make it repairable. At least make it possible to open, and replace the battery.
The only thing you should take away from the stuff RFK says about vaccines is that RFK is a complete kook.
Internet is a faster printing press therefore more people can be subjected to more lies than before, but the issue at hand, the one mentioned in Sagan's quote, is orthogonal to that question and predates it. Did the printing press started a revolution in knowledge, or wars of religions?

Can printed books save us?

I admit I oftentime rejoice that printing felt out of fashion, so the printed books that are left are saved from the progress of psyops and the invasion of AI, which may make it easier for future generation(s?) to see through the blindfold of fantasies that will be setup for them.

The article site 1984 as an illustration of how printed books can help resist surveillance. Well, it did not turn out that great for the main character of that book.

Books are a sedative not a cure.
For instance, if you want to use the internet to get ahead of your curriculum, you can watch Khan Academy videos and do exercises. Not all that different from doing the same with a book, but with the internet you get a lot of curated material for free.

You can connect with other learners, you can ask questions on forums.
Is the traffic pricing per instance or aggregated?

So would having multiple servers but one going over the 1 TB limit cause an overage, or do they look at the total across all servers?
The Online Safety Act 2021 (https://www.legislation.gov.au/C2021A00076/latest/text) says:

(1) For the purposes of this Act, social media service means:
(a) an electronic service that satisfies the following conditions:
(i) the sole or primary purpose of the service is to enable online social interaction between 2 or more end‑users;
(ii) the service allows end‑users to link to, or interact with, some or all of the other end‑users;
(iii) the service allows end‑users to post material on the service;
(iv) such other conditions (if any) as are set out in the legislative rules; or
(b) an electronic service specified in the legislative rules;
but does not include an exempt service (as defined by subsection (4)).
Note: Online social interaction does not include (for example) online business interaction.

Since "business interaction" is mentioned as an example of something that is not "social interaction" one might plausibly claim that "social interaction" should be interpreted quite narrowly, and then one could claim both that the primary purpose of HN is not interaction at all (it's a new aggregator) and that any interaction that does happen to take place in the comments is not "social" interaction but some other kind of interaction.

(It really does say "2 or more" rather than "two or more".)
I have tried to find good scientific evidence that shows that social media is a net negative for kids and or adults. I have been unable to do so.

Reports that I read on conventional media sites often summarize government reports, but they do so incorrectly. And when I go and read the government reports, they present a much more balanced picture than the summaries would suggest. In particular, for marginalized teens, social media represents a unique avenue to connect with teens in similar situations, which provides a significant support network.

I know it's popular now to say that social media is the root of all evil, but I would be very curious to see a scientific justification for banning it for kids under 16. Just a few years ago, this was a concern presented as 'screen time', but I had similar problems there. There's no real evidence to suggest that looking at a screen is the problem...the much more difficult and interesting problem is what you're doing when you're looking at the screen. There's a similar dynamic in play with social media, I think.

For example, Hacker News is the only social media that I use, and I feel that I use it very differently than folks that use Instagram, for example. Can they be effectively conflated?
> it's that the proper attitude toward new, scary things is to integrate them into your life in a healthy way rather than banning them

Exactly, just like we did with DDT, leaded paint, leaded gas, freon in fridges, uranium in lipsticks, PFAS, food additives, &c.

> Governments should not be in the business of telling tech companies how to design software.

And tech companies should't be in the business of influencing who will govern you
Linux namespaces can do that, with a UID namespace, you drop the ability to do SUID, and then you can open a mount namespace and bind-mount and chroot as you like.