HNHacker News
TopNewBestAskShowJobs

roel_v

12,049 karma · joined January 21, 2010

submissionscomments
roel_v··on Ask HN: Do you recall any book or course that made a topic finally click?
I remember reading 'The C programming language' (in the train, I even remember that) and when pointers really 'clicked' in my mind - it was when I realized that (*struct).member is the same as struct->member (I don't remember the exact page but it was one of the paragraphs on pointer syntax quite early on). Weird detail now that I think back about it after programming C++ for over 20 years, but that was just one of those moments for me.
roel_v··on Which face is real?
I feel bad for the people where I thought 'this one is too ugly/asymmetrical to be real', and then they turn out to be the real ones...
roel_v··on Z-Library Aftermath Reveals the Feds Seized Dozens of Domain Names
http://pilimi.org/zlib.html
roel_v··on Z-Library Aftermath Reveals the Feds Seized Dozens of Domain Names
Yah I know, it's the torrents on that site I was talking about.
roel_v··on Z-Library Aftermath Reveals the Feds Seized Dozens of Domain Names
No it's not. Well it started out that way, but libgen is 7TB, zlibrary added another 16TB to that, which was not shared in the way libgen is.
roel_v··on Z-Library Aftermath Reveals the Feds Seized Dozens of Domain Names
"The full archive is also not that big (~30TB) so they are plenty of mirrors. "

Like where? Zlibrary wasn't open for 'official' mirrors in the first place, and the 'unofficial mirror' hasn't had any seeders for its torrents since at least the seizure of the domains last week.

roel_v··on AI and the Future of Pixel Art
It was actually two now that I look in my bookmarks: https://www.youtube.com/watch?v=w6PTviOCYQY and https://www.youtube.com/watch?v=FaLTztGGueQ . That first one is about 1 month old and was already about running Dreambooth locally. So to be perfectly honest I'm not really sure any more which info I got from which video. Probably most from the second one. It's worth it for just the thumbnail - although I haven't been able to get results at that level yet, holy smokes is it impressive.
roel_v··on AI and the Future of Pixel Art
Dreambooth extension for automatic1111 just came out. Can be run on CPU even. Haven't tried that extension myself yet, but I have followed a youtube video last week and I trained it using a colab in a few minutes (of training - getting the hang of the whole process was maybe 20 or 30 mins including watching the vid?). I think dreambooth is already perfectly within reach of regular users, and is already being used for... ehem... questionable purposes that took 1000's of images and days and days of tweaking and training for 'traditional deepfakes' just 6 months ago. The pace of advancement is breathtaking, it's literally impossible to keep up even if you spend 100% of your time on this.
roel_v··on ZLibrary domains have been seized by the United States Postal Inspection Service
0 seeders on the few torrents I checked though. I mean, can't blame people for not seeding 350GB+ torrents, but still - if there aren't any seeders, what good are the torrents?
roel_v··on Employee gift ideas that make people feel bad
So do I (well, from my father's bees, that is...). But it illustrates exactly what the OP is talking about - this honey comes at low cost or free to us, but for the receiver it represents a much higher value. (prices around here for local, pure honey are 7 or 8 euros per 450 grams / about a pound). My kids sell my parents' honey for 5 euros and people are grateful for those low prices even, and treat it like we're doing them a favor.
roel_v··on Why we chose not to release Stable Diffusion 1.5 as quickly
Is there any work being done on trust-less (or maybe trust web) distributed model training? The main problem today is that training the model is being gatekept (is that a word?) by actors with 100's of k's of $. If there would be a way to run a client, like SETI@home, that will train models, then a few thousand unsophisticated users with 30x0's and some weeks/months of time will do to model training what bittorrent did to mp3 distribution. But for this to work, you need some way to feed images to users, ensure that images aren't re-used, somehow guard against malicious actors injecting faulty data etc.
roel_v··on 75% of the time we spend with our kids in our lifetime will be spent by age 12
No it doesn't. It rewards people with the social skills to know when it's acceptable to use certain words that aren't acceptable in other contexts. But that's just a part of 'society rewards people with high levels of social skills'. If your experience has been that successful people (i.e., 'people who were rewarded by society') don't swear, then your experience has been very different from mine.
roel_v··on People from elite backgrounds increasingly dominate academia, data shows
"You do not need to get a Math minor to get an Economics major."

That wasn't the claim. The claim was that it's somehow surprising that economics is math heavy. Yes there are 'policy' or 'international business' degrees camouflaging as 'economics' degrees, but how can it be a surprise to any but the most uninformed that 'economics' (at least the prestigious degrees, which are the ones that will produce the majority of future academics) are math heavy? And I'm not even talking about just the pure math courses. Courses like Operations Research are notorious 'filter courses' for economics students, good luck passing those without math fundamentals.

roel_v··on People from elite backgrounds increasingly dominate academia, data shows
"PhD programs tend to require a hidden curriculum of classes in subjects such as mathematics that are not technically required for economics majors."

<record scratch>

"subjects such as mathematics that are not technically required for economics majors"

Eh?

Who lets clueless writers like this near a keyboard?

roel_v··on Ask HN: Burnt out developer trying to move out of Iran, advices?
I happen to know (quite well) an Iranian who was in a similar position to you before he came to Europe, except he had a lot of IT experience (and a finished degree) before attempting to move to Europe, but it's not working out for him. He's basically prohibited from working while he's trying to get a residence permit. That has been denied several times because he's basically (like you would be) an 'economic refugee'. He didn't speak the local language and he was too overwhelmed with how different everything was here to really learn. He got basically 0 callbacks on the dozens if not 100's of job applications he send out, despite wide-spread labor shortages in exactly the sorts of positions he applied for. Very little to none of his Iranian work experience counted for anything here (differences in certification systems, couldn't/can't get his university degree accredited). He's a few years older than you are (43 I think?) but you'll be too by the time you get out in the time frame you indicate, and this is an age that's already starting to work against you, especially if you're already burnt out.

You'll need 1000's to 10's of 1000's of EUR/USD to move anywhere in the West, otherwise you'll end up in refugee centers from where it'll be exceedingly hard to get/keep stable employment. It'll be very hard to find housing on a budget anywhere where there are economic opportunities in the fields you're looking in, so expect costs of several thousands a month (let's even say just 2k for everything for the two of you) - and you'll have to be able to pay those until you get a job.

As you will know, after you leave Iran it'll be pretty much impossible to get any cooperation from the Iranian government to get any of your paperwork validated/accredited etc (I've seen real problems stemming from that with several Iranians in the diaspora of the guy I was talking about above).

Your wife's job will be very hard to impossible to do here without basically going through university again. And you/she will not be eligible for scholarships. Nobody will really think of her experience in Iran as being applicable in Europe (regardless of how true or not that is), save for some niche circumstances like her being able to find a job working for an Iranian company or a company that works with Iranian companies a lot. I don't have to tell you that there are very few of those around.

Not to be a Debby Downer, but at least if you plan to come to Europe, make very sure you know what you're getting yourself into. Fair or not, you'll be lumped in with 100's of thousands of other Middle Eastern and African refugees, and it'll be very hard to get your foot in the door in professional jobs in Western Europe (and I imaging in Southern- or Eastern Europe it'll be more difficult still, as you'll have basically 0 chance without speaking the local languages very well).

roel_v··on Tether starting to lose its peg too, after Terra did
What subs?
roel_v··on Marriage and luxury beliefs at the United Nations
Your translation doesn't include 'propter'. A more accurate translation is 'with this, therefore because of this'. Which is a pretty intuitive description of the fallacy it describes.
roel_v··on The computers used to do 3D animation for Final Fantasy VII in 1996
I once (2001) almost bought an Onyx at an auction where the ill-gotten stock (rather, what was left of it) of a con man who had managed to swindle a lot of computer companies out of all sorts of gear was sold. Apparently, this guy had dressed up as an Army general, gone to all sorts of companies in the first dot com boom, and gotten them to deliver all sorts of 'samples' to a fake dropoff point which he then sold on.

It was a massive auction, ranging from pallets full of backup tapes to stuff like this fridge size Onyx (looking at the Onyx wikipedia page, maybe it was actually two Onyx's in a rack, like the image for Onyx 2? Or maybe it actually was an Onyx 2? I didn't know anything about theses things, just that they looked cool, and they were legendary among us first wave Linux adopters, which most 'real Unix' folk at the time still looked down on).

Anyway there was so much stuff to be sold, that the normal auction house didn't have enough storage, so they had to move to an actual (disused) pig sty in the same village. Complete with smell from the remaining functioning animal stables on the rest of the farm (which was still an actual functioning farm).

Most of the stuff sold quite quickly, then when the Onyx went up, nobody wanted to bid. Everybody was sort of looking at each other with shifty eyes, waiting for someone else to make a move. As mentioned I didn't know anything about IRIX or any non-free Unix basically, nor did I have money or a place to put such a machine, but I just shouted out '250 euros!' and the auctioneer looked relieved that at least someone was going to take this thing off his hands. Then some other people started bidding, I got over excited and bid along up to a thousand euros or so and then I came to my senses and gave up. IIRC it eventually went for a few thousand.

That auction hall looked like a 'revenge of the nerds' casting call. Good times.

roel_v··on One Year with R
I think (and I usually anger at least some people when I say this) that it's wrong to see R as a 'programming language'. I mean, it looks like one, and it's Turing complete so if you use that as a criterion it is a programming language, but I think it's more useful to see it as a stats software package with a text-only user interface. Approaching it this way instead of as just another language to 'pick up' makes using it much less frustrating.
roel_v··on Tell HN: I can't buy a PS4 because of my email
"trying to validate emails with regex will never work in practice"

Of course it does. It just depends on how you define 'validate emails'. Your statement is ambiguous. The Friedl has an entire appendix on a single regex that validates an email address to the format described in RFC 5322, although of course maybe a proper parser would be better, from a technical perspective. However, an email address being in the right format does not ensure that the user that email address is 'associated' with (for whatever definition of 'associated' that is appropriate to the application we're talking about) can/will actually receive emails send to that address.

You should do both. Do a first 'pass' validation to check the user didn't make a type. This is more for user convenience, as this can give immediate feedback. And then send an actual email to see if email is deliverable there.

The problem here is not that they checked the format. The problem is that they check the wrong way. Although it's not entirely unthinkable that it's sometimes appropriate to add additional constraints to which addresses you want to accept, e.g. banning certain tld's, or even only accepting whitelisted ones. If your fraud stats say that doing that reduces loss, it's not unreasonable to add such a third filter layer.

roel_v··on Mealie – a self-hosted recipe manager and meal planner with a RestAPI back end
This was one of my main goals too (having/managing a set of known-good recipes and some way to be reminded of which ones we should come back to), and I tried many digital-only methods, but none stuck. For the past few years my strategy for this is offline-first. I have a bunch of recipes in 'enhanced Markdown' (Markdown with my own additions, very similar to Cooklang that was on here a few days ago, but that didn't exist when I started my software) and a script to make a pdf out of those recipes (a nice looking pdf, I bought some 'cookbook templates' off etsy or something similar). I print that and keep recipes in a binder, annotate on paper, and every now and then I go back and work my notes into the Markdown recipes then re-render and re-print the pdf.

Then, when I do meal planning (usually in the weekend, depends on when we have a slot for grocery delivery) we (as a family) look through the table of contents of our family recipe book/binder and we usually eat (per week) 2 to 3 recipes from there, 1 or 2 from the 'we should try these' sources (printed recipes we come across, our newspaper has recipes daily, pinterest boards, youtube videos, ...) and 1 or 2 nights we have leftovers or takeout.

This planning ties in with an offline-first grocery shopping/meal planning system that revolves around a cork board with laundry pegs to hold that weeks planning, which my children made/decorated when they were little.

roel_v··on Mealie – a self-hosted recipe manager and meal planner with a RestAPI back end
It's one of the programmer's rite of passage projects - along with todo apps, custom programming languages and text editors.
roel_v··on Cooklang – Managing Recipes in Git
Are these scaling factors baker's percentages? What is the purpose? I.e. what do you use them for? And if these are specified for all recipes, what do you use as the 100% for recipes that aren't based around flour?
roel_v··on Cooklang – Managing Recipes in Git
LOL. Simple projects like this are a dime a dozen. There's no money to be made here.
roel_v··on Boyfriend-alert – A light based alert system
LOL.

GF: "Hey, can you come have a look at this shirt I bought?"

Parent: "Yeah can you please file a JIRA ticket for that, and appropriately tag its priority? I'll get notifications through my regular workflow channels and this will enable me to respond to your requests in a more timely manner! Thanks!"

roel_v··on Agatha Christie could afford a maid and a nanny but not a car
"Not too long ago you'd have a house with a spare bedroom or two or three. "

Uh, not too long ago it was absolutely normal for a family of 10 or 14 to share 3 or 4 bedrooms.

roel_v··on Agatha Christie could afford a maid and a nanny but not a car
Do you mean water, electricity etc? Because in 1919 those were not universal (not sure about how 'common' they were in London, but in much of Western Europe they weren't even that), and heating would have been done through coal too, I presume. No double glazing or any other insulation really, wooden stairs and wooden beams between floors, no hot water taps, ...

'Living' (as in, living in a house) back then was vastly worse than it is now. Just over the last 10 years, the required (as in, required by building codes) comfort levels of houses (in Western Europe) have gone up so much that they add at least 20% to the cost of building, not counting inflation. (source: am a part time real estate developer).

roel_v··on Agatha Christie could afford a maid and a nanny but not a car
But not (or much less so) in 1965, which is when Baumol made his observation.
roel_v··on I think I know why you can't hire engineers right now
MMM sells shovels in a goldrush, and got divorced (with relatively young kids) out the blue while selling his white picket fence (albeit a cheap one) lifestyle dream for years. Hardly the one to bring up as an example for a successful FIREee.
roel_v··on Staples Center to be renamed Crypto.com Arena as part of 20yr naming rights deal
There are at least 4 crypto trading apps advertising during prime time on Dutch TV, a country of 17mm people. Insane. It just feels like it's 2000 all over, in so many respects. I look at my stock brokerage accounts every couple of days and it's all up up up, at insane rates. The only thing I wonder is not if but when the music will stop.
← PreviousPage 5 of 34Next →