skysight-inc/HackerNews huggingface dataset:
My kids are 4 and 2. When they get to where they can read independently I intend to make sure they have flashlights, and if I have my shit together I'll make sure they always have batteries.
I try to think of counterexamples to everything. So this function takes a number...does it work with any number? Is there one that can break it? Or such-and-such a function returns a dict, but does it always return that type? Is there any way it can return anything else?

Another approach I use is to try to make things I don't want to happen impossible if the language can allow that. Want to make sure you have no duplicates in your list? Use a set (if your language has that). Things like this have the added advantage of making your intentions clear (a massively underrated concern imo).

I'm also a big fan of minimizing return statements and I think it reduces bugs but that's harder to prove. My ideal functions have one return statement.
That's the point they're OP is makeing. The drivers should be considered employees.
> “One kid kept opening up game sites” said one high school teacher who asked to stay anonymous, to protect the identities of their students. “I would wait for them to open one, add it to my list of blocked websites, refresh my settings, and then they would get locked out of it. Then they would open a new tab, find a new game site, and the cycle would repeat. This happened over and over over the course of about half an hour."

It strikes me as strange that the schools are playing a cat-and-mouse game rather than simply disciplining the students caught playing games or accessing these sites. Loss of privileges or so forth for violators would serve as an actual deterrent rather than encouraging students to simply find new ways to get around the block.
> "You shouldn't use that sort of electricity, you should switch to three-phase."

Ha! That made my day. Stack Overflow in a nutshell, with analogy converted to js frameworks.
Still a lot, but 22% of Americans are children
The ability for you to find a good question to answer is in part based on the work that other people do in down voting and closing questions. If you go to the triage queue - those are questions that are being prevented from showing up.

If you go through "newest questions" there are often questions there that can't be reasonably answered without more work to figure out what the problem is.

As I write this, there's a question https://stackoverflow.com/questions/76123197/is-it-possible-... which is apparently a Java and Kotlin question

> Is it possible to achieve Color gradient overlay like Resso app

> It's really going to be interesting (big inline image)

And... is that worth clicking answering in that form? How much time should you spend trying to make it a better question that someone else can answer? Or just down vote it and move on? Would you ask "how does this related to Java?" or "could you explain a bit more about what you've done so far and what problems you've encountered?" - and is that considered rude?

The corresponding part of it is that people who have their question down voted without any information may find it rude. Or if someone suggests a change to the question... they may find that rude too.

And some people find not getting a response at all to their question on a site that is billed as the place to get your questions answered rather frustrating.

In order to make it easier for people who want to answer questions to find questions to answer a lot of questions don't show up. Poke at the triage review queue and consider the additional difficulty of finding a question to answer if those were also present in browsing.

Note also that there are no professional moderators on SO. Everyone there is a volunteer... and thus they're burning out a bit too. While it may be easy to say "well, then they should take a break" - they do... and more questions of questionable quality show up in the feed.

The best way to find good questions to answer is to look at recently asked the up voted questions (and avoid the down voted ones)... but down voting is considered to be rude.

And if you want to help a question by asking a clarifying comment in there for this one that might be interesting... and that one... and that one... and do it for ten questions or so you've spent half an hour... and those comments trying to get some information about how you should answer are seen as rude. How much time do you want to spend asking clarifying questions in comments?

Ultimately, SO is suffering from issues of scale without the corresponding tooling to enable people who are trying to answer to find interesting questions more easily. That's not an issue on smaller sites where you can read all of a day's questions over lunch.
Sure, if you use the compiler formerly now as Portland Group Compiler. nvc++ vs nvcc.
There is so much to dislike about your answer, but let's start with this: You haven't established that it was "character assassination", rather than a rather honest assessment of character, in any of these cases... and I think the evidence strongly leans against you.

The second issue is that people deserve a hearing after nomination -- failing to give Garland one was intensely disrespectful. If you don't want to face the possible heat of a hearing, you don't accept the nomination.

There was nothing mild about it. It was Mitch McConnell playing politics and overturning established precedent for the sake of a political result. It has not been forgotten, and it will get paid back, with interest.
Have they sorted out the bookmark syncing? When I tried Brave a few years ago I went back to Chrome (and now FF) as the bookmark syncing functionality would frequently go out of sync for hours on different browser installs.
What evidence is lacking? Regulatory capture is a well-documented phenomenon, that it exists is not in question. Surely you're not proposing that industries are spending billions to drive this phenomenon for no reason?
> I regret nothing. If I die this way, I’d go out happy.

To me that's what it is really all about, if this person is happy who am I to judge? It's obsession in a search for greatness, not for me but I can definitely see how it could be fulfilling in itself.
Uh. I have kids.
Yeah perhaps I was not good at judging tone. To me it's a matter of fact thing that MJ isn't good at this. They'd admit it, it's not a big deal and I'm a fan.

It's not ad hominem at all... mj isn't as good at certain types of composition as others. I don't get why people are pretending that isn't the case. I want everyone to have great models and IF is part of that progress. Perhaps calling it "word soup" was offensive? This isn't your religion, though, it's just a model. Listening in on the MJ office hours they're the farthest thing you can be from dogmatic or arrogant. They want to improve as we all do. I personally am just really inspired that everyone can advance together!

Also see downthread - the first 32 images I generated attempting to reproduce the claim that "actually MJ can do this" all failed. The person who challenged me then ignored it. This isn't really up for debate until someone sends a seed where mj can do the cube + sphere thing well.
I want to give my perspective on smoking/vaping that is purely from my own experiences. It's unlikely many agree with me, but I wanted to share my thoughts as someone who smoked and vaped and has since quit.

To provide context, I started smoking before later finding vapes. I regularly switched between the two throughout the day - depending on the context. For a period of time I smoked four packs a day and vaped 50mg nicsalt in between that.

Others have said that quitting is a matter of will, and that things like patches or vapes are ineffective gimmicks. I disagree with this notion, and the logic behind it. I used patches to quit, and they were very effective. I also believe that we have to accept a lot of people aren't at the right place to quit smoking entirely.

Vaping is a much better alternative to smoking tobacco. It does not have tar, monoxide, or any other chemicals. It is three chemicals - VG, PG, and Nicotine. If you are a person who smokes a pack a day, switching to vapes will still add time onto your life.

Yes, quitting entirely is still the best outcome. But are we really gonna tell people not to bother minimizing risk just because they arent ready to quit entirely? It's arrogant, in my opinion.

The US in particular vilifies vaping to a greater extent than European nations. I think this is likely because Europe still has a strong smoking culture, but it also shows that they understand there is still a benefit to risk mitigation.

We need to stop pretending like there is a one and done strategy to quitting. Smoking rate decreasing and vape usage increasing are not exclusive outcomes. These are people on a journey - and we should encourage them along the way.
Is RethinkDB still around?

They actually have recent commits, and a release last year.
Kids are very smart and if they get a whiff that a game is trying to teach them something, they won't find it as interesting as a shooter or platformer. This probably varies by age, but I've got a third grade boy and I can tell you that's how he is.
Wow, they may 'sell' millions in the market, but many end up in a drawer, or rarely seen as anything other than a wrist worn notification device. This information is beautiful! Reaffirms the true value of these things.

(Well that, or the metric is truly skewed not including companion apps - though that would feel disingenuous)
We Lost the Thread
Make a routine with these commands. It has to run daily because those cowards at amazon aren't quite ready to let us off the upsell leash.

1. Set volume to 0

2. "Turn off by the way"

3. Set volume back to your preferred.

I wonder what the conversion on 'by the way' is. Like how many BTWs have played and how many customers have taken alexa up on that offer?
When I was in my 20s, I was a machine. Honestly, I could simply not understand why people would take time off of work.

Now, some 20 years later, I get physically exhausted around 6 months after the last extended vacation. Of course I don't mean to a point where I couldn't function properly any more, but I do feel way tired and low on energy.

Age really makes a difference, believe me.
> Talk to people at these businesses. Network, even minimally. You say you've had other jobs in this industry, did you leave those jobs on good terms? Talk to the people you worked with/for at those companies. Let them know how good you felt about your jobs with them, and how you feel about your current job and prospects. Complaining about a current employer is okay if it's in the context of praising a past employer.

I have left all positions on good terms, OK tenure - and it's not uncommon for me to receive offers to return to these places. At this entry level salary, I'm a great hire... I'll try to expand the network and see who has opportunities. Many of our tenured salespeople have left recently, lots of people are pining for better pay, which further complicates moving up the ladder.

> In terms of salary, or also in terms of workload? Because it sounds as if workload is a bit more than half your problem. If you jumped ship for similar pay but a lower (or at least more structured) workload you'd have more time for your business, self-improvement, or at minimum to destress.

I can manage the stress, but it needs to be worthwhile financially. This is a lose-lose situation unfortunately. You're right, I may be happier going elsewhere, whether or not there's upward mobility.

> Does this qualify you for any jobs in local or state government, such as code enforcement?

Code enforcement is quite a sought after position! When one of our local code enforcement officers retired, many were clamoring for the role. He was promoted from within. Not a bad idea to try and seek a state/government position.

Although I'm now regretting not having a formal education, once I hit 10+ years of project management, I may be considered for better positions. I will still be barred from many high paying positions. My business does not scale and just helps pay the bills. However, I'm growing tired of working so much for a low-end existence in this area. Here's to wasting away my 30's as well.
How about a law? Then every farmer doesn’t have to negotiate repair terms.
Strongly agree, tons of educational and entertainment value will be unlocked.
Yep, I can respect the position of going out doing something you love.
Huh, interesting idea. I personally deliberately book though Booking and alike because it's so nice to have everything hotel related in one place especially when having long trips.
I don't think this is very uncommon. I know a lot of people seem to spend a lot of their waking hours generally "ruminating" on their coding work but only 5-10 actually sat down and implementing the solutions at the keyboard.

I also know people who can happily be constantly coding for 8 hours a day like it's a stream of consciousness, but I don't think that's everyone.
Every individual looks out for his or her self-interest. While you're technically correct, ultimatums are usually uttered when there is no chance either side is willing to change its outlook and where any attempt to compel change will result in being ignored or dismissed. Unless one has leverage, the third option, for all intents and purposes is a bridge to a bottomless pit.
If you have already evaluated what are your thoughts on Keycloak? How does it compare with your stack?
I hope it would not lol

For starters: From our testing it’s really extremely good at providing the right formulas to solve the problem at hand.

But you are right, these models are inheritely non deterministic and therefore can struggle with things like math. The solution is to provide it access to tools such as a calculator which works really well.
E2E is not available on all platforms, is hidden in obscure menus and the whole UI discourages users from using it. Telegram is a data-harvesting social goolag-oriented network after all. :-/
The conclusion doesn’t seem to follow. All people have race, and so can be externally racist, but you would not consider a white person aggressively critiquing white culture to be anti-white, would you?
Stannous flouride stains my teeth and I avoid it like the plague.
Still not perfect ;)

https://youtu.be/-zVgWpVXb64
"If they want to" runs into issues that as a company, they're measuring their success by engagement.

Adding that barrier to participation would in turn drive down engagement and advertisement impressions.

From the corporate standpoint, doing that (or anything like it) translates into a loss of revenue.
Google usually does through the maps place card. To update that card, the hotel manager has to receive a postcard posted by google. Obviously expedia etc can't easily do that.
Get Creative with Your Thank-Yous
Impeachment is toothless as a tool to reign in corruption, at least on the Republican side, as was shown very recently.

Impeachment was just tried to remove former President Trump twice for serious crimes (we are not talking about lying about a blowjob here), and it failed. Twice.

In the first instance, the House prosecutors proved that Trump used extortion to try to solicit a bribe from a foreign ally that would help him politically. In his defense, Trump's lawyers literally argued that he was right to do so, because he believed it would help his campaign, and him winning his campaign was the best thing for America. Ipso facto, he can't be impeached for trying to help America. Notably, the conduct was not denied. The senate sided with Trump in that argument, so he was acquitted. Impeachment cannot be used to reign in executives who extort and/or solicit bribes, that has been shown.

Then there was the second impeachment. If ever there was a case to impeach a president, it would be one who incited an insurrection. And yet, Senate Republicans slow walked the impeachment trial, then claimed as it was held they couldn't impeach Trump because they had taken to long to start the trial. I mean, when else are you supposed to impeach a president who stages a coup and incites violence at the end of his term? Impeachment cannot be used to reign in insurrectionist executives, that has been shown.

So what good is impeachment? If it is toothless in the face of blatant proven corruption (they didn't even try to deny it) and abject lawlessness, then it might as well not even be in the Constitution in the first place. It's moot.
"the robust and easy-to-learn Delphi language"

Which is Pascal, isn't it?
Time to get a sex change lmao
My current project is the first where we decided to use "real proper" authN/authZ instead of a home-brew solution or a minimal solution like asp.net simple auth.

I found that all the off-the-shelf solutions were either easy but expensive or cheap/free but difficult. I failed to find that mythical cheap or free and also easy and fabulous. Eventually we settled on self-hosted KeyCloak as the best bang for the buck. It took a bit of effort to get there, but we are happy with the results.
ReScript faster than JavaScript and TypeScript
> If you're going to do a huge, global infrastructure update, it better be worth it.

But if you've changed things so radically that it discourages moving to the replacement protocol, isn't that a problem?

> The changes made with IPv6 actually simplified deployment compared to IPv4.

Perhaps, but they also make transitioning from IPv4 to IPv6 orders of magnitude more difficult.
"Care for 9 cats, 10am"

whoa
Can anyone please share their experience with Openmp offload? In terms of performance improvement observed, how much effort you had to put in, comparison with any other gpgpu paradigm etc.

I'm just getting started with it. My _impression_ is that this isn't quite mature yet. On a toy example I was working on, I had trouble beating host only Openmp performance. Cuda thrust was about 5 times faster, while taking about 5x less effort. Just a data point.
> And that explain why companies do full rewrites of their code for performance: the effort needed to squeeze more performance from the existing code becomes too much and a complete rewrite is cheaper.

The article provides reasons why optimization gets harder, but no arguments for why a rewrite is better. It's unclear whether the author is arguing for rewrites or whether they're simply pointing out why companies take them on.

Arguably, though, companies taking on a full rewrite surely must have considered the cost of optimization (versus naively saying "the system is slow, replace it!"—though maybe some did). Rewrites are big, expensive, and time-consuming. It means new bugs and unknown unknowns, and no time to add features or fix bugs because you're busy rewriting functional code. It's a scapegoat for lack of improvement or progress. You shouldn't take one on lightly.

At the same time, this post also neglects that some efficiency wins have little to do with the efficiency of the code, but rather the efficiency of the logic. An N+1 query in your application looks like your database is slow: you're wasting a ton of time sitting and waiting for your DB to return information! But the real problem is that you're repeatedly going back-and-forth to the database to query lots of little pieces of information that could have far more efficiently been queried all at once.

> It is relatively easy to double the performance of an unoptimized piece of code, but much harder to multiply it by 10. You quickly hit walls that can be unsurmountable: the effort needed to double the performance again would just be too much.

That's not really true, though. One bad SQL query can go from many seconds or minutes to milliseconds. One accidentally-quadratic algorithm can take orders of magnitude more time than a linear-time algorithm. One bad regexp can account for the majority of a request. Of course, as you fix the biggest performance problems, the only problems left are ones that are smaller than your biggest ones, so you'll have diminishing returns.

But it also begs the question, what choices has your existing code made that makes it _ten times_ slower than you want it to be? In my experience, you're doing work synchronously that could have been put in a queue and worked on asynchronously. It's more often "you're doing more work than you should" or "you're being inefficient with the resources you have available" than "a specific piece of code is computationally inefficient".
Maybe there is an argument that games are a waste of energy, but I would prefer maximum performance for my games, makes them more enjoyable, or on the margin, playable in the first place. Low power states make sense when you're not actually trying to use all the performance.
When I went to high school we used windows XP. I took an accounting class that used Excel and by some keen insight and nifty use of formulas and copy->paste values, I was able to get down with in class work exceptionally fast and often had a good hunk of time left over.

I decided to play a SNES emulator in my spare time, on a USB stick. I had to sit towards the back. But the machines were locked down and I couldn't run any plain old .exe I had on a stick. But XP had a zip file view, and I could launch the exe from there. The last thing I needed to do was preconfigure saves and the controls to point at the correct thumb drive letter since it was different at home than it was at school.

Now I've moved on the real world, but that time of mindset sticks with me. That software doesn't do what you want in an automated way? Surely there's a way to do that. Autowiring JSPs in a mixed Spring/JSP legacy java app, writing custom jenkins plugins, a custom code coverage library to performantly calculate code coverage against minified JS, etc.
Yes I know, and they share the same AppleIDs/AppleID Backend/Purchages. These AppStores are not fully independent and have to be seen as one. Many Apps even share the same binaries and are cross Apple Device available. You can install iPhone Apps on iPads, and you can install iPad Apps on Macs.

That won't work on court.
Yep, I'm about 10 years in and I'm already declining rapidly.
Heavily according to people who work there. They appears to be a conj talk about it today.
I always buy directly from the hotel assuming that I will be treated better due to the hotel earning more money from me due to not having to pay commission to a travel agent.

Also, I assume there is less probability of errors since when you reserve on a travel agent website, your reservation goes through an additional system before it gets to the hotel.
Many aeons ago, someone at my school worked out you could download the Halo trial on to the school PCs and play anyone on any other school PC over the LAN. Entire classes of IT students were just sat playing Halo every lesson. At one point the teacher even gave up trying to get everyone to stop and just came round and watched everyone play it lol those were the days
> Another point is that many people don't realise that LLMs re-read their entire input for every word they generate!

Not every word, for every generation (which on something like ChatGPT is a message)

> they can read really fast even when running on mobile device hardware. Think 10K to 100K words per second

That’s definitely not right, I’ll try to find some numbers
Probably because Beyer disclosed his trips/gifts, instead of lying about them, in violation of the law, like Thomas has done.

I don't love the fact that any justices are accepting gifts like this, but, well... it's a fact of life, and they all do it. Given that I can't change it, it's not a hill I care to die on. But at least some justices comply with the reporting requirements.
Is the personal vehicle market much different? Tesla seemed to upset all the incumbents, against what look to me to be similar issues.