HNHacker News
TopNewBestAskShowJobs

Rizz

136 karma · joined December 1, 2013

meet.hn/city/nl-Leeuwarden

Interests: Education, Programming, Books, Cybersecurity, Mentorship, Running

---

submissionscomments
Rizz··on Don't use localhost:3000, use your own custom domain
Please use a .test TLD, that way you will not run into DNS problems, random hickups, etc. This is safe on mac/win/linux.

Downside of a full hostname is that browsers have a bunch of security controls disabled for localhost, which do affect sites which use a hostname, to get a normal experience you need to set up certificates for your local site, usually adding a root cert to your computer's store.

Rizz··on PlayStation to wipe 551 films from customers' accounts
From September 1, 2026, due to our content licensing agreements, you will no longer be able to access your previously purchased content from Studio Canal, and it will be removed from your video library.

Thank you,

PlayStation Store.

Rizz··on Asus Announces October Availability of ProArt Display 8K PA32KCX
Human foveala, the central part of your vision, has on average about one cone every 30 arcseconds, but resolution of 20 arcseconds is still quite common because the variety in cone density is quite high. So someone with good vision, maybe someone who would naturally be inclined to work in graphics, would need over 430ppi at 2 feet, or 290 at 3 feet. This screen seems to be perfect for someone with good vision at 3 feet, if you place the screen closer you would need even higher resolution.
Rizz··on Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?
But the past didn't use ASCII as such, but extended character sets, or multiple characters sets, which did allow for Russian, German, etc. text interfaces.
Rizz··on CS Career fair cancelled at community college because no companies reached out
Someone who is good at learning can just learn for free, only someone who is not confident in their abilities would pay for the name of a college attached to a degree (with likely less actual skills transferred, because paid colleges depend on throughput, not on results). The actually good students at paid colleges are the ones who got a academic scholarship, i.e. free like community college.
Rizz··on Anyone can access deleted and private repository data on GitHub
As mentioned it works for valid short hashes, if there are multiple commits with those first 5 characters then you need to make it more specific by bruteforcing, appending a 2, 4, 7, or 8 will lead to a valid commit.
Rizz··on A Different Type of SQL Recursion with PostgreSQL
It seems like the first variant is overly complicated. When you write about set theory you should be able to figure out that you don't have to rely on the effects of the union operator, the result you want is a simple difference with previous levels of the recursive cte, or a terminal query that groups by the table and shows the minimum level
Rizz··on NL national security law to grant automatic permission for targeted surveillance
And of course it can also be used for gaining entry to hackers systems by infiltrating c&c servers on third party hardware, which also had been done before by Dutch authorities without any existing legal framework to allow this.
Rizz··on NL national security law to grant automatic permission for targeted surveillance
I suspect this is also to provide a legal framework to automatically remove malware from victim's computers, as has been done before by Dutch authorities without any law permitting such actions, and removing malware is obviously good for society.
Rizz··on Analytics: Hacker News v.s. a tweet from Elon Musk
> Also had a 2:1 desktop:laptop ratio -- would have guessed more laptops. (The author questions how Plausible determined this.)

For my personal analytics without third party dependencies for privacy reasons I use the fact that Javascript allows access to the battery API, so a laptop uses a desktop browser, with a desktop resolution and zoom, while still having a battery.

Rizz··on Features I'd Like in PostgreSQL
You could use the name of the foreign key, together with FKs namespaced to the table they are on would allow very expressive joining, and the query might even survive schema changes. ORMs tend to work like this.
Rizz··on Ask HN: Is it a bad time to apply to FAANG companies?
Then they are that much more likely to need you. There is no reason to think that layoffs and hiring have anything to do with eachother.
Rizz··on Sony Android TVs waste 25W in standby due to built-in Google Chromecast
A modern phone with a 5 Ah ( ~ 18.5 Wh) battery can run for many hours streaming to a builtin screen, meaning it uses far less (anything over 45 minutes is more energy efficient) than a chromecast despite doing more. Same scenario with a laptop with a 60 Wh battery, which can also run a long time in idle, and even while streaming, and is able to resume from sleep in a second. Running more than 2.5 hours on battery means it's more energy efficient than a Chromecast.
Rizz··on What's the most portable way to include binary blobs in an executable?
If the converting to hex step is too slow, could you leverage your makefile or other build script to bootstrap a simple, faster converter to convert your data file?
Rizz··on Vectorized and performance-portable Quicksort
Which they did and showed in the previous sentence. You cannot possibly have missed that.
Rizz··on Reliably Send an HTTP Request as a User Leaves a Page
You can use web sockets for this sort of functionality, the socket is closed as soon as the browser is closed.
Rizz··on Ask HN: Easiest way to build a CRUD app?
MS Access works just as well on an SQL Server database as on its internal database, so your scaling works just as well as on any other established database server, and then the SQL dialect is T-SQL, which is reasonably standards compliant.
Rizz··on Train burglaries in LA
Is it crime or is protest? We all know Amazon will let its workers die in hurricanes, harass its workers until they commit suicide, not pay their workers a living wage, and all this while the big boss goes flying around in spaceships for fun. I'm sure a lot of the "criminals" rationalize their behavior by knowing that whatever they do it can't ever be as bad as what Amazon does, they're even doing justice by fighting back when no-one else does. I'm sure this is more about being Robin Hood than people being evil to their core.
Rizz··on Tell HN: Windows' find.exe claims that it's “Find String (grep) Utility”
Find was first added to DOS 38 years ago, years before POSIX was created, and even more years before grep was added to POSIX. Find's capabilities were kept as is for compatibility, newer, more capable, utilities have been added over the years like findstr and select-string.
Rizz··on First Paying Customer on New Shepard Will Be the Youngest to Fly to Space
He was one of the runner-ups. His father owns an investment firm.
Rizz··on England’s reopening: ‘The world is looking at us with disbelief’
The Netherlands just tried reopening, in two weeks they managed to undo seven months of lockdown as far as caseload goes. The infections are overwhelmingly amongst teens and people in their twenties (over 90% of new cases), who have not yet had their second shot or opted for Jansen vaccine, which doesn't protect as well as the others.

It would be very unwise for England or any other nation to follow in the Dutch footsteps.

Rizz··on String length functions for single emoji characters evaluate to greater than 1
17 in php with strlen, which is defined as counting bytes. 1 when you use grapheme_strlen. mb_strlen and iconv_strlen return 5, and 5 is rather useless as the article says.
Rizz··on RIAA Abuses DMCA to Take Down Popular Tool for Downloading Online Videos
In European law it specifically states:

  Technological measures shall be deemed 'effective' where the use of a protected work or other subject matter is controlled by the rights holders through application of an access control or protection process, such as encryption, scrambling or other transformation of the work or other subject-matter or a copy control mechanism, which achieves the protection objective.
There is no provision for effectiveness in any other sense than what I claimed.
Rizz··on RIAA Abuses DMCA to Take Down Popular Tool for Downloading Online Videos
Effectively of course means "in effect" in this context, for example YouTube doesn't have to prove the measure was designed to limit access, only that it does in some way.

Pretending yt-dl simply does what YouTube does is obviously not true either, because if it did, then yt-dl wouldn't exist. The copyright holder decided he would allow the streaming of the work, if you want to download it you should either get the ok from the copyright holder for that or choose another work to download, or even make one yourself. V8 doesn't change that.

Rizz··on WordPerfect for DOS Updated
Not too long ago I was asked to do some maintenance programming on a logistics program (the program did amongst others: fill the various operated trucks to not more than capacity from orders, add new orders at any time, plan the route to drive so it doesn't take more than a workday), all written in WordPerfect 5.1 macros. That program can do a lot more than most people know about. And apparently it's still used in production.
Rizz··on C++ coroutines: Initial implementation pushed to master
That stops working once you're no longer a solo developer, but part of a team, then you need to learn everything any of your fellow developers might use. You might as well focus on learning a new language and having access to new jobs where you don't have to deal with legacy languages.
Rizz··on Lufthansa Sues Hidden City Ticketholder for Throwing His Ticket
That's what they already do, airlines will cancel your flight for any reason whatsoever: overbooking, finding a first class passenger who pays more, choosing not to have enough personnel on duty, etc. Until your plane with you on it is actually airborne, you have no idea whether or not you will be allowed to fly, so there is nothing unfair about not turning up for (what might be) your flight.

Maybe if a ticket actually held some sort guarantee for getting a seat on an airplane things would be different...

Rizz··on Efficient AVL Tree in C#
That's what the tail call optimization is for, it optimizes the recursive function into a loop.
Rizz··on Even janitors have noncompetes now
How would an employer react if the roles were reversed, i.e. the employer can't hire another programmer for two years if you, a programmer, leave? Ridiculous of course, which shows why it is just as ridiculous for an employee to have to agree to a non-compete.
Rizz··on The Dutch Reach: A No-Tech Way to Save Bicyclists’ Lives
No, cars aren't too blame, the car owner is only liable for damage, and why does that law exist? Because cars have mandatory liability insurance, bicycles and pedestrians do not. It's not about making drivers more responsible, although it helps most Dutch don't understand what liability means, it's too make sure there is always money to pay for damage, especially if the damage is severe.
Page 1 of 3Next →