skysight-inc/HackerNews huggingface dataset:
The article doesn’t seem to discuss cancellation. For example, there is the convention (at least on Windows) that pressing Escape cancels the dragging. Sometimes you also want to cancel the dragging when the mouse-up happens outside of some defined area. Cancellation serves as a quicker Undo (or an “oh, I actuality didn’t mean to drag”) for the user. In any case, this means that you have to save the original state at the start of the dragging, so that it can be restored if the dragging is cancelled, even if you otherwise provide no Undo functionality.

In the case of cancellation-when-dragging-outside-an-area, there’s also un-cancellation, meaning you resume the dragging when the pointer returns to the area, after the state visually reverted to the original one while outside the area (to indicate to the user that a cancellation would happen if the mouse button is released at that point). Or put differently, the real cancellation only happens upon mouse-up, but is already visually indicated while dragging.
The argument wasn’t over it being clickbait. It was claimed that this is an advertisement (it being paid is implied).

The NY Times uses blatant clickbait, but I still respect them as real journalism and not just rewritten PR ad pieces producers.
This particular operation seemed to be in Germany - we're in another European country. She got two notices and ignored both. Nothing has come of them so far. Whatever about tweeting an infringing image, retweeting it seems like a bit of a reach.
Building Processors from the Ground Up
> The entire idea of free speech really rests on something as shaky as the sticks and stones principle!

The "Free Speech means I can say anything I want on any platform" stance is actually very new in the United States.

This only started after the counterculture in the late 1960s-70s, when libertarian individualism (yes, the hippies had a very socially libertarian stance) in the New Left and the New Right lead to the revocation of laws such as the Fairness Doctrine, the Comstock Act, etc.

Before the 1970s-80s, American Free Speech doctrine was much closer to what you see in Canada, the UK, or Germany today - you are free to criticize and protest against the US Govt, but that doesn't mean you are free from moderation or censorship on a private or
public platform.

Jurisprudence in the 70s-80s changed that by essentially removing the need for moderation, and that's how we have the irresponsible form of free speech that we have in the US today.

I blame Boomers and Gen X.
Is King of Fighters as popular in Argentina as it is in Mexico?
> Do you mean in AirBnB’s or generally?

Generally. In any case they get carried very easily in clothes or suitcases and you need only a couple of them to start an infestation somewhere else. If they are in AirBnBs, it means that there are also in a lot of houses.

I got some in a London flat. A friend of mine got some in Manchester. They are not that common, but they are on the rise, which is concerning. It’s like early COVID, nobody has it until everybody does.

See for example https://www.theguardian.com/uk-news/2018/aug/19/bedbugs-heat... from a couple of years ago, or https://www.independent.co.uk/news/uk/home-news/bed-bugs-epi... .
An interface like

DEF_ENUM(
EnumName,
(Name1, value1)
(Name2, value2)
...);

Is also possible. I'm not the greatest fan of PP metaprogramming, but I think this is acceptable.

With additional Magic it might be possible to do separate compilation of the to_string() function.
Exactly, a very generous chap on here sent me a spare PCB for the lisp badge.
Leaders calling for racial genocide isn't really at that "fine end". Meta should be able to distinguish between that and "corporations should pay less taxes".
It’s old knowledge that parents (more typically fathers) bond with newborns that look like them, so you could have results within a year and again within 5 when the child looks more like their adult selves
I know a lot of places tend to use things like AWS spot instances for their CI runners but they obviously provide inconsistent performance. As others have noted you can always measure performance through other metrics like certain counters, not just the absolute runtime duration.

I can recommend getting your company a dedicated instance from OVH or Hetzner since they are dirt-cheap compared to cloud offerings. Setup some simple runner containers with properly constrained CPU and memory that would be similar to production environment, hook them up to your Gitlab or Github and you are good to go. You don't really need high availability for development things like CI runners.
> I want to run my own DNS and block DNS to the rest of the Internet.

Your private recursive DNS server, of course, has to send requests to the rest of the internet; you don't want to block those. They don't have to be plaintext, unless the authoritative server in question only talks plaintext.
Yes. Can be changed to make space for a sch-letter. kwasi, kwatsch.
discussed - 1 day ago - 254 comments - https://news.ycombinator.com/item?id=37694154
Back in the old days you could easily fit two on a banana seat. Or if you wanted to up the danger a bit, your friend could sit on the handlebars.
We don’t really know why they are coming back. But the fact that they used to be everywhere less than a century ago should make everyone think about protective strategies, instead of thinking that they are someone else’s problem. This is not “lol Paris” (or “lol AirBnB” like some say in other posts), this is a Europe-wide public health problem in the making.

AFAICT the number of infestations grew 65% in a year in the UK. A couple of years at that rate and even if you’ve never seen any yet, you are likely to know them intimately.
I guess the reason he wrote on his blog is to inform the users about the change. Why someone posted this to Hacker News though, I’m not sure… It doesn’t really invite to very interesting discussion, IMHO.
Where are my HTMX people?
All well before my time, but still fascinating to read and learn about. Even when I was in my teens, reading in Steven Levy's "Hackers" about the Tech Model Railroad Club at MIT and the genesis of modern hacking culture was addictive to me. Being uninterested in history is a fault of the individual, not necessarily an age concern.
> The belief that each race has distinct and intrinsic attributes. / And that is what you're doing.

I'm not sure where you got that from. Did you respond to the right message?
movies, video games, TV sports, snuff videos...
It will deescalate.

KFOR, the NATO peacekeeping force in Kosovo, has gotten a larger troop deployment in the last week [0].

Serbian soldiers crossing into Kosovo is a clear violation of the Kumanova Agreement AND unlike Russia-Ukraine they will be de facto declaring war against the US and NATO due to the American and EU boots on the ground, and bye bye 25 years of work to try and join the EU.

It's just election posturing by Serbia, as Vucic promised calling a snap election in the coming weeks in the aftermath of a mass shooting in May 2023 [1] destroying his popularity and sparking mass protests reminiscent of Euromaidan and Gezi Park.

[0] - https://www.politico.eu/article/nato-builds-up-forces-kosovo...

[1] - https://www.politico.eu/article/serbia-snap-election-2023-al...
Hint: your comment can be interpreted as hostile/divisive.
This is interesting as a demo, but I'm curious how would this solution handle chunking up songs for better performance (think long podcast episodes or higher quality audio), or a DRM like Widevine.

Without these, the farthest you could go on this path is a unique way to show off some indie work.

I remember one of my favourite bands in my teenage years (think early 2000s) had a website where they let you listen to their albums. I wanted to listen to them on my mp3 player so we figured out we can just look up the URLs of the mp3s from the HTML and download it.
It's too locked down and unproductive. C64 was seminal, not only because it was widespread but because it was relatively open.

SBC are picking up that trend and JH7110 is a good contender to the final hardware.

The only thing left is to make sure the GPU saturates with one CPU core. The driver is still too broken to judge.
Other interesting games for learning CSS,

https://cssgridgarden.com/ (basically Froggy for Grid)

https://cssbattle.dev/ (a platform for doing various challenges, huge community)

https://flukeout.github.io/ (learn about CSS selectors)

https://css-animations.io/ (practice CSS animations)
I know your intentions are noble but the alternative approach promotes the idea that racial groups are very real and matter. It promotes the belief that one "belongs" to a race, that members of a race have a shared interest, etc. It's a mindset that often leads to racism.

I grew up in a place where colorblindness was the prevalent philosophy and somehow, racism was much less of a problem than what I've witnessed in the USA. People of different colors mixed up and race or skin color was almost never mentioned. I don't think I even had a concept of what racism was until high school when it was taught in class. I can't help but have a suspicion that people who are so incredulous at the idea of "colorblindness" are simply projecting their own racist beliefs (e.g. "I am not colorblind... how could anyone be?").

Finally, I have no issue with compensating people that were direct victims of institutionalized racism. However, I take issue with the idea of assigning benefits or penalties based on factors beyond an individual's control, such as one's ancestors' or genetic makeup. If the idea is to help less fortunate people, we should develop programs that help less fortunate people, regardless of their genetics or ancestry.
It's the left hand part
Literally my first thought upon reading the headline… “oh not this shit again”…. I mean really I know tensions can simmer for decades but seriously I thought this was one place that after all the breakups and border redefining we had some kind of lasting if somewhat tenuous peace…
Because it means a whole percentage of the population never reaches adulthood in medieval times, they die in duels on perceived slights or are.. Strutting around as legally sanctioned murderers snarling at the commoners.
True, but it still has some upsides. These days I mostly hang out in dark corners of the net. If it's profitable at all to astroturf there, then it's barely so. And if you manage, it's mostly because you actually managed to make a positive contribution to the space at the same time.
> Doing so prevents ISPs and governments from analyzing your traffic. However, a CDN operator such as Cloudflare terminates TLS for your website, and thus traffic would be visible to them either way.

Cloudflare adopts the similar predatory Google posture of "we really really care about your privacy - nobody else should spy on you but us". Creepy!!
> Luckily a lifetime ago I was a licensed exterminator and got it sorted.

I have a hunch this might be a very useful and marketable skill in the near future…

Seriously, well done because as you say getting rid of them is no fun.
This is really playing with fire by the Serbian government, and I don't think I can understand their strategy if it involves trying to force out kfor.

I'm also very concerned about Bosnia situation where similar nonsense is brewing up.

What I find even more laughable is that Serbia could have been the majority player in the region if they weren't just doing imperialism.
> Huh, I’d put both of those in the top ten

top ten of what?
Show HN: A tool to help optimise your system prompt
I needed a way to choose between different system prompts for a ChatGPT-powered side project, so I built Prompt Picker.

The basic idea is: specify some candidate system prompts and a few example user inputs, and then run a blind experiment where you choose the better output from pairs of generations.

If you need to optimise the system prompt for your LLM-powered application, give it a try and let me know what you think.
George W. Bush is building a memorial to the War on Terror, wants your feedback
>one place that after all the breakups and border redefining we had some kind of lasting if somewhat tenuous peace…

The Balkans?! Where each country borders its own borders/territories of old.

I don't think the conflict would escalate, though.
Stirring up shit for Russia. Next level.
The thing is that things like Cachegrind are supposed to be used as complements to time-based profilers, not to replace them.

If you're getting +-20% different for each time based benchmark, it might just be noisy neighbors but could also be some other problem that actually manifests for users too.
After a visit to the company office in India, one of my colleague told me that some of the Indians working there didn't understand each other in English... Maybe there's some exageration there, but that's just not you
Overall, a good guide. It doesn't mention macOS Lockdown Mode though.
More info here: https://support.apple.com/en-gb/HT212650
> I’m honestly a bit shocked at the reactionary nature of this entire thread. I knew HN had a bunch of conservative and libertarian tech bros but…holy shit. This whole thread is unhinged.

I am not from the US. I am not white. I am typically in the left (to what's considered left in the countries I lived in). And I really dislike all the political correctness that seeped into tech, and generally comes from the US.

All the jargon tiptoeing is extremely condescending, as if non-white people are too moronic and/or weak-minded to understand that words have different meanings in different contexts.

And, no, thinking that does not make me reactionary and/or libertarian. The very much American behavior of pointing fingers at any minor thing and scream "Racist" will not define my political leanings.
>So far, I'm happy with this simple solution: [...] constexpr const char toString[kSize] = { "Monday", "Tuesday", ... } *

But you had to manually code that "toString[] = {"Monday",}"

Your "simple solution" misses the point of the article which is to have the compiler automatically generating the serialized string representation of the enum without a human programmer having to manually code the switch case statements or array lookups and also avoid manually keep the enum & array in sync.

The idea is to have the enum definition itself acting as a "single source of truth" and comparing various language features or libraries to derive the code to write out enum names as strings. In other words, the author is exploring various techniques of pseudo "introspection"/"reflection" for the enum data type.
Yes, people on the extreme ends treat FOSS etc almost as a religion. Humans are wont to get very tribal, unfortunately.
Maybe if you tried hard enough, but a plain reading of his comment would judge it helpful and accurate.
If you can run Testcontainers and docker, I don’t know why you would go though the painful mocking process. I am not going back to writing mocking for database access.
I'm trying to make a natural gas usage live monitoring, I reused a single use e-cig battery (that is rechargeable).
From calculation it should last at least a year in deep sleep.
Do I really need dedicated hardware? How bad is a VPS? I mean it makes sense but has anyone measure how big the variance is on a VPS?
What i wrote isn't that you can't write C++ in Unity, what i wrote was that you do not have the C++ source for Unity that would help you address performance issues. Since you mentioned UE blueprints, i have worked with UE and faced the need for better performance: being able to have (and modify) the C++ source (including the blueprint VM and codegen) code was something that helped and at the same time being able to turn blueprints to C++ wasn't a panacea nor the performance was anything close to what you'd get with writing the code in proper C++ in the first place (which is what we ended up doing for some parts).
No, it is not. They eat you, not your waste or byproducts. It is a human problem. Or do you think also for example that mosquitoes are a personal hygiene problem?
I respectfully disagree, after performing many months of tests with the same application I wrote both in C and in MicroPython, both in battery-powered devices (you can find it on Github: FreakWAN). Moreover, when battery usage is really important, the main factor is the standby power usage. Anyway the device will only wake-up briefly to do a few things and shut it down again. It is unlikely you do heavy computations inside the device for the moments it is awake, you mostly do things like I/O with sensors and communication. So MicroPython is absolutely viable.
Well I lived in Paris for three years, sat on countless metro/train seats, hotels, shared appartments, hostels, and I have never had an issue with bed bugs.
For Serbia to be anywhere a remotely important player would need to join the EU - looks at the former Yugoslavia states - Croatia and Slovenia (which Serbia had wars with), they are doing way better. However, if Serbs are to the EU, they would have to fall in-line, so ain't gonna happen (become a player)
Sorry, but (especially in engineering) old tech depreciates and becomes irrelevant.
FUTO is funded by billionaire Eron Wolf. There's an interview[1] with him on their YouTube.

[1]: https://www.youtube.com/watch?v=5UHF84gyVWg
This reminds me a bit of how double-click works, or originally worked: A single (first) click selects the element, and if there’s a second click within a short timeout period on the selected element, it invokes a default action on that element. Meaning, the double click is not a separate type of operation, it’s a continuation of what happens on a single click. You don’t wait after a single click to see if it becomes a double click; instead you always perform the single-click operation (selecting the element), and a second click that makes it a double click may or may not follow, and if it follows is compatible with the single-click action.
Isn't Medium somewhat similar to AI in this regard as well? Grow paying subscribers from creators' content, even when most of it is readily accessible elsewhere for free. And the top-most comment on the post highlights how opaque Medium's payment model really is
I know it's out of context, but reminds me how that's funny an american company talks about base unit though the US still keeps its units and can't switch to metric system.
It was never a viable treatment. It was a horrorshow inflicted on the powerless and inconvenient.
A new qubit circuit enables the accuracy of quantum computing – Tech Explorist
https://www.copytrack.com/
The more rural you get the more this is still true. In many places, there is no mentionable police force. You handle it or you get a group together to handle it.
“In case English is not your first language” is the problematic part.
Says more about how useless BCG consultants are.
Please proceed to point out root causes for bedbugs
Apple revamps iCloud.com with more features for drive, mail and notes
> which is a security feature I think I like better than the freedom.

"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
> As I understand it, hardware counters would remain consistent in the face of the normal noisy CI runner.

With cloud CI runners you'd still have issues with hardware differences, e.g. different CPUs counting slightly differently. even memcpy behavior is hardware-dependent! And if you're measuring multi-threaded programs then concurrent algorithms may be sensitive to timing. Also microcode updates for the latest CPU vulnerabilities. And that's just instruction counts. Other metrics such as cycle counts, cache misses or wall-time are far more sensitive.

To make sure we're not slowly accumulating <1% regressions hidden in the noise and to be able to attribute regressions to a specific commit we need really low noise levels.

So for reliable, comparable benchmarks dedicated is needed.
So basically it forces the host to make something like… potatoes? Is it edible? Does it taste good? Is this a new way to engineer random plants to make potatoes for us?
> The entire idea of free speech really rests on something as shaky as the sticks and stones principle!

I think that, rather, it rests on observation that restricting speech is basically jamming the communication in society, which creates ossification and prevents development.
> What I find even more laughable is that Serbia could have been the majority player in the region if they weren't just doing imperialism

All the Balkan states (Serbia is Balkan as well) are much smaller, and would end up being economically subsumed by larger neighbors like Greece, Romania, Germany, Italy, Türkiye, and Russia. This is already the case across the Balkans today, and nothing would have changed if Serbia were less belligerent.
Somewhat agree, I know LLM have boosted my programming output mostly in writing jsdocs and pr descriptions. The things I don't really like doing
Microsoft Says the Days of Free Windows 7 to 10 or 11 Updates Are Over
Maybe this tells more about BCG consultants than its does about GPT-4?
For the same reason black card is considered exclusive and prestigious.
Maybe you are the problem, associating everything with race and in if in your mind black is inferior, then everything using black as an adjective would be negative for you.
As mentioned in another comment: developers of Clickhouse speaking ill of competitors without disclosing their bias does not convince me of Clickhouse.
JS will fail to execute a lot more often than most people realise, e.g. due to poor network conditions, particularly if hosted on a different origin (first-party JS is far more reliable, and inline JS the most reliable).
I've come to believe/agree that it is not possible for humanity to give up fossil fuels, but the physics of adding ever more carbon into the atmosphere is also calamitous. Taken together it seems we are on a path to certain doom.
Great video! Thanks for the recommendation.
I'm not saying that touchscreens are an altogether downgrade from physical keyboard devices. I totally get why Steve Jobs did what he did. An iPhone is not an altogether downgrade from a Blackberry. And likewise an iPad is not an altogether downgrade from a laptop. But, both are downgrades in terms of ability to write text quickly. And, it turns out, when you can't write text quickly, day-to-day computing fundamentally changes. It changes to be more consumer-oriented, rather than creator-oriented. That's why I said "two steps forward, one step back."
I assumed it was cancer causing insecticides like DDT or something.
Guess CSS also has a section about Flexbox, but it focuses more on reading than writing CSS: https://www.guess-css.app/
Programmers hate this one trick to make your computer fast!
They don't want to violate the copyright of the actual article. https://www.theinformation.com/articles/how-a-hidden-bar-cod...?
In what sense? Bed bugs don't care whether you're tidy or not, they drink your blood and hide during the day. You can have an absolutely spotless home and flawless personal hygiene and still have bedbugs living in your floorboards.
> $21B company that has a lot to lose if they get caught doing anything bad with your data

Say what? Companies get caught doing this all the time and nothing seems to happen.
I get where you're coming from, but the idea that we should all rush to giant globo-monopolies to save us from the complexities of small businesses is just wild and disgusting. This is very much the "Microsoft/Apple, save me from Linux" vibe.

EDIT since every reply is the same: AirBnb operates 0 rooms. To be so willfully obtuse about AirBnb is wild.

Clearly the operators of these rentals are small businesses, the vast majority operating less than 10 properties. They use several major booking platforms for their rooms including AirBnb, Vrbo, TripAdvisor and a dozen other vacation rental platforms. Their rooms are not AirBnb's. Their service is not AirBnb's.

I don't even know how to begin to reply to someone who treats AirBnb, a booking platform that operates 0 hotels and 0 rooms, as the same as say a Marriot, who operates 1,423,044 rooms worldwide.