HNHacker News
TopNewBestAskShowJobs

florbnit

312 karma · joined March 28, 2023

submissionscomments
florbnit··on Doge software engineer's computer infected by info-stealing malware
> A password in a leak isn’t evidence of anything.

It’s evidence that your password leaked. What are you on about? You think they just randomly guessed his password?

florbnit··on Doge software engineer's computer infected by info-stealing malware
>But some of the datasets that Schutt is included in are much more concerning than normal data breaches because they're from stealer logs.
florbnit··on The language brain matters more for programming than the math brain? (2020)
It has nothing to do with the definition of math. If you put people in an MRI and give them random problems then you’ll notice a distribution in the patterns of brain activity that are distinct. Some of these groupings we’ll call “math like” because the problems are more like mathematics than linguistics. And in the other distribution we’ll call them “word like” because the problems fall into the category we associate with word problems.

The fact that we see separate patterns of brain activity is the interesting part not any semantic argument about what you or mathematicians feel should be defined as being math or not.

florbnit··on The language brain matters more for programming than the math brain? (2020)
> It think this is silly on multiple accounts. I'll claim that there's not real thing such as a "language brain" or "math brain."

It seems plainly obvious that this language just means “areas of brain that activate when dealing with math problems” vs “areas of brain that activate when dealing with language problems” and yes there is hard evidence that there is a difference between them.

florbnit··on Oxide’s compensation model: how is it going?
> And, importantly: if/when those folks are making more than the rest of us, it’s because they’re selling a lot — a result that can be celebrated by everyone!

This is such a toxic mentality. Yes sales always sits at the end of the value stream, but they aren’t selling thin air. Everyone in the company contributes to making that sale possible. The waiter gets a tip because “everything tasted amazing” but the chef gets stiffed because “he just made it”

As always, they have equality but some are more equal than others. And they are transparent, but obviously not on the parts where transparency would expose the inequality because that wouldn’t be popular.

florbnit··on Python’s new t-strings
I mean yes, so t-strings add nothing.

You could already do everything you are proposing t-strings will make easier with just strings or f-strings.

‘query: SQL “Select …”’

“Wait” you’ll say “then the function taking the string has to parse the string and will have to add ugly logic grabbing variables from globals()!” Ah yes. That’s such an ugly solution… let’s instead codify just that as the official best practice and sell people on it by prefixing a t to the string so they don’t notice…

florbnit··on Python’s new t-strings
If you replace each mention of t-strings in your post with strings or f-strings it’s still true. So that means t-strings add nothing in that regard.
florbnit··on Python’s new t-strings
> And highlighters and static analyzers will key off of this.

Then the t is redundant and we don’t need t strings involved in any way. This would work just as well. In fact better by using html("<h1>Hello</h1>") and have it return a html object instead of returning a just a string which is what t-strings will do. So literally the only contribution from t-strings in that context is to make things worse.

If they had just standardized some way of putting semantics into the template everything would be better. Let us define a “sql = temlate(….)” and use sql”…”

florbnit··on Python’s new t-strings
I get that. But that “ecosystem might adapt” has absolutely nothing to do with t-strings is what I’m saying. Anyone who wants to validate sql will have to just look through strings guess that it’s sql and validate and highlight it. This could be done before and after just the same. The template strings by nature of just being “strings that will turn into something else at some later point” do nothing to further this in any way.
florbnit··on Python’s new t-strings
> In addition, I hope that the tooling ecosystem will adapt to support t-strings. For instance, I’d love to see black and ruff format t-string contents, and vscode color those contents, if they’re a common type like HTML or SQL.

This is such a strange take on t-strings. The only way for anything to infer that the template string is supposed to turn into valid HTML or SQL is to base it of the apparent syntax in the string, which can only be done in an ad-hoc fashion and has nothing to do with the template string feature.

The way the feature has been designed there is no indication in the string itself what type of content it is or what it will eventually be converted to. It’s all handled by the converting function.

As others have added, something like sql”select * from {table}” would have been able to do this, but there’s not even any guarantees that something that is in a template that will be converted into valid sql by a converting function should be any type of valid sql prior to that conversion. For all you know t“give me {table} but only {columns}” might be a converted into valid sql after the template is processed.

florbnit··on Don't force your kids to do math
> People just want to know why it's x and not something else or how a letter can have value.

The way I was taught it and the way that worked now for my now 3 year old is just to say pirates buried a number under the X, and that we need to guess what they buried. If the concept of a number being hidden is a barrier to understanding for anyone they have seriously bad teachers.

florbnit··on Louisiana prison board uses algorithms to determine eligility for parole
Your original argument was that an algorithm cannot be bad, and now you are countering my point by arguing that the algorithm is bad if it ignores your rights, is solely responsible for the implemented outcome and doesn’t include any input for human review or appeal.

Funny enough I read not that long ago about a case where an algorithm broke all those three points! Can’t remember where of the top of my mind, I think it was the Louisiana Prison board or something like that.

But never mind that, you are arguing against yourself so I’ll kindly step aside and let you at you.

florbnit··on America's financial system came close to the brink
What opposition? The recklessness of Trumps political agenda is benefitting the rich elite and despite appearances both parties leadership consist of those in the rich elite. America doesn’t have a party representing the workers because anyone getting any traction in politics almost immediately leaves the working class. That’s why the level of political opposition is currently at “let’s all wear matching ties to show our disapproval of this political development that will absolutely make us tons and tons of money but which we need to look like we oppose”
florbnit··on Louisiana prison board uses algorithms to determine eligility for parole
I’m. Sorry that you feel that way. We applied an algorithm and since 40 of the other 100 people who share that opinion with you committed drug related crimes we have decided to put you in jail without chance of parole. I hope you understand that while this may seem unfair this decision is not good or bad, it’s just the outcome of the algorithm saved in a computer.
florbnit··on Microsoft blocks VSCode-derived editors (like Cursor) from using MS extensions
Don’t know about you, but personally I want the extensions I create to be available widely. The fact that vs code market place is used as an easy place for me to distribute it only to limit the reach based on the business needs of Microsoft sure does feel like being embraced extended in the attempt of extinguishing usecases that I do in fact support.

Can’t fault cursor for letting people install extensions when most of those, if not all of those, developers want their extensions on cursor.

florbnit··on A filmmaker and a crooked lawyer shattered Denmark's self-image
This seems so fake. They suddenly decide to go on a vacation and want to return on a small inexpensive plane that then crashes with their entire family on it in Switzerland less than 2min from takeoff?

Call it a conspiracy but I won’t at all be surprised when someone discovered they have transferred a large amount of funds to some “family friends” that look suspiciously like them but live in the Cayman Islands.

florbnit··on Fuckarounditis (2011)
Contrary to the roid rage induced beliefs of non competitive personal trainer body builders a lot of people don’t go to the gym to see that kind of “progress” they see a professional climber or ultra race runner and call them weak, because they don’t know any better.
florbnit··on Notebooks as reusable Python programs
> When working with Jupyter, too often you end up with directories strewn with spaghetti-code notebooks, counting up to Untitled12.ipynb or higher. You the notebook author don’t know what’s in these notebooks

This is such a small UX thing but it’s so damn important. The simple fix is to not auto-name notebooks untitled-# when the user clicks new notebook just ask the name straight away, if they can’t name it don’t create it. It might add the smallest amount of friction to the UX, but it’s so damn important.

Also the choice of json as the file format is just plain wrong. Why the project hasn’t just abandoned that entirely and done a json-#python back and forth when writing to file is beyond me. There are extensions that do this, but that’s a really clunky interface, and while I can set it up for myself it’s difficult to force upon others in a corporate environment.

Great to see someone is taking the seemingly small things up, because they mean a world of difference to the overall ecosystem.

florbnit··on Past and Present Futures of User Interface Design
> it's usually not because they're idiots who don't know any better or who haven't seen the Truth, it's because it works for them.

The reason we have touch screen phones today is exactly because Apple dared to challenge that assertion. We should not assume that what is out there now is the end goal. Users don’t have a choice they can only buy and use what’s available to them in stores. The second touch screen phones were available the entire market shifted in a short period, but the mantra at the time was just like you have now “physical keyboard are the only way” who knows what could come from people who think outside the box in the future.

florbnit··on The curious surge of productivity in U.S. restaurants
Food trucks are also more productive and since the study is a look at the market you’re part of the data that supports the industry increase in productive due to your switch from dine-in to food trucks.
florbnit··on Nickel superconductor works above -233°C threshold at normal pressure
You are using language and you seem to make an equivalence of temperature to warm/cold which doesn’t work. Now your saying that it only makes sense to use kelvin because it’s the only scale that doubles when you double it (which is actually also false they all do that). When in fact the concept of “twice as warm” is a fuzzy language construct which matches better to celcius. Which isn’t surprising as both the language and celcius scale are designed around our subjective experience.
florbnit··on Nickel superconductor works above -233°C threshold at normal pressure
In a “physics sense” there is no such thing as warm or cold those are language constructs not physical properties of materials. In physics there is temperature. You don’t say “the metal bar is 20 warm” you say “temperature is 20 degrees celcius” something having “twice the temperature” isn’t the same as being twice as warm or twice as cold.
florbnit··on Nickel superconductor works above -233°C threshold at normal pressure
Isn’t it the exact opposite? It you talk to people about something being “twice as warm” or “half as warm” people will assume you are talking about a scale in celcius or something closely related? Because it doesn’t make sense to say “the bedroom is freezing it’s 3/100th colder than the living room!” And no one saying “the bedroom is half as warm as the living room” will be interpreted to be saying that it’s -127 degrees celcius.
florbnit··on How the U.K. broke its own economy
That mentality is exactly what leads to the problem. You want to hold everyone organization accountable for every perceived failing which leads them to optimize towards a state where they can justify existence but do as little as possible to minimize the potential for any perceived failing.
florbnit··on Microsoft is reportedly killing Skype after 14 years of neglect
I honestly didn’t even know Skype was still alive I’m surprised it’s around to kill. MS Teams is so cemented in my own any anyone I knows world that it’s funny to think back on the days where Skype was here and everyone hated it.
florbnit··on I Went to SQL Injection Court
> that knowing SQL schema doesn't help the attacker.

Knowing the name of the service helps the attacker, knowing the name of government officials working at city hall helps attackers, knowing the legal description of what a parking ticket is helps attackers. If you are sued and decide you want to hack the government knowing the details of the suit against you helps you in your attack.

The barrier is not “any helpful information must be censored” the barrier is “don’t disclose passwords or code that would divulge backdoors” a schema cannot be that.

florbnit··on If it is worth keeping, save it in Markdown
Easy fix, just write your md files in HTML, that way they are easy to read, and when you need to look at the markdown you can just use a converter.
florbnit··on Mark Zuckerberg Announces the "Beginning of the End" for Programmers
> but I have not seen many companies that still hire programmers in the most narrow sense, that only focus on writing code.

So you yourself have already seen the demise of the programmer so why are you arguing against it? Software development isn’t going away. But just like we no longer have tweeners in animation, we’ll soon no longer have programmers in software development. Then soon there after we won’t have “front-enders” and “back-ended” the term “full stack” will lose meaning and at the end what we call a software developer will be more akin to what you today call a business analyst than a programmer.

florbnit··on How the UK Is Weakening Safety Worldwide
> They may say that, and it might even be true, but then again, If they were requested by the US they couldn't speak about it nor refuse without explicit court permission.

They couldn’t in the UK either which is why they completely removed encryption, they could do the same in the US if the government pushed for back doors.

florbnit··on How the UK Is Weakening Safety Worldwide
I feel like Apple should have made a bolder statement and made the iCloud accounts of all politicians in the UK fully publicly accessible. And state that they would keep them such until the courts finished dealing with the appeal. But of cause Apple has cut its activist roots several decades ago and will stay sober in their dealing, which I also appreciate they feel like the only tech giant who’s actually acting like adults when it comes to privacy.
← PreviousPage 2 of 3Next →