Better HN
topnewbestaskshowjobs
Log inSign up

doodlesdev

3,169 karma · joined Nov 9, 2020 (6y ago) · 852 submissions

Hi, how's your day?

https://www.doodlesdev.com

Submissions

comment 3y ago · link · parent

Do you have evidence about that? Don't you think so many people being terminally online affects the way they act towards others?

Personally, I believe it does. It's even ironic to me that your comment was downvoted, like, why? Is this really how we think about the world nowadays? Dislike/like. No discussion.

Anyways, I have to say Hackers News has been the source of well spent evenings with this nice community, so there's at least one data point there that these changes in culture weren't caused by tech.

comment 3y ago · link · parent

I would give up all these things if I could. In fact that's my life plan, I want to get enough money to be comfortable (not necessarily financially independent) and move into the countryside in some temperate climate country. This is not my retirement plan, it's my life plan.

My retirement will be spent isolated from society, although that's another matter for another day. But seriously, perhaps my perspective is warped by the fact that I'm used to all these things already. Kind of like how the best software is the one you never hear or think about since it doesn't get in your way.

comment 3y ago · link · parent

Perhaps, but as I said I also see it around me. Many of their problems also arise from computers. There are two way I see people dealing with this:

- It's normal, I don't need to do anything. These people are the ones who were born 90s or later. They see computers as a simple fact of life.

- It's not a problem, at least we have something. These people will generally be older and I think fail to see the incredible potential benefits of tricking a rock into thinking for you.

These are all generalizations of course, not social facts but simply representations of how I experience reality. The thing that really ticks me in the wrong is that people in other industries don't always see the things they do as a net negative for humanity.

For instance, most types of engineering such as civil, eletrical, chemical, etc. have real net positive benefits in the way I and everyone around me experiences life. I've never seen a civil engineer say they hate how we built bridges. I've met very few computers scientists who were confident about the way we deal with computers.

Anyways, this is just a long way of saying I agree, but that I don't think it invalidates what I talked about tech companies not being a net positive.

comment 3y ago · link · parent

You know what the biggest problem for me is with tech and computers in general? I don't think tech companies have actually made the world better, in fact, every single day of my life I can see countless examples of how the technology gold rush has generated worse outcomes for everyone involved. I love computers, but I also have to admit most of my problems in life come from them. Companies spend hundreds of millions of dollars, developers study for years, but we still get low quality software everywhere that instead of solving issues they create more.

Life could be simpler. It used to be simpler. And I believe it will go back to be simpler when our minds get rid of the haze this technology gold rush has created, and we simply as developers and users start valuing free software, simplicity and consistency. I'm just not confident it will happen soon, though. I think we still have at least a few tech bubbles and a few thousand startups before we reach that point.

comment 3y ago · link · parent

I'm a big proponent of doing exactly what you say, however, for some companies the text rendering is an essential part of their branding (take Discord as an example). In those cases you might not want to load webfonts to reduce reflow, bandwith usage, etc. However using sans-serif or serif will generate very different results in each platform, these font stacks are optimized to look almost the same on each platform. The GitHub has much better information about this than the website itself since it has screenshots of the fonts instead of relying on your browser rendering them.

In practice though using system-ui, sans-serif, serif and monospace is truly the best answer. I'll override any websites fonts with mine anyways so I don't bother with criticizing websites that use bloated web fonts or font stacks unnecessarily. :D

comment 3y ago · link · parent

But then my eyes will be blasted with the light power of a thousand suns. I prefer the strobing.

comment 3y ago · link · parent

This website feels outdated, if the idea is to use the system fonts you might as well be using system-ui (although that can come with its own set of can of worms if you care about i18n). Specially because it's using -apple-system which is literally the same thing as system-ui nowadays (Apple was the one to propose and push for system-ui).

The font stacks themselves seem solid though. Specially for serif and mono where of course system doesn't cut and ui-monospace is only supported on Apple devices (similar to system-ui but for monospace).

comment 3y ago · link · parent

I would love to see more websites that do this:

   font-family: system-ui, sans-serif;
Instead of trying to download fonts from Google Fonts (which I block though uBlock Origin filters) or the "superior" Bunny CDN or whatever it's called. Nowadays I even went to the point of forcing all websites in my web browsers to use system-ui and I could not be happier. A few advantages of that are:

- Websites load faster.

- Typesetting is beautiful everywhere.

- Text is readable and consistent.

The only problem I still have is when websites decide that using web-fonts is a good way to ship icons, I have no option sometimes but enable remote fonts and I hate it.

If you aren't using system-ui yet take a look here how it looks in various operating systems: https://github.com/system-fonts/modern-font-stacks#system-ui

comment 3y ago · link · parent

   > Right now it requires you to use either the Edge browser (I don't want to switch)
Or faking your user agent...

https://github.com/anaclumos/bing-chat-for-all-browsers

comment 3y ago · link · parent

   > Throughout human history, anyone can profit off of hearing something you said in public.
I think the big difference here is that this will now be automated. This comment I'm writing right now is being "donated" to any company that wants Hacker News on their dataset, but they didn't even need to go through the work of reading my comment to use it, they just feed along with hundreds of terabytes of random text they get from the internet and apply heuristics/other models to filter the dataset. I feel somewhat uneasy about it, specially when writing code now. I don't think my code is good in any way shape or form, but there's a reason I license them as GPL, I don't want it used without being contributed back in some way, I write that for the greater good. License infringement was always a touchy subject since it's quite hard to find license infringement in proprietary software, but now that an opaque black box is involved in that process the people write the software might not even know they violated a license.

Just throwing ideas, I'm not really in favor or against LLMs using public datasets. At least on one side, it levels the playing field among all participants. On the other side, however, big tech will always have an edge in training and testing these large language models. My current stance is to just wait and see what happens, and then react accordingly.

comment 3y ago · link · parent

   > And then a bunch of small business fail, then everyone else looks at 20 other small and middle-tier banks and realizes they don't want to end up the same way and pull their money out, then they fail
Why the hell should a bank fail if people take their money out of it? THAT's the problem. It's just not a thing in other parts of the world _even with fractional banking_. The fact a "bank run" can generate losses for depositors is simply a consequence of a lack of regulation. The further fact this can generate a "contagion" is a consequence of the banking system simply not hedging their investments correctly and not applying simple risk-management mechanisms, and they do it for the same reason: lack of regulation that keeps the accountable.

Again, this kind of problem simply doesn't exist elsewhere. Just look outside the United States and the solution is simple: either you deregulate or you regulate, you can't have your cake and eat it too.

comment 3y ago · link · parent

https://archive.ph/PD7qf

553.

When are intuitions a good guide to reality?(iai.tv ↗)

1 points · by doodlesdev · 3y ago · 1 comment

comment 3y ago · link · parent

https://archive.ph/Yg4iu

comment 3y ago · link · parent

Hmm, that does make sense. The other comment here said that this kind of change is almost impossible to happen is such as short amount of time, which makes sense. Maybe they were already planning for a change in strategy by the new CEO, and this just happened to be an appropriate time to get done with the change already.

edit: Oh well the other commenter was the new CEO LOL, not used to reading usernames. I guess that adds a bit of bias but I believe it's a true statement.

comment 3y ago · link · parent

I find it almost impossible to not see them as related. Take a look at [0]. Long-term this could be a good decision, I believe early-stage investing really is different to late-stage investment, but of course the moment to make this decision makes it evident there are other factors at play that influence this.

[0]: https://news.ycombinator.com/item?id=35114009

comment 3y ago · link · parent

   > Owners of unsecured debt and investors are left out. Which is fine by me.
Also fine by me.

The distinction I attempted to make in my comment was that there are actually something like four parties in this case: Holders of debt, investors, insured deposits and uninsured deposits. I find it absurd the FDIC is going to realize a loss to cover uninsured deposits, because that's simply not what they should do if they followed their own standard. Remember, even though it's state-owned the FDIC is a company, Americans should be worried if the FDIC takes actions that could ultimately put in risk money that _is_ actually insured. If they run dry, they will have to tap into the government's pockets and that's when shit truly hits the fan.

comment 3y ago · link · parent

That is ok as long everyone plays by the same rules. The problem I have specifically is the fact they are making a "special exception" for Silicon Valley bank, but haven't done for other bank collapses. This case of course had the potential to generate contagion, but if that's a thing that happens too often, then there is a systemic issue with how banks are regulated in the United States. I should note this is my point of view as an outsider. Outside the United States issues such as the one we are discussing simply aren't a thing because banks are held to much larger scrutiny, and thus spending depositors money into MBS is not really a thing.

Again, regardless of your political stance or economical, I recommend you read the linked Forbes article about the "Reform Act" I linked to previously [0].

[0]: https://www.forbes.com/sites/mayrarodriguezvalladares/2023/0...

comment 3y ago · link · parent

That would all be ideal and ok if fractional banking wasn't a thing. Your bank makes money out of investing your money. That's just how it works. But for some reason, some banks are more privileged than others. Citibank can't stop receiving bailouts every 50 microseconds because their management sucks. Silicon Valley Bank depositors receive back money from _uninsured_ deposits. Ultimately, someone has to pay the bill.

I'm not saying prevent the contagion is a bad thing. We all know what happens when contagion becomes a systemic problem (2008). What I'm suggesting is that the fact a bank like this can even fail in a way like this is absurd. I'm mostly someone who defends less regulation over more, but if we are going to regulate banks we need to hold everyone to the same standards, and make sure everyone is accountable for their mistakes and risks taken. If that requires the FDIC raising the amount of deposits that are insured, sure, go with it, but creating "exceptions" every time a medium-sized bank fails is sure to create moral problems, corruption and increase inequality systematically.

What I'm talking about is thing such as the "Reform Act" from 2018, which was basically what allowed this Silicon Valley Bank disaster to happen [0].

[0]: https://www.forbes.com/sites/mayrarodriguezvalladares/2023/0...

comment 3y ago · link · parent

I suggest that the FDIC does what it should do and cover all losses that were insured, and let the uninsured losses be realized, as they should be normally. There's a gigantic moral risk in the FDIC covering uninsured losses, because that's a value judgement, and if next week my bank fails why shouldn't the FDIC cover all of my uninsured losses too?

The value judgement that was done here is that if they didn't do it this bank collapse would generate contagion, which I believe is understandable, however if that is the case there should be other ways to prevent this kind of thing such as regulation that prevents banks from putting customer deposits into mortgage-backed securities (what the actual fuck, I still can't believe they've done this, it's like the world has learned nothing from 2008).

Specifically I note that around 2018 there was regulation passed that reduced the amount of scrutiny banks such as Sillicon Valley Bank would receive [0], which we all know now how well that worked. Everyone needs to be taken accountable to the same degree, there should be no special cases or "exceptions". And if a need for those appears that should indicate a systemic problem instead of simply a isolated one-time event.

[0]: https://www.forbes.com/sites/mayrarodriguezvalladares/2023/0...

comment 3y ago · link · parent

It's just Google Tag Manager, that's also why if you have JavaScript disabled or ClearURLs (or similar) it won't work as they won't be able to see the UTM tag.

comment 3y ago · link · parent

Depositors aren't though, which is the issue. FDIC will cover losses that weren't actually insured (above $250K). The money doesn't come out of the "taxpayer" but instead from the banks, but guess from where the banks get money from?

comment 3y ago · link · parent

I thought Glib was mostly used in GNOME applications? Does it see any use elsewhere (i.e. Windows/MacOS)?

comment 3y ago · link · parent

   > What's the point of a captcha if they are using some other metric anyway?
It's all about not letting scrapers or bots know that they have been blocked, similarly to something like always failing SSH attempts after a certain amount of failures to prevent brute-force attacks. By the way I should say I hate CAPTCHA too, not defending the practice.

comment 3y ago · link · parent

Another language that's more modern and currently useful but which is very tiny to write an interpreter for is Lua [0][1]. Currently the official Lua interpreter has around 30k LOC which I find pretty amusing for a language used so widely in games and for scripting purposes [2]. Of course it's still at least an order of magnitude larger than a small Tiny BASIC interpreter but the fact it's a current language used in so many places makes it even more interesting to make your for-fun implementation.

Also related to small language implementations I find notable PicoC [3] which is a C interpreter written in around 3k LOC of C. Past discussion about it here 13 years ago [4].

[0]: https://www.lua.org/about.html

[1]: https://www.lua.org/spe.html

[2]: https://en.wikipedia.org/wiki/Lua_(programming_language)

[3]: https://gitlab.com/zsaleeba/picoc

[4]: https://news.ycombinator.com/item?id=1658890

comment 3y ago · link · parent

Smart pointers in C, wow, who would imagine? Although I must say, I'll probably never use this in a project because:

- Using C for anything but systems programming is either malevolence or for fun, there's no pratical reason for it. In this case you probably don't want to have external dependencies only to have data structures.

- Having dependencies in C is an absolute pain in the ass unless it's a single header file (such as sqlite). It also makes it much harder to make the codebase portable.

I might try it out though just for gigs and laughs.

Tangentially, I wonder why more C developers don't use self-contained dependencies such as GNULib [0], Klib [1], or APR [2] instead of reimplementing base primitives. It's so common for C projects to reimplement every single thing from scratch. "If you want to make a pie from scratch, you must first invent the universe" kind of thing.

Managing packages is a pain, but reimplementing an efficient battle-tested hash table is even worse IMO. Would be happy to hear it from people who worked (professionally) with C about this.

[0]: https://www.gnu.org/software/gnulib/

[1]: https://github.com/attractivechaos/klib

[2]: https://apr.apache.org/

comment 3y ago · link · parent

I'd say that $_ is really weird and looks horrible. Also having to do (10 * 1024 * 1024) instead of just writing 10MB is a downgrade even compared to POSIX-compliant sh. In my other comment I've added a few examples in sh, zsh, and a better PowerShell example:

   gci | ? Length -gt 10MB | sort LastWriteTime

comment 3y ago · link · parent

The fact PowerShell has this masochistic tendency to have commands that start with capital case already makes it outside of the realm of consideration for me. It's absolute nonsense. Also I have to say your example is extremely confusing and would probably take quite a bit of time to write IRL. For reference, the equivalent in sh would be:

   find . -maxdepth 1 -type f -size +10M -exec ls -lt {} +
Or a very terse example:

    du -s -h * | sort -r -h | sed 10q
The thing is that if you're already used to POSIX-compliant shells then this is simply natural to write. Nushell has a different proposition of making it closer to natural language, which makes the learning curve much better. PowerShell just makes it different, but not really that much better.

Also this is somewhat tangential, but I hate that PowerShell 5 and 7 are completely different things, and that PowerShell 5 is still the default even in Windows 11.

Oh yeah, and just for lols this is the same thing in zsh:

   ls -lt *(.L+10240k)
By the way, I should note that it's possible to make the PowerShell example much simpler like the following:

   gci | ? Length -gt 10MB | sort LastWriteTime
The thing that really gets me here is the need to know aliases to keep it short, if you were to do it without the aliases it would look like this:

   Get-ChildItem | Where-Object { $_.Length -gt 10MB } | Sort-Object LastWriteTime
Also, again, case-sensitive commands make me mad.

comment 3y ago · link · parent

Unfortunately from the businesses point of view it doesn't work necessarily. Small creators make proportionally much less money than big creators, specially in platforms such as Spotify. Also platforms such as Spotify aren't even profitable (at least not yet) [0].

I would love to see a better internet, but I'm the first to admit I have no idea how to monetize it in less invasive ways that keep it accessible.

[0]: https://www.reuters.com/technology/spotify-beats-revenue-for...

comment 3y ago · link · parent

Thank you so much for this, I didn't see dang's comment in that thread.
1
181920
29