skysight-inc/HackerNews huggingface dataset:
I use snap for some applications in spite of the trouble it has caused me. I was super-happy to find out that it had upgraded me to a not-vulnerable verson of chromium before I even knew to look.

For all of the (deserved) hate snap gets, there are some shining up sides.
> Without much real work, it’s easy to replace shell scripts with Python code. The revised code is easier to read and maintain, runs a little faster, and can have a proper unit test suite.

And give a wonderful syntax error.
Linux users are some of the most opinionated people. At the end of the day, money/convenience matters. Why exactly would they pay attention to you when they have their own priorities?

Snaps reduce reduce their maintenance burdens, and they have the stats themselves for how popular they are. They are by and far more used than flatpaks from what I remember from the video by Martin Wimpress.

Oh and they have third party buy-in from software vendors like Mozilla, Microsoft, VLC, JetBrains, Spotify, slack etc...

Why would they budge?
At this point we can say that against the two criteria of a spectrum from prototyping to heavy lifting and ease of embedding external high-performance libraries, Julia is simply better than Python. Julia does have two drawbacks of being tied to the one, rather heavy metal, implementation and lacking the wealth of libraries outside scientific computing.
That's too bad! Some cities are definitely more active in the public piano scene.
Check it's not just ADHD in disguise.
> I never ask a question for which I am not interested in the answer

Where I am, its common to say "how are you?" as a stand in for "hello", that is, without the expectation of an answer or even further conversation if you're just greeting someone in passing. Some time ago, I started making a point to actually respond and ask them how they are back, I often do this to cashiers in shops for example. For the most part, they seem to appreciate it. However, lately, I've been caught off guard a bit because there's one guy that works at my gym and he always greets me like that and out of habit, I stop, answer and ask him how he is, but he's not expecting further conversation since he was just expecting me to say "hi". Made for some awkward pauses until I adjusted my behavior to match his :)
Some people choose to stay as contractors.

My last team had one. Compared to the internal employees he earned more money, paid less tax, could work for multiple employers, could work from home 5 days a week instead of 1(pre-pandemic), and had more say over what projects he worked on. No way would he have agreed to join as an employee.
https://www.youtube.com/watch?v=Tk6ZdPdUxE8
I wrote a few browser based small apps at q.ht [1], in the hopes that once written and tested, I will never have to maintain that code or infrastructure.

While most of those tchotchke apps are still still functioning as designed, the PDF generator (that uses pdf.js) in Life-in-Weeks app [2] has somehow broken apart. It doesn't generate the PDFs like it used to.

Despite so much of care and effort put into making these decisions, to not have to maintain/upkeep the software, the utopia remains elusive.

[1]: http://q.ht
(served via Github Pages, see https://github.com/gurjeet/q.ht)

[2]: http://q.ht/life-in-weeks-on-one-sheet/
There was a meme image of Kim saying "I'm no longer the craziest dictator". I say let the man star in as many movies as he wants.
That's not a desktop.

That was on sale at Christmas.

That's the same price and performance as an M1 MacBook Air (slightly less actually under ideal circumstances).

It gets 75% the battery life of the M1 MacBook Air.

That has the same 2 year warranty in the EU.

It is currently not on sale for that price and is above 800 Euros -- Mac minis and MacBook Airs also go on sale for the same price.

The Portuguese guy still can't afford it, apparently.

I literally gave a link to a major Portuguese retailer in the contextual country with dozens of PCs listed. You gave a sale item in another country with a spec you prefer that has no bearing on the average consumer.

You are cherry picking badly.
This is 2x the size of a xiao/qtpy, has less stuff(?), and is more expensive. What are the advantages?

https://www.seeedstudio.com/XIAO-RP2040-v1-0-p-5026.html

https://www.adafruit.com/product/4900
Python is sufficiently readable, and with the right extension, it is sufficiently fast for vast majority of the purposes. For Julia to truly gain momentum, I think it needs a "killer app/library". However, I'm not sure what it would be that would not already be built for Python.

My personal killer app would be a significantly revamped plotting library/app. While matplotlib is great, it is fundamentally based on imaged-based plotting. The next generation of data visualization, imo, will likely be interactive. Having an interactive plotting library that allows you to produce publication-quality plots faster and simpler (think of all the time spent aligning text manually..) could be a big deal, but it could also not matter as no one else wants the same things I do.
Forced myself to look people in the eye when talking to them. Horrifying at first but now slightly less miserable.
Early stage startups founded by scientists? At least that's my use case.

- get more traction

- I'm less able to focus on the software and have to focus on business development

- I'm going to need to hire someone who is a competent programmer but can also deal with the mathy bits
"how to observe "normal, healthy" people and learn from them."

Very true! I would go as far as emulating a person you admire due to their ability to interact with others. Deconstruct their interaction and look for the parts that can help you. One thing you will mostly notice is self confidence. People always feel good with people that project that. Make sure it's confidence not arrogance. It's a fine line.
> The “Billionaire Minimum Income Tax” plan under President Biden would establish a 20 percent minimum tax rate on all American households worth more than $100 million

I appreciate the idea of making billionaires pay an effective tax rate that is similar to that paid by everyone else, but I think the amount needs to be viewed as a percentage of wealth and not just of income.

For example, the median US household has a net worth of $120k and pays about $10k in taxes per year, which would be equivalent to a wealth tax of 8%. Such a wealth tax (for households worth more than $100m) would be fair in the sense of what the tax burden feels like, not taking into account the diminishing marginal utility of wealth, i.e. not being "progressive" taxation.
What you're asking for will probably put you more at risk than V8 does:

1) JavaScript engines with any kind of usable performance are inherently complex

2) V8 is hardened, battle-tested and fuzzed/verified by the best engineers at Google and indepentently by third party researchers, since inception - the engine you will be using probably won't be

All of this is really a side-effect of Chrome's popularity and Google's resources, even the CVE itself. You would be relying on security by obscurity(in which obscurity = no big userbase = not a high value target). Have a look at payouts for RCE-capable V8 bugs.
That might be right for side-project in the beginning but what happens when they grow and thousands or even millions use them? There might come a point when you have too much work and not enough time to fix the bugs or develop new feature requests.
AFAIU this is pretty much what they are saying. The gravitational field of the black hole is not as simple as we thought it would be (i.e. it cannot be fully described by just a few numbers like mass, angular momentum and charge) and it carries information about the original matter that formed the BH. This information then manages to "escape" along with the Hawking radition as the gravitational field influences the emission of said radiation.
The site you linked is affiliated with vegan causes, is it not? Just because the sources are from those institutions does not mean they aren't cherry picked for that specific cause. I can also quote journals with conclusions justifying omnivorous consumption as well [0] but those would be just as cherry picked.

[0] https://sapienjournal.org/people-who-eat-meat-experience-low...
"His wife had to create a support ticket". Jesus. I can't imagine my own family being able to even FIND how to create a ticket to alert my company.

Thanks for sharing the story. RIP Pete.
HP48 was my first HP calculator too, but over the years I realized I like 42 more. 48 was great back in the day, but nowadays I don’t need to use it for more complicated stuff - and for simpler things 42 is just more convenient.
Can't imagine he was the first person to use this technique. I'd assume any game written from the point where it was reasonable to continually redraw the screen instead of using incremental repainting would've used such a technique, because it's simply the easiest way to implement random ad-hoc GUIs if you don't have a widget toolkit underneath you (and possibly even if you do).
I guess the main thing is not so much to move off gmail or that protonmail is better, but to not have your email be dependent on Gmail.

Ie dont be joe.bloggs@gmail.com or have anything important tied to that account but rather have a Joe@bloggs.com email that you can use with any provider ... But most importantly move to a new provider in the event of problems without losing access to any of your 3rd party accounts tied to your email
To me, "small talk" is mundane chit-chat that you do mostly to be polite or to break the ice. "Hi <neighbour>, weathers been awfully cold lately hasn't it? Yes, can't wait till summer. Did you watch the game yesterday? Anyway catch you later!" kind of things.
That's a good point,

The thing is, self-driving trucks seem more plausible as something technologically viable compared to self-driving passenger cars. I've heard proposals to have loading docks directly off major highways, so the only driving the things would need to do would on highways (and even in special lanes). At the same time, I wonder what the advantage of this over just trains would be.
> The web has by a long shot the richest ecosystem for UI development.

Sure: Rich in crap.
Thanks for the feedback. I get the confusion. If you searched for your town and only see "likely not available" there is likely none available and the "recent" would just be empty. I didn't make "recent" localized for that reason - for 90% of cities it will just be empty because there are only a few dozen new pianos each week. Instead of doing this I had "recent" show all recent so users can get an idea of how active the public piano scene is as a whole. In the summer there is up to 80 pianos a week, and the winter much less.
For me, a little alcohol helps a bit, but if I have too much I end up talking plenty - but it's absolute bollocks that just makes me seem even weirder... :(
‘Tis more blessed to give than to receive.

Means you’re preventing someone from obtaining a blessing if you don’t take their gift. And by definition, it’s less blessed to receive than to give. But if everyone only gives, no one receives, grinds to a halt.

Metrics on virtue make things so difficult.
Thanks for the bug report.
Wow! 144 cores combined with the power of ARM assembly ................

This is amazing! What a game changer! The software rendered demos one could code on this thing! I want one! :D
Is there a public exploit for this? Working on detecting browser exploitation myself.
I worked at a tier 2 ISP about 15 years ago that developed multiple products trying to sell accelerated transfers as a service. They worked similarly to what this article describes. The problem was that there were very few buyers. It's easier to sell transparent acceleration boxes as an appliance, and even then it's very niche.
You may want to review that very carefully, typically if that separate network port doesn't have a live network on it that issues DHCP addresses the functionality will fall back to the port that is attached.
When your workloads are unpredictable and spike suddenly such that you can't scale quickly enough to avoid having a bunch of spare capacity waiting around and have HA requirements. In this scenario more is spent on avoiding variable spend to achieve a "flat" rate
the trigger is recently joining an organization or getting a new CEO or manager that uses these cringy aspirational unnecessary words

and listening to the entire internet say "if you don't like one tiny aspect of your work environment, its a huge red flag for a bunch of other stuff so just leave!" as if such choice in the matter is really there and that the next organization doesn't have some other tiny cringy thing

so then if you ignore that advice, you're stuck with the childish babble that the people in your organization use to cope
My what a difference twenty years makes. the relative food and evil of MS and Google have totally swapped. Shows the cost of Google's failure to find other profitable businesses than ads. It is sad for the software revolution, with so much talent in their employees, they had so much potential to improve the world.
> And so a lot of well-programmed websites don't have readable user-facing code.

What does it means "well-programmed" if the end product isn't:

- accessible

- semantically correct

- light (no unnecessary javascript bloat, no unnecessary chains of dozens of divs, no cascading !important, very good performance)

?

I don't buy much the "well-programmed" fable of applications that don't show that in the end result.
Practice. Practice practice practice. Which sounds daunting, but…

…now, I realize it’s unfair to map physical appearance to awkwardness, but…let’s take a look at me in 2008 versus 2021. https://imgur.com/7sR0qKt Can you infer I might have been awkward? Because I was awkward. Always had been, and in a lot of ways, I am still am.

But I am vastly better than I used to be. And it was practice. Slow, slow, slow practice. I started at the gym. Built a little confidence. Got a job where I was required to be in more meetings. Built a little more confidence. Moved to a new city. Built even more confidence. Joined a sports league. Built yet even more confidence. It’s a slow process of leveling up and being out there and exposed to the world and learning to live in it.

And as you get older, I find for me it’s gotten easier. People in their late-20s and 30s are not the back-biting den of snakes they were in high school—everyone begins to realize they have their own faults and foibles, and you begin to accept that other people are always going through things too. And, conversely, you begin to realize you’re never the star of anyone else’s internal story. People are paying far less attention to your awkwardness than you think. So…roll with it, find some hobbies you like that involve other people, and just keep practicing.
I now know what my birthday present to myself is going to be.
For the case of coercing a specifically a function argument to a different interface, there is a solution that isn't stupidly inefficient, but it's impossible to support for the general case of coercing any interface value to a different interface. I expect 90% of the time a function coerces and interface value to a different interface, that value is one of its arguments, but to support that case for generic interfaces but not the other 10% would be a really ugly design. I think you'd also have issues with treating functions that coerce their arguments to generic interfaces as first class functions.

package p1
type S struct{}
func (S) Identity[T any](v T) T { return v }

package p2
type HasIdentity[T any] interface {
Identity(T) T
}

package p3
import "p2"
// Because parameter v might be (and in this case is) coerced into
// p2.HasIdentity[int], this function gets a type annotation in the compiler
// output indicating that callers should pass a p2.HasIdentity[int] interface
// reference for v if it exists, or nil if it doesn't, as an additional
// argument.
func CheckIdentity(v interface{}) {
if vi, ok := v.(p2.HasIdentity[int]); ok {
if got := vi.Identity(0); got != 0 {
panic(got)
}
}
}

package p4
import (
"p1"
"p3"
)
func CheckSIdentity() {
p3.CheckIdentity(p1.S{})
}
Taboo/misunderstanding/hangups beget that hesitation, round it goes, sadly.
Decades of practice. What comes naturally to the neurotypicals at age 14, may take until middle age for a geek to learn by trial and painful error. Unfortunately where interaction with the attractive gender is concerned, awkwardness and painful error may be judged very harshly indeed, these days.

Accepting yourself as you are is required. Get over thinking you need to turn yourself into someone different. It took until about age 30 for me to fully accept who I am.

An occasional change of environment does help, since you can leave all that rejection - judged as the geek outsider - baggage behind and can start with a clean slate at your current social skill level.

A little bit of alcohol in social interactions can also help. I was strictly a nondrinker, but at one neurotypical type party I took the hint and had a few drinks. Not enough to get drunk, but enough to get comfortable.

On the other hand, if none of the above really apply, and you're just an introvert, then learn to live with it. You'll never turn yourself into an extrovert and you'll never really enjoy "working" an unfamiliar crowd to make new insta-friends. That's OK.
focus on what you can give, and give

instead of what you need.

its all in your head.

#drunkhn
Mine Arweave Using Docker
Arwaeve is a crypto project that aims to archive the world's information in a immutable way and you can mine Arweave token using the spare hard drivers that you have at home.
I suspect that (if wormholes can actually be made) gravitational potential would be smooth throughout, and that you’d be pulled up as much while falling out of the top as you get pulled down while approaching the bottom.
What is the best way to parse shell-like syntax without a lexer?
Hi HN ! I would like to build a shell syntax parser and I would like to do it without yacc or tools like that, for learning purposes. I have been reading a lot parsing tutorials and I got a tokenizer working. From what I have read I now either have to make a parse tree or an abstract syntax tree out of my tokens with the help of a grammar from this page [1]

Now can you point me to any good documentation on how to make a tree out of it ?

All the tutorials I could find on the matter are made for arithmetic syntax and somehow I haven't been able to adapt those to my use case.

I have also read article from the creator of Oil shell and talks about how making a modal tokenizer would make sense for the shell syntax but I have not been able to find anything on how to build such a thing. Have ever done one ?

[1] https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/utilities/V3_chap02.html#tag_18_10
I actually thought it was meant to be funny and humanized Kim Jong Un a bit.

You may be right that it was not intended that way, though.
The MSN plugin was called Cocoon. Its page is available on archive.org[0], but unfortunately images are broken.

[0]: https://web.archive.org/web/20121118061309/http://cocoon.dri...
> the whole ironic aspect of a microcontroller needing another microcontroller

But it is a microservices architecture!
> Blink of an AI

I know this post adds nothing, but that one's well worth being pointed out.
Shock/outrage does not necessitate logical surprise nor ignorance. The two categories of emotion are constantly conflated for the purpose of criticizing people for tangential reasons (e.g. their politics).
I got a 128kbs ISDN line to my apartment in Chicago in 1994 from Ameritech. Was blazingly fast compared to ye old dialup 33.6 modem. It was quite an exciting time as the Internet was taking off.
As long as the hole size in the faraday cage is much smaller than the wavelength, it will work. The front mesh of a microwave typically has openings on the order of millimeters, which is still good enough for 5GHz.
The context suggests to me that this was a self-reported approximation from GP
Why are they screaming in the Control-"room"? And why they have to check their watches when they could have a screaming soldier instead? But the most pressing question, why is that start button so unimpressive, no red, just nothing, deeply disappointed, zero climax.
Tip workers absolute have the same minimum wage laws. The minimum wage is lower ($2.13) and they are guaranteed to make at least the regular minimum wage if by their tips are not high enough
As I understand it the chip was partly intended as a starter project for RPi's newly founded in House silicon design team, so not using an existing design could be partly deliberate.

However the PIO state machines set it apart.
Yeah, but you probably wouldn't buy a computer under $600 to begin with though, either, right?

You need at least 8gb of ram, and more than an 128gb of storage (i.e. eMMC and SDcards).

I very much doubt any sub $250 computer could really handle your basic day-to-day tasks (or anyone else' on HN).

ARM-based Chromebook's have already proven that Pi 4-comparable SoCs can do most basic computing needs for consumers.

The idea that essential computing needs can be met with a $100 Pi 400 and a $50 Screen is just kinda crazy.
My apologies.

Argument still stands.
The discussion was around longevity, and Python 2 is dead as of January 2020 [0]. Installer might exist, but it has already become more difficult to maintain Python 2. It will become even more difficult in time. Bash, on the other hand, will more likely to be around for longer.

[0] Sunsetting Python 2. https://www.python.org/doc/sunset-python-2/
Got older, accumulated enough embarrassing and humiliating moments and just got tired of caring. :-)
Samsung is charging for updates after N years by simply not releasing updates for older phones
Oh fun. Thank you for the tip! Any sugestions on how to go about this? I'm a relative newb in these matters. Switching from MacOS to linux daily driver
Have other people done this dual commercial/GPL license before? Doesn't selling it under a (non-free) commercial license go against everything the FSF stands for?
Try and be genuinely interested in people, but use a conversation mnemonic to find common ground topics:

F family
O occupation
R recreation
D dreams

P pets
H holidays

If you can find topics that make people excited to talk about, everything becomes much easier
I agree that tools can and should be improved, but it's not just a matter of tooling.

If you're running 10,000 machines then you divide your management costs across them and treat them as cattle and end up spending (not real numbers, obviously) 0.02 person-days-per-month-per-machine or whatever on managing them. But that doesn't mean that with the same tooling you could run just one machine with just 0.02 person-days-per-month, because a lot of the benefit you're getting from scale is the ability to make one decision and do something to all 10,000 machines at once, and it's the decision that takes time and effort.
> And I sometimes wonder why.

David Beazley talks about this in a YouTube video somewhere. (Can't find it right now, maybe someone will in the comments.)

It was a lot of serendipity. Python was up and running when the US national labs wanted to collaborate and their tools all sucked. Since they wanted visualization this left only Tcl/Tk or Python/Tk. And Beazley was hanging around as a grad student in a national lab with a connection machine, no real boss, no real oversight, and very little budget. He built stuff out of Python, and it snowballed to other labs.

(Found it: see jasode's response) https://www.youtube.com/watch?v=riuyDEHxeEo&t=1804s