HNHacker News
TopNewBestAskShowJobs

ysleepy

2,222 karma · joined September 23, 2012

submissionscomments
ysleepy··on Jupyterlab Desktop
The code is running in a separate interpreter.
ysleepy··on Knuth-Plass Thoughts
The second example breaking has a long river.

https://en.wikipedia.org/wiki/River_(typography)

I love typography rabbit holes.

ysleepy··on The Samsung Galaxy S23’s bloated Android build somehow uses 60GB of storage
I have an S21 and I'm very happy.

https://github.com/0x192/universal-android-debloater

I disabled most of samsung's stuff though, no nagging for a samsung account or anything.

ysleepy··on When Discord is open in the background, NVIDIA card will not reach full speed
Can you have a look on how the web ui does the typing indicator animation? I really need an engineer to know what is happening there, why is it animating an svg in the dom by looping in Javascript, instead of just using a gif? This is destroying the battery by pegging a cpu core on firefox.

At least this has been the case last time I checked. And there is no way to disable the animation.

ysleepy··on Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees
Lets invent JAYSON :D

   (dog){
      "ears": [(ear){"side": "right"}, (ear){"side": "left"}]
      {% this is a comment %}
   }

Now we only have to invent attributes, and we can sell this XML skin to the enterprise JSON users.

(This is only half sarcasm)

EDIT: Even Better, make comments a subtree by having a special type tag, like #. this way, (#,dog){...} can stay in the tree, but is ignored.

ysleepy··on Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees
Soon we'll have JSLT. JSON Query, JSON Pointer, JSON signatures etc are already there.

And I say that as a conscious XML user. We are going in circles. At least XML has comments.

ysleepy··on Where our gasoline comes from
Remember that combustion engines are only 25% efficient in extracting the energy from gasoline.
ysleepy··on A dozen USB chargers in the lab: Apple is good, but not quite the best (2012)
Other USB Charger review repositories:

https://lygte-info.dk/info/ChargerIndex%20UK.html

https://www.chargerlab.com/category/reviews/reviews-chargers...

Both are great. I especially love the Oscilloscope analysis of the noise characteristics and safety review on lygte-info.dk

ysleepy··on System76 AMD-Only Laptop Returns
There is already the ThinkPad P14s G3 AMD with the 6850U PRO.

I have the G2 with the 5850U and it performs very well.

ysleepy··on Sourcehut will blacklist the Go module mirror
Are google's requests done on-demand, or part of some scheduled refresh?

I am wondering, because even if google's traffic is unreasonable, it might still be less than without the proxy.

CI configurations are notoriously inefficient with dependency fetching, so I would not be surprised if the actual client traffic is massive and might overwhelm sourcehut if all migrate to direct fetches.

ysleepy··on Reproducible Builds Summit Venice 2022
I could imagine having the build date embedded into the binary can be helpful, similarly other metadata is probably useful as well.
ysleepy··on The year of C++ successor languages
I believe this is referring to the interop abi that is in planning.

It aims to expose a nicer way to glue rust idioms to similar or equivalent idioms in other languages.

https://github.com/rust-lang/rust/pull/105586

ysleepy··on Association between influenza vaccination and risk of stroke in Alberta, Canada
To stay with the helmet analogy, this sounds like "I won't wear a helmet because I've never been run over."
ysleepy··on 50 years of C, the good, the bad and the ugly
Eeh, hasn't the CCC always been political?

Normally the Congress is this time of year and because of covid uncertainty they did a distributed loosely coordinated talks and meetups thing. This might be the difference you observe, but in germany the CCC has, as far as I am aware, always been a melting pot of ideas and views, predominantly humanistic, for anonymity, against fascism, against authoritarianism and for responsibility and accepting of difference.

This might be a contrast to the us hacker scene which I feel is more in the libertarian and conservative corner, but these are all broad generalisations.

ysleepy··on Association between influenza vaccination and risk of stroke in Alberta, Canada
And of Alzheimers.

I wonder at what age flu shots provide overwhelming benefits. 40? 50? I'm still reasonably young and don't bother, but maybe I should start getting them.

https://pubmed.ncbi.nlm.nih.gov/35723106/

Also discussed here https://news.ycombinator.com/item?id=31899781

ysleepy··on Ask HN: Best Uses for Old iPads?
I wonder if it runs a current Spotify to make a Music Console out of it.

Apple did release iOS 12.5.6 in August 2022 to patch a webkit vulnerability, so it might still be safe to use a Webbrowser on it for some time.

Someone without any video-call and media-watching devices might get much more value out of an old ipad than finding a quirky use in the house.

I would make sure the battery is healthy though.

ysleepy··on D2 language, open source alternative to PlantUML
Reminds me of Mairmaid

https://mermaid.js.org/syntax/flowchart.html

Is mairmaid plantuml or why is plantuml chosen as the comparison point?

The markdown embedding and integrated rendering in gitlab is really useful.

ysleepy··on YouTube suspends Deutsche Grammphon's own live stream for policy violations
100% recommend listening, I love Hania Rani and only stumbled upon her work by chance after really enjoying Nils Frahm for years.

Give it a listen. And then check out Agnes Obel.

ysleepy··on BundesMessenger, a secure messenger for Germany’s public administration
Germany has a different history with surveillance and authoritarian state control.

Not only did the nazis use the resident register to find undesirables, but also the soviet union used any and all avenues to spy and control people.

Privacy and scepticism of making the sate a mandatory middleman is deeply entrenched for historic reasons.

Specifically this cryptographically tight identification, electronic-only payment etc. are very contentious for this reason I believe.

But overall your point is still correct, there is a strong bias towards the status quo and the new thing has a lot of proving itself to do before being accepted.

ysleepy··on MiracleCast – Wifi-Display/Miracast Implementation
Yes, it works simultaneously, that's what I meant with concurrent.
ysleepy··on MiracleCast – Wifi-Display/Miracast Implementation
No, it makes a WifiDirect connection to the tv concurrent to your normal wifi.
ysleepy··on MiracleCast – Wifi-Display/Miracast Implementation
Microsoft's 4k wireless display adapter works great with reasonably low latency.

Chromecast has so much latency on my tv, that its impossible to use mouse and UI while looking at the tv.

And miracast just works with windows 10, its built in. Plus you don't need to be on the same network, good for guests.

ysleepy··on Ask HN: Recommend me a good set of 2.1 desktop speakers?
I have logitechs X230 since forever and tried to upgrade. went with a pair of active monitors but ended up hating them and sent them back. the logitechs are actually very good, make sure your new ones make you happy before committing.
ysleepy··on Cache invalidation really is one of the hardest problems in computer science
Yes, but most use-cases are not pure functions.
ysleepy··on Cache invalidation really is one of the hardest problems in computer science
What you are talking about is not really cache invalidation but a cache algorithm/policy.

Invalidation means to remove a potentially inconsistent element from the cache, like after the original or a part of the inputs of the function were changed. Both problems are important with huge effects, but different.

ysleepy··on Ask HN: What is the most impactful thing you've built?
Oh wow! I ran a mangos server years ago with it because I loved that it was possible. I didn't even play WoW, it was just for the sake of it. It was the time when I was really into Diablo2.

Sorry it sucked so much out of you.

I got over a week of excited tinkering and fun out of it. Thank you for starting the project!

ysleepy··on Show HN: Enabling SSH Access Control Using GitHub Repo Permissions (No Key File)
That is pretty cool.

Yesterday I set up a read-write deploy ssh key for one repo to have an ssh key that only has access to one repo instead of my whole account.

The tinyurl link piped into bash is a huge red flag though, I instantly expect some questionable magic behind that.

ysleepy··on Mail: Make The Dragonfly Mail Agent (dma) the default mta
Finally. For, well, decades, the first thing I added to my rc.conf was sendmail_enable=NONE.

I think local email is dumb in general though.

ysleepy··on Performance Musings
An ecosystem's tooling makes a huge difference apart from the first order properties of a programming language.

To mention here are:

  * (sampling) profilers that work with unmodified applications

  * stack traces

  * easy to use heap/core-dumps

  * a good debugger

  * reliable refactoring

  * code navigation
It is something that makes me very reluctant to adopt "cool new tech".
ysleepy··on Intel Extension for TensorFlow
I just felt your first sentence, without a qualifier, gave too much credit looking at the context.
← PreviousPage 7 of 20Next →