Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kmoser
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
841.
▲
by
kmoser
3y ago
...which always starts with "Please listen carefully," as if I'll suddenly start paying attention.
842.
▲
by
kmoser
3y ago
> An example, you get a human to sell you a car for $1. Well, absurd! I've GIVEN away a car for $0. Granted, it needed some work, but it still ran. Some people even pay to have their car taken (e.g. a junker that needs to be towed a
843.
▲
by
kmoser
3y ago
It's even worse than what you said: the <img> tag has a srcset attribute with many possible values so different people may see different images depending on their browser's resolution. The one displayed to me was Shoot-Antoi
844.
▲
by
kmoser
3y ago
> maybe the thumbnails are scaled at different quality levels??? Agreed, the WebP lossless version looks pretty bad when scaled by the browser. And since virtually no website/device shows images at their native resolution these days
845.
▲
by
kmoser
3y ago
That's still a shocking (no pun intended) percentage of people willing to inflict what they think is pain on another human based merely on the orders of an authority which they are not truly obliged to follow. I imagine the percentage
846.
▲
by
kmoser
3y ago
I think your concerns are unfounded. TSA doesn't generally sift through every bit of paper in your possession, nor do they really care what's written on any of the paper you're carrying since it's unlikely to be a threat
847.
▲
by
kmoser
3y ago
Several decades ago I was hired by a multinational bank to do software development, and one of my first tasks was to glean as much information as I could about one of the competitors' ATMs. My manager gave me a letter (on company lette
848.
▲
by
kmoser
3y ago
Unfortunately the videos on the showcase page don't play on Firefox or Chrome (Windows): https://www.pitivi.org/showcase/
849.
▲
by
kmoser
3y ago
There is always a "why", else what would be the use of teaching the subject in the first place, even to enthusiastic students? OP's point is that helping the students understand the "why" might spark interest in the
850.
▲
by
kmoser
3y ago
> Just another reminder of the absolutely terrible state of our industry. Imagine anyone in any other industry taking this ridiculous stand. "Oh we don't fit roofs on Fridays, in case our roof leaks and we need to bring the roo
851.
▲
by
kmoser
3y ago
> there is no centralized network and no central authority that can refuse my connection Your ISP/host can refuse service (assuming somebody convinces them to take that step). That doesn't mean you can't find another, but
852.
▲
by
kmoser
3y ago
The article is all about how the community has been "forgotten" by the authorities with the power to improve it. Nothing strange about that.
853.
▲
by
kmoser
3y ago
You've hit the nail on the head: any code written as a series of text files will lack the overall structure needed to easily navigate, refactor, and perhaps most important of all, render as different "views." For example, if
854.
▲
by
kmoser
3y ago
The article covers this method of using an image: https://spencermortensen.com/articles/email-obfuscation/#tex... The problem is that humans who want to cut and paste your email into a different client have to ret
855.
▲
by
kmoser
3y ago
While it's true that systems tend to be documented poorly, I think the article downplays the value of good documentation. Good docs describe everything that went into the system, from business requirements to implementation details, in
856.
▲
by
kmoser
3y ago
And yet this point from the article seems to be something that the author (not Altman) was surprised by: > Sam Altman says he wants to develop AI for the benefit of humanity yet at the first possible moment he sets up a deal that sells
857.
▲
by
kmoser
3y ago
Maybe it played more quickly the 2nd time because assets were already cached? It doesn't look like the person doing the testing cleared cache between tries.
858.
▲
by
kmoser
3y ago
> Sam Altman crafts an elaborate non-profit structure but gets completely blindsided by the possibility of the board overthrowing them. When you cede control to others, you open the possibility of them doing unexpected things. Why is thi
859.
▲
by
kmoser
3y ago
The concept of a variable is just the tip of the iceberg: the syntax for dealing with variables (e.g. assignment vs. testing equality) is difficult for newbies to grasp. Next level of difficulty for newbies is arrays: understanding expressi
860.
▲
by
kmoser
3y ago
He makes it pretty clear that his frustration was due to the overall brittle nature of code (change the wrong thing and the whole system breaks), not simply the learning process. Unfortunately brittleness is baked into virtually every compu
861.
▲
by
kmoser
3y ago
So you think video recording always shows the absolute truth and can never be misinterpreted? Any evidence can be misinterpreted. While I agree that eyewitness testimony has been shown to be nowhere near as reliable as most people think, it
862.
▲
by
kmoser
3y ago
The problem isn't so much the admitting of eyewitness testimony, it's the weight given to it and, in your example, the addition of racism that leads to false convictions. As long as there is racism, there will be false convictions
863.
▲
by
kmoser
3y ago
Following up with "Now make the code secure" often works quite well to produce higher quality results.
864.
▲
by
kmoser
3y ago
12 is also the largest one-syllable number (at least in English).
865.
▲
by
kmoser
3y ago
I'm curious, what is it about my multi-line expression is unclear? I find it easier to match parens when they line up vertically (similar to aligning braces in C functions) than when they're all on one line. True, most IDEs will h
866.
▲
by
kmoser
3y ago
This. An extreme example, where I think my solution works best, is SQL statements that are hundreds of lines long. No sane developer would put that all on one line.
867.
▲
by
kmoser
3y ago
While your solution splits the whole thing into smaller and arguably more easily digestible steps, you have introduced two new variables, key1 and key2, which need to be carefully scoped (if they aren't already) so they don't clas
868.
▲
by
kmoser
3y ago
> One thing that working on the project helped demonstrate for me is that adding parens around _every_ subexpression is _way_ too noisy. But for me, I prefer drawing that line on the noisier side. I prefer the noisier side as well. When
869.
▲
by
kmoser
3y ago
Just curious, do you also find the ternary operator hard to parse? This is a serious question: I've found some programmers tend to avoid it entirely, while I think there are some clear cases where it's advantageous to use. What I&
870.
▲
by
kmoser
3y ago
> DRY is more about extraction of shared function not about individual expressions I'm not sure where you get that idea. Repetition anywhere is usually a code smell. > You write code once And then you update it when you add new f
More ›