skysight-inc/HackerNews huggingface dataset:
Windows implements fd_set as an array. https://learn.microsoft.com/en-us/windows/win32/api/winsock/...
Yes I know and at least GHC optimizes lists better than most other data structures (I guess even isomorphic ones).
But I guess your definition of "all the time" is not the samé as mine (yes, I use them in every project too).
What I wanted to express is that lists are way less used than beginner tutorials may make it seem and there are other data structures available (like in other languages ;).
Why is the BBC being weird about it?
"An NFL player found that he managed to be good at rugby after 2 months of practice, but when he tried to do gymnastics (or cycling or tennis or motorsports or ...) in the same time frame, the results were terrible."

What does that tell you the sports he tried to do? Not much. It's all about his previous experience and skills.
I suppose you (or perhaps designers) are thinking of interactivity in the opposite order as I am, as though it's a sensible or a necessary step to position some possibly janky animation in-between the visitor/user and what they're trying to accomplish, and it's sufficiently high-risk as to actually cause problems. I initially couldn't think of how some piece of UI would actually ship even though it posed a risk to the user's experience, but now that I do think about it, it's always been a top-down decision, less that of an actual designer; usually it's a bunch of pointless dropdowns or sliders that just weren't given any thought, and engineers or designers were told to do it because 2 weeks gotta go fast gotta ship. There can be some really bad offenders out there, I've worked on fixing them, I just usually attribute that to pointless pressure to build specific things, where implementation details are removed from the agency of their rightful craftspeople.
Then definitely don't miss its forefather. Writing with such insight

The Closing of the American Mind by Allan Bloom
The Drug War is massively, massively expensive. You have to pay for all that policing, plus the massive resources needed to convict and incarcerate people. All that pointless, wasteful cat-and-mouse with addicts and dealers. Not to mention people in prison for drug offenses don't pay taxes, and a criminal record makes it even harder to find productive work.

However, the staggering budgets and ridiculous inefficiencies of the Drug War won't all go away the minute the laws are changed. And in the meantime, you can't just leave diseases of despair untreated.
While C++ is undoubtedly complex, keeping up with Python, Java or .NET world, in terms of language features, runtime changes, standard library, alternative implementations and key libraries on the ecosystem is not much easier.

Nowadays I get the feeling to need some kind of memory dump reload everytime I switch projects.
Interesting! Why would the airline incur additional cost of shipping your ski equipment to your house, when putting it out to the baggage claim is... free?
Apparently someone showed up to pick up the work regarding reflection.

However at least we already have a kind of poor man's reflection, with constexpr if + concepts + type traits.

As for the rest, I am also not a big fan, but until my favourite language runtimes and GPGPU tools switch to something else, C++ is part of the toolbox. No need to add even more layers.
With sudo pip you can.

But I was thinking of other Linux distributions. The ones that caused the introduction of --break-system-packages.

And it prevents less a mixing than a shadowing of system packages with local packages.
I do think the world would be better if most forms of advertising were strictly limited or banned, but advertisement absolutely doesn't require what is being called "advertisers" in this context.
There's a reason tou need namespaces even without name squatting considerations. At least for some package systems like pip. If you are using a private registry you want to prevent dependency confusion attacks.

I guess Go sidesteps this by not having a registry, and Rust seems to require you to explicitly say which registry a package comes from. But pip is vulnerable to this issue because it still doesn't have namespaces.
What does it mean for a layman? It says it reflects around 99% sunlight and 96% infrared. Does it mean if placed outside in hot summer days the underside will stay at ambient temperature?
I believe it's 70% of the full install costs not just the charging equipment. That might explain the differing estimates.

But I won't be assigning motivations wrt altruism or effing with people. There's a lady running the charging division.
> The recent successes from LLMs/Generative AI give a hint that things don't need to be so complex and mysteriously difficult to be quite like human intelligence

"The recent successes from LLMs/Generative AI give a hint that human "intelligence" may too frequently be culpably not so complex".
Sometimes, there just is a need for "I need you to". This is literally called delegation.

And as a boss, you need to learn to delegate and first thing about delegation is that the other person must know clearly something was delegated to them.

Playing games around delegation only makes for worse experience. Creates noise, uncertainty and unnecessary failure.

In the end, if I am hired and paid for 8h of my time, I expect my boss to tell me what she needs me to do within those 8h.

Now, there are different ways to delegate. You can tell them "I need you to" 20 times a day pointing to small things or they can tell them "I need you to" on the first day of their job and then shut up about it.

One of my first questions to my new bosses is literally "what do you need me to do", unless they have already told me. This is to avoid any confusion about what I am supposed to be doing.

--

All this nice and softy stuff comes after you have the very basic business of managing team done. To be nice to your team you need to have a reason to have a team and then you need to have a team or at least collection of people who are assigned as your resources for you to delegate work to.

--

There is a pyramid of needs on both employer and employee side.

The employee needs to be paid first. Then treated nicely. Given the choice of being paid and treated nicely I would chose being treated nicely but that's just because I can go somewhere else to be paid and also have savings to not have to worry about it for a long time. If you don't have savings and don't have somewhere else to get paid, you care less about being treated nicely.

Likewise, the employer needs work to be done first. Whether they care for their workforce or not, work is more important because if the work isn't taken care of then there is no chance they can take care for the team anyway. At least not long term.
Of course not. They would move countries to the currently best option.
The End and the Death Volume II

but that's a guilty pleasure of mine.

The second book I am reading is Behave written by Sapolsky
Why is it legal for a credit bureau to us charge money to monitor their potential mismanagement of our credit? It's literally blackmail.
Also, fun fact, from before the Polish immigration started in earnest.

Iceland's most popular chocolate bar is Polish (Prince Polo). Poland is for cultural reasons heavily dependent on herring, abundantly fished in Icelandic waters. In 1970s, communist Poland didnt have the cash to pay for it though. Iceland accepted chocolate bars in barter.

Their popularity was helped by the fact that Iceland had import controls on chocolate bars (not sure why... To protect local industry?) so there wasn't much competition. It's a nice chocolate bar too, which helps.
Didn't work for me. It was too frivolous with technical details.
Yes; nothing puts a damper on deportation like citizenship.
I'm curious what bad things you have to say about it. I haven't actually used it but my impression from reading the design docs was that it's the best module design so far. Better than Rust for example.
Location: Kuala Lumpur, Malaysia
Remote: Yes
Willing to relocate: Yes
Technologies: Python (Numpy, Pandas, Django, Flask, Keras, Tensorflow), Web (HTML5, CSS5, Javascript, React, PHP), Cloud (AWS), CI/CD (CircleCI, Docker, Kubernetes). Others (PHP Laravel, DataIKU, Git, Java)
Résumé/CV: https://drive.google.com/file/d/1LF3JOSmezyv7q1DxJVBcX3C8Rl9ektaU/view
Email: bryanotm@hotmail.com

I am a generalist who has worked as a Software Engineer, DataOps Engineer and a Data Scientist. Interested in all things tech and am able to pick up any new technologies extremely quickly. Have been working remotely for a UK based company for 2 years and counting.
Hey, we are working on Today - https://usetoday.app to solve this problem.

Instead of traditional to-do list. You can schedule it to your calendar right away.
Ways of being. It's about different kinds of intelligences out in the wild. It starts a bit slow but it's very interesting and has a lot of interesting anecdotes and stories.

Before that I couldn't put down Stasiland, a book with stories about Stasi employees and the people they persecuted.
If the device locks up, is that really Wayland, not the kernel driver or mesa driver?

Here on HN I see a lot of popular opinions on Intel and their drivers. Even today, proposing it as a baseline for Wayland. But could it perhaps be that Intel is just really good at marketing? AMD might be less about marketing and just delivering good drivers.
Not really. Taking out the US Navstar/GPS satellites wouldn't be very effective unless you coordinated to take out a lot of them at once because there's a fair amount of redundancy in them. Also, they're in MEO at ~20k km, not where there's a lot of other stuff (including antisatellite weapons). I don't know enough about orbital mechanics to know if antisatellite weapons in geosynchronous orbits can easily attack things in MEO but I know that you can't do it very quickly from LEO unless you have significant (ie visible from the ground) fuel/engines already in LEO.

Also, there are QZSS, Beidou, Galileo, and GLONASS now too. You'd have to take out multiple systems (or convince their operators to geofence) to actually deny all useful location signals to an area. This is rapidly becoming a project that is beyond the capabilities of most single countries, given the number of different systems, number of different satellites, number of different frequencies, and number of different orbits.
And legal conequences for the board members.
Guess what. Simplistic typography is also still typography.

Just like design or VFX in films people tend to think about typography when they notice it is there. But good design/VFX/typography is often invisible.
This article is showing there's subsidies available for everyone. But Tesla is asking for the least because they are cheaper
Very excited to see static reflection finally arriving! Also crossing my fingers for std::simd.
"No time to lose" a book by Pema Chodron. Its a translation and commentary of a Buddhist manuscript on basically how to become enlightened. I found the sections on how humans all suffer from past emotional memories (kleshnas) really interesting. As was the discussion on rage and forgiving people cruel to oneself. I followed it up with another of her books "when things fall apart". Again very good.

I'm now reading a Witcher fantasy novel. Blood of elves.
> culture, family support, personal responsibility

Abstinence is not an inevitable consequence of a stable life - plenty of kids from comfortable backgrounds discover they really really like drugs. We need to accept that "getting high" is a basic human motivation that won't go away. The existential realities of the human condition is enough to seek escape. Some of us are born with dopamine regulation issues that doom us towards substance use. Despite being sober for a long time I still had bad cravings for alcohol and nicotine but an adult ADHD diagnosis and medication quieted that insatiable hunger for stimulation... by regular administration of stimulants! The hereditary aspects explained a lot about my family.

IMHO the real solution should be to design better drugs. Consider it the "Steam" argument - we need to outcompete the damaging drugs with products along the lines proposed by David Nutt. e.g.

- no overdose risk or organ damage

- cheap and make available for free so no crime required to acquire

- easy reversal of the effects e.g. with a common product like OJ

- no dependence issues

When you discuss investing in this research, you quickly discover that many of those who claim to be solving tragedies of addiction are actually trying to enforce an ideology that considers getting high to be a moral crime. Even if there were no personal or societal harms they still believe drugs should be violently prohibited. Their ideology actively seeks to cause harm. Of course they are hypocrites getting their stimulation from drink, food, sex, religion, abuse/control of others or whatever they manage to carve out as acceptable.
> Then domain name expiration isn’t a problem

Unless Github or Gitlab goes out of business. Github might not be much of an issue, but what is some shifty company buys Gitlab during the next financial crisis?

Github has Microsoft money, so I wouldn't be to concerned, but even yanking Gitlab could break an insane amount of modules in one go. Having modules distributed among many domains reduce the chances of a large scale issue, for the cost of many small problems.
Right, so as a solution to them having: too much power over our lives, being unaccountable and incompetent. Is:

Giving the backing of the state over their actions. Move from being accountable to government to _being_ the government. And the competency of giant public bureaucracies!
I have just finished “World of yesterday” by Stefan Zweig, probably one of the best books I have ever read, it gives you a picture how the world was at the beginning of 20th century and how despite of cultural and technological advances of the world, Europe turned to madness.

Now i am starting “Infinite Jest” by David Foster Wallace.
Because they make a mistake. They obviously don't intend for that to happen.
The biggest problém with Opam and OCaml on Windows is that most of the packages won't work. Officially, Opam does not support Windows at all, that is going to be included with 2.2 (which is still in alpha AFAIK)
https://opam.ocaml.org/blog/opam-2-2-0-alpha/#Windows-Suppor...

I always thought of Opam as the best feature of OCaml (especially compared to Haskell with two no-working package managers - and no, Nix is a problém, not a solution either).
> and completely bonkers bad in windows 10 (haven't tried 11)

Still bad in 11. The other day it had a hard time finding notepad for some reason, even after typing in the full name.
Well for a quick point of comparison there are very numerous and very strict rules about what you’re allowed to do with a Mac. Or iPhone. Or Android. Or windows device. All of them forbid you from learning about how they work, much less changing how they work. Not sure about legality but certainly it’s against the license. Which is what you transacted right? You don’t “own” your iPhone for any reasonable definition of the word “own”. But you bought it, or so you think, but what you really did is pay money and sign an agreement. I doubt Apple thinks that you actually own the device once you buy it.
ASCII characters roughly below 20 are largely control character. Backspace is a control character. Carriage return is technically a control character. There are CSV like form field characters. Escape is another non-printable ASCII character.

ANSI escape sequences do also include control codes but there’s plenty in ASCII too.

Frankly, you only need to spend 30 seconds looking at an ASCII table to see this.

Source: I’m an author of an alt $SHELL
It'll likely stay a few degrees below ambient. Ordinarily, that doesn't happen because the surroundings are emitting and absorbing infrared roughly in balance with things at the same temperature, but if you can make a material that emits most of its infrared at a particular frequency that the atmosphere is nearly transparent to, its heat will leak out into space.
Except WASM isn't as low level as machine code proper, and also needs to obey certain rules due to code verification, thus it is as easy as any other bytecode format.

You might not get the original C++ code back, but it is relatively easy to get an alternative version in C code back, which is already good enough as starting point.
I’ve taken my recumbent tricycle overseas five times now, and gone overseas without it on a number of other occasions, and I’ve never had a bag misplaced; I know my parents did once (I think it was delivered a couple of days later). In fact, losing my trike even for a short time would be extremely inconvenient, because I’m normally intending to cycle out of the airport and, if it’s not when I’m heading home, probably don’t even have an address they can reliably send things to, because I’m keeping on moving.
My non-fiction pile is very peculiar to me (maths, probability, gambling, Rust and Elixir books, a backlog of a load of recent Humble Bundle deals), but I have some solid fiction recommendations:

Tomorrow and Tomorrow and Tomorrow by Gabrielle Zevin is the sort of novel where you start to get sad as the weight of unread pages in your right starts to lighten. A novel about some friends who build some games (set in the 1990s and 2000s, with references to games of that era), it's really about friendship, social awkwardness and creativity.

Piranesi by Susanna Clarke can't really take a review. When I first of it in Literary Review, the reviewer refused to disclose any plot for fear of providing spoilers, and I'm the same. I can just tell you, it's lovely. Her writing has got even better since she wrote Jonathan Strange & Mr Norrell, and it's a really, really solid novel.

Yesterday, my Dad messaged me about a current read I'll share here as a warning, and because his style is just hilarious:

I treated myself to a copy of "A Stroke of the Pen" by Terry Pratchett: short stories unearthed after his death. Very disappointing. If I were you, I would wait until it is available at your local library and then you could scrawl cuss words inside it without damaging your personal copy.

Solid advice that, I hope you'll agree.
https://www.saildrone.com/solutions/ocean-mapping
Virilio, Parenting, and the Network State
> I have never in my entire life used an arrangement like that.

It's become the norm around here: pick up a dedicated scanner at the entrance, scan while you go, at cash register, return scanner in a reader that extracts all necessary info. Newest gimmick is you don't need the store's dedicated scanner, but can use an app from your phone.

Bonus I didn't foresee: no more need to ask an employee "how much is this?" - just scan. This also shows you if your personal discount applies (if the store does personal discounts).

> Until the stupid scale stops working
I think that's part of why they went with on-the-fly scanning. It's one thing to detect a postcard on an empty scale, quite another on a scale with a few 2L bottles of soda. Your example with eggs is also perfect: not that heavy, all but guaranteed to be last on the scale. Here, I think most stores switched from scales to doing random checks (where they scan 3-5 items).
As a term of comparison, here's a back of the envelope calculation estimating that 0.18% of the surface is covered by roads and parking areas.

https://www.reddit.com/r/theydidthemath/comments/zwni88/requ...

Approximately 1% is covered by any kind of construction: https://www.quora.com/What-percentage-of-Earths-land-is-used...

Almost 15% of land area (not total surface) has been "modified" by humans: https://www.weforum.org/agenda/2021/10/human-impact-earth-pl... This includes agriculture, mining and, somehow, pollution.
Dang, this kindavim is kinda amazing.
> The only one who benefits is the scalper.

Presumably the final buyer also benefits.

Without scalpers, who gets to buy is basically random chance.
I don't have a Facebook account with my name attached to it, but I do keep an account with a fake name to follow community pages and updates to my gym etc.
Yes, and now they have a criminal record AND a drug addiction. So much better and more likely they'll stay sober
The Stealth Submarine-Sailboat Drone the U.S. Navy Is Using Near Iran [video]
There are a lot of ways to preserve food without refrigeration.
The whole credit rating system as it is in the US seems complete ass-backwards to me. It basically encourages people to go into debt to build a history of paying it back in time.

Here in the Netherlands it works exactly the opposite: the best 'rating' is to not be in the system at all. When you get a loan, the amount and monthly payments are registered. This registration is removed once you have paid back the loan.

When you ask your bank for a loan, they basically look at two things: how much is your income and how much are your current financial obligations (i.e. existing loans). Cost of living is subtracted from your monthly income, as well as the monthly payments of your existing loans (from the national debt registry). What's left is how much (additional) monthly payment you can afford. If the monthly payment for your newly requested loan is above this number it will be refused.

As such there is no such thing as a good or bad rating, only what you can and cannot afford.
What's the number of things that we can count instataneously and intuitively. What's your number in your opinion?

It would appear as though it's three or four. I look over to some series of things, if it's exactly two or three, I know that pattern, if it's more, I have to make out groupings of two or three. I think even for four or five we might do this habitually?
OpenGL is the only native API that never fully embraced bytecodes for shaders.
I suggest that capture is a bullshit idea and this company is a bullshit company. We don't need capture, we need carbon-free renewable electricity and stuff powered by that electricity and batteries to store it. That's all solved, scaled, and economics is there. Everything else is just a detestable way to siphon public money.
The concept of AGI is mostly hand-wavy fluff and not thought through very well on any philosophical level. Too many people talking about this have gotten their concepts of AI from science fiction novels, not careful thought and analysis.

The actual tools, though, are definitely useful, even if they have a ton of issues still. Personally it gives me basic factual errors constantly, but I’m sure this will be worked out in time.
Right. It wasn't clear at the beginning but now I understand your point. Regular LTO (by design) doesn't support concurrency nor does it support incremental builds. OTOH ThinLTO supports both.

CMake CMAKE_INTERPROCEDURAL_OPTIMIZATION variable, when set, opts in for LTO so, yes, due to LTO design you will inherently lose concurrent linkage.
Wow, does something like this exist for Ubuntu as well?
But making that right decision is largely based on the answers to “how long will this take?” and “how much will it save/earn me?”.

Which brings us a full circle to the nerds hating the suits because they want to quantify the unquantifiable.

OR, you could just go with what the experts say and be tagged a pushover.