skysight-inc/HackerNews huggingface dataset:
LiveBook is similar to goals to Jupyter Notebooks. This piggybacks off the work being done with the Nx project which is implementing ML in Elixir: https://github.com/elixir-nx/nx
> Why? Most people will never have even heard of, much less care, about Loki or Norse mythology in any context until Marvel

:-o

For one datapoint, when I grew up in England, you'd learn about the Greek Myths and the Norse Myths in school.

I was an adult before I ever heard of the Marvel comics.
Critics of the current US administration have been labeled as white supremacists and terrorists. Many of them are currently held in solitary confinement. Most are held on the misdemeanor of trespassing in the Capitol Building.

>"...was beaten by a prison guard and left with permanent eye damage."

https://www.washingtonpost.com/nation/2021/05/13/capitol-rio...

https://www.politico.com/news/2021/04/19/capitol-riot-defend...

That's the current climate surrounding a single politically charged incident. There's a long history of abuse, from the COINTEL program, extraordinary rendition, torture and current events. Yes, we should absolutely be concerned - regardless of the partisan takes.

>"...Arar protested that he only had a casual relationship with Almalki, having once worked with Almalki's brother at an Ottawa high-tech firm..."

https://en.wikipedia.org/wiki/Maher_Arar

https://en.wikipedia.org/wiki/COINTELPRO
How do I even do research anymore?
average -> advantage
I’ve come to learn that creating the appearance of hustle while actually not doing that much work is the route to go. You have to be a ruthless self-promoter for it to be effective but it’s easy to just pretend to be busy all the time and talk up the very few things you do achieve. I’ve built a 20-year career from this, so I don’t believe it has a limited runway. I plan on riding this lazy train all the way to an exec role (director now so I don’t actually do much other than delegate anyway).

The whole thing is a fucking scam in the end. Hard work doesn’t pay off — pretty much every working-class person works 10x harder than me for 1/10 of the pay. The lazy person who can bullshit really well is always going to make more and burn out less.
As someone on the other side of this, I'm sympathetic and genuinely do try to debug problems, but, off the top of my head,

a) I don't actually have the same level of access to our cluster as our users do. There are datasets and even programs with contractual limitations on who can access it. So if you tell me "My job isn't working," I can't run it myself and see what's wrong; you need to send me the error message. Just like with software, if you can get me a minimal, self-contained example (especially one I can run myself), I can try to figure out why it's breaking, but I can't necessarily minimize your code.

b) Somewhat by definition (a system with "sysadmins" necessarily has enough users to justify paying us), there are a whole lot of other users who don't have whatever problem you have. (We notice very quickly if a problem is affecting everyone.) So chances are high that the answer is "You're holding it wrong" instead of "The tool is broken." Yes, a lot of the time that's bad documentation or bad error messages, which we can and should fix, but the common answer to those questions in practice is your teammate shows you how to hold the tool. The point of a sysadmin is to take advantage of economies of scale; it doesn't scale for us to debug everyone's problems. (And there's a very real sense where time spent helping an individual user is time not spent writing docs or improving error messages.)

I think these problems ought to be solvable, and I'm curious what we (culturally) can do to make this better.

At the somewhat deep technical level, I've been sort of wondering about the nature of errors. Some errors - e.g., statting a file that doesn't exist - are fairly common in working software. Others - e.g., statting a file that you don't have permissions to - ought to be pretty rare. Suppose we had a kernel that could distinguish those, somehow, and sample backtraces or error contexts in some fashion. Would that help us identify problems like this faster, and narrow down quicker on the fact that the system actually isn't working right?
If you append an extra period after .com, so `.com./`, it'll work. This trick works on a number of sites, though not all.
You cant remove google play in andtoid versions beyond 6 i believe.

You can only disable it
You mentioned $1000. $1500 is impressive, but is there a follow-up?
I just need a cremation and a modestly priced receptical.

Or a ensure a Ralphs is nearby.
You do make a good point. It makes me think of the occasional video of a registered nurse standing in front of a City Council saying things like vaccines cause Autism, or the COVID-19 vaccine has tracking chips in it.

Seeing that makes me think that they should lose their license, which goes against the feeling I feel in this engineers case.

That makes me worry that I'm making my decision based on if I think what they're saying is correct or not, not if they should have the right to say it.
The majority of people from a polygon drawn to ensure his victory.
> I'm not sure I believe all these 0.0% usage stats for all mildly old versions. I lent my spare Android 2.2 phone to someone just a couple months ago.

A quick Google search suggests there's about 2.5 billion android users. 0.05% of those users (i.e. a rounding error) is still 1.25 million users, so plenty of room for people to still be using old versions but not show up in proportional usage estimates.
Sure, but why eat into that belovedness if they don't have to?
Correct would be lex mala, lex nulla (omit one L).
That does sound interesting!

It always seemed odd to me that my whole machine pays the cost for spectre mitigation when the only processes that need it (to me) are JavaScript vms in the browser.

Even my electron apps don't need it, they have access to the filesystem which is far better than any spectre attack.

You should have a syscall to opt into spectre protections. Like "I run untrusted code". Then the OS scheduler can treat it differently, keep the hyperthread only for other untrusted processes like that, flush the cache when scheduling something else on that core, etc.
This fantastic comment accurately captures the feel of the CBC in the ‘70s and early ‘80s, when I was a small child. We had one channel growing up in the north, logically called CBC North, and I always wondered if anyone actually picked up the phone to contact the Canadian Wildlife Service to talk about beavers.
Who chaos monkeys the chaos monkey?
> particularly as people finally attempt to mitigate the waste of moving to 64-bit by using tagged pointers

It's very fraught to try to "mitigate the waste" at the top of the pointer. Everybody involved is clear that what you're doing there is saving up pain for yourself because periodically more of those "wasted" bits become significant and each time that happens if you've been using them now you've incurred a maintenance burden.

The waste at the bottom of the pointer is a far more sensible place to hide information because it won't get taken away when somebody ships a new CPU, it was already there in 32-bit architectures.

LLVM itself makes use of the latter trick extensively as I understand it, but doesn't use the former. If they've got a 64-byte structure, they can align them, then steal six bits at the bottom of each pointer to those structures for bit flags, and when Intel ships a new CPU their code still works. Whereas if I steal ten bits at the top of the pointer, when Intel ships Ice Lake CPUs my compiler now crashes. Good luck debugging that!
I don't have macOS 15 beta yet, but I'm running the Safari Technology Preview now on Big Sur which has most (all?) of the new UI changes.

I love pretty much everything about it. It looks gorgeous. Tab Groups are incredible. The "address bar is in the tab" concept does take some getting used to and that's likely the area they'll tweak the most over the next few months. But overall, huge step forward in my book. Can't wait to get it on my iPad as well.
> Why is pip freeze not 100%?

You mean not 100% fool proof?

It is, but with the strategy above a new lock file will get generated if the requirements.txt file is newer than the lock file, so if you change 1 dependency you might get newer unexpected dependencies. This is just the limitation of how pip works without building a whole new layer of dependency tracking in (which I guess is why Poetry and similar tools exists). Fortunately in practice I'm happy with the pip solution because it's a few line shell script and hasn't been a problem yet. The important part of having the lock file is there for reproduceable builds today and in the future.
They tested dexamethasone in a good standard study and found it to be effective. It's a cheap drug just like Ivermectin.
Have you tried the official Nintendo troubleshooting steps?

https://en-americas-support.nintendo.com/app/answers/detail/...
Wow. I hadn't thought of it this way, and I even go as far as using a second monitor in portrait mode.
The efforts to make text-based AI less racist and terrible
This post makes a lot of good points, which I agree with strongly. However:

> In other words, what a browser needs is horizontal breathing room, instead we have Apple doing things backwards

I disagree with this in general. Which I'm sure is the general opinion of browser developers. We often add extra whitespace to the horizontal margin to assist reading.

I think the issue is that we are so used to toolbars on the top of the window, we don't know how to squish it all in there.
My theory on tech acceptance is that it's not good enough to be an improvement.

To gain traction and acceptance, the offering must be several times better.

Marketing also counts.

Hence the lingering demise of python2.7: python3 didn't offer sufficient sizzle until ~3.6 or so.
I am all for people finding the minimum sufficient amount of testing to get the quality they want. And I agree that if one's project is amenable to strong typing, that's a better place to put some concerns than unit tests. I also agree that people newer to testing things tend to ritualistically over-test in ways that feel complete to them but don't really advance quality.

That said, my solution to that isn't to not test, it's to start with broad, high-level tests that make sure the whole thing works together. Then I add automated tests whenever I get bugs, whenever I find myself manually testing something to make sure it works, and whenever tests would have documentary value.

For those edge-of-system things, if you haven't tried it you might consider abstracting them out. E.g., with SQL persistence I might end up with an abstract Store and implementations of InMemoryStore and DatabaseStore. The fast version of the tests uses the former and I run it all the time when testing. The slow version uses the latter and it gets run less often. That can get rid of a lot of essentially duplicative testing while still giving a fast feedback loop.
Coober Pedy, the Australian mining town where residents live underground (2020)
Carl Malamud's 10 Rules for Radicals
After all, why shouldn't each generation choose how it is to govern itself? Sins of the Fathers and so on...
Yep. It seems to occasionally add keyboard layouts if your region, language, and keyboard layout are different. Not handy if you live abroad. The new UI assumes it's more clever than the user.
It is not. But you can buy a cheap lifetime family account for Adguard on stacksocial for $20/$29. (not affiliated, but extremely happy user, been using it for years)
Show HN: A machine that detects when you text and drive then shocks you [video]
While cats mostly do just meow (as much as you can say a dog mostly just barks)... my cats definitely do have variances to their meow depending on their needs or wants.

When we stayed in an RV while the house was being built, I had to put my fat boy Percy into the shower stall with the doors closed while the dogs ate otherwise he would annoy them (with headbutts) into not wanting to eat. He developed a habit of going into the stall on his own and meowing when he wanted to be fed because we always put him into the shower when food would appear for the dogs.

Even in the new house, he jumps into the tub and meows the same way when he wants to be fed.

He meows a different way when he sits at the gate or at the top of the stairs, as if for permission to interact. If you don't acknowledge him, he won't hop the babygate or come down the stairs. If you do respond, he trills a happy chirp and trots along.

He developed a whine meow where he basically is saying "I need attention now." Most recently he did it because a towel fell into his water bowl and he couldn't drink out of it.

That counts as 'food, water, walk' to me.

Oskar also has various different behaviors associated with meow types for things that get him the response that he wants. But both cats are Sphynxes and they are unusually talky... I doubt I would have gotten as much from other breeds. But they do clearly communicate what they want from you once they find a way to get that to come across.
Also very good points. The WHO in particular should face heavy criticism for their early handling (or non-handling) of the COVID-19 pandemic. Pretty much everything they said for the first 3 months was about as wrong and harmful as it was possible to be, and seemed entirely driven by political rather than health considerations.

The dietary advice thing is mental the deeper you look into it, too. Breakfast is the most important meal of the day! Wait, it was Kelloggs saying that. More than two eggs a day will make you die of heart disease? Apparently not any more. Was that dodgy advice from the pork board or did Big Egg just buy off the right people? Fat is bad for you and makes you fat, says CSR. Actually sugar makes you fat AND causes cancer, but dietary fat is fine, says Brownes Dairy.
Credentialism lifts up and empowers the mediocre while cutting off discussion. This results in sclerotic professions and oversight authorities which cannot adapt to changing conditions, usually causing far more and worse long-term damage than any short-term issues they prevent. I can only speak for the US, but look around — this is a real issue in medicine, law, and most anywhere you look, and the problem has been accelerated by the sheer number of college/grad degrees given out like candy the last 20 years.
...until you need to use a Conda library, or until a transitive dependency suddenly breaks everything

https://github.com/pypa/pip/issues/9204
On the other hand, that reduces the remaining causes of death to gruesome physical accidents. Knowing that given even time, probability will win, it could make death a very scary thing to think about.

I suppose there is some comfort knowing I'll probably die at age 90 or so.
I think there’s a simpler explanation - the majority of people around the world believe in a soul / an afterlife.

This was a useful belief for humans to develop when there was nothing we could do about death, but now it actively inhibits progress.
“Close browser tab” - immediately exits a Google Meet.

Closing a Zoom/Webex meeting, who knows since it’s still running in the background.

I also like meetings sandboxed in a browser so weird things like “automatically take control of your screen and maximize window” doesn’t happen when someone in a Zoom meeting starts sharing their screen.

Even at the expense of more CPU.
EventBus 3.1 with plain Java support
Tangental, but I wasn't aware of a ban on hobby radio activity during WW2 until I read this article. What would be the reasoning for that?
> only on confirmed infection does the person's phone upload its last two weeks of broadcast IDs to the cloud

Alternatively phrased: “only upon government request does the person’s phone upload…” with the implied promise that such request will only come as a result of a CV-19+ test result.
How to Test S3 in Python (2020)
The uk has a lot of these when it comes to speech and there are some fantastic examples
> Jeez, anyone could buy a security camera that recorded on a loop for a few hundred.

It probably isn't that easy, at least for the runways. Remember that Uber crash where they tried to convince everyone that the cyclist was near impossible to see? The dash cam used to record that video was standard, but also completely unable to handle even a well lit road at night. Good cameras and the weather proofing they need out in the open (they should still work after a snow storm) will cost a lot more, probably not infeasible but still a decent amount of cash.
I actually have a separate iMac and MacBook in my office for now. That may change when I do an Apple Silicon upgrade.

I just have a Chromebook downstairs but that's all I need 90% of the time.
Just because it's rooted by 1 or 20 companies it's not reason to open it up to any random person on the internet.
It's an open source project. Someone else will pick up the baton.
Macports is great and better than homebrew. But it’s an add on, with no (official) support from Apple. Apt is first party, WSL is first party. Debian and Microsoft won’t make breaking changes intentionally that impact those systems. This happens regularly with homebrew and Apple. (Macports having a more independent universe in /opt and being less vulnerable to breakage is partly why I prefer it. Although it still takes a dependency on Xcode cli tools last I looked.)
> However I think, but don’t have data to confirm it, that they should be catered for and that “those that open 35 tabs” are a vocal minority.

This is the first time I’ve ever even considered the possibility that someone is capable of using a browser with only one or a few tabs open at a time. Don’t get me wrong, I’m sure they exist, but having a million tabs open is so ingrained in how I consume information on the internet I suppose I kind of forgot it’s possible to do it any other way.

It makes me wonder if I’ve ever had only one tab or window open at a time? Maybe in the 90s? I don’t remember AOL having “tabs” the way browsers do now but I think you could have multiple windows open.
> During a congressional hearing last week, Republican Representative Louie Gohmert of Texas asked a U.S. Forest Service official if her organization or the Bureau of Land Management could change the orbit of the moon or Earth to reverse the effects of human-caused climate change. ...

Given the political affiliation and lack of context for the questioning, my assumption was that Gohmert was trying to point out how ridiculous it is to think that people can act on a scale large enough to affect the planet. This applies both ways: to create climate change or to reverse its effects.

The man may indeed be dumb as a bag of rocks, but without some more context to this exchange there's no way to know.
Love the updates to Safari. Glad to see Apple aggressively trying to improve the core UX of what a browser is instead of just shoving extensions and ads in.

More of this please, Apple!
In Firefox, I use windows for different categories of subject/use case. I use the Titler extension to label the windows.
Is there an example for self-hosting LiveBook for collaboration?
> the cold hard facts of living in the western world is that most people would need to spend irresponsibly to use MacOS regularly.

A $900 MacBook Air would probably have lasted far longer and needed less time troubleshooting than a $500 computer made with subpar components. The amortized costs are far lower with Apple products (or other products using higher quality components) compared to buying the cheapest devices made with the lowest quality components, so there is no point in comparing the two.

And most people only need 1 computer, if that. I would actually bet most people can do everything they need to with iOS and an iPad would suffice. And other than the smaller screen size, I can see people make do with an iPhone even, especially if all you are doing is consuming.
>> Is there any way of knowing if a certain type of program is patented?

If you've a seen similar thing pre-existing, chances are that it may be someone's intellectual property, and which then should be respected.

In this particular example, Wikipedia page on photographic mosaics [1] itself has a section on IP aspects of the same [2].

>> How can a developer protect themselves from publishing patented software?

The best approach is to respect the prior art and properly license the same as needed.

At times, a developer may have strong reasons to believe that the related prior patents are either not infringed or are invalid. In this case they should be ready to be challenged.

[1] https://en.wikipedia.org/wiki/Photographic_mosaic

[2] https://en.wikipedia.org/wiki/Photographic_mosaic#Trademark_...
I guess Conda has its audience, but I would scoff at using anything absolutely requiring it.
And I can't wait for flying cars.
We (the US) are currently in a debate about banning the teaching of “critical race theory” in schools.

Many history text textbooks downplay slavery to such an extent that most high-school graduates think the Civil War was about “states rights” when it was really about several states committing treason in defense of slavery.

The genocide and ongoing mistreatment of Native Peoples is barely covered.

In some states, teachers are required to sign documents saying they don’t support the BDS (boycott, divest, sanction) movement against Israel.

But please, do go on about free speech.
Sam Parr – The Hustle of building a million-dollar content business
Go play fortnite
25% of car accidents in the US are caused by texting and driving. Although I think the “real solution” is self driving cars or some other great technology, I wanted to run an experiment where, every time you look down to text and drive, you get shocked.

The video explains some of the technical details and you get to see the hilarious experiment I ran but I'll highlight a few other key points.

- I thought a lot about different ways to detect when I look down. Originally this was just a solution for pausing the TV when I look down to eat so I don’t miss my show (lol), so I thought about using a camera to track my eyes. I started to go down this path but quickly aborted to avoid high costs and an over engineered solution.

- I eventually used the MetaMotionC sensor from Mbientlab which has an accelerator and gyroscope, among other things (more info here: https://mbientlab.com/store/metamotionc/). Their documentation wasn’t great so it took some time to get the sensor working with the Raspberry Pi. The sensor clips onto my glasses, so it was pretty simple to tweak the sensitivity settings and change it from detecting when you eat food to when you look down to text.

- Out of curiosity, does anyone have other use cases for what this glasses sensor could be useful for?

- I thought about using the Pi to send a signal to the collar to trigger the shock. This seemed pretty daunting to reverse engineer. I know I’d need some sort of transmitter to send the signal, but how else might I go about reverse engineering it to send the correct signal to the collar? Any tools, tutorials, etc that people recommend I look into? Might be useful for a future project but for this one, I used a solenoid to press the button on the remote.

- Using a solenoid to press the TV remote/shock collar remote buttons was trivial for me since I recently built a robot that plays Guitar Hero (powered by solenoids). I had struggled and learned a lot in that project so there weren't any surprises this time around.

- The actual texting and driving experiment only took about 30 minutes to run. But making the device, setting up the driving course, filming, editing, etc, made this all take about 6-7 weeks. Similar to my Guitar Hero robot, it probably cost around $1,000 for everything (traffic cones are super expensive plus smaller costs like Raspberry Pi, shock collar, and misc tech parts).