Better HN
topnewbestaskshowjobs
Log inSign up

florbnit

316 karma · joined Mar 28, 2023 (3y ago) · 74 submissions

Submissions

comment 1y ago · link · parent

It’s funny how emotional responses questions like this become on part of the people answering everything but the question. If some one asks in a sports forum what the best exercises are that pro tennis players do that novices don’t know about you wouldn’t expect the majority of answers being in the line of “Tennis players never experience true love! If all you have is tennis you’ll be depressed!”

comment 1y ago · link · parent

> We’re not going to waste days chasing them. But at some point, this goes beyond saving a few bucks: it becomes performance art.

Oh for the love of tech, do chase them. This absolutely has to be in void of the terms of your trial take them to court. If not, then at the very least name and shame the company, so some dumb manager orchestrating this silly theft will get fired and someone more mature can be rotated in.

comment 1y ago · link · parent

The did it silently because they know what they are doing and wanted to get by without the natural consequences of their actions. I’m now going to silently never tip another “cup of coffee” through their services, hopefully others will follow.

comment 1y ago · link · parent

> 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?

comment 1y ago · link · parent

>But some of the datasets that Schutt is included in are much more concerning than normal data breaches because they're from stealer logs.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

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…

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> 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”…”

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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”

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

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.
123