Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
defen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
151.
▲
by
defen
2y ago
It's important that you look the barista in the eye when you select 0% tip. You're not doing something shameful, you're doing something powerful.
152.
▲
by
defen
2y ago
> A criminal can sell your Macbook if they like, but if they steal from Apple itself? Oh man there will be hell to pay. Where do you get the idea that there will be "hell to pay" if you steal from Apple itself? People regularly
153.
▲
by
defen
2y ago
Many organizations would rather pay 3 people $120,000 each instead of paying 1 person $300,000 to do the same work, for a variety of reasons. Some good, some bad.
154.
▲
by
defen
2y ago
Me attempting to summarize the article: There are 2 ways to get C++-style RAII into C. The first way is to wholesale import the C++ object system into C (which means name mangling, all the different flavors of constructors, destructors, etc
155.
▲
by
defen
2y ago
That's cigarette usage, not nicotine usage. Why would a teenager smoke when they can vape or use Zyns?
156.
▲
by
defen
2y ago
Is this a very subtle "Grammar Nazi" joke or an actual thing that happens?
157.
▲
by
defen
2y ago
Depends on how long he has to live and set things up to work around it, but Oregon has an up to 16% estate tax + federal estate tax of up to 40%. Kicks in after 16 million or so.
158.
▲
by
defen
3y ago
It's not clear if it was about a real coworker (she started working remotely "in October", and the post itself was made on October 17). It's also not clear that it was reported by a coworker - according to the lawsuit Bl
159.
▲
by
defen
3y ago
Missouri Statute § 130.028.
160.
▲
by
defen
3y ago
Do you compile your own open source client for your phone? Or do you install it from an app store? Most people are going to install it from the app store, so I believe my point still stands. What correlation is there between what's in
161.
▲
by
defen
3y ago
Isn't this an argument against putting any personal information into any app? Signal could turn malevolent tomorrow and start sending all your chats to their servers, which could have life-threatening implications for people vs jus
162.
▲
by
defen
3y ago
> What happens when Matter gets acquired That's a major point that's addressed in the blog post, did you read it?
163.
▲
by
defen
3y ago
I think it's worthwhile to ask - in what other fields do exceptional people become consensus world-class experts after four years of part-time study?
164.
▲
by
defen
3y ago
The Thalidomide Kid, a hallucinated entity in the mind of the main character of The Passenger
165.
▲
by
defen
3y ago
He wrote like 30 books, if anything I would expect his ouevre to take up more than 3 feet of space if you had all of them.
166.
▲
by
defen
3y ago
The IRS has various rules in place that determine whether gambling is your business / profession. If you qualify as a professional gambler, you can deduct losses against your winnings (just like casual gamblers can) but you can also de
167.
▲
by
defen
3y ago
I personally prefer the fight in Wheels on Meals https://www.youtube.com/watch?v=aqYqlDHgKWI
168.
▲
by
defen
3y ago
In practice what would the actual code look like (pseudo-code is fine). How would I concatenate strings at runtime using `+`, once with one allocator and then again with another allocator?
169.
▲
by
defen
3y ago
From a syntactic perspective, no, because there is an Allocator vtable interface in the stdlib. Anything that implements alloc, resize, and free can be used interchangeably in any function that takes a `std.mem.Allocator` argument. You don&
170.
▲
by
defen
3y ago
> Also, if you write a library in Zig, aren’t you limiting your audience? The Zig compiler has a C backend so at worst you could just compile your library to C so that anyone with a C compiler can use it. However you can also export C-co
171.
▲
by
defen
3y ago
Where does the memory for the combined string come from? Even if Zig had operator overloading it's not clear how a runtime `string1 + string2` could work.
172.
▲
by
defen
3y ago
So they should just say "we're worried about our reputation" rather than say it's a threat to democracy. Why is push-polling not a "threat to democracy"? How about emotionally manipulative imagery in television
173.
▲
by
defen
3y ago
> Dean.Bot, which could converse with voters in real-time through a website, was an early use of an emerging technology that researchers have said could cause significant harm to elections. Goodness, imagine if people vote for the wrong
174.
▲
by
defen
3y ago
No it doesn't. If you don't specify a standard for GCC it uses GNU extensions by default.
175.
▲
by
defen
3y ago
This is checking for the presence of raw string literals (A GNU C extension) not C23. If you compile with `-std=gnu99` instead of `-std=c99` you'll get "C23" as output.
176.
▲
by
defen
3y ago
The C preprocessor is hilariously underspecified in the standard, so implementing the standard doesn't guarantee that you'll be able to handle real-world C programs (even ones that don't use GNU or clang extensions).
177.
▲
by
defen
3y ago
I still don't understand the scam here - if they're giving you money, and you're losing it to the casino on slots, how do the scammers make money?
178.
▲
by
defen
3y ago
What can a $5,000 microwave do?
179.
▲
by
defen
3y ago
Blindsight?
180.
▲
by
defen
3y ago
> Personally, I'd rather criminalize the negative behavior, rather than the drugs themselves. Like DUI laws, for example. How do you punish a homeless drug addict living on the streets with no assets or income?
More ›