Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dahfizz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
571.
▲
by
dahfizz
4y ago
50% of code written today is AI assisted? I find that very hard to believe.
572.
▲
by
dahfizz
4y ago
You chopped the one statement into different "parts". Here is the comment in question: > For the last several decades society put massive pressure on kids to conform to heteronormativity. With these pressures lessening more an
573.
▲
by
dahfizz
4y ago
> Where's the issue when people decide to switch their gender on a whim? The issue, at least for me, starts when we give children drugs and surgeries to enable them to switch genders. There's nothing wrong with little Timmy wan
574.
▲
by
dahfizz
4y ago
You make a case that gender norms have changed over time, not that there were no gender norms in the past.
575.
▲
by
dahfizz
4y ago
Read bognition's comment. They literally say that kids are "empowered to explore their sexuality".
576.
▲
by
dahfizz
4y ago
> I get it that this stuff is confusing and can be hard to make sense of at first, but gender identity and sexuality are completely different things. Yeah, but the comment OP is responding to was explicitly about letting kids " expl
577.
▲
by
dahfizz
4y ago
Binary Coded Decimal allows for perfect representation of numbers by not restricting you to 4 or 8 bytes. It trades speed and memory efficiency for precision and simplicity. https://en.m.wikipedia.org/wiki/Binary-coded_
578.
▲
by
dahfizz
4y ago
By that logic, you can't write any safe rust at all because it relies on a compiler written in C++. We are discussing the languages themselves, not any particular implementation.
579.
▲
by
dahfizz
4y ago
You make a good point that much of pythong stdlib is implemented in C. But you could implement python's list in pure python, safely. You can't implement something like that in rust without unsafe.
580.
▲
by
dahfizz
4y ago
Sure, but that is kind of what I mean. Safety in rust is something you actively have to think about and work around (at least some of the time). It doesn't just come for free like in python.
581.
▲
by
dahfizz
4y ago
I don't think that's a reasonable interpretation of the current rules, though. Apple doesn't (yet...) demand a 30% cut when you buy stocks via an app on your iphone.
582.
▲
by
dahfizz
4y ago
Should apple also take 30% of every Venmo transaction I make? If I use my iphone to do a check deposit to my bank account, should apple take 30% of that? This is not an in app purchase, IMO.
583.
▲
by
dahfizz
4y ago
I think a distinction can be made in that you never really need to use unsafe operations in python or Java. In rust, you need unsafe. Just about every data structure in the stdlib uses unsafe. I think it's fair to call Rust a memory
584.
▲
by
dahfizz
4y ago
The problem is that bad, irresponsible, and / or wrong journalism still makes money. Newspapers rarely face consequences for their shoddy publications.
585.
▲
by
dahfizz
4y ago
"just a cached query" isn't like it's just a hash lookup. You're still doing IO, network protocol decoding, multithreaded synchronization, etc etc. It's certainly not a CPU bound program.
586.
▲
by
dahfizz
4y ago
This is mostly true. The one exception is when bounds checking prevents the compiler from vectorizing your code. Then you may pay up to a 50% penalty for the innocent looking `if`.
587.
▲
by
dahfizz
4y ago
This is a pretty unsatisfying benchmark. Can we pin the thread to a core and re-run a few times to de-noise? And how about using an actual CPU bound program? Even a significant speedup in the code will be lost in an application like this wh
588.
▲
by
dahfizz
4y ago
> autovectorizing is broken by bounds checks This is the big one. You pay a 50% penalty for actual CPU bound, iteration heavy code with bounds checking enabled. https://github.com/matklad/bounds-check-cost
589.
▲
by
dahfizz
4y ago
At which point they will be so complicated, and each browser will be subtly different, that we will invent yet another abstraction layer. Devs will stubbornly only target it, and we will add more and more features until....
590.
▲
by
dahfizz
4y ago
We may as well get rid of HTTPS entirely with that logic! Someone might abuse it, after all...
591.
▲
by
dahfizz
4y ago
Of course this technique could be abused by a bad actor. That's true of literally everything in computing. Do you think we should ban encryption because bad people might encrypt stuff? TFA describes a way to provide basic analytics in
592.
▲
by
dahfizz
4y ago
Without viable alternatives, sites will continue to use Google Analytics. If people like you fear-monger every alternative, sites will continue to use Google Analytics. The method described in the article collects no personal data, collects
593.
▲
by
dahfizz
4y ago
If I gave you a list of all the last-modified headers from a day, how would you use that information to identify a person?
594.
▲
by
dahfizz
4y ago
This is not tracking. Could you explain why you think it is?
595.
▲
by
dahfizz
4y ago
They don't assign a unique date-modified to each user. They assign everyone the same date modified on their first visit of the day. I don't accept that this could be used to uniquely identify a natural person. You may be able
596.
▲
by
dahfizz
4y ago
If it was about tracking users, wouldn't they generate a unique timestamp per visitor on the first visit? Giving everyone the same timestamp is a terrible way to try and track individuals.
597.
▲
by
dahfizz
4y ago
Threads like this kinda make me sad about HN. Every single comment is about how this technique might possibly be abused to track users in very specific scenarios (i.e. you may be able to identify your most active user). If a web server want
598.
▲
by
dahfizz
4y ago
I don't agree that the existence of this header makes a user more trackable. You can already uniquely identify visitors with their IP & source port, which is included in every single packet and is way more specific than some timest
599.
▲
by
dahfizz
4y ago
How do you go from timestamp to identifying someone? ~Every HTTP response has a Date field with a second-resolution timestamp that might be unique. Are you equally concerned about that?
600.
▲
by
dahfizz
4y ago
> Processing personal data to generate the cohort assignment without the proper consent could also be a violation Using personal data to assign a cohort counts as using personal data. Duh. The approach described in the article doesn'
More ›