Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kjksf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
kjksf
1y ago
Yes, to the extent that any violation of constitution injures me. Forcing me to say things I don't want to say under threat of punishment violates first amendment. It's been litigated and so concluded. The fact that it's the
92.
▲
by
kjksf
1y ago
In theory they could but in practice they don't want to. No company wants to loose $2B a year of free money. Suddenly loosing 45% of revenues would be devastating. And yes, MIT is a company. They have a CEO (under a different name), a
93.
▲
by
kjksf
1y ago
> an independent university MIT is taking (lots of) money from federal government. That makes them dependent on the government and government is within its right to attach strings to the money. MIT is free to not do what the government w
94.
▲
by
kjksf
1y ago
You're so obviously wrong. I watched multiple videos from Portland ICE protest, multiple videos of ICE arresting people, all with audio. Half the people at protests are recording. If you were right all that would be illegal. The magic
95.
▲
by
kjksf
1y ago
You try to pin this (hypothetical) as fascism. Let's assume Trump admin pressured Nvidia to invest in intel. Chips act (voted by Democrats / Biden) gave Intel up to $7.8 billion of YOUR money (taxes) in form of direct grants. Was
96.
▲
by
kjksf
1y ago
It could be because the role of courts is to interpret the laws enacted by congress. To my knowledge there is no law enacted by congress that dictates how SSN data is stored. Congress created the social security apparatus but day to day ope
97.
▲
by
kjksf
1y ago
I think this page describes "what" but not "why" of Carbon. Carbon exists so that it's possible to migrate a large C++ code base, like Chrome, from C++ to something saner, incrementally. The most important attribute
98.
▲
by
kjksf
1y ago
UserID and AccountID could just as well be integers. What he means is that by introducing a layer of indirection via a new type you hide the physical reality of the implementation (int vs. string). The physical type matters if you want to l
99.
▲
by
kjksf
1y ago
It makes sense, historically. They had AI features that were always on. Some people complained so they introduced a flag to, wait for it, disable the ai features. So they didn't think too deeply about it and named the flag "disabl
100.
▲
by
kjksf
1y ago
I would expect a Nobel prize winner, MIT and Princeton professor and New York Times contributor to be able to construct proper arguments not emotional outbursts: > Republicans say that they’re worried about invasion of privacy, that a CB
101.
▲
by
kjksf
1y ago
So you run the app. The other person runs the app. How do those 2 programs find out about each other? Well, they need to use some server that will connect all users, allow you to find the other person in order to send them a file. Even BitT
102.
▲
by
kjksf
1y ago
No. AirDrop is for people who are physically nearby. This allows to send files between any computers anywhere. The other person must be a known contact but it doesn't have to be on the same local network like in AirDrop.
103.
▲
by
kjksf
1y ago
I still intellectually can't parse the argument: yeah, we're in debt therefore it's fine to spend on stuff we don't need. If you're ok with increasing debt to fund UN (and thousand other things) then come out and sa
104.
▲
by
kjksf
1y ago
The U.S. is $35 TRILLION in DEBT. It's on a fast path to very high inflation which will be bad for everyone. U.S. can't afford $18 billion of non-essential spending. It can't afford $1 billion of non-essential spending. In fa
105.
▲
by
kjksf
1y ago
The difference is that bank has a CEO that can take your money or loose it by doing risky things with your money. Bitcoin network doesn't have a CEO. It is what it is and will always be that. Bitcoin network will not decide, at some po
106.
▲
by
kjksf
1y ago
Governments print money because they want it and are ok with you loosing yours (via inflation). What you describe (buy high, sell low) is the opposite so what incentive the government (or anyone else) has to loose money? Sticking it to Bitc
107.
▲
by
kjksf
1y ago
Musk denied it: https://x.com/elonmusk/status/1943795272515301624 > These rumors are false. xAI is not seeking funding right now. We have plenty of capital.
108.
▲
by
kjksf
1y ago
He didn't "got rid of openai". When he left OpenAI the stated reason was conflict of interests: Tesla was ramping up work on self driving. He also hired A. Karpathy away from OpenAI to lead Tesla's ai vision.
109.
▲
by
kjksf
1y ago
Yes, I do write software for a living. Software like https://www.sumatrapdfreader.org and https://edna.arslexis.io/
110.
▲
by
kjksf
1y ago
Because solar panel math doesn't work. It's the same reason it makes no sense to put solar panels on a car: the solar panels would add minutes of driving daily. You would need massive area of solar panels to power a sub which is o
111.
▲
by
kjksf
1y ago
You're asking us to judge how pretty a girl is based on textual description. I understand (and in certain context appreciate) hesitancy to blatant self-promotion but this is not the time. Not seeing your website, websites of who you th
112.
▲
by
kjksf
1y ago
At the time (11 years ago) I wanted this to run on Windows XP. The APIs you use there (e.g. SleepConditionVariableSRW()) were only added in Vista. I assume a big chunk of pthread emulation code at that time was implementing things like that
113.
▲
by
kjksf
1y ago
For some it's stupidity. For others it's brilliance. It's one of many examples of 80/20 design in Go: 80% of functionality with 20% of complexity and cost. Struct tags address an important scenario in an easy to use way.
114.
▲
by
kjksf
1y ago
Worth mentioning that this is only of interest as technical info on porting process. The port itself is very old and therefore very outdated.
115.
▲
by
kjksf
1y ago
Thanks, fixed. It works in msvc but as someone pointed out, it was a typo and was meant to be (void*) cast.
116.
▲
by
kjksf
1y ago
I didn't write that article to convince anybody. I wrote it to share my implementation and my experience with it. SumatraPDF compiles fast (relative to other C++ software) and is smaller, faster and uses less resources that other softw
117.
▲
by
kjksf
1y ago
How is Func0 / Func1<T> better than std::function? Smaller size at runtime (uses less memory). Smaller generated code. Faster at runtime. Faster compilation times. Smaller implementation. Implementation that you can understand. H
118.
▲
by
kjksf
1y ago
Programming requires making fine-grained implementation decisions. There are numerous differences between my Func0 and Func1<T> and std::function<>. Runtime size, runtime performance, compilation speed, understandability of the
119.
▲
by
kjksf
1y ago
That's a fair point. I just looked and out of 35 uses of MkFunc0 only about 3 (related to running a thread) allocate the args. All others use a pointer to an object that exists anyway. For example, I have a class MyWindow with a button
120.
▲
by
kjksf
1y ago
I did use bind earlier in SumatraPDF. There are 2 aspects to this: programmer ergonomics and other (size of code, speed of code, compilation speed, understandability). Lambdas with variable capture converted to std::function have best ergon
More ›