HNHacker News
TopNewBestAskShowJobs

flafla2

752 karma · joined December 22, 2015

All opinions are my own.
submissionscomments
flafla2··on ‘Matryoshka’ diamonds unearthed in Siberia (2019)
I wonder if probability theory comes into a valuation like that. Something like, what is the expected value of some whale collector’s valuation. I’d love to be a fly on the wall during whatever auction would be run.
flafla2··on How to make roguelike games in Rust
Although I get where you’re coming from, I disagree with the assertion that this makes it “not really ASCII art”. At the end of the day modern terminal emulators use a graphics API at one point to render characters on the screen. You wouldn’t say that iTerm2 isn’t a “real tty” because it has a metal backend (in this case, iTerm2 is also using a custom shader to render ASCII/unicode — more complex than this game of course). Where do we even draw the line? Is ASCII art only legit if it can render natively in a traditional terminal? How about only one without hardware acceleration? POSIX compliant? Further down the rabbit hole we could draw a line in the sand at tty’s with no window manager.

It would still be trivial for the developer to add an “textshot” feature to export a frame to .txt, so I’d still qualify it as fitting the ASCII art aesthetic.

flafla2··on Simple Proof to the Container with Most Water Problem
Good lord, that takes grit to say the least. I would love to hear some war stories from this time, unfortunately there are no anecdotes or any of his dis-proofs on his blog (at least that I could find).
flafla2··on No nuances, just buggy code (was: related to Spinlock implementation)
I disagree with this sentiment. Linus' answer not only describes the immediate bug, but also gives enough detail and context that other, similar potential bugs related to the scheduler may be avoided after having read the entire post. Also I don't think Linus is being egregiously impolite in his post; he isn't calling the author of the post garbage. Calling the code garbage is not a personal affront, but an objective statement to dissuade others from being misled.

If this was a truly idiotic / trivial mistake I doubt Linus would put much thought or time into such a long post. I also think that if you are going to write a blog post, you are implicitly supposing a place of authority and therefore opening yourself to criticisms. In other words, writing a blog post that is incorrect (in this case, very incorrect) is actively harmful as it misleads others, and it is important to call out wrong posts when necessary. I've posted dumb advice with a know-it-all voice before too (see [1] for an embarrassing HN comment) and I am not at all angry/annoyed that I was similarly called out.

[1] https://news.ycombinator.com/item?id=20017832 (edit: wrong link)

flafla2··on Godot Engine – A decade in retrospective and future
Unity has had nested prefabs for over a year.

https://docs.unity3d.com/Manual/NestedPrefabs.html

flafla2··on Godot Engine – A decade in retrospective and future
The Unity portion of this comment is very out of date. UnityScript ("some JS variant") and Boo ("some weird Python style thing") had support dropped years ago.
flafla2··on SamyGO: Open-Source Firmware for Samsung TVs (2011)
Clearly, these (minor) grammar issues are predicated on an ESL background. This package is very respectable and relevant to the #1 post on HN as of this morning [1]. Why disrespect the OP in the light of legitimate engineering?

[1] https://news.ycombinator.com/item?id=21899491

flafla2··on Samsung TVs May Upload Screenshots for Automatic Content Recognition
> IoThieves

Hah, love it! I’m buying a TV today actually, I’ll use this when I have to convince the Micro Center guys that a dumb TV is really what i want

flafla2··on Just JavaScript
> I will send you drafts of Just JavaScript directly to your inbox for free.

> There's no editing.

> No polish.

> It's more like a conversation we would have together over a cup of coffee.

> By subscribing to updates I will add you to my email list and send a sequence of emails describing my JavaScript mental models. This will eventually be a paid course, but you can unsubscribe at any time.

In the spirit of the holidays, this is a wonderful gift! Looking forward to checking this out. Cheers :)

flafla2··on The investigation into ToTok
I would hesitate to call it a feature. Realistically, nobody that I know would consider "analyzing my contacts to automatically suggest potential connections" an important or even productive feature. Certainly, nobody is switching to ToTok because of it. It is only a feature from the perspective of the platform holders; for a company like Facebook it is used to increase engagement (and thus ad revenue), and for ToTok it (allegedly) is used for surveillance.
flafla2··on Kutt – a modern, open-source URL shortener
They're useful when you need to get people (especially large groups) to type in a URL. For example, I use them when teaching classes to e.g. fill out attendance sheets because I can simply write the url on the board.

I'd agree that if the method of delivery is a link, there is no valid reason to use a shortener.

flafla2··on Xor Filters: Faster and Smaller Than Bloom Filters
This is damn awesome. Keep up the good work!
flafla2··on Commit messages are not titles (2015)
I think the core issue is that people consume/view Git commit messages in different ways depending on their needs. Realistically, most people today use Github/Gitlab/Sourcehut/whatever web git gui along with the Git CLI. So the old wisdom of "commit-as-subjects," which made sense when people viewed commits in email chains, is no longer always relevant. In many organizations and communities, git commit messages mirror PR titles, and in this specific context it makes a lot of sense for commit messages to be written as titles with a longer description attached. As an individual, I might use git to version a blog post I'm writing, and in this case I could use my own entirely individualized semantics for commit messages.

I don't even think there is a choice that is "optimal in absolute terms" as you claim. However, consistency within a project is absolutely key and is something we can hopefully all agree on.

flafla2··on Commit messages are not titles (2015)
I agree, context is everything. Some commenters here and in the OP argue that there should be no dot at the end because git commit messages are used as the subject of emails. This is of course true in the context of e.g. the linux kernel [1], so the advice makes sense in that context.

But realistically most people today view git through a different client than email, usually github/git CLI. Often, commit messages are the same as PR titles; in that context it makes sense to adopt commits-as-titles. It all comes down to team preference ultimately.

[1] Technically not 100% true these days due to the github mirror

flafla2··on Show HN: HNTerm – Browse Hacker News in the Terminal
Wonderful. Very solid engineering here, using the right tool for the job.
flafla2··on WoW streamer hires YouTubers who leeched off his stream to run official channel
People don’t watch live streamers for the game, they watch them for the streamer. On the contrary, 90% of the value of the stream comes from the personality playing the game and 10% comes from the game itself. It is common for streamers to jump around many games because it was never about which game was being played.

A good example of this is DayZ, a game that was very buggy and had a lot of negative criticism, and yet it became very popular because streamers pushed it so hard. Even bugs and broken mechanics can be fun if you are watching streamers laugh at it

You could also consider the game to be a “set,” i.e. a digital space that the livestream is filmed within.

flafla2··on Click Here to Kill
> one would hope that various law enforcement agencies have set up fake sites and are harvesting erstwhile 'clients'

This is entrapment, and is therefore highly illegal and in my opinion immoral as well.

flafla2··on SuperShuttle is going out of business
I thought this, until my ride to the airport was cancelled , 20 minutes before the arrival. I almost missed my flight, good thing Uber wasn’t particularly busy that day (this is in Pittsburgh where rider supply can really screw you).
flafla2··on Discontinued Microsoft Products
See "Games as a service is fraud":

https://www.youtube.com/watch?v=tUAX0gnZ3Nw

If you have an hour, I'd highly recommend giving this a watch. It is really sad to see any form of media die forever at the whim of a corporation. Games are especially prone to this unfortunately

flafla2··on Nov 2019 – Visual Studio Code Update
I'm continually impressed by the quality of VSCode updates every month. Almost all of these features are things that I wouldn't have thought of / asked for but am glad are now available. Truly at this point it is one of the best open-source projects out there, right up there with blender, Dolphin-emu, and Inkscape. Bravo to those at Microsoft and the many open-source contributors!
flafla2··on Ask HN: What are you looking forward to learn in 2020?
Not really. Minecraft, Unity engine, anything in Lua/python etc uses a GC.
flafla2··on Game Boy Advance “Hello World” Using Zig
Please don’t use blockquotes (4 spaces) for anything that isn’t code. Your comment is very hard to read on mobile.
flafla2··on Ask HN: Where are some low budget and good CS College?
I'm assuming you are asking about undergraduate schools since you did not specify. University is not free or cheap in the USA, unfortunately this is a reality that you will have to deal with if you want to study here. Most schools offer merit-based (scholarships / grants) and need-based aid. Need-based aid may be hard to come by if you are not a US citizen (perhaps other users with experience can chime in). IMO for undergrad financial aid will be the most important thing to bring down the price, so you should engage with the office of financial aid early at whatever colleges/universities you are applying to.

Public Universities tend to be cheaper, especially if you live in the state where the school is located. This is especially important if you live in a state with good public CS schools, like Illinois (University of Illinois @ Champaign Urbana is a top 5 program) or California (see the various UCs, including of course Berkeley). So if you are lucky enough to live in those states then that is a viable option.

If you win the admissions lottery and can get into an elite program (unfortunately it is a lottery, in many ways due to simple supply and demand, and I say this as someone in a top-ranked CS program), it's gonna run you up to $60,000 per year without any financial aid depending on the school. Many people will take out student loans to offset this cost, and with a CS degree it is easier to pay off the loans, but that is still a financial risk you need to consider.

Honestly, if possible, just go to school in the EU if you're an EU citizen. There are many great schools there and the cost of flying there and finding a house is likely lower than the tuition on this side of the pond. Many Americans would kill for the opportunity for a free education.

flafla2··on Accidentally Overwriting Another Local Variable in C and C++
> I can't let any types or anything get in the way of my productivity

Okay, sure.

> ...as I crush some mad code, braugh

What? I've never run into this. How does this have anything to do with opinions on types again? It sounds like you have an axe to grind.

flafla2··on Google halts political ads in Singapore as election looms: documents
I mentioned this in another comment, but you've hit the nail on the head. This idea is expanded upon by Thomas Sowell's idea of "Cosmic Justice":

> Presumably, the vast ranges of undeserved inequalities found everywhere are the fault of "society" and so the redressing of those inequalities is called social justice, going beyond the traditional justice of presenting each individual with the same rules and standards. However, even those who argue this way often recognize that some undeserved inequalities may arise from cultural differences, family genes, or from historical confluences of events not controlled by anybody or by any given society at any given time. For example, there was no way that Pee Wee Reese was going to hit as many home runs as Mark McGwire, or Shirley Temple run as fast as Jesse Owens. There was no way that Scandinavians or Polynesians were going to know as much about camels as the Bedouins of the Sahara-- and no way that these Bedouins were going to know as much about fishing as the Scandinavians or Polynesians.

> In a sense, proponents of "social justice" are unduly modest. What they are seeking to correct are not merely the deficiencies of society, but of the cosmos. What they call social justice encompasses far more than any given society is causally responsible for. Crusaders for social justice seek to correct not merely the sins of man but the oversights of God or the accidents of history. What they are really seeking is a universe tailor-made to their vision of equality. They are seeking cosmic justice.

The above is an abbreviation of a speech, which itself is an abbreviation of a book. I highly recommend reading the speech as the ideas are heavily expanded upon:

https://tsowell.com/spquestc.html

flafla2··on Google halts political ads in Singapore as election looms: documents
Allowing all political ads isn't politically neutral either, the establishment will presumably have far greater resources (in this case, money to pay for ads). Then the only other option is to ban or suppress certain political parties on Google's ad platform to appeal to some notion of "equality". But who gets to decide that? Do we really want Google deciding which political parties get more ad play?

I am reminded of Thomas Sowells idea of "Cosmic Justice" which was posted here a few days ago [1]. Giving Google the reins on political advertisement is an impossible game, and the only winning move is not to play.

> In a sense, proponents of "social justice" are unduly modest. What they are seeking to correct are not merely the deficiencies of society, but of the cosmos. What they call social justice encompasses far more than any given society is causally responsible for. Crusaders for social justice seek to correct not merely the sins of man but the oversights of God or the accidents of history. What they are really seeking is a universe tailor-made to their vision of equality. They are seeking cosmic justice.

[1] https://tsowell.com/spquestc.html

flafla2··on Shibboleths that get you past the initial script stage
Great idea, but realistically someone will figure out how to use it for ad-tracking.
flafla2··on Show HN: PortManager – Manage ports from your macOS menu bar
I'd imagine this was made mostly with developers in mind, but this looks like an incredibly useful tool for Gaming. Mapping ports to set up dedicated servers with friends can be a huge hassle! This would have been great when I used to run Minecraft servers.
flafla2··on Many elementary teachers don’t understand math, and it makes them anxious
Of course we all know this, so you’re preaching to the choir. However I think it would be quite demoralizing to tell a young student who is struggling with logarithms (to follow your example) that “it’s so elementary that there must be a practical use!” Indeed, middle and high school math is, to many, the most intellectually challenging thing they’ve ever had to deal with at the time these classes are taken. Considering they haven’t even taken higher order maths yet, students likely don’t have the context to realize that “elementary ≠ easy to understand”

I’ve taught at a number of “nerd camps”, generally in the fields of Gamedev and 3D modeling. I found that, more than anything else, showing young students what they can use a tool directly for triggers the imagination and inspires them to engage further with the field. These students were able to produce Google Cardboard VR content, which at the time was impressively close to the state of the art.

Anecdote: I’ve personally seen a 10-12 year old student tinker with and research the shadow settings in Unity3D [1], which is quite complicated! And she was willing and excited to put in the work because she could see with her eyes how the options affected the shadows directly. She wanted to match the shadows with a drawing she brought in.

Too bad Logarithms are not as engaging to look at as video games...

[1] https://docs.unity3d.com/Manual/ShadowOverview.html

flafla2··on Explaining 4K 60Hz Video Through USB-C Hub
> Unlike most alt-mode; this will also remap A7, A6, B6, B7 to carry USB 3.0 signal, instead of the usual passive USB 2.0 signal. This means that one will not be able to extend the cable using a standard USB-C 3.0 cable, which has these pins mapped only for unshielded USB 2.0 signals. Also this will require the VirtualLink port to also detect the correct orientation of the USB-C plug to ensure that the USB 3.0 TX and RX lanes are correctly connected.

A fun/interesting hack! But breaking superposition is a huge dealbreaker. Imagine seeing notices in software saying to flip your cable upside down...

← PreviousPage 3 of 5Next →