skysight-inc/HackerNews huggingface dataset:
Their immediate follow up will be “can you improve this solution?” In either complexity or runtime or memory usage etc. but even if you can’t having a solution that works is better than not completing it at all.

A good interviewer is trying to get you to do these to see how you think. Not if you’ve memorized all the solutions.

So I meant very much to give you props for being able to solve them so they work but also to say think how you might fix them to run more efficiently as that’s what they will ask next.
Fwiw I still don’t. Large companies mess up too sometimes. This is what it looks like when a sales team messes up.
Ahh, thank you:

git commit —-fixup $COMMIT_ID

I'm adopting this immediately. I always make little "oops <topic>" commits like "oops GET users/me" and then manually move and fixup them on my next interactive rebase. This is much better!
>anti-govt, libertarian

oh god, no
> Electricity generation typically results in lots of waste heat

Typically, but may no longer be true with renewables. I don't think any of solar pv, wind, and hydro generates significant heat in the process of their power generation.
Shop at Aldi. Rice.

If you can get discounted [about to spoil] vegetables/fruits "chopped" and then immediately frozen, they will last for months. I have a perpetual "bell pepper bag" in my freezer which gets topped off weekly with a new discount pepper.

Making "from scratch" cookies and mashed taters and just add more butter has been a lot of fun, and seems much more filling than prepackaged junk.
What a thoroughly uninformed and idiotic take. The narcissism of this field is astonishing.
> (!?)

"Georgia home boy" and "max" are both slang terms for the drug gamma hydroxybutyrate
I see this asserted often but the serious attempts to tabulate it I've seen showed the opposite.
Some more discussion a few weeks back: https://news.ycombinator.com/item?id=40369412
I don’t think Siri but as an LLM would be “bullshit.” It’d be an absolutely immense upgrade.
> Right, unless you're paying the engineers $400k/yr each

Is this that unreasonable? He comes from a Google background and he did clarify good engineers.
Context for the non-Aussies in the audience: Jo Nova is a prominent antivax/anti-climate change/anti-science fruitcake.

https://en.wikipedia.org/wiki/Joanne_Nova
If a decision needs to be made, I think "access to public businesses" should be something that is decided in a court, and not by shady AI surveillance corporations.
What is "pagan witchcraft"? A lot of it was learning and inquiry that the religious elite didn't agree with centuries ago, because it clashed with their god-based explanations of the world. That's a pretty silly analogy to use for fraudulent scientists.
So again your solution is, what, revoke people's licenses after the fact? Perhaps we're too reluctant to apply that but that is something that can happen to you already. But it's too late at that point. Making the licensing test harder is not going to prevent people from driving carelessly; it is an almost charmingly naive view that the problem of inattentive drivers is that they don't know better and can just be educated more. Many of the people at fault in these accidents have been driving for decades and have a level of experience far beyond what any licensing regime on the planet would have required them to have.
> Venture capital places wild constraints on the type of products you can build

The real shocker is that people built things before and they will build things after VC comes and goes
It is, yes. And how exactly could Microsoft have done Something that ships with Linux?
Pcmicro was a noted RemoteAccess BBS support site back in the BBS heyday http://pcmicro.com/ra/
I don't have tested this
I'd imagine an original Warhol Amiga floppy could be worth a lot of money, given what collectibles can go for. [1]

[1]: https://www.theverge.com/2021/7/9/22570401/legend-of-zelda-n...
Yeah, I still remember a site where I really would have needed the :has selector, but I have written a workaround in JS and now I would rather so the whole thing new than fix that tiny aspect.

I will however definitely rely on the has: selector next time I encounter that situation (it had to do with markdown output putting img tags inside paragraphs, so I needed css that treats a paragraph that has a img inside differently than other paragraphs).
I downvoted you; whether Gosling is relevant or not doesn't address the core argument that Java is hard to use without IDE.
You're missing the point. Anything Microsoft would have done would have been a 3rd party package to Linux.
What Are NFT Rug Pulls and How to Protect Yourself from It
You're referring to single continuous fiber optic cables on land. Long undersea cables incorporate powered repeaters. Those can't be upgraded in situ with improved technology.
> In northeastern states, that would be wild.

I got my license in Connecticut and nobody asked me to parallel park.
Pedestrian AEB will be standard on all passenger cars and light trucks by September 2029.
Literally another one: one of the things Google Meet replaces... is Google Meet (original) from 2017.
Better to be a programmer in a garden, than a gardener in a program.
If any newspaper reported on cyber matters with the same rigour and thoroughness of Krebs I'd be first in line to subscribe.
TPLink GPL Code Center
Transaction failure is misleading. Here's a good thread explaining the details: https://twitter.com/0xMert_/status/1771700602629730795

tl;dr Users often submit transactions that attempt to arbitrage price discrepancies on-chain. But someone else fills the arb before them and so their transaction while successfully received will result in nothing happening. The transaction didn't fail though. Solana, your "decentralized server", successfully received the request.
A language is ... does not mean ... is a language. A dog is an animal but an animal is not always a dog.

I think it's clear for the both of us that PLs are not the same as languages. I would just go a little further and calling it a misnomer. For me that is a helpful framing, especially once you go into visual programming.
Related from weeks ago:

Apple finalizing deal with OpenAI to bring ChatGPT features to iOS 18

https://news.ycombinator.com/item?id=40325876

Apple Will Revamp Siri to Catch Up to Its Chatbot Competitors

https://news.ycombinator.com/item?id=40322104
I'm not sure what you have in mind, but if you put your "main" Python code inside a "main()" function, you can put that main() wherever you want (like at the top). You just have to call it at the bottom of the file, below anything it refers to.
They’re probably amplifiers rather than repeaters. Optical amplifiers don’t need to decode the signal to work. Here’s Wikipedia on erbium-doped fiber amplifiers:

> A relatively high-powered beam of light is mixed with the input signal using a wavelength selective coupler (WSC). The input signal and the excitation light must be at significantly different wavelengths. The mixed light is guided into a section of fiber with erbium ions included in the core. This high-powered light beam excites the erbium ions to their higher-energy state. When the photons belonging to the signal at a different wavelength from the pump light meet the excited erbium ions, the erbium ions give up some of their energy to the signal and return to their lower-energy state.

https://en.wikipedia.org/wiki/Optical_amplifier
Just go to wikipedia or search it.
> In the middle of delivering a lecture, Hardy arrived at a point in his argument where he said: "It is now obvious that..." Here he stopped, fell silent, and stood motionless with furrowed brow for a few seconds. Then he walked out of the lecture hall.

> Twenty minutes later he returned, smiling, and began: "Yes, it is obvious that..."
depends on who you ask, for german jews under the nazis before world war 2, it was almost the only place to go to, and definitely saved them from certain death in places like the netherlands.
not to mention after world war 2 for those who came back from the camps and found their homes taken.

moreover zionism did not start with the balfour declaration, but decades before with mass killings of jews in eastern europe
“NFT Rug Pull” is a redundant expression.
USB-A vs. USB-C
They will probably be more in line with the design of the kalashnikov which is unsurpassed in reliability. You don’t get to destroy NATO gear for 2 years with unreliable weapons.

The New York Times recently lamented the fact that $500 drones are so easily wrecking $10 million armored vehicles.

https://www.rt.com/russia/597177-abrams-drone-video-donbass/
But a good way to save pedestrians on the sidewalk
Wall Street Journal article:

http://archive.today/eiPl5
I think they're mostly laser amplifiers these days. So they're agnostic to modulation or WDM. But I assume there's still a noise/gain tradeoff.
I think subgrid might give you a freer hand. Because if I remember correctly, the trouble with display:contents is that no other styles you put on that element will affect elements within it. This means shifting all styles down a node, which can be a real pain and have knock-on effects.
Bosom peril! Wizard shrooms!
Racket might be the best bet, especially since it comes with a graphical IDE - Emacs is a big stumbling block for beginners. Racket also has lots of tools that make it fun and practical for learners (e.g. creating static websites, simple GUI applications). Things like this seems like the best way to learn without getting bored or frustrated: https://docs.racket-lang.org/quick/
The Kafkaesque Journey of the Oakland A's
This appears to be horrendous libertarian propaganda. Whatever the case is with peer review/Wiley or whatever, get the story from somewhere else.
Meh, corporate shill masquerading as a "science presenter" is closer to the mark.

Nova is happy enough to sing the praises of the Australian Liberal | National coalition when it comes to climate (or lack thereof) policy.

They (husband and wife) jumped on fossil fuel funded think tank money some decades back and make bank as "voices of reason" casting FUD on the waters and rehashing the greatest hits of How to Lie with Statistics in new(ish) and innovative ways, mostly her anti-climate science stuff is straight up misdirect which both herself and husband are qualified to know is incorrect.
Not necessarily:

1. UNIX-compatibility aliases like "ls -> Get-ChildItem" and "cat -> Get-Content" are not defined in PowerShell on Linux or macOS. For a complete list of these, see the PowerShell source code[1] (look for "#if !UNIX").

2. A number of aliases from PowerShell ≤ 5.1 were removed in PowerShell Core (≥ 6.0), including the particularly annoying "curl -> Invoke-WebRequest" (conflicts with curl.exe) and "sc -> Set-Content" (conflicts with sc.exe).

[1] https://github.com/PowerShell/PowerShell/blob/8ea1598964590b...
Choice bush? What it's like to shop at Amazon?
The Posthumous Memoirs of Brás Cubas
Their nationality certainly is not Israeli. One could say Palestinian, or Gazan, since Hamas' rule of Gaza makes it more of a separate state in practice. If one were to take the view that neither Palestine or Gaza are states (a semantic question which I don't take a position on), then they would be stateless people with no nationality.

Even if you want to make the argument that Israel is occupying (Hamas-controlled parts of) Gaza, that wouldn't make Gazans Israeli citizens, and realistically every country prioritizes the safety of their citizens; it wouldn't be reasonable to expect otherwise.

> One cannot discuss this "threat" as anything other than a joke

You're ignoring the role of asymmetric warfare and human shield tactics. The IDF is struggling to make progress as is, despite obvious military superiority. If they caved to demands to e.g. stay out of Rafah, then Hamas terrorists would essentially be untouchable, an noone can fight an untouchable enemy.
If 7 out of 10 coders are made redundant because of AI right now in May 2024 then you had very bad coders to begin with.

If you do the same with translators now in May 2024 you will provide a horrible service.

June may be a different kettle of fish!
> shoot salt

I feel you might need to expand here
Nope. Elixir doesn't care where your module lives. (You can even "nest" modules, though it's not a great practice)
Most adults can’t hear > 18kHz.

Related, there are devices you can buy to repel teenagers: https://www.today.com/news/controversial-mosquito-sonic-devi...
You got my attention that one time, sure. That's all you get.
Next.js 15 is Here… New Changes Again?!
Great article! CSS doesn’t get enough attention - not outside of Tailwind, which I don’t think is the way to go, but that’s another story.

:has() and :is() are awesome.

One issue I’ve had with any of the newer CSS features is that, most of the people I work with don’t know what they do, because nobody use them. So, I have to explain myself in each pull request - but I guess that’s ok, because then people learn.
Cities in Flight is what immediately sprang to my mind
Warning: political message is the first thing you will see.
Finternet: The financial system for the future [pdf]
I always found "student" confusing in the name. Like, is there a "professors t-test" or something?

I personally found a lot of peace after learning that tidbit.
... No Intel inside
For listing branches, git branch -vv gives some more info.
it's sort of weird, there have been multiple comments where people have responded as if they write CSS all by themselves and there are no colleagues to worry about, and that they also think this is an industry-wide standard!

on edit: just to note I'm generally the old guy who is pushing for people to use 'new' stuff like clamp, min, and max functions and lab color profiles, to no effect.
I think emotions are a huge part of weight gain and loss and yet most Western medicine seems to almost completely ignore the impact of emotions on the body. Try eating a lot of food when sad—it's hard to take even a bite. Yet it's hard to even realize just how much one is eating when anxious.

I also imagine the emotions impact digestion and storage of fats and a lot more, basically adapting our bodies to our perceived environments, so it kinda baffles me that we don't study the emotional impact more.
Painful non lethal shotgun shell filling.

Deters thieves without the flesh carnage of lead pellets | buckshot.
Has to be a low depth random forest
One liner is a file of any size without the 10 or 13 ascii codes?
Here's the original WSJ source: https://www.wsj.com/science/academic-studies-research-paper-...

Imo the WSJ's science and tech reporting is actually top notch. Just make sure it's a real newsroom article, not an op-ed, since op-eds don't go through the same fact-checking.
Is there a Chrome LTS channel?

Firefox has an LTS version which can be a baseline for features, but which receives security updates at the very least.

I don't know about, say, Chrome 80 line that would receive security fixes but not new features. I also think that would be against Google's interests to have such an LTS line, it would decrease the moat between it an other browsers.
And? Solar cannot do it, it's as simple as that, so the cost is irrelevant.

> becoming exponentially cheaper

"Exponentially" is very unlikely. It may become somewhat cheaper, at first, if supply increases. Which btw. is also true for nuclear power.

But then what? We cannot power the world with solar alone, for the simple reason that we cannot store that much energy during the dark hours. Hydro storage is geographically limited, and batteries, well, let's just say the entire world output of Lithium over the last 3 decades didn't make enough to even store the electricity the US alone requires in a single day. And that is before be electrify further.

Yes, we should build more solar. There is no reason to have roofs not covered in panels. But all solar can do, is help. It is not the solution to our energy demands.
Seems like most of it is behind a paywall. 403 all over the place.
Yes, Long Island is known for having cancer clusters.
I'm of the opinion that not every company needs to do its own AI thing. Let AI companies fight it out, and use the best.

Right now sure AI is a money vacuum, but will eventually be commodotized where only the best make much money.

Apple is probably smart to focus on their own hardware and software, and just rent out the best AI available.
That’s a nice read, thank you for that. If he sets up three or more recorders then next time he can find out within minutes of the first bang to within meters.

But his article presents a fun challenge. He doesn’t say where his receiver locations are but he does give a triangle dimensions. I wonder if it’s possible to map this onto the street names and then work out which farm it was. It seems likely that there is only one way to map that triangle so each vertex is on the street it is reported to be on.

Then you could invent a time, any time and add the number of seconds that he mentions to get the two other times. Now you have the times and the co-ordinates, within the constraints from the time inaccuracies you could run the docker version of my localization program (https://github.com/hcfman/sbts-aru) on this input and it would output the map link to the offending farm. With a largish degree of error.

Note. From the diagram, the sound source doesn’t fall within the triangle of receivers. This can still work, but the convergence drops off after a time so you can only practically localize this if the distance is not too far outside. But if you make battery powered receivers, you choose a better spot and move one if the recorders so it does fall within the triangle.

Also, just one second of error is a lot!
Show HN: Breaking Free Your DB Away from AWS Extension Pack to Open
Our Goal is to transform any migration to PostgreSQL or PostgreSQL Compatible on AWS as Open, Agile and Free from any kind of lockin. The aim is to provide customers moved away from commercial database engines like Oracle or MSSQL in past or planning to move with the freedom to choose any platform without hidden restrictions or stickiness or proprietary extensions.
Please don’t cuss, we are not that kind of a message board. Thank you.

- Person looking forward to more ice shelves breaking off
It's quite a common pattern in saas. Someone gets through automated ToS checks with some niche use case and escalates some unrelated issue to support which triggers manual ToS review. That being said, a corporation as big as CF with 120k usd bills should do better and never let this happen. Very amateur.
a lot earlier than ppl think, and there are a lot of room to innovate on transistor structure as well even using existing litho machines
> By agreeing on all these algorithms, exchanging random seeds, and the server’s SSL certificate containing the private key;

I sure hope not. But I suppose it is titled "Mediocre Engineer".

> $300K/year

… I'll undercut you by $50k/y; where do I apply?

(There are just more and more errors. TLS <1.3 doesn't even work the way it describes, even though it tries to throw newer stuff into 1.3. The DNS section describes a recursive resolver, but the client isn't going to do that. It is probably talking to a stub resolver, too. "Internet Layer". The implication of "brotli" being a widely used algorithm in a ciphersuite/in TLS's compression, "Current version of TLS (>1.3) do not support RSA" …

… these sorts of blogspam are why I wish sometimes that there was a downvote. The advert isn't so obnoxious as to make me want to flag is low enough. I guess I should write the less mediocre article and make the HN frontpage. If only I made $300K/y, I'd have more time.)
Kali Linux:

jtm@aristotle:kali ~ $ apt-rdepends -r powershell
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
powershell
Reverse Depends: ibombshell (0~git20201107-0kali2)
Reverse Depends: kali-linux-headless (2024.2.8)
Reverse Depends: offsec-pen300 (2024.2.3)
Reverse Depends: offsec-pwk (2024.2.3)
ibombshell
Reverse Depends: kali-linux-everything (2024.2.8)
kali-linux-everything
kali-linux-headless
Reverse Depends: kali-linux-default (2024.2.8)
Reverse Depends: kali-linux-everything (2024.2.8)
kali-linux-default
Reverse Depends: kali-linux-everything (2024.2.8)
Reverse Depends: kali-linux-large (2024.2.8)
kali-linux-large
Reverse Depends: kali-linux-everything (2024.2.8)
offsec-pen300
offsec-pwk
> Last commit: 7 years ago

On a different note it would be interesting to see the Ruby and Rust methods side to side. Ruby is fairly readable in general. And while Rust is a big improvement over C++ regarding to many things, readability is usually not one of them...
> C++ has all the bits needed to check array bounds by default but chooses not to do so...

std::array::at does bound check.
Box86/Box64 vs. QEMU vs. FEX (Vs Rosetta2) (2022)
Seems pretty reasonable if the $250/mo plan is costing Cloudflare close to or more than that amount of money due to any loophole or other unforseen expense in the plan.

What seems interesting to me is just what the loophole is and how many other business are also on the radar for this drastic pricing change. Are there other goodwill discounts Cloudflare is ready to start collecting on, or does the gambling site represent a unique situation?
I also expected a punchline. That's the obvious one, at least.
Did I pay attention to my kids? 100% otherwise 0%
For me 9.99 is 10.
I don't know what they tested, but maybe they shall test again.
right, I'm 100% on board with that, but there's a sizeable population of voters whose jobs would be disrupted that are very against it, so their representatives like Manchin are against it.
Finalization of a transaction on Solana averages <400ms. Feel free to look at the dashboard yourself if you need proof: https://solanabeach.io/
Hi, nice UI and excellent idea for reading the documentation, the price seems exaggerated to me given all the online possibilities.
Show HN: I'm building a website to discover AI tools, AI WITH. ME
I built this AI navigation site when I was learning NextJS; I looked for AI tools to solve problems along the way, and found a lot of interesting AI products; A lot of these products are great. I thought it would be a good idea to bookmark my browser, but I wanted to share it with everyone in the world, so I had this site.

Now you can do it in AI WITH. ME Find the AI products you need for work, life, and study; I have a lot of categories to choose from: programming, art, writing, video, lifestyle, health, you name it, and I try to update the data every day.

If you find it helpful to you, you can sponsor me so that I can build this product better.

Finally, you are welcome to submit your AI products or tools to the AI WITH. ME", let more people in the world see it.

If you want to get access to AI WITH. ME users see your products more often, and you can find the sponsored links I left on the site. Become our sponsor! Thank you very much
This looks promising, but it needs a far improved introduction.

A good start would be focusing on what it is, rather than what you did.
This looks pretty nice and usable! Though a lot of the time I can just get the docs inside of JetBrains IDEs, without needing to open a browser. Or more recently, for the simpler stuff, LLM based autocomplete is also pretty nice.

Increasingly, it feels like the web is a less pleasant experience, albeit stumbling upon the occasional StackOverflow/StackExchange/GitHub discussion that goes in depth on some topic or compares various approaches is still quite useful, for example: https://stackoverflow.com/a/50892881

That said, good luck on your monetization! Probably not for me at the moment, but I'm sure that some people will see the value:

> 403

> Access denied

> This documentation set is not currently available for public access.

> Please subscribe to Docland Plus to gain unlimited access and unlock all premium features!

(looking up commons-lang3, curiously the most popular package under org.apache.commons resolves without the message, but the seemingly re-published ones from elsewhere don't)
Missed the whole thing about spelling reforms are about making everything consistent huh?