skysight-inc/HackerNews huggingface dataset:
Ask HN: Suggestions for fitness widget for personal website?
Hi, I would like to show aggregated fitness/activities data on my website. Ex: kms run, avg. pace, # of pushups, etc.

Is there such a widget/service with integration with Strava and/or Apple Health and/or Apple activities?
As I said in my other comment, I had to do a lot more memorization to learn to recognize typical patterns (like chords and scales) in traditional notation, while integer notation ... well, for starters I just about came up with it myself, before I learned it's (of course) an established way of notation in music theory. Second I just wrote some code to play around with the numbers, basically for myself to try and make sense of the traditional system, because it seemed (to me) easier to convert the bunch to numbers and see what chords come out. What happened is that, really through no effort on my own, I started recognizing the numerical patterns for what they mean in musical theory.

It's really that much more intuitive. Give somebody CEGC' and GBD'G' or give them {0,4,7,12} and {7,11,14,19}. And as a bonus, if you can read clock, you already know how to do modulo 12 arithmetic! 14:00 is 2pm, 19:00 is 7pm, therefore that last one can also be written as {7,11,2,7}.

I don't want to do away with traditional notation, it has its advantages. But I do think that integer notation can be used very effectively and should be used more, when teaching the fundamentals of music theory.
Actually i was wrong. Generative Adverserial Nets often work accross Machine Learning models...
.. but the bank sets them to expire after five minutes of inactivity, because it (correctly) doesn't consider it to be all that secure.
Wow, does 6-months in jail seem a little severe? How does one even get someone prosecuted for this crime?

We hired a licensed plumber on 2 occasions - to install a sink and later a shower.

We just had a different plumber out because the sink was plugged up. He pointed out that the prior plumber had installed the sanitary-t upside down basically guarantying it would eventually become clogged.

We also had him look at the shower because we couldn’t figure out how to get the screen out to clear the hair. Turns out the grate was also installed upside-down and the screws holding the screen in are in-accessible. So, there is no way to get it out without demoing the shower.

Should this plumber be sentenced to 6-months in jail?
I don't agree with the pricing comparison, it is factually incorrect. For instance the digital ocean equivalent in AWS would not be an EC2 but a similarly sized light sail instance which is $40/monthly flat. There are also other factors like region, on demand vs reservations that are ignored.
This is a very hard rant to read. The examples either aren't factually true or are poorly explained and the "solution" is largely nebulous.

I feel like this topic has merit and with a well written article with real examples (both 2019 and 83) it could be something special, but this isn't that.

I'd be interested to know how many upvoted based on the title/what they expected this to be, rather than after having tried to read it. Most of the replies from the older thread are about the title alone (or being critical of the content).
Rustduino: Setting up the development environment for Arduino Rust development
The Cuckoo's Egg and Silicon Snake Oil were life changing for me. I was in middle school, snowed-in in upstate New York, on my computer most of the time. And the writing tips at the end of Silicon Snake Oil have stuck with me to this day.

Cuckoo's Egg is a great thriller. Silicon Snake Oil was ahead of its time. The thing I liked about both is that they showed me what a rich life could be like beyond computers. And what was this magical place called Berkeley?

Cuckoo's Egg is also something of an anecdote to 'imposter syndrome'. It showed how someone who was coming in to the field from the outside could trust their instincts and do something important. As others have said, a lot of us have come into this field from a wide variety of backgrounds. Stoll's books showed me how that can actually be an asset.
>those apps continue to be updated and utilizing the latest features.

while this is orthogonal to Shopify API or your post at all, since you mentioned the need of updates, I just wanted to use that opportunity to vent my frustration with the constant push to update everything all the time and judging any piece of software by using "when was the last update" as a metric.

The problem I see is that not all apps or libs need (frequent) updates, many (maybe most) do need them, but some don't. They provide some functionality, they do that well and you could call them "complete". Maybe some security fix could be needed from time to time, but with a mature code being in use for many years event those are not frequent.

For example, consider something like ping utility. It does what it does for many decades. There was a need to add IPv6 support, but that was almost two decades ago. Why would anyone need to update it? I do not want any additional functionality, I don't want it to send emails or have social media share button. I want it to send ICMP echo requests and receive ICMP echo replies and nothing more. Aside from some security fixes no updates should be needed for 10+ years. This utility is done. It should not be thrown upon just because there were no updates for many years.

While of course neither ecommerce or Shopify platform are "done" and they get many updates now and will get updates in future it does not mean that some functionalities could have reached "done" stage.

For a "complete and done" addon, there could be a need for a security fix from time to time. There could be a need for some adjustments if a major browser introduces a new deviation from JS/CSS/HTML standards and forces everyone to update their code. But those events happen from time to time, possibly not that frequently. This means that some addon/plugin would not require any updates during the periods between those events and those periods could be many months/years long. But hey: "this addon did not receive any updates for 13 months, it must be really bad and should be avoided". This leads to a situation where a competing solution with tons of bugs will look better just because it receives two updates a week.
Show HN: A Microfront End Framework Based on React
Here's a viewpoint from John Preskill who coined the term "Quantum Supremacy"

https://www.quantamagazine.org/john-preskill-explains-quantu...

> The quantum supremacy milestone allegedly achieved by Google is a pivotal step in the quest for practical quantum computers. I thought it would be useful to have a word for the era that is now dawning, so I recently made one up: NISQ. (It rhymes with risk.) This stands for “noisy intermediate-scale quantum.” Here “intermediate-scale” refers to the size of quantum computers that are now becoming available: potentially large enough to perform certain highly specialized tasks beyond the reach of today’s supercomputers.
Fair enough. I read this quite literally and thought "not exactly":

> hence I need to use those values to copy out from memory to a separate char array for printing purposes. Certainly not so trivial.
Privacy Conscious Browsing
> The materials for this battery are able to be extracted from seawater, laying the groundwork for less invasive sourcing techniques than current material mining methods.

marine life might find it "invasive"
Off topic, but if you're interested in fluid simulations and want to learn more about how they are actually made, John D Anderson's book on Computational Fluid Dynamics is worth working through.

It's been quite some time but I remember going through it in Matlab to make small, numerical simulations in the book.

The problem with fluids is that it's a very complex branch of physics with many gotchas and many difficulties that you must navigate through, often blindly, to get a reasonable approximation to a solution.

The fluids specialists I worked with on the past almost always needed actual physical tests to prove out their engineered designs, rework simulations, etc.
all they need is to create to a low rate channel with slowly updating snapshots of all the programs being transmitted.

i don't know anyone who does that, but it is damn trivial.

(former middleware engineer)
Yup I do this too and I agree with your observations, about one third of my home network's DNS request are rejected with nearly no impact on my internet browsing. I've also observed the same thing when browsing the web with uBlock Origin set to block third party scripts by default. On most sites whitelisting ~20% of scripts is enough to make the site functional, the other ~80% apparently being redundant for the purpose of the site's core functionality.
> I would have to enable auto-login to eliminate pauses from user interaction.

Why? By the time you're logging in, booting is already finished.
Apologies. This is way wrong. There are billions of Apple shares, for example.
External number pads are cheap. If someone's spending enough time using programs for which a number pad would be very helpful, it's probably worth the few dollars they cost and the tiny amount of space they take up (similar to a normal-size corded mouse—slightly larger footprint, but thinner)
Arrested on August 30, my phone was seized by hkpolice
TypeScript, Design Patterns, and You: produce clean and readable code
While I think that your distinction is interesting, I find that even people who say they are absolutists are willing to negotiate based on some criteria.
One that got worse and then better again at least in my experience is boot up time. Old computers running MS-DOS I remember booting up very quickly (unless you waited for the full memory self test), then for quite a long time it took forever to get into Windows no matter what you did to try to speed it up. More recently things start up pretty quickly again; I think it's mainly hardware (solid-state disks being the major improvement), but I do think Windows seems to do a little better software-wise too. (Linux and BSD I haven't used as a desktop in a very long time so I'm not sure where those are now. OSX I don't have much of a sense of, partly because it just doesn't need to fully reboot as often as Windows.)
Embedding semantic information would allow Google to further refine search traffic to your web page. I assume it may also make you more authoritative wrt to the content you publish.
Teaching College-Level Mathematics in Prisons [pdf]
Can Diesel Finally Come Clean?
Show HN: `$` Can be used in any webpage from the browser console
Just try it. It is as if a mini jquery is now builtin.
`$('.class')` doesn't work on hacker news because here $=getElementById
The central reason is that modern video codecs use I-frames and P-frames (sometimes also B-frames; even though as far as I am aware, these are not used for TV broadcasts); see https://en.wikipedia.org/w/index.php?title=Video_compression...

I-frames are only sent, say, once or twice a second.

When a channel is switched, the TV has to wait for the next I-frame, since P-frames (and B-frames) only encode the difference to the previous I-frame (or to the previous and next I-frame in the case of B-frames).

If you are aware of a possibility for efficient video compression that avoids this problem, tell the HN audience; the really smart people who developed the video codecs apparently have not found a solution for this. ;-)

Otherwise complain to your cable provider that they do not send more I-frames to decrease the time to switch between channels (which would increase the necessary bandwidth).
It can provide a sidecar based on TARS itself. TARS solves all the problems that Service Mesh meets, such as communication between different languages, rich service governance features, monitoring, logging, and dashboard ......
Network switches do something like this iirc.
Hi everyone, we've worked quite hard on getting this off the ground in the last months and now are close to having it all polished and production ready.

We already have some clients using this framework for their main applications and they are quite happy with it.

We would love to get some more feedback (or even better: contributions) from the community to give the whole approach a round finish.

Happy to answer any question!
Ask HN: What is the best way to get young children into technology?
I want to find the best way to expose my nephew to programming, as well as computers and technology in general. He is starting to read and is able to type and can use a tablet pretty well, so what kind of toys or projects would be best for his ability? I was considering Lego robots as a starting point. Does anyone have any experience they could share?
sounds to me like they are just re-announcing existing announcements for sodium batteries with glass electrolytes?
Fthfj
dktycdtgfctyyf
Australia used ASTROLOGY to scare Sri Lankan asylum seekers
Maybe that's where he purposely introduces the bug, he keeps the broken version and times the working version. But yeah I agree with you, it's interesting altogether. I didn't mean to sound dismissive / against your viewpoint, just adding on possibilities.
> Tap the Alt key, use the arrows to explore the menus.

You have to know that this is possible as a user, and app developers have to support it, and/or not override the default operating system handling.

This is, without a doubt, an area that we have regressed on. I remember very clearly that when I was first learning to program VB6, UI conventions were pretty standardized on Windows, and so you just did a lot of this stuff by default - you had a &File menu, and &New, &Load, &Save, and E&xit commands on it.

Some software still does this, but it is increasingly rare; in Chrome right now, the Alt key doesn't do anything, and I find that Electron apps have to go out of their way to mimic native conventions, as VS Code does.

So there's less software that follows keyboard-driven conventions, so fewer users know about those conventions, creating a vicious circle. Not to mention that the bulk of your average person's "computer" usage is poking at a touchscreen phone or tablet that has no physical keys at all, just godawful on-screen keyboards.
This is a website that 'rolls up' tweets. Here's the original tweets: https://twitter.com/gravislizard/status/927593460642615296
I read the DOJ link and it just states “intentional damage to a protected computer.”

If he had accidentally written sloppy code that happened to break periodically would that have been illegal? I don’t fully understand what law he broke and how such a law would not also apply to the seemingly infinite cases of built in obsolescence.
The data visualization is often awful and misleading. For instance, consider https://2019.stateofjs.com/javascript-flavors/

1. The first graph shows "Rankings". I strongly doubt rankings are more importants than values. When Clojurescript goes from 67% to 72%, this increase is shown as a ranking decrease because Reason was introduced at a higher ranking.

2. The meaning of the data is unclear, since the exact questions and proposed answers are not shown.

3. Some measures have varying populations, so ranking them is absurd. Supposing that 2% of people use A and 80% use B, what does ranking satisfaction with A above satisfaction with B mean? Since the uncertainty is huge on the A measure, the "real" ranking is not known.

4. Having to click in order to switch the measure shown is strange. The three measures should be display on three consecutive graphs.

5. The Categories graph is unreadable for a slightly color-blind like me.

6. The Categories segments aggregate data over 2 levels which makes them unreadable. First levels: Used, Heard, Unheard. Second levels should be computed relatively to their containers. Who cares if 1.8 % of users would not use Elm again? What is important is that ~28% (1.8/(4.7+1.8)) of those who used Elm would prefer not to do so again.
I currently work in the laser engraving industry, and I can confirm everything you've said to be true. However, I wanted to let you know about some extremely cool technology that I had the opportunity to experiment with a year ago or so. Some companies have developed optics with adaptive focus that use liquid lenses to mark beyond a 10mm depth-of-field - see https://www.optotune.com/technology/focus-tunable-lenses for an example, and https://youtu.be/ss-tkXcClMk for a video of the system in action.

I still don't think it would work well for your purposes - borosilicate just doesn't mark well, and you'd need to start with an accurate 3D model of the object - but I hope you enjoy the video!

(And thanks for writing the book!)
Looks like its landing on Tattoine, which is appropriate for that thing.
> all they need is to create to a low rate channel with slowly updating snapshots of all the programs being transmitted.

> i don't know anyone who does that, but it is damn trivial.

Getting this standardized in an international standard is far from trivial.
The FBI treats all prostitution as trafficking. If it crosses state lines, they will get involved and treat it as a trafficking case, irrespective of consent or adulthood of the parties involved.
Careful what you wish for - many years ago I worked for an interactive TV company that focused on the hospitality market. One large chain of hotels seriously asked if we could do a remote control with three additional large buttons at the top for "Beer", "Burger" and "Porn".

Turns out getting like that manufactured in the quantities we were looking at is a nightmare - so it didn't happen.

Edit: Clearly it would have been easier to have one button for "Beer, burger and porn" - but that has only occurred to me now.
See, building aircraft is not so really that expensive. First supersonic aircrafts were built with manufacturing equipment which will not sell even on a liquidation sale today.

Military jet bombers, while expensive by all measures, did cost less in the mid-20th century than equivalently sized airliners today.

A lot of cost increase since eighties in the industry was due to increasing regulatory lockdown and decrease in efficiency due to decrease in competition.

The $100 per piece "aerospace grade" nuts and bolts is exactly what I am talking about.
Yeah. It is a tweet thread, which is such a bad idea that 3rd party apps have appeared to make reading them easier (threadreader for example). Unfortunately threadreader and its ilk can't make the content any better formatted or grammatically correct..er.
When working on digital settop boxes a decade or 2 ago, channel change latency was one of the toughest problems. Eventually we (collectively, the whole industry) gave up and settled for 1 second as acceptable. Channel surfing quietly went away. When your i-frame only comes so often, there's not a whole lot you can do.

Nowadays, that problem is solved by reducing actual live content to a strict minimum; everything else can be on-demand.
I distinctly remember watching the Netscape Navigator logo for long periods of time waiting for a page to load.
(Disclosure: I work at Google on public APIs, opinions are my own)

Google's proposed a "stability" semantic as a third option[0]. TL;DR no breaking changes in the Stable channel but you can add backwards-compatible[1] features in-place.

A permanent Beta channel that's a superset of Stable lets users choose how change-tolerant they are. This lets API producers launch features earlier, knowing they will only impact risk tolerant users if breaking changes are needed. Theoretically this reduces the need for breaking changes in Stable, which require a new Major version.

[0] https://aip.dev/181
[1] https://aip.dev/180
node dev here - none of the prs here deal with segfaults from js code, because that doesn't really happen (at least, I've never seen it happen). You might have some more success searching V8's bug tracker.
I suspect some of the premium is because "nobody ever got fired for buying AWS"

If you chose AWS and there's a security incident or hours-long outage, well, some of the best in the industry experienced the same thing, what can you do? Whereas if you chose Linode and they had exactly the same incident justly or otherwise, people might question your choice of a cut price $10/month provider.
> Can anyone tell me what the semantic web does for me as a small-time publisher? Is it for search engines?

Yes, in practice it is mostly for bigger fish in the pond to easily identify and steal your content as needed.

For example, Google was using reviews from small competitors' sites in Google Shopping.
It's very similiar to running a casino
"Many - if not most - of the residents of inner city slum areas were raised by single mothers who had them very young without the means to support them. They turned to drugs and gangs. They never graduated high school. In short, they never had a chance.
There is not much the government can do to fix this. "
Here are some things the government could do to help fix this.
1. Stop locking up black men at a rate higher then white men and higher than any other country locks up its citizens.
2. Provide free or subsidized daycare and pre-k like most rich modern countries do.
3. Build trust with minority communities by listening to them and supporting them, not using policies like stop and frisk which alienates them.
4. Provide free/subsidized health and family planning services instead of doing tings like trying to defund planned parenthood.
5. Stop being so fucking racist.
Trying to breathe new life into an iMac G5
Ask HN: How hard is it to admit that you are miserable?
Is it a taboo to admit that you are miserable?
*aren't -not
I think that [x]-supremacists don’t use the label for themselves. It’s usually applied to such groups as a descriptor by people who watch those groups like law enforcement and civil groups who monitor groups that espouse those ideologies, but I’m not sure the groups in question use those words to describe themselves.
There are some good points here, but of course I am going to ignore those to talk instead about the stuff I disagree with!

The section about google maps follows a form of criticism that is widespread and particularly annoys me, namely => popular service 'x' doesn't exactly fit my power user need 'y', therefore x is hopelessly borked, poorly designed, and borderline useless.

There is always room for improvement, but all software requires tradeoffs. One of the things that makes a product like google maps so powerful is that it makes a lot of guesses about what you are actually trying to do in order to greatly reduce the complexity and inputs required in order to do these incredibly complicated tasks.

So yes, sometimes when you move the map some piece of data will be removed from the screen without your explicit consent, and yeah, in that moment that feels incredibly annoying. But balance that against the 100s or 1000s of times you used google maps and it just worked, perfectly, because it reduced the number of inputs needed to use it to the bare minimum.

Google maps doesn't need to fit every use case perfectly, and while its fine to talk through how your hyper specific use case could and should work, remember all the times that it seamlessly routed you around traffic from your office to your house in one touch while you were already hurtling down the highway at 70 mph.
Safari :)
So fun to read. In my early career I used to think that replacing memory in servers used for production was risky. What if I could not get it done in time? Chaos!

Later I worked in a refinery when replacing mission critical items could seriously mean injury or death if mishandled. What if I made a mistake? Chaos!

Now, I realize what I was doing was child's play!
Why Porsche Is the World’s Most Profitable Luxury Car Brand