HNHacker News
TopNewBestAskShowJobs

SCLeo

652 karma · joined December 4, 2018

submissionscomments
SCLeo··on What’s in a PR statement: LastPass breach explained
>> The cloud storage service accessed by the threat actor is physically separate from our production environment.

> Is that supposed to be reassuring, considering that the cloud storage in question apparently had a copy of all the LastPass data? Or is this maybe an attempt to shift the blame: “It wasn’t our servers that the data has been lifted from”?

Wow, seriously, they are really good at this. If not for this explanation, I would totally thought only testing environment got accessed.

SCLeo··on Safari's date-picker is the cause of 1/3 of our customer support issues
Just label it? or split it into 3 separate labeled fields? Obviously not one singular input without any explanations/labels. :/ (Seriously, what is the last time you encounter a text-based date input that is not clear on the format?)

Stop attacking the strawman. I am obviously talking about using text inputs as oppose to rolling selector/click to increment thingy (as shown in the article).

> Without user experience testing "I'm convinced" says more about the person saying it than the reality of what users in the broad will find easier and what will reduce friction.

The article clearly shows using the increment buttons/the rolling selector is causing problems for users. That is, my friend, user experience testing.

SCLeo··on Safari's date-picker is the cause of 1/3 of our customer support issues
...which means I just need to click the ">" a couple hundred times.
SCLeo··on Safari's date-picker is the cause of 1/3 of our customer support issues
At this point, I am convinced, all datetime inputs should be done with just text input. The moment I figured out I can click the text to enter numbers manually on my phone's timer, I never tried to scroll the stupid rolling thing to get to the correct time.
SCLeo··on How to write unmantainable code (2015)
> Hungarian Notation is the tactical nuclear weapon of source code obfuscation techniques; use it! Due to the sheer volume of source code contaminated by this idiom nothing can kill a maintenance engineer faster than a well planned Hungarian Notation attack. The following tips will help you corrupt the original intent of Hungarian Notation:

I can't stop laughing.

SCLeo··on SantaCoder: A new 1.1B code model for generation and infilling
As soon as I see infilling, I want to see if it can solve equations.

Prompt:

> let x = <FILL-HERE>; > assert(x + 50 === 200);

Output:

> let x = 100; > assert(x + 50 === 200);

Not yet :/

SCLeo··on Not-so-great features coming soon to Windows 11
Ubuntu 22.04 with proprietary NVIDIA driver. I made no changes to the driver nor tinkered with any settings. I did not run any weird/nerdy applications that might have affected the GPU at all.

The only thing I did was running `apt update` and `apt upgrade` every day. One day, it just stopped booting into my desktop environment. Instead, it showed a blinking cursor. I followed some random tutorials online and uninstalled the driver, which fixed the issue.

SCLeo··on Not-so-great features coming soon to Windows 11
My Nvidia driver literally just died last week or the week before. I had to reinstall it to make it work.
SCLeo··on Dwarf Fortress’ graphical upgrade provides a new way into a wildly wonky game
Is there a way to play Dwarf Fortress that involves less losing? (maybe mods or some settings?) I know the slogan is "losing is fun", but to me it really isn't.

In RimWorld, you can install some slightly (read: extremely) overpowered turret mods, plus a moderate amount of save scumming, I can make my colony last pretty much forever (until I am bored hundreds of hours later). Are there techniques enabling similar playstyles with Dwarf Fortress?

SCLeo··on JupyterLite: a JupyterLab distribution that runs in the browser
Shameless self promotion: I made a constrained particle simulator and an numerical integrator visualizer with pyodide. (They are both for class assignments.)

https://scleox.github.io/constrained-particle-system-simulat...

https://scleox.github.io/integrator-visualizer/index.html

SCLeo··on maps.google.com now redirects to google.com/maps
Nah, Google will never do it because url parameters have terrible SEO... Um wait
SCLeo··on RimWorld: A sci fi colony SIM driven by an intelligent AI storyteller
For me, I just installed a bunch of mods containing all kinds of arguably overpowered turrets so my colonists are almost always safe. I guess that removes pretty much half of the difficulties from the game, but I still find the game really enjoyable to play, even more so than balanced vanilla.
SCLeo··on Why some feces float and others sink
I should not have read Hackernews while having dinner...
SCLeo··on App Store on iOS 14.6 sends every tap you make in the app to Apple
Instagram? Facebook? Maybe.

I certainly did not think Apple would do this.

SCLeo··on Pathfinding Visualizer
Shameless self-promotion: A non-grid-based path finder I made with Rust and compiled to WASM: https://scleox.github.io/non-grid-path-finder/

(I made it a long time ago and I think the CI is broken...)

SCLeo··on Possibly a new way of drawing boxes in the terminal
> Web UI in comparison is always sluggish

At this point, I am 95% convinced that the reason web UI's are oftentimes perceived as sluggish is the easy access to custom animation/transition on the web platform. As a result, developers tend to overdo animations, or set the transition too long, resulting in a subpar experience.

SCLeo··on SimulaVR Has Been Subpoenaed by Meta Platforms, Inc
If I am not wrong, this is an antitrust suit, meaning it is about what they are selling, not what they are developing. If the product has been launched, there literally cannot be a monopoly.
SCLeo··on A surprising way to lose your files on Windows
Same can be said about linux. where exactly is "~"? And which hard drive is /etc currently on? Sure, if you have setup the system yourself or know how to use linux commands, you can figure it out with ease, but so does on Windows (Right click -> properties).
SCLeo··on Decipad – Like Notion with problem-solving capabilities
Agreed. Or, since it is an interactive application, it would be very nice to just show a interactable demo on the front page.
SCLeo··on 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]
I think we will see more of these amazing Minecraft technical creations as people who played Minecraft as children are now finishing up their higher educations.
SCLeo··on A 14kb page can load much faster than a 15kb page
Slightly OT. Speaking of Reddit, I am genuinely curious, do developers of the Android app never test the app or something? I was nagged into installing the app (sorry, I am not as persistent as your typical HN user), but it is actually so much slower than the website, and the content usually just don't load altogether. To be clear, I am on very fast Internet.

https://imgur.com/a/hg1gp0a

SCLeo··on Show HN: Pornpen.ai – AI-Generated Porn
In all seriousness, if the generated pictures are of better quality and is capable of generating porn that are tailored to my fetish, I am willing to pay $100 per month for the product.

This is the future I am looking for, not the political correctness BS that other AI companies are pushing.

SCLeo··on More content by people, for people in Search
I write novels as a hobby and I publish them on my website. I recently noticed that there are websites that blatantly copy and sell my novels without my permission and are ranked higher than mine. I think it is because Google identifies their pages as the source. If anyone knows how to deal with issues like this, please let me know.
SCLeo··on Delphi still exists and is actively developed
Just one more quick tip, you should probably use the unary operator "+" to convert strings to float. `parseFloat('2,000')` gives 2, which is probably not expected, while `+'2,000'` gives NaN indicating the input format is not recognized.
SCLeo··on Delphi still exists and is actively developed
Actually I do. Whenever I need a small tool like a calculator for a video game or a simple GUI program for processing images, I always go for a barebones single html file web application.

For example, this is a simple visualizer for different numerical integrators that I wrote in a day or two for a college course: https://scleox.github.io/integrator-visualizer/index.html. The the source code is just one single html file: https://github.com/SCLeoX/integrator-visualizer/blob/master/...

SCLeo··on Asdf Performance
Slightly OT, there is an npm package also called asdf, it allows you to start a static dev server at the current directory. All you need to do is just `npx asdf`. I have no idea how I discovered this package, but it is really convenient as I have used it multiple times. (I know there is a python equivalent command, but `npx asdf` is probably shorter.)
SCLeo··on Starting October 19, storage limit will be enforced on all Gitlab Free accounts
Maybe a super active repository with a large build matrix? For instance, a repository with 10,000 commits, 25 artifacts per build, and 200 MB/artifact will take 50 TB. It is still ridiculous though.
SCLeo··on Starting October 19, storage limit will be enforced on all Gitlab Free accounts
Maybe just giving this free quota to projects that is using a known open source license?
SCLeo··on Pornhub: Judge rules Visa can be sued in abuse claim
Should the manufacturer of the camera be held responsible because they did not verify the purpose of the buyer and consequently allowing them to produce illegal material? (They could technically have some online DRM installed to all of their cameras and if it is reported that someone is making illegal material, they can brick those cameras in question.)

I think the issue is that Visa should not be tasked with enforcing the law. In my opinion, in an ideal world, PornHub should be forced to verify its content not by Visa, but by the government, i.e. there will be heavy fine for allowing illegal materials to be uploaded.

SCLeo··on Guest WiFi using a QR code
In countries that do not use English as the main language, it is fairly common to have non-English SSIDs. URL encoding is incredibly inefficient when encoding those characters.
← PreviousPage 3 of 7Next →