skysight-inc/HackerNews huggingface dataset:
Something that took me an embarrassing long time to realize was that North American electrical outlet binding terminals are a combination slotted/Robertson screw head. The Robertson is great.

Klein tools makes combination head tools that engage both, which is fantastic if you are upgrading a bunch of outlets.
McDonalds was surprisingly responsive to one of my surveys. I randomly thanked them for having a free EV charger at their location that I would use for a few hours but always bought a meal or coffee from them when I did. They called me up and thanked me for the kind comments and sent me a box of a coupons, lol.
Harkening back to the GP post: Mr. Rogers Neighborhood was based on a city neighborhood, not a small town.
Who pays for local news? You need to have actual journalists sitting in boring local council meetings and reading boring reports to generate "news" stories. That is not free. Local news competes for attention with national news, global news, and a billion types of non-news entertainment. Ad money is probably too thin to cover the expensive legwork needed for local coverage.
Buy an electric crib that rocks and has music. Take shifts if you can. Sleep whenever you can get it. Workout.
A big issue is major corporations buying up lots of local news stations too.

I found this video extremely eye opening. Worth a watch if you haven’t seen it: https://m.youtube.com/watch?v=q_hGKT5FI78
Nobody else to blame but the newspaper industry themselves. Failure to begin modernizing/digitizing their systems in the 1990s caused them to make very hasty decisions in the mid 2000s and 2010s (such as relying on advertising models created by Google/Facebook).
Probably because it’s cheaper to give them away than to keep repairing haphazardly designed vending machines. Maybe they should just make them like the snack vending machines.
It seems doubtful people are leaving California due to jobs, taxes, and public universities, but I would certainly believe it was due to cost of living. CA is the world's 5th largest economy, the universities are world-class, and most people are unwilling to give up their family, friends and life to establish something new simply to save a few percent on taxes.
I think one of the reasons for the meme is because there's so many monad tutorials. When a Haskeller is introduced to monads they'll run across all these monad tutorials with abstruse analogies for what a monad is. Is a monad a burrito? Or a space suit? Odds are that none of these analogies will make much sense and the programmer will have to figure out on their own, what is the deal with monads after all. At some point they might have an epiphany; monads are the sort of idea that is actually pretty neat when it "clicks". They will feel compelled to write a monad tutorial, and thus history repeats itself.
if you are using stripe, you can use getrevin.com to manage your sales tax. An MoR but you get access to a stripe account and all their partners too.
Boxes, my kids loved boxes! Often more than they toy that came in them.
Plus brown boxes can be anything, encourage them draw on them, make fairy castles, forts, houses, spaceships. We took countless trips to the moon and planets with my kids in a box. Add in a few blankets and the possibilities are endless!
Kerbal Space Program!

https://xkcd.com/1356/
Oh, but one generally wants an "acceptable difference" only when the numbers compared are close enough to zero, otherwise the "acceptable relative difference" should be used instead, right?
It's both sad and just that they are (almost always) wrong.
>Look at this ring doorbell video of this person that was trying my doorknob at 3am! Our car was stolen at 5am!

Both of those seem relevant to me if they're in my neighborhood or nearby. Crime is low where I live but when it happens, it tends to happen in sprees when one person or a small group of people get away with one thing and suddenly decide they can get away with it repeatedly. If there's a pattern of activity going on, I'd like to know about.
That's people.
> Windows 95 ran in 8 GB of RAM. (Well, officially 4 GB for marketing purposes, but no one thought that was actually enough.) I would be really impressed to see a graphical Linux environment that could run in that amount of RAM.

Huh? Windows 95, IIRC, will _refuse to even boot_ if you have more than 480Mb of RAM, let alone 4Gb.

Most machines of the time had 4Mb of RAM. Something seriously powerful had 16Mb.

As for running a modern 32bit Linux on something with minimal hardware... The creator of "uARM" [0] says that it's useable, and it uses a "30-pin 16MB SIMM" piece of RAM. But honestly, the speed of the RAM is more important than the size, for that project.

[0] https://dmitry.gr/index.php?r=05.Projects&proj=07.%20Linux%2...
I was going to say Elixir, thanks for mentioning it.

I'll also add that Haskell, Clojure, and other functional languages will help you think in an entirely new way to program. Python or Ruby are also less mind-expanding, but was a nice change of pace for me at least from my C# day job.

Learning window functions and more advanced bits of SQL that an ORM doesn't give you for free can also be a fun time, along with getting deeper into what indexes can really do.
"Category

A category in category theory is a collection of objects and morphisms between them. In programming, typically types act as the objects and functions as morphisms."

Much clearer now...
"You can post obviously absurd scores" does not logically lead to the conclusion "therefore none of the scores can be trusted."
> can later be called in the wrong order

I'm thankful I'm not the only one with this critique. I see this so often and it makes navigating and/or debugging the code a nightmare, while I hop around these tiny single use methods. A long function I can read top to bottom is a lot easier to grok!
I fear the spring in the stapler won’t be strong enough, but try this: open stapler, remove staples, pour in ground coffee, press tight, close stapler.

Now, every press of the stapler will dispense one staple-size of coffee. Only 100+ presses for a cup of coffee :-)

For sugar, pour in a saturated sugar solution and let it dry.

You could also 3D-print sugar staples with saturated sugar water. That might have a slightly better chance of working.
This doesn’t seem like a bad idea, although I would probably consult a developmental expert about the abandonment, but the noise should be fine.
Advantage over what? The idea that RISC is somehow simpler went the way of the dinosaur 30 years ago. The ISA does not define performance, that is the microarchitecture, which is where all of the engineering effort is spent. You can have the classic ISA of the Turing Machine that we all learned about in comp-sci 101 classes: "Load/Store/Add/Compare/Jump" and it would be simple but dog-ass slow. Not to mention open to all sorts of attacks and exploits (buffer overflows, stack smashing), and meta attacks (side-channel), or Goedels incompleteness. The uarch is where the action happens.
Amazon. I still buy mp3s off Amazon to play on Winamp.
price per KG (less any sale) is about double that what you paid.

and buying at small quantities can be even double that.

if you were comparing price of mcdonalds chicken burger to a plainish chicken breast, the 2 arent the same at all, which the previous poster was commenting on.

to turn that raw chicken breast to something close to McDs chicken burger requires quite a bit of time and additional ingredients.

on the fries, i agree. you can buy a KG of shoestring fries for 2-3$, with some salt are the same as mcd fries for the most part

if doing a raw ingredient comparison, buying at scale of 1KG is definitely cheaper.
I’d say to question those assumptions. Open source software exists but the congenital wisdom that engineers would never do work for free.

You’d be surprised what people will volunteer for. Some people are already attending those things and perhaps they’d be willing to report back.
Please, read the question.

It stipulates that elements are selected at random.

You select k integers at random.

Some of them might be inserted faster into linked list, but when you average it over k integers you will still be slower because inserting into array will be faster, on average.

Just think what happens if the integer is inserted at the END of the list (same probability...) You need to slowly iterate over entire linked list. While you quickly land at the result with a binary search on an array and then pay almost no cost inserting it there.

If you think about it, ON AVERAGE, you have to search through half of the list (if you are linked list) or move half of the array (if you are an array).
I think it goes beyond LLVM, it's software in general. 20 years ago, software was locked into a particular architecture because proprietary compilers and binary blobs were the norm, and vendors still ruled their platforms with an iron fist. But nowadays, open source libraries and compilers are a lot more standard, and a lot of hardware/software is cross-platform so switching is easier. Linux is mainstream and gives you support for dozens of architectures for free.

Also, CPU technology (outside of tiny embedded chips) is a lot more uniform with fewer weird variations or cost-cutting shortcuts, and transistors are ridiculously cheap. You can assume 32/64-bit, little-endian, twos-complement math, IEEE-754 floats, etc.
This is exactly backwards. If you accept some amount of civil disobedience is justifiable then you can't very well go and say anyone "infringing copyright" is "disreputable."

I said "some amount" and you don't disagree. We're not discussing what that precise amount is or how it should be targeted, that's a different discussion and can be framed in multiple, competing ways.

Feel free to lay out what you think is the correct amount and correctly targeted but even if you are wildly wrong in your thoughts, your being wrong doesn't make anyone else with differing thoughts about that amount and targeting disreputable, even if they are for some other reason.

There is a legitimate argument that the law should always be followed and any law-breaking is inherently disreputable. It's not my argument although I acknowledge it and isn't fashionable nowadays given how that must be applied to, for example, the civil rights movement & Dr King.
You can get a lot of mileage out of functional programming as a style without using a functional programming language, and you can do it in (almost) any other language, the big one: avoid side effects to functions as much as possible. That alone can make all the difference between a maintainable, refactorable and testable codebase compared to one that has side effects all over the place. If that's all you get out of it that's profit.
That's self-taught for you. Will know some advanced stuff, and miss some basics depending on what they found interesting or useful.
Is that last paragraph actually a thing? Yikes! That sounds like the kind of advice one would give if they've only ever dealt with toy problems.
Definitely not in my experience. I usually check both, and it's a toss-up which one will be cheaper or faster.
> Having a 7 year old kid, I'm outraged at reading this. There is no single benefit to individuals or society from apps like these, they hijack our brain on the lowest level and makes us junk content feeding zombies.

Personally as a patent I think this is the same kind of refusal to accept responsibility that had my generations parents claim video games where all just horrible and brain melting, the generation before claiming that TV was rotting the minds of the youth and the generation before that yelling a young ones for listening to the devils rock music on the radio, then the generation before that proclaiming that books where destroying the mindset of the youth.

Yes, there is bad content everywhere, but your job as a parent is to help guide your kids to listening to the right radio channels, reading the right books, filtering good from bad tv, and helping them navigate social media as well as things like Tiktok.

My niece watches tiktok dances and likes videoing herself repeating them and sharing those videos with her friends. That seems no more brain hijacking than my brother who in his youth used to record himself playing cover songs of songs he’s hear on MTV and sharing that with his friends. For him that launched a life long passion for music and for her it might be the start of a passion for dance.
It’s understandable to want to protect children, but you also have to realize that you might end up being the parent who “protected” the next would-be Ed Sheeran from “the dangers of pop music” or the equivalent for the next generation all because you refused to see the world through their eyes.

Full disclosure, I’m quite fond of TikTok myself, following primarily Gardning TikTok’s these days. I don’t think it’s hijacked my mind, but my garden has had the benefit of others sharing their creativity and knowledge.
>Not everyone can be right. Without the media to tell people that they are right, how else will they know?

Not every media corporation can be right.
This has happened to me numerous times based on prejudices people have about other countries or regions. But the funniest thing is that it even happens when you travel from one small town to the next small town, as has been parodied in comedies from The Simpsons to Corner Gas. I think it's a fairly basic fear to see places you don't visit often as threatening. For some reason it doesn't seem to be quelled by the easily verifiable fact that plenty of people live perfectly adequate lives in the other place.
Curiously I have had quite the opposite experience with them when trying to get a complaint resolved. I ordered a chicken nugget meal, but was delivered a (chicken nugget) box full of gherkins. Eventually I gave up chasing them as it really wasn't worth my time anymore.
Based on the fact that newspaper businesses had many, many decades to come up with a better machine, I would assume the cost of developing this machine is not worth it.
> full Linux desktop

> The Core Project is a highly modular based system (...) It is not a complete desktop nor is all hardware completely supported. It represents only the core needed to boot into a very minimal X desktop typically with wired internet access.

That is not a full desktop, and the [The Core] project doesn't say it is.

That being said the concept of "full desktop" is somewhat loaded. Today we have a somewhat unreasonable expectation that at least one, but sometimes several browsers, office suites, multimedia viewers and editors to be a "basic desktop".

Back in the 90's people did not expect the computer to come with any such software applications built-in.
tinycore and microcore were real saviors for me back in my dcops days. insanely useful back when someone needed a quick linux box with serial capabilities. prob less useful now a days with things like console kvm being everywhere.
Yes but the market is kind of poor right now. You'll need to have good numbers to attract any kind of attention.
If it breaks. If you have an outage because of weird K8s networking issues (and I've seen them) you'll suddenly care very much.
Next novelty perhaps. Real sports are things people do. Is anyone able to train for sports in space? Can kids do it in their back yard?
Just to add to that, the driver could also have failed to accurately judge the motorcycle's speed. Motorcycle's being so skinny and relatively uncommon makes drivers perceive them as going slower than they are and being farther away than they are.

It's one of the many reasons speeding is so dangerous on a motorcycle, the driver might see you but still think they have a gap because their perception of speed is all wrong. It's much safer to go the speed a car would be going so that you align with what the driver expects to see day to day.
Also, painters' tape. Comes off without staining or damaging things.

(Although, this is more for kids who are 3+, than newborns, of course.)
GP poster is correct.

Instead of talking about propaganda, you should go check the sources you're telling other people to check.

South Korean energy does cost circles around subsidized wind and solar, and doesn't need ridiculous battery infrastructure.

Gen-3 PWR nuclear is, in reality, by far the cheapest form of power on Earth, and you'll never find any hard evidence from respectable sources saying otherwise. (Probably that's why you're poisoning the water with claims of lobbies and bingo cards.)

.

> There's risks that don't show up in neat, averaged numbers

No, there aren't. Nuclear has killed fewer people all of in history than any other form of power generation in its worst month. Almost no industry in human history, power generating or otherwise, has a human death safety record anywhere near as good as nuclear power's. (I can't think of a single specific counter-example. Can you?)

The worst nuclear disaster in history, Kyshtym, which most people have never even heard of, didn't kill as many people as a bad bus accident.

Please bring hard evidence with your next set of claims. No, I don't mean estimates from the 80s by non-doctors that never panned out.

.

> think Russia shelling a nuclear plant in 2022

Zero deaths. You wouldn't expect that from other forms of power plant being shelled.

Your examples work against you.

There's a reason why when we talk about deaths from other forms of power we talk about actual deaths, but when we talk about deaths from nuclear power, we talk about risk that hasn't occurred and what might maybe happen someday

If you look at the numbers, and say "yes, but in my imagination," then you're doing the wrong thing

You say "check your sources" but you haven't actually done that yourself, yet

You talk about "advertising from nuclear lobbies" but nuclear fans' sources tend to be the government
Exploring Common Algebraic Data Types Used in Functional Programming
I would imagine that any implementation of x86 would have to bear the weight of reverse-compatibility. With reverse comparability, the bad design decisions just compound, for example complicated stuff like memory synchronization https://youtu.be/KeLBd2EJLOU?t=2956
two directional links is not the same as "bidirectional" links

What happens if I create a site which links to every other site on the internet? Should my site rank highly? Probably not

To do well with PageRank, you want to be a site which many others link to. It does not matter how many you link to. Direction of links matters
Floats can be compared for equality, they're a pattern of bits in memory after all. operator== can be defined for floats.

Using it on the results of floating point arithmetic may be a bad idea, but that's a different matter. That should perhaps be a compiler or linter warning, rather than flat out be declared incorrect.
I remember working with a client in the last 5 years that demanded a Kubernetes cluster to run custom analytics on very fast incoming data streams (several GB per hour). By "custom analytics" I mean, python scripts that loaded a day's worth of data, computed something, wrote the results to disk, and quit.

During development of the scripts, the developers/data scientists wrote and tested everything outside of the cluster since they were simple scripts. They had no problem grinding through a day's worth of data in their testing. But going into prod, had to shove it into the cluster. So now we had to maintain the scripts AND the fscking cluster.

Why?

"What if the data volume increases or we need to run lots of analytics at once?"

"You'll still be dominated by I/O overhead and your expected rate of growth in data volume is <3% per year. You can just move to faster disks to more than keep up. Also there's some indexing techniques that would help..."

Nope, had to have the cluster. So we had the cluster. At the expense of 10x the hardware, another rack of equipment, a networking guy, and a dedicated cluster admin (with associated service contracts from a support vendor). It literally all ran fine on a single system with lots of RAM and SSDs -- which we proved by replicating all of the tasks the cluster was doing.

Argh...
Capitalism is about channeling all of the energy, resources, and effort of the most ambitious people into trying to solve other people’s problems. You win if you solve other people’s problems with some excellent combination of quality and price.

The most ambitious people used to be conquerors, trying to force humanity into subjugation to rule as much as possible.

Now, the most ambitious people do everything they can to solve problems, as that is how you gain the most resources and personal wealth.

The end result is the capitalists that win, win big. But to me this is far superior than the alternative.

The “dice rolling” process you feel is random can be studied and optimized to increase your chances of success, either with better targeting or with more dice rolls. This is the product development process and the risk involved is why creators of successful businesses deserve huge rewards.
The Riddle That Seems Impossible Even If You Know the Answer [video]
"The cell probe complexity of succinct data structures"

[PDF]: https://www.brics.dk/RS/03/44/BRICS-RS-03-44.pdf

"Sven Skyum’s Algorithm for
Computing the Smallest Enclosing Circle"

[PDF]: https://cs.au.dk/~gerth/slides/sven14.pdf
I think there are a couple interesting angles on this.

The two websites I linked above are donation based, and both are growing. I think this is a reasonably viable model for larger metropolitan neighborhoods and wealthier suburbs. Although frankly, I'd like to find a way to spread local news to all parts of the country.

The second angle would be some sort of aggregation play around local desires (e.g. a riff on Ben Thompson and Aggregator Theory). Google/Facebook allow you to target ads by geography and interest, which obviously eviscerates a lot of local ad revenue. But could there be another way to bundle & slice interests plus content? For example, you do local, irl interest (cycling clubs? garden walks?). Or perhaps you do an emphasize on privacy + irl experience? I don't have a great idea here (yet?) - but I refuse to believe there isn't something.
We'll see but I'm very skeptical. The Ouya was a catastrophic and massive failure, same with the NVIDIA Shield and the same is true for Steam Machines. Once again they are re-entering with the Steam Deck which is also another failure waiting to happen.

So why should I expect this to succeed? Maybe some companies just don't learn from their mistakes and will continue to repeat them.
Perfectly doable pretty much everywhere if in need, dont need to go to restroom, specially if its filthy (just take a bag and moist napkins - and tell f o to everyone who complains :) ). Its like breastfeeding - nothing to be ashamed, needs to be done - if no good place provided, find it yourself.
I can’t speak for the UK but 70+ percent of the US population lives in urban areas with over half living in the 48 largest regions. Therefore your conclusion that most individuals experience similar interactions with a “poor reputation singular island hospital” is factually incorrect.

Community hospitals can have very complex care and top talent, but not in cities with a singular hospital and island population.

Irrespective of geographic proximity, by your description this location appears to be a medical desert/medically remote. Most doctors, especially modern ones, don’t like practicing in places without a lot of other physicians for backup/support and somewhat easy access to subspecialists for referrals. Fortunately most hospitals and practice settings provide this (i.e. rural Wisconsin was UW-Madison for backup which is generally not that difficult for patient transport and is an excellent medical centre).

The issue here is not just local community hospital providing poor care. You’re taking about a very isolated practice that no one wants to work in, this is an outlier.
Is there an easy way to run a single app through a VPN?