skysight-inc/HackerNews huggingface dataset:
Yes! Query string parameters are great for this kind of stuff.

I guess the choice on the URL format depends on how you're going to route that on the server side, so there are multiple ways of doing it.

Depending on the nature of the resource, you might have to be careful with URI canonicalization.

Consider for example the "diff between account balances" endpoint:

GET /account_balance_diff?accid=1&accid=2

Should the diff be presented as from 1 to 2, or from 2 to 1? Query string parameters don't have a particular order to them, and when canonicalizing, some user agent might decide to reorder these parameters.

If you do:

GET /account_balance_diff/1/2

Then, there are two distinct URIs (one for diff 1->2 and other 2->1) and no ambiguity on meaning.

You could also use some kind of index on the parameters to preserve order:

GET /account_balance_diff?acc[1]=123&acc[2]=456

Your other example using a comma should also be fine:

GET /account_balance_diff?accs=1,2

Let's go back to the "discussions" example. What should happen if I GET /discussions without any author id? Our inner guts tell us that there should be something there (after all, I'm filtering _something_), but REST implies absolutely nothing about this relation. To REST and HTTP, you could have a /discussions URL that is completely unrelated to /discussions?filter.

Having a concise, clear URL forming pattern is great. It's not REST though, it's a separate thing, incredibly relevant to us humans, but irrelevant to the architectural style.

A similar confusion happens with error codes. I've seen a lot of people answer 406 Not Acceptable as a status for lock errors and invalid requests. It sounds nice, but it's not designed for that. 406 means the server can't deliver that media type (you asked for PNG but I only have JPG, for example). That 406 is part of the content negotiation mechanism of HTTP, not a lego block to reuse as application logic. The URI is the same, it's role is to be a primary key for the web, not to express hierarchy.

(btw sorry for the long post, I ended up venting a lot and got into several tangents completely unrelated to your comment)
I just wish we would stop funding foreign wars
Exactly. The same thing already happens at 100% value with refinancing (example: all those with good credit can refinance their student loans with the companies that popped up, those who are likely to default can't).
1Password 8 Arrives on iPhone and iPad
I know that it's a less-than-reputable source, but I love the theory that the Richat structure is the lost city of Atlantis. https://www.ancient-origins.net/unexplained-phenomena/richat....
> has been done once it doesn't need to be done again.

incoherent angry mumbling
Yes for us and is a small hassle each time to re-set that up..
Alert, Nunavut
It's not even running the same compiler (x86 is a GCC 12.1.1 snapshot, ARM64 is GCC 12.1.0), so even before you get to some of these tests having hand optimised x86 codepaths, you're already potentially skewed.

No, I don't expect it accounts for the differences, but there's a ton of procedural flaws in this benchmark that make using the results for any purpose very tricky.

The other one that really concerns me is that the M2 was tested in the MBA. The MBA is thermally constrained and throttles. They have zero data on what temperatures it was (because it's not implemented yet!) so they don't know when/if the MBA was throttling in each test. The M2 MBP would have been a better comparison.

I'm wary of trying to draw any useful conclusions from this article about the M2's general performance vs the new Ryzen 6xxx lineup, the methodology is just too flawed.
I mean it's rare that the attacker is paying for the resources in large DDoS. Usually it's bot-nets and the like to the cost is paid by the owner of the owned machines.
Does it make sense to ever have less than 3 reports?
Interface is the same, order of rows is different. Yes, it sucks. However, other streaming apps are much worse:

- by the time HBO Max finish loading, I've already lost interest

- Amazon Prime constantly gives me errors, and it's often hard to find what you paid for and what you have to pay for

- Paramount+ often restart episode from beginning instead of resuming.

- Many leave shit in your queue with a few seconds left for you to "Continue Watching". I still have shows in Paramount+ that I've finished months ago in the queue, and there is no way to delete them without watching end credits.
- HBO Max only allows you FF in small fixed intervals

- Plex...used to be okay, now it's pushing its streaming services and works very bad offline

- Apple TV has awful offline experience compared to netflix in terms of UX

Nah, I will take netflix constantly changing rows over shit others do.
Algorave
Yes. Key feel is excellent and the backlighting can be useful.
'New normal' across the Taiwan Strait as China threat looms ever closer
Immutable – a short sci-fi story
Luckily there is totally useless "§ ½"-key on Scandinavian keyboard. So I always do this:

cat .inputrc
"§": "{"
"½": "}"

Also "å"-key is useless in Finland. So I have reprogrammed "å" with hippie-expand and other apropos-type functions.
Didn't Blender have its own game engine at some point? Maybe I imagined it/misunderstood what I was looking at.
Tornado Cash and Collateral Damage
NASA Identifies Candidate Regions for Landing Next Americans on Moon
The rules of the ETH network allow for this regulatory capture to happen as well. Decentralized governance means you may not get your way when the majority think differently.
Why are you using peek instead of average? The average power over the test is what matters, not the instantaneous spikes. And did you miss the whole "configurable TDP" thing? The OEM gets to change the power targets. They aren't fixed. Saying the 4800U in a NUC uses power X, therefore all 4800U's use power X is flat out wrong. That's not how it works, different usages will set different power limits.
Overlooked: managing 4 people confers more authority and subordinates are more likely to be cooperative.
Selected Reddit Comments (to save the clicks)

You're a security researcher and your proof is a Windows Defender screenshot?

&

Posting Windows Defender screenshot seems very solid proof yeah, congrats for your advanced analysing and reverse engineering technics.

&

While Kaspersky, Bitdefender or any other leading antivirus keeping silent, Windows Defender (aka false positive king) found the hidden, unknown exploiting technics that being triggered from checkpoints.

&

"security researcher" never hard of virustotal. i checked your file on there, wd is the only one that flags it..

&

False positives are extremely common for antivirus engines. Unless you have some sort of real proof, this should not be taken as evidence for anything. Moreover, I looked into the 1604 file. It's just a packed array of 512 32-bit floats around 1.0; extremely unlikely to contain malicious code.
How to Plan to Travel Alone
Sure, if you place yourself in an arbitrarily hard problem, it takes a lot to solve it. "How we dug a 100m pit without using machines in 2 days" is an incredible feat, but the constraints only serve those who put them.

Serving large content has been solved for decades already. It's much easier and reliable to serve from multiple sources, each at their maximum speed. Want more speed ? Add another source. Any client can be a source.

Netflix artificially restrains itself by only serving from their machines. It is a very nice engineering feat, but is completely artificial. As a user it feels weird to think of them highly when they could just have gone the easier road.
This website is pretty darn broken. Anyone know who is in charge of it?
Put the HTML/CSS inside the JS, make that whole bundle cacheable, and make your "HTML" response basically be one <script> tag starting the JS and another containing the JSON response.

Folk have been using this technique for a decade or more
You can't always, though.

I described a situation where TDD really, really, really wouldn't have worked. The whole structure needed to be developed, or at least 80% of it, before it would have made sense to write any tests--and the actual TDD philosophy would be to write "one small test" and only write exactly as much code as required to satisfy the test.

The sane approach was to create the entire structure based on the design, and then test it after it was complete as an entire system. Some of the micro-functionality that TDD would have had you test would have become technical debt as a change-detector later when the client changed their specific requirements.

As I said above, there is no evolutionary path from tiny pieces to the full structure, and TDD requires that you follow such an evolutionary path. If you're writing a bunch of tests and then creating a nontrivial amount of code, then you're following test-first, but not really following TDD. And I question even how valuable that is when you don't necessarily understand what would need to be tested before you've finished implementing the system.
Problem is we all chip in to keep alive those choose to not lead healthy lives.

Should we stop treating lung cancer for lifelong smokers? Cardiovascular diseases for obese? We could use those resources to treat other diseases.
Both have CPUs. MCU is specialized for controller applications. MPU is for general purpose computing. The distinction is sometimes blurred.
I was referring to the JS injections talked about it the article, not what data FB has about you overall, which of course is much more if you have a FB account.

And I wasn't saying FB is better overall; I deleted my FB account 7-8 years ago. I don't go on Tiktok either because I don't trust it (also not that interested). I do use IG (yes, I know owned by FB but I don't have it linked to any FB/other account) and Twitter (and Reddit, IRC of course).
Couldn't most of these be covered by a linter? I'm not sure you really need a new language for this. Even right now in Visual Studio resharper is constantly telling me about things that can be constexpr or const and a lot of the other things you mention here.
This is a pretty neat application of wearable electronics. Much like the wearable blood sugar level monitor that diabetics can use, this detects a fairly large swath of substances that people sweat out while metabolizing. I would not be surprised to find athletes who train wearing something like this in order to develop a food regimen that gives the maximum energy for the minimal amount of intake.

The last time I saw something like this was late 90's by a company called Affymetrix[1] that had a "genechip" that was using micro-fluidics and silicon receptors for genetic material identification. They didn't have the computer power at the time to put into the chip at the wearable level for that to work like this new sensor does.

[1] https://www.affymetrix.com/site/mainPage.affx
25 Years of Structural Housing Change
The servicing and the loan itself are often split; the larger banks continue to service the loans they sold off often; the mortgage brokers don't even do that (most attempt to never service the loan at all).

It is possible to find mortgage loans that are not resold, but you may pay for the privilege (or get a 10 year loan, those are short enough that they're often not worth reselling).
As an almost teenager at the time, that (Shazam over the phone with an answer texted back - which I used on a Nokia 3310) was the one thing that convinced me we would soon have pocket devices that really could do anything.

And while it took a few iterations (for me, from palm pilot to blackberry as a teenager, then eventually moving to iPhone after a few too many painful Blackberry upgrades - still missing that unified inbox though, as is everyone else I know who had a BB of that era... and frankly missing a great physical keyboard on a phone, too) I still am impressed on a daily basis that I do indeed have the device in my pocket that 12 year old me dreamed of.
Wouldn't a micro black hole punching through create a similar kind of concentric circles with central hole? Just gotta see if the other side of earth has any signs of something similar.
I haven't left big tech, though I'm currently taking steps to switch careers into game dev, and will likely be looking for a smaller/indie team in that space. The way I see it is that it's not a "step down" if you end up happier. As long as you can afford to pay the bills and are happy, there's no such thing as a "step down" or "step up" -- those are just cultural judgments that don't matter.
Some implicit conversions are okay, like type promotion from int to double. Some type coercions are fraught, like char to int or back again. I agree that array decay to pointer could be explicit, and pointers shouldn't cast to arrays.
Same here. It's barebones, but it's also cheap and plentiful on the used market, has enough functionality to be useful without being overwhelming, and fits easily in a backpack. Did some noodling around with it connected to my iPhone on a plane recently, no drivers needed if you get that Lighting-to-USB adapter, phone powered it fine, and I was able to drive Korg Gadget and make some shitty techno.
For a few extra bucks, IKEA sells a 4 pack of casters that perfectly fit the base of these legs. Only takes a few screws and your rack is on wheels.

https://www.ikea.com/us/en/p/alex-caster-black-10480607/

https://ikeahackers.net/category/hacks/media-storage/tech-se...
I understood the reference and was expecting something like that book. (Though TUHH also considers the shell.) I was disappointed this wasn't the case.
Steering me away from bad habits or towards more computer science did make sense - but, yes, actively discouraging me from building things I found cool didn't help my motivation.

It didn't deter everybody, though - my friend went full speed ahead and implemented a graphical MacOS application using SML that forwarded e-mails over SMS so he could read them on his phone.

I was amazed to discover that was possible!
I strongly favor the Linux\Linus "don't break userspace" attitude than what has just happened for glibc.

This is especially salient given that the DT_GNU_HASH format is not even documented. Leaving it as the only-option-by-default going forward is unconscionable.
Show HN: A tool to upgrade JSON Schema definitions across spec versions
And then you realize that you're using this incredible and very temporary opportunity to sit in a chair for most of your waking hours, for decades in a row.

"All of humanity’s problems stem from man’s inability to sit quietly in a room alone." --Blaise Pascal
Well they for sure have picked a very ironic name for it.

"The vault is completely unhackable."

"SIKE"
The world really isn't taking Russia-Ukraine seriously enough. But the risk of a Chernobyl level disaster is low, with a Fukushima level disaster as the worst case scenario and also low likelihood.
The same consequences that a homeowner who over-buys has to face... I can't feel much sympathy for it.
Also, all art illustrations were done via DALL·E on the first or second prompt try. The prompts that were used are available under the images.
Except now you have to pay Apple for the privilege of protecting your app store rankings.

If someone decides to purchase ads for "HBN App" searches, you're out of luck on your own trademark. You have to pay for ads too.

Let me count the ways that we're now beholden to app store mafias:

- Downloads are no longer free to distribute

- You have to obey draconian and arbitrary rules, and your engineering team has to jump through the hoops constantly

- You can't deploy on your own time. No emergency hot fixes.

- You can't leverage JIT engines and dynamic code (WTF!?) to solve for a bunch of headaches.

- You have to learn multiple platforms

- You're taxed (15+%!) for the privilege

The whole concept of app stores and walled garden downloads is so inherently broken that the DOJ needs to break up the party wholesale for all of the major players.

While I'm happy Apple removed tracking, I also want the government to prohibit Apple, Google and the rest from doing these other godawful things.

This is harming innovation and productivity massively. This is bad for small, medium, and even large businesses. Startup founders, engineers, and business people alike should be up in arms.

We live in the crazy times Stallman warned us about. And as a capitalist, I couldn't agree more with Stallman.
Why I am not an effective altruist
Bored Ape Yacht Club Creators Interview
Remember when Facebook was at its peak around 2014 (innovation, popularity) then announced radical changes on its feed algorithm in like 2016 to prioritize content made by friends? ...
It might have something to do with the big "Play Full Song" button that opens Apple Music. Since they already have access to their music catalog for fingerprinting and the app is mature, maybe it pays for itself in subscriptions?
Rust has a lot of interesting development going on with open source game engines as well. Fyrox and Bevy are both starting to flesh themselves out. Bevy already supports wgpu and Fyrox has a whole heap of features for something so young.
Maybe it's not valuable because it's not true? (and maybe it is because it is - but how can I tell). In science we can point to solid results like having electric lights to write literature by.

What is literature worth - show me some measures. Oh, you can't. That doesn't make it worthless, I love a good book, and be happy if you said it brings much happiness to people, that alone would justify it. But you claim more, far too much.

Show me that liberal arts types are on average more ethical than science types, which seems to be what you claimed, or maybe don't claim so much.
Where do you guys learn about using eBPF? It’d be really useful for my work, I think, but then most intros I see start with ‘Recompile the Linux distro’ or something and that just seems too much effort to get going?
this really strikes me as evidence that something is wrong with the http standardization process. we should know if something's a good idea before immortalizing it in a standard.

It may be removed from chrome, but it's still in the standard.
It's also possible to get answers to many of these questions just by talking to your interviewer, no need to go asking questions in interrogation style, or as a candidate you might get answers to them as part of the interview process. Many of the questions about the company can (and probably should) be something you research before interviewing, or even applying.
I keep hitting that too - I think that's probably the worst thing about it, which definitely isn't a deal breaker for me, just makes me need to be more cautious compared to the wheel.
It's a very noisy tiptoe to mirror the headline of the OP almost exactly.
do you think it could be the roof of some ancient temple?
In a way, but another way of looking at it is that on the same pool of resources the botnet wouldn’t be able to achieve the same request rate if they expended these extra resources.
It's gone from the mainline releases but lives on in the UPBGE fork.
Cache API being "useful" and "entirely client-driven" - both great points, but how is does it contradict my statement about same API being usable for server-push (i.e. force-feeding some objects to client it didn't ask for), may I ask?

Remember, "client" (assuming user didn't disable javascript) is a dumb machine that executes whatever (code downloaded from) server tells it to, within some (pretty generous) limits. Imagine index HTML containing this:

<script>
const cache = await caches.open('push');
cache.put('/resource.json',
new Response('{"foo": "bar"}'));
cache.put('/resource.gif',
new Response(atob('R0lGODlh...'));
</script>

That, of course, assumes that rest of code would use cache.match() instead of fetch API or XHR. Or, more realistically, a wrapper that tries both.
Ive always wondered why there is only 1 shazam. I was under the impression the algorithm/patent was just licensed from another company. Why havent people cloned this app? Also why arent the shazam geo charts more detailed ie by city/neighborhood or location. Would love to see what songs djs are playing at a location even if im not there. Right now the geo charts are very high level (only major cities)
Hard to believe we'd be pushing that idea at the very moment we're trying to encourage shipping vessels to slow down by 10% because of the dramatic reduction in fuel consumption that provides.

I've taken the Queen Mary II (the only current ocean liner) between NYC and Southampton. I thought it was a very, very nice way to cross the Atlantic, even though the carbon and general pollution footprint could be dramatically improved.
Behind the scenes pictures from the making of Star Wars saga, 1977
agree, good summary. in very simplifying algebra, if you have a fixed mortgage rate r and a market interest rate i, then you'd expect the wholesale market price p of the loan to adjust such that i ~ r/p plus some markups for risk, cost, profit,... so if r is fixed and i is pushed up by the Fed, then thing that has to give is p (going down), even if the risk markup doesn't change
I notice that a lot of past predictions took the form "if we don't hit metric X by time T1, then easily-observable bad thing Y will happen by time T2". These were concrete, falsifiable (assuming we don't actually hit the metric in question, which in practice we never did), and basically left no room for interpretation. These days, the predictions we get seem way more wishy-washy and completely unfalsifiable.
Either driving uses a lot of fossil fuels, and therefore driving without using fossil fuels is better, or the switch from fossil fueled to electric cars is a drop in the bucket of the overall solution. Pick one. Don't bring your dislike of cars and use it to argue against both sides.
Deep brain reward / motivation area stimulation is potential depression therapy
There's a whole subculture of super cool developers who take inspiration from the whole Ted Nelson, Alan Kay/PARC, Douglas Engelbart, Bret Victor branch of software history; ie, visionaries.

Two are listed below, but there are many more. Nicky case is one of the most well known ones, Bret Victor himself is very well known and very active. There're also a lot of lesser known people in the space,

- Patrick Dubroy: wrote Ohm, makes cool stuff

- @azlenelza on Twitter

- @codexeditor on Twitter: He's building by far the most professional, serious and very very inventive digitised text... system? I have no idea what to call it. It's far far beyond what Roam, Obsidian etc can do. I think Ted would love to have a conversation with this guy. It goes deep in all directions.

- Andy Matuschak is worth mentioning. Goes deep into learning and memory research, and building tools around this.

- Tudor Girba @girba on twitter, makes moldable software environments: Tl;dr, tools to make custom IDEs in seconds to minutes that fit your current task perfectly. Very interesting stuff built on Pharo smalltalk

- Omar @rsnous on Twitter, posts thought experiments about weird interactions with computers multiple times per week. Sometimes cool ideas come out of it :

Of course not all of these people are or will be visionaries of the same level as Ted, but these are all people working to experiment with the status quo, or step out of it completely.
That may be a fair criticism in some cases.

For my toy example I don't think it is because it's generally easy (in the languages I work in) to overload arithmetic operators on types that are basically constrained scalars so there's no explicit wrapping/unwrapping to do when you want to operate on them as if they were plain scalars.

Maybe you could give me an example of the kind of pathological situation you're alluding to?