skysight-inc/HackerNews huggingface dataset:
My experience with javascript as a non-software developer/non web person has often involved frustration.

A good example is an experience I had a few years ago (circa 2018)

My work acquired some new software which published some results using a REST endpoint. I wanted to pass some parameters to the endpoint get a response and display the response on a webpage.

I'm used to working with Python/R and SQL databases it is relatively easy to write code in these languages to execute a SQL query and publish the result.

To do the same thing with endpoint I had to learn about ajax, asynchronous code, callbacks and then later deferred promises. What I thought would be relatively simple ended up being horrendously complicated to code.

I think part of the problem is the javascript language changes and adds new features so rapidly it is very hard to search google for help in my case I found code examples using callbacks, I had massive issues trying to make it work only to later discover that was old way to do it and the new way was to use Promises instead. Most of google searches I made went to horrendously outdated stackoverflow posts and there was no obvious way to tell if answer was best practice or not.

Doing the same google search again today in 2023 it looks like they have reinvented how to do it with something called "Await" now.
Nice! But you can also have a good lifestyle with tech jobs too. You just need to be a financially independent founder.
Or similar to Perl => Raku. The Pharo developers took a wise decision renaming it. Because if you keep the same name, people expect nothing short of total backward compatibility with whatever there was before. If one wants to keep the option to experiment and eventually break backward compatibility, it's better to rename it.
Different submission yesterday on same topic. No greater interest there, but interesting topic! https://news.ycombinator.com/item?id=35890597
The government's budget process is not unique in any fundamental way. It's only different because it's political and has many different people's interests in the matter. Otherwise it obeys the same principles as a personal budget. Nothing prevents you from over budgeting your income and borrowing to the max, and then when your income is gone and have no money left to pay your bills or creditors, to ask for an extension of credit.

Your analogy is toothless, given the principles behind that scenario happens every day in the credit industry.
I'm charging it up and we'll see. It was fairly quiet for a while.

I have a specific use in mind, leveraging on-device speech recognition. Ideally I'll be able to achieve parity with the iPad.
That was the headline error in the Verge's coverage too ...

The Pixel Tablet is half of what it could have been
https://www.theverge.com/2023/5/11/23718860/pixel-tablet-doc...

But I really don't understand - that would require the dock to have a screen, a SoC, mic's etc. That would be a completely different and much more expensive piece of hardware.

No way they could have included that with the tablet, unless they called it a bundle (which is what it would have been) and charged more.
The OP-1 (or the original, at least) has fans throughout the industry. You can find Thom Yorke performing with it, Tame Impala, can find Justin Vernon singing its praises. The rest of their lineup, not so much.
Not tiny fonts. Normal sized fonts, but cleaner. More pixels.

I like 4K because it's an easy 1080p display but with enough pixels to make everything look way better. And everything divides evenly with a perfect 200% scale factor so I don't get any weird rounding errors.

On Android this is much, much less of an issue due to their DIP system, but more pixels still = better, imho.
404.

Fixed link: https://www.politico.com/news/magazine/2023/05/11/dear-white...
> Oracle decides that maybe they can claim that linux is thus a derived work of ZFS.

Whosiwhatsit? That's a non-sequitur.

I get it -- "Be scared of Oracle." But this is fever dreams from r/linux stuff.
Now that I have a history with the FAA, I probably couldn't fly international.

I also have a wife. I can't just pack up and move to a different country.

When the rejection came, I decided my marriage was worth more than flying.
Sorta related, I very surprised that Rust supports variable shadowing.

But this blog article satisfied me: https://ntietz.com/blog/rust-shadowing-idiomatic/
Solved problem (by governments and industry). It's called Endpoint Detection and Response (EDR).

I'm not raising the bar btw, I'm just someone who works in the intersection of cybersecurity, government, and business.
This really nails the Jordan Peterson style of "decent advice packaged as sage wisdom."
Disagree. If you understand that the switch hardware is very limiting, you understand that the game runs despite that, and you understand the usage of hyperbole to emphasize how bad the switch hardware is for 2023, the original title should make perfect sense. It's also more informative on what the article will contain since you can infer that it will specifically talk about the hardware and its limitations, whereas the shortened title makes it sound like a plain benchmark.
Many may have already been users before the acquisition by Facebook. There were apparently over 400 million active users prior to the acquisition.

https://web.archive.org/web/20140412064444/http://blog.whats...
Why? 32K tokens would cover creating source code for a small to medium programming project. THat would easilly cost hundreds of dollars if done by a freelancer, and could get it in almost real time for just $2.
I use it on my kids. Maybe you just have perceptive kids.
> In all honesty it is truly no different than being an alcoholic or a crack addict.

This is an awful thing to casually throw out there in the faces of people who rely on ADHD medication to manage their ADHD.
Joyent. Loved their free cloud server plans before until it was accquired by Samsung. It was also at that time I started looking at NodeJS, which is one of the side project from their software engineer for their SmartOS based on Solaris amirite?

But anyhow, boy oh boy, look at what we have today.
I'm not going to lie - I find the video utterly fascinating and I think the world is a better and more interesting place now that it exists. It's a fascinating path permutation of the human condition / state space traversal.

I do think what he did was stupid and brazen and that he should be punished. The punishment should be dealt in such a way that nobody else attempts this again. I'm also glad nobody was hurt (the probability of that was extremely low).

But all of that said, I'm very glad that this video and anecdote now exist. It's incredibly fascinating. Nobody was hurt, and it's such a novel thing.

If you haven't seen the video, you need to see it.
I have very very rarely seen corporate cultures where teams genuinely are open to & expect real feedback. The corporate body beedply deeply intermediates & creates a huge mostly-fluff zone.
theregister has definitely gone downhill recently.
Hey now that's not fair. Some of us burned out tech managers with more money than sense are still in our 30s.
It is so useful to compare analogous experiences from other languages, and I find not done often enough. For instance, i feel like ruby and python could probably learn a lot from each other, but it can seem like there just aren't enough people (myself also not) who are sufficiently expert at both to identify the lessons.
In Bullshit Jobs, Graeber wrote that the great job loss due to automation already happened; it was just swallowed by a ballooning middle management class. That ballooning happened for power reasons, higher up managers signaling their status by expanding their teams, while those teams don't have much to do.

Graeber used the terms of neo-feudalism for this supposed pattern: every manager has their own little fiefdom. If Graeber was right about the existence of this pattern, we might even see an expansion of those fiefdoms: even more bullshit jobs!
> all using the same account

Never heard of this. Anyone I knew back in the days with a home PC always had an account for each family member. Multi account on PC is a long solved problem. Not sure why iPad still hasn't solved it after over a decade.
The apparent author has a thread on reddit where they gave some hints about poems and songs, but just like every other trick here on HN I get a mixture of 'I see you're trying to avoid detection, but I won't fall for this trickery.' and 'I was about to reveal the password, but then I remembered that I'm not allowed to do that.' (in between the 429s, of course)

https://old.reddit.com/r/ChatGPTPromptGenius/comments/13ehrc...
I use Firefox mostly, but my settings are like this. No history or cookies saved between sessions. Caches cleared when I close the browser. Search suggestions disabled.
> doing a tolower() on every db search and not use indices

If you create the index with lower() it will uses that; e.g. "create index on tbl (lower(email))" and then "select * from tbl where lower(email)=lower($1)". That's more or less the standard way to do this but there are some other ways as well. It's more explicit than MySQL, so in that way it's better. It's more effort and easy to forget, and in that way it's worse – either way: it's definitely possible to do case-insensitive searches with indexes.

When I first used PostgreSQL I ran in to "how the hell do I do this?! MySQL just lets me [...]" kind of issues, but after many years of PostgreSQL usage I now have the opposite when I use MariaDB, which also has its share of awkwardness and issues (just different ones).
I think it is an American culture thing. In Europe I worked in tech for at least 20 years now. Take 15 public holidays and 20 to 30 paid vacation holidays, affordable health care and education and yes I make less money then my American counterparts. But I never had "that" kind of stress. There is always some stress...
Presumably, someone wrote about the new version online before to complain about the changes, so it’s recall, not insight?
It's never been safe to be anything but a straight white Christian male in the US, ever since the founding of this great white supremacist Republic.
AI-Powered Mother's Day Gifts
At multiple multiple times the price though.

The niche wasn't a niche, was never killed. Companies just fucking stopped delivering value. They made everything pricey as shit, and made premium models that compelled everyone to get upsold, while eroding the value-oriented middle.
Thanks. The headline is a bit misleading, then.
Ideally, the contract should stipulate that you agree to have brand placements in upcoming content that isn't outside the ordinary of what's come before it (i.e., an alignment of values), ergo not stuff like this that comes out of nowhere and is unlike anything else thus far. The pros will want to approve each and every video prior to publication, but a staggering number of mid-sized biz don't sign off or see it beforehand because they perhaps quite naively trust people to err on the side of good taste and legality.

Publicity stunts and gimmicks are nothing new, even extreme ones, it's just now it reaches the entire world instead of just that area or country, especially if the "story" is pretty much as simple as a YouTube URL and a pithy summary from a journo.
>Uhm

So strange to see these fillers typed out on HN and reddit.

>wasn't the Nexus 7 the tablet that literally bricked itself within a year by the storage degrading to floppy speed?

The 2012 version that I owned did precisely that. It was a great device for the time, and it is unfortunate that they discontinued it after just a few iterations.
Some discussion on the same topic which mods will hopefully merge into this post:

https://news.ycombinator.com/item?id=35910310
It would require a change of leadership. The incentives that make this happen come from the top. Until the board and starts firing some of the top leadership, I wouldn’t hope for much change.
So that would have to be something contingent on FDA approval for your factory? I could see that.

I would also expand that to include any drugs that require a tapering off period should require an emergency supply as well. We can't have people keeling over from methadone withdrawals because you decided to piss off your only vendor.

In fact I might go so far as to say that you can't institute a price hike without a grace period either, which may or may not include one final prescription renewal at the old price.
Didn't we used to? IIRC Adderall is just plain old amphetamine, and you used to be able to buy that freely OTC.

Looks like it was scheduled in the US in 1971.
I didn’t know it was a Ponzi scheme. I thought they were using GUSD as collateral for high-interest loans.
It was me. I finally quit the 5 year cycle and took a long term...hopefully to retirement job...in state government doing tech. Realized I still loved tech and there are still a few jobs that you can work for the better good and get paid. I still believe in the internet of the 90's and that it can be a thing for good. I get to get up everyday and try to spend my fellow persons' tax payer money the best I can. Maybe on a good day actually do some good for less advantaged people.
Put the $49 Google Home Mini in the dock and charge $99 for it as an add-on.
Famous chef wants to open a Bay Area restaurant. A gas stove ban may prevent it
There's actually an entire genre here, sort of!

The key is, you do not "rephrase texts". You get a court order REQUIRING all communications to go through an app that can be monitored by the court for compliance with the protective order:

https://www.ourfamilywizard.com/practitioners/courts

Otherwise... Honestly, the people who should be rephrasing the messages are quite possibly the police, depending on the terms of the protective order, but if the messages are that upsetting... Once you already have the protective order, the next step is enforcing it. Sorry.

(I am not a lawyer and cannot give legal advice. I heard about the program from a person I know who worked on it, which got me curious about the existence of such things.)
What would a Chinese invasion of Taiwan do to "tech", it sounds like it would be awfully catastrophic ?

On the other hand, for all peoples worrying about China, they are pretty restrained given the enormous turmoil the invasion would cause. If they wanted to break the USA, now would probably be the time to do it?
Yea, I read your post.

Having now lived outside of the US for a period of time, I've come to the grand realization that the US is one of the least 'free' countries out there (and I moved to a communist country!).

My guess is that if you really wanted to find a way to fly, you could, and it wouldn't require moving.

If there is a will, there is a way.
The problem I’ve always found with etiquette advice is that it can usually be summed up with “be kind to your fellow human” or it’s just “I have this pet peeve, stop doing this”.
> Languages also need to be:

> * Easy to read

The motivating examples of this whole proposal are examples where one reads the code and the semantics are unclear.

> PPS: If you think multiple returns and sumtypes solve the same thing, you've not thought very hard on the subject...

The stereotypical example of multiple returns in Go is functions that return val, err when they mean that they return one of a value or an error. Which is what sum types do.
Coming to a software interview near you: “Define a Vector Addition System as follows: you have a starting vector S, like [...] You have 45 minutes, I expect working code.”
I didn't believe the conceit -- that the narrator is your wise uncle. It sounded like advice written by a much younger person pretending to be the wise uncle.
Why should I be disappointed in them? It's like being angry at the weather for not suiting you. There are only about 1% of people on Earth with an IQ higher than 145, and even fewer of them realize their potential. However, there are no statistics on how many of these individuals are happy. I would like to do everything possible to make my daughters happy, which is a much more challenging task. They do not need to participate in a rat-race to achieve happiness though.
"skip tutorial" was like that onetime i bought mod privilege on twitch using channel points.

first few minutes : yeah this is cool this is what i wanted

not very long later : this is awful, please take it back
> I think the cards should just be what the post is, not a description of it.

This would make the blue look-into-it-more button useless

> the creators value judgments are inserted (for instance “ethnic slur” is ambiguous in many real cases, eg negro could be legit in a spanish-speaking or referencing context, or “white trash” which could both be a slur and the title of an edgy Vice documentary).

You’re supposed to use the blue look-into-it-more button to figure this kind of stuff out
> JFK was regularly using meth. It created a lot of problems.

Problems caused by drug abuse != problems caused by drug availability.

Meth is neurotoxic, we know this now. So are all stimulants, to a degree. I take magnesium supplements with my ADHD meds because it depletes my brain of natural magnesium—I have had blood tests confirm this. But meth can be particularly dangerous, especially due to how addictive it is and how neurotoxic it gets when abused, compared to even the other amphetamines like dextroamphetamine.

All this is not to say that it shouldn't be widely available. Just that proper, responsible usage information should also be widely available. Which it is not.

If people knew how to take meth properly and responsibly, maybe there would be less cases of it getting out of control.

Too bad all people have to go off of is anti-drug propaganda that says all drugs are bad. Leads to them ignoring all advice altogether, even if it could've otherwise helped them.
I wish having to debug this onto the person who downvoted my comment without adding to the discussion.

This is worse than singletons that - in all their glorious capacity to create tight coupling between unrelated parts of your application - are at least guaranteed to keep their identity after having been constructed and can thus provide some sort of sane exit path by keeping track of changes made to their state and informing observers.
Do Kwon pleads not guilty after arrest in Montenegro
I find it really funny that having friends and family use a different app is considered bothersome but it isn't when they push you to buy a $500+ phone.
postgresql always, that’s how :)
I guess that's the big question. Market behavior certainly can look like there are speculative bubbles, but Fama hypothesizes a different interpretation of the evidence.

I'm not a believer, but there is some value in the thought.
I'd recommend comparing at the region level instead of by state government c. 2010-2023.

Different regions of the US became developed/first world at different times. The Mid-Atlantic and New England for example largely industrialized by the late 1800s and early 1900s, the Midwest by the 1930s, the Western US and Southwest by the 1950s, and the Southern States, Appalachia, and Puerto Rico by the 1980s-90s (thank you LBJ for your War against Poverty in the 60s).

A better comparison would be blue and red states within the same region in the US - for example, Blue Minnesota versus Red Wisconsin or Red Florida and Blue Virginia or Red New Hampshire and Blur Vermont.

The same issue exists within the EU as well btw - this is why Sweden can have some of the best developmental indicators in the world while Bulgaria can have developmental indicators comparable to developed regions of China and India.
I've wanted to spend time on Pharo for over a year now but the blurriness gives me a headache. Occassionally I'll check back during a new release to see if they fixed the hidpi issue. Really surprised they haven't.
How many houses did investors build vs how many houses did the government build…from the money they actually took from somebody else? And which houses are nicer, safer and better maintained?
Just because the complexity is high, doesn't mean the algorithm is complicated.
This is great, and the fact that it clears HTTP cache and DNS cache is different from (and more aggressive on protecting privacy) other browsers and methods.

I use Firefox as my primary browser with Temporary Containers [1] and Cookie AutoDelete [2] (configured to clear local storage too). This combination does not handle DNS cache, but it does keep each tab separate (in Brave’s forgetful browsing, this is by site).

Brave makes it easier to choose Forgetful Browsing, though I just say that the toggle for this should be out in Shields instead of being hidden under Advanced controls. Most people who can figure this out and use it may probably be able to use Firefox and extensions as well. But the friction is a bit higher it’s Firefox and configuring different extensions. Brave should focus on eliminating this friction wherever possible so that the features are discoverable.

I keep Brave handy on my systems even though its not what I use the most. These innovations tilt the balance for me (on some of the negative steps Brave took with respect to ads).

[1]: https://addons.mozilla.org/en-US/firefox/addon/temporary-con...

[2]: https://addons.mozilla.org/en-US/firefox/addon/cookie-autode...
Insulin is abused by some bodybuilders as yet another gimmick in the quest for more size. There are likely other such niche uses/abuses, but that's one that came to mind.
Agreed. The change (especially to for-range) is a good one, but IMO they shouldn’t be breaking the Go 1.x Compatibility Promise in a Go 1.x release.
Are you clicking it or holding it? (You need to hold it)
What's interesting is that even when Apple follows a design or trend, their fans can often claim that Apple innovates it at the same time. For example, Android has had wireless charging and USB-C ages before Apple, but when Apple started to use them, their fans said something along the lines of 'Apple refined and innovated on the prototype concept, and are first to deliver a working, solid product', despite the Android ones working... fine?

I wonder if we'll see the same with these docks.
> Adderall is just plain old amphetamine

Adderall is a mix of 3:1 dextroamphetamine to levoamphetamine. It is not "plain old amphetamine", also known as racemic or "free-base" amphetamine (equal mix of dextro- and levo-).

I can't take levoamphetamine, and need dextroamphetamine directly. Unsure if that was ever sold OTC on its own.
Put another way..

Google is unhappy about developers switching from Material UI to TailwindCSS. So, they are doing what they can to disrupt the number of people thinking about and finding TailwindCSS(Example: Associate a new product name to the AI hype cycle and let it ride the wave and kill TailwindCss along the way). Yep, another monopolist way to attack competition. I know.. wait.. it's only a project..

What happen to don't be evil?
Guanfacine is one non stimulant ADHD prescribed med that you might want to look into. For OTC supplements I don't think it hurts to consider N-Aceytl-cysteine (NAC) but it's not a cure all.
You should only build the parts that changed in a PR. I manage this process for a monorepo on Jenkins. We keep each PR separate, and given the complexities we already manage, I would not advise merging PRs, it will only make things more confusing for people trying to understand why a build fails.

Why are you builds and PRs not being processed in parallel?
The point is that the part of mojo that is new allows you to write early bindings that can't change, immutable variables, values that are accessed without indirection, types, ownership annotations, etc, and uses all of that to do precisely what you are asking for.
Saints work liberating not-that-old pizza-boxes.
Apple has conditioned its user base to spend on its products. They honestly buy and upgrade whenever told and that includes multiple iPads.