Readit News logoReadit News
sizeofchar commented on Brazil offers America a lesson in democratic maturity   economist.com/leaders/202... · Posted by u/yakkomajuri
sizeofchar · 4 months ago
I am sorry, but this article is a bag of lies. It is just buying and broadcasting the official story from human rights violator Justice Alexandre de Morais, who is persecuting opposition and making up trials as Moscow did in the great purges.
sizeofchar commented on Haskelling My Python   unnamed.website/posts/has... · Posted by u/barrenko
notpushkin · 8 months ago
Absolutely unrelated, but there’s a Haskell-like syntax for Python: https://web.archive.org/web/20241205024857/https://pyos.gith...

  f = x -> raise if
    x :: int  => IndexError x
    otherwise => ValueError x
Complete with pipelines, of course:

  "> {}: {}".format "Author" "stop using stale memes"
    |> print

sizeofchar · 8 months ago
Wow, this is so awesome! A shame it didn’t progress.
sizeofchar commented on TypeScript types can run DOOM [video]   youtube.com/watch?v=0mCsl... · Posted by u/franky47
layer8 · 10 months ago
I wonder if there will come a time when the HN audience will stop being amazed that some system is Turing complete, or that any Turing-complete system can run Doom (barring resource constraints). Maybe I’ve just seen it too often. The fact that TypeScript’s type system is Turing-complete was shown back in 2017 [0], and then of course you can run Doom on it.

[0] https://github.com/microsoft/TypeScript/issues/14833

sizeofchar · 10 months ago
There is a big gap between "Turing complete"-able and "real-time, interactive, graphical and performant"-thing.
sizeofchar commented on The Power Mac 4400   512pixels.net/2024/12/the... · Posted by u/speckx
MBCook · a year ago
Oh. That’s too bad.

The first 3.5” drive I ever had was in an LC II. Before that I had only used a 5.25 in a PC XT or something like that. Being able to have it suck a disc in or ejecting a disc and having it pop out with that great mechanical noise was fantastic.

Because my age I thought all drives were like that. The first time I used a Windows PC (3.0?) I was surprised that you had to push the disc in by hand and that it didn’t just show up on the desktop in Windows. I had to be introduced to the concept of drive letters. Seemed relatively barbaric to young me.

Of course within about two years I was asking for my own PC for all the great games. So that didn’t last all that long.

sizeofchar · a year ago
That is really interesting, in that it is the opposite of my childhood understanding. I started with CP/M and DOS, and the first time I came to a Linux machine, I just couldn't understand how someone could work with drives without the letters (dedicated namespaces, right). My thought was that it was a less polished design.
sizeofchar commented on Our audit of Homebrew   blog.trailofbits.com/2024... · Posted by u/zdw
brandall10 · a year ago
Anyone know why Homebrew overtook MacPorts? I only have a vague recollection of a Rails colleague pushing me to switch circa 2013 or so and haven't given it much thought since, but it (MacPorts) seemed to be similarly ubiquitous prior.
sizeofchar · a year ago
When I started using a Mac in 2009, MacPorts, Fink (and I think there was another I can't recall the name) simply wouldn't work for me. They would take very long to build what I wanted, there weren't nearly as many packages as was in Debian/Ubuntu, and many were old versions. Worse, many build attempts would just fail.

In that scenario, brew worked like a charm. It was quick, had most or even more packages than Debian/Ubuntu and they were newer. Failure to install was rare.

Then, Apple started yearly release of OS X, and that both broke brew and my system hard, so I started investigating and found out about the many "shortcuts" that brew took and how it violated systems components. I was dismayed, and abandoned brew for good.

So, I stood a period where I would use many of my tools inside a Ubuntu VM, until probably 2013-2014, when for some reason I tried again MacPorts, and I don't know why, but that time it was much more reliable, and because of Apple's insane atm SSDs with 2 GB/s bandwidth, install became quick enough. Packages were still somewhat lagging behind in available versions, but the variety of them kinda reached the levels of what was in Debian/Ubuntu, so it was good enough for me.

Then, the killer feature, I found out about macports variants and selectors, which I find the most awesome thing to this date in package managers (I haven't tried nix, still, it might be magnitude better in that regard). No needing to use rvm, pyenv, custom installs of gcc messing with make/autotools, and the only sane way of compiling various Haskell projects (before haskell-stack).

sizeofchar commented on Brazil's catastrophic weather spawns spate of conspiracy theories   phys.org/news/2024-05-bra... · Posted by u/saikatsg
1oooqooq · 2 years ago
truth is much simpler. this region is like the Netherlands, it requires protection against back flood when rains change course of rivers. simple small dams.

this region have been governed by workers party since forever. zero floods. well, small ones that overridden the dams.

last extreme right elections put an extreme right government in that region since a long time. zero maintenance on "fake climate change" things. this is the result.

it's one hundred percent like Texas power grid. hence why the right wing sock puppet accounts are pushing flat earth level disinformation.

reality is always more boring.

and as always, if you even acknowledge the nonsense, the trolls win.

sizeofchar · 2 years ago
Truth is much simpler. The rain volume was unanticipated, no matter what government was there, the catastrophe would still happen.

As you wrote, the left governed there for decades, and no adequate containment for this event was built, nor it was built by the following center-left following governments. There was never a right or far-right government there since the 70s. Unless you are referring to Bolsonaro, but then it would be weird since he’s already superseded by the worker’s party by a year and a half now.

sizeofchar commented on Accenture to Acquire Udacity   techcrunch.com/2024/03/05... · Posted by u/hiyer
beoberha · 2 years ago
This is unfortunate to see. I remember when these alt-Ed startups were all the rage and there was a genuine belief that we were on the cusp of a paradigm shift in how we learned.

Would love to hear some success stories if anyone has any!

sizeofchar · 2 years ago
I completed the CompSci X-Series of MITx on edX, and Software Engineering for IaaS, from BerkeleyX. They were so awesome that I can only think they phased them out because it was such a bargain. Practically, the courses allowed me to change career and to be well positioned.
sizeofchar commented on Archiving Steam games for fun and profit   lorendb.dev/posts/archivi... · Posted by u/LorenDB
techdmn · 2 years ago
One thing that drives me crazy is the current trend of never calling a game "done". It's one thing to ship bug fixes, but I'm talking about a constant stream of updates that add elements to the game, change the rules, change the balance, etc. I blame Minecraft for starting the trend, but Among Us and Polytopia come to mind as additional recent examples. It's weird when I start playing a game at, say, v1.6, really like it, then suddenly it can't be had anywhere because v1.7 is a different game.
sizeofchar · 2 years ago
It is as old as MMORPGs, at least. In 2001 you couldn't play Ultima Online like you did in 1998.
sizeofchar commented on Can’t send email more than 500 miles (2002)   web.mit.edu/jemorris/humo... · Posted by u/dvrp
suzzer99 · 2 years ago
I love this kind of stuff. When you're sure the thing that seems to be happening couldn't possibly be happening, and then you find out that literally the speed of light is coming into play.

We had a similar problem at one of my first jobs where I was a programmer and backup network support guy. One employee was having a problem with his CRT monitor flickering. It was very subtle, but just enough to drive him nuts.

So we replaced the monitor with one that worked fine on another machine. Same problem. We tried replacing cables, power cords, and did a bunch of other troubleshooting things. Problem persisted. Eventually we replaced his entire computer. Same problem.

Finally I put his computer and monitor on a cart with an extension cord and wheeled it out into the hallway. The problem went away. It turned out to be bad electrical shielding in his office.

sizeofchar · 2 years ago
I once worked in a lab where all computers had its own electrical stabilizer, but they were so poor that probably they did more harm than good. When someone turned on a stabilizer, the nearest CRT monitors would distort for a second, then flicker and colors would be degraded.

Luckily, my place was by the wall, so the effect was diminished, but it gave me big headaches. I lasted only 6 months in that company this being the biggest reason.

sizeofchar commented on JDK 21 Release Notes   jdk.java.net/21/release-n... · Posted by u/mfiguiere
bad_user · 2 years ago
Async in Python, for a long time, has been a horrible hack relying on monkey patching the socket module. The newer asyncio stuff is quite nice by comparison, but the problem is that Python, due to its popularity, has libraries that haven't been upgraded.

Python always had deployment issues, IMO. In Java, 99% of all library dependencies are pure JARs, and you rarely need to depend on native libraries. You can also assemble an executable fat JAR which will work everywhere, and the fact that the build tools are better (e.g., Maven, Gradle) helps.

Compared with Python, for which even accessing a RDBMS was an exercise in frustration, requiring installing the right blobs and library headers via the OS's package manager, with Postgres being particularly painful. NOTE: I haven't deployed anything serious built with Python in a while, maybe things are better now, but it couldn't get much better, IMO.

sizeofchar · 2 years ago
It got better, with containers.

u/sizeofchar

KarmaCake day112December 14, 2016View Original