Better HN
topnewbestaskshowjobs
Log inSign up

throwaway894345

15,590 karma · joined Oct 25, 2017 (9y ago) · 7,183 submissions

Submissions

comment 1h ago · link · parent

> It Donald throws two senatoes under the bus every two weeks, how long before he does actual prison time?

The Senate can't imprison him, they can only remove him. SCOTUS already gave him carte blanche to commit crimes with his official powers--he could presumably order the assassination of Senators and he wouldn't face prison time thanks to his SCOTUS picks and their pulled-out-of-thin-air Presidential Immunity doctrine.

comment 1h ago · link · parent

That's not really the problem--Democrats will have a majority in both chambers next year and they still won't be able to remove an obviously tyrannical president. The real problem is that you have to have a supermajority in the senate which hasn't happened since the '60s.

The founding fathers decided it was better to have a tyrant in office than to accidentally give the wrong guy the boot.

comment 1d ago · link · parent

> It's pretty clear from today's stock price which event the market was reacting to

The market is presumably reacting to the White House signaling that they aren't going to prosecute a Trump donor and close ally.

comment 1d ago · link · parent

Yeah, this has always seemed strange to me. I was always taught in civics classes that the founding fathers were very concerned about tyranny, and yet they clearly decided it was better to have an un-removable tyrant than to risk that a non-tyrant be removed. That and the pardon power seem like the most glaring mistakes in the Constitution (the electoral college and two-senators per state are up there too, but I can appreciate that these were necessary concessions in order to get buy-in from all of the states), IMHO.

comment 1d ago · link · parent

Trump has already been impeached twice, but removing him from office requires a 2/3 majority in the Senate and Democrats only have 56 out of the 100 Senate seats. They would need to find 10 Republican Senators who are more loyal to the United States of America than to the Donald Trump, and that's assuming all of the Democratic Senators are more loyal to the United States of America than to Donald Trump, which is not a given considering Senator Fetterman.

comment 1d ago · link · parent

> If I made a decision that wiped out a third of the value of my company, I imagine that would be enough to at least spark some new discussion.

Is this meant to refer to Huang leaking secrets to a Chinese spy or the board removing him for leaking secrets to a Chinese spy?

comment 5d ago · link · parent

At the time, Yahoo! and Ask Jeeves had humans manually indexing the web, which was viable when the web was tiny but failed to scale as the web exploded. So while Google "had competition", not really. Moreover, IIRC, only Google figured out how to monetize search.

comment 6d ago · link · parent

> Would you really rather people like Bezos and Gates, who in their current form have to produce enough good for society that everyone willingly gives the money

Not only is “making money” not a reasonable proxy for “producing good” (casinos, drug lords, corrupt officials, etc), but Bezos and Gates aren’t even doing the work that earns the money, they are shareholders and executives. 99.9999% of their wealth was passively earned from the work of others.

> put them into government where there is no feedback loop other than (easily manipulated) polling, or more likely just straight politics in a large entity?

Strictly speaking, it would be better if the money was just burned such that the wealth gap could not be so large that people can purchase politicians and change the rules of the “free market” to funnel money into their pockets. But yes, it would be even better if we put the money to government programs that benefit citizens—even if the government is 0% efficient, that’s still better than just burning the wealth in that at least the money pays salaries, which is better than burning it which in turn is better than keeping it in the accounts of the oligarchs.

> Interesting also that two of your three desires for more regulating would not go away, but probably increase and the third (campaign contributions) would just be done in a more closed-off way with backdoor deals.

“Criminalizing murder hasn’t stopped all murders, but only pushed them into the shadows, therefore we should legalize murder”

comment 1w ago · link · parent

It’s conspicuous timing to stop reporting when your CEO gets caught in bed with the Chinese government. Could be nothing, but suspicion is warranted.

comment 1w ago · link · parent

Don’t many of these devices allow you to bypass the physical power switch via BIOS?

comment 1w ago · link · parent

I'm a pretty big fan of making it harder rather than easier for corporations and the exceedingly wealthy to take over the government. I don't see how regulating campaign contributions and lobbying and insider trading and election fraud are going to make the government less open or just.

comment 2w ago · link · parent

What if I told you that there are more than two numbers? What if there are things which are neither 0% nor 100%? What if there are politicians who are not perfect but also far better than the far right?

comment 2w ago · link · parent

I'm probably more worried that any corporation or trillionaire can dump limitless money into elections. That said, I'm encouraged to see that despite the far right buying up such a large share of the traditional and social media networks and astroturfing the shit out of our feeds with right wing AI slopaganda and dumping record setting sums into campaign ads that they still suffered a massive defeat.

Unfortunately, the defeat probably had less to do with their outright corruption and contempt toward American values or basic decency and probably everything to do with the cost of gas specifically.

comment 2w ago · link · parent

> A truck that can't haul is just for show.

I borrow my brother’s truck all the time to transport various DIY supplies. I could probably get a roof rack for my car for things like plywood and drywall, but borrowing the truck is easier.

comment 2w ago · link · parent

I don’t think there was a single canonical solution, but pointers to everything was a pretty common one. Everything in the AWS SDK was a `string` or a `float64` or similar—it was exceedingly annoying, not least of all because it basically forced tons of unnecessary allocations.

comment 2w ago · link · parent

Use the same `Option[T]` type that you will need to define for strings and numbers and structs.

comment 2w ago · link · parent

Sounds like those technologies were pretty great for their day if they motivated a bunch of people to use them over boondoggle alternatives :shrug:

> That argument is not as great as you think it is.

But at least it is an argument in contrast to the comment I was replying to.

comment 2w ago · link · parent

If you pass a pointer into a function, the Go compiler can (and sometimes does) allocate it on the heap. Go has no allocation/ownership semantics, tragically, so the best we can do is depend on undefined behavior regarding the escape analyzer and hope the Go team doesn’t break it (which is a relatively safe assumption, considering that it’s unlikely that the Go team would start allocating things on the heap that were previously allocated on the stack—Go rarely regresses performance like this).

comment 2w ago · link · parent

How is this a broken default? In Go, I almost always want a nil slice to be treated exactly as an empty slice, and JSONv1 was the ~only place this didn’t work as expected, leading to frequent bugs.

comment 2w ago · link · parent

Meanwhile people are happily shipping widely used software in Go :shrug:

comment 3w ago · link · parent

> So far you're just trying to move the goalpost on multiple points and to substitute legal principles with your feelings basically.

Is the idea that I'm "moving the goalposts" by acknowledging that "innocent until proven guilty" does not apply to private platforms' moderation policies? Or what are you specifically objecting to here?

> We were discussing Meta, why are we moving the goalpost?

Were we? By context I thought you were talking about his Twitter suspension, because your comments were clearly incorrect as pertaining to his Meta suspension which was for violating its content policies for promoting violence. Regardless of which platform you're talking about, you still have to demonstrate that promoting violence and trying to overthrow the government are comparable to campaigning for a senate seat.

> Lol, have you even heard of "innocent until proven guilty"?

Yes, Trump should stand trial for his crimes before he's sentenced. "innocent until proven guilty" does not protect Trump from people observing that he committed crimes.

> How about "defamation"?

Lol are you arguing that I'm committing "defamation" by criticizing the president for committing crimes when he hasn't been found guilty in a court of law? Firstly, by your own logic, you aren't allowed to criticize me for defamation until I've been found guilty in a court of law. Secondly, in the United States, it's only defamation if it's _provably untrue_ which is why the famously litigious DJT won't sue anyone for these claims.

> Yeah, that's your opinion.

The platforms themselves made public statements as to why they suspended his accounts. Maybe you could argue that the platforms are lying to us about their true intentions, but you haven't presented any evidence to support your claims that he wasn't, in fact, suspended for stoking a violent insurrection or lying about election results but rather was suspended for calling for peace.

> That's actually funny haha

Thanks, it was tough to pick just one controversy (tan suit gate, dijon gate, bike helmet gate, cheesecake factory gate, etc).

> That's were we have the real problem. "My side" vs. "your side". "I'm morally superior because [commenter's opinion]".

My man, I didn't start the right vs left stuff, I was pointing out that it's a particularly bad idea to engage in that sort of partisanship when your party is so much more guilty of the criticisms you're levying at "leftists".

comment 3w ago · link · parent

> Again, I do not believe this is true. One gets a reasonable level of safety with only basic measures even in C.

Even if you believe this is true and the experts are wrong, other languages don’t require even these “basic levels” to provide a greater degree of safety, so presumably they’re still the better choice if only for this reason (not to mention all the others).

> In practice, memory safety is also not even remotely the main issue to worry about, especially when writing a compiler.

I agree—but those other concerns (e.g., attracting developers) are overwhelmingly reasons not to use C.

> It is not easy to write correct code in any language

Right, but “impossible” and “not easy” are different, right?

> See the number of CVEs in the Rust rewrite of coreutils

How are we supposed to derive anything from this? The 44 Rust rewrite CVEs were the result of a comprehensive professional audit that Canonical paid for and which the coreutils project has never experienced. Moreover the coreutils project predates CVE trackers. If your point is “Rust doesn’t preclude logic errors”, then who are you arguing with?

> including still memory safety issues

Which of the 45 or so CVEs were memory safety?

comment 3w ago · link · parent

> While it is very difficult to write perfectly safe code in C, this seems to be used as explanation for the amount of CVEs we see. But when I look at the CVEs, the code is often terrible!

Given the choice between a language that requires expert coding for minimal safety guarantees and one which can tolerate human error, I’ll take the latter all else equal. Also, given that experts feel they can’t write correct C reliably, I’m inclined not to think I can (never mind contributors).

> At the same time, the Rust rewrite of coreutils with more than 100 CVEs does not exactly convince me that the problem is mainly the choice of language.

I’m not a Rust fanboy, but I don’t know what I should make of this. Is 100 CVEs a lot for coreutils? If the idea is “Rust doesn’t preclude all CVEs therefore language choice doesn’t matter”, I don’t think that follows.

> Still, I think there also many obvious benefits from using C.

The only I can think of are that the toolchain—but not the compiled programs—-can run on niche hardware (minor benefit), that bootstrapping may be easier, and that the toolchain may be more performant (although Go compiles faster than most C-based toolchains I’ve seen, so I’m inclined to think the language matters less here than the compiler design itself).

comment 3w ago · link · parent

> The question wasn’t why these systems are setup insecurely (which has an obvious answer about cost prioritization).

It’s not obvious to me that the secure approach is measurably more work than the insecure approach. Someone had to go out of their way to add support for remote temperature control.

> Of course there are ways to setup these things securely, same with smart tvs and doorbell cameras and whatever else is getting hacked.

No one expects a $20 IoT light switch to ship with its own network equipment, but a $600,000 to $1.5M fleet of freezers for a single grocery store can ship with its own network equipment without increasing the cost a single percentage point.

> You yourself are engaging in cost prioritizing without adequate information

I had hoped that was obvious from the question mark in my original post :) I’m asking what information reconciles this “it feels like they went out of their way to make this insecure” security posture. Responding with “they must have information you don’t have or else they wouldn’t have done it that way” is neither helpful nor logical.

comment 3w ago · link · parent

> The video for which Trump was deplatformed is literally a video in which he calls for peace and asks protesters to go home

Trump received a 12 hour temporary ban for that video, because he lied that the election was stolen from him and he praised the rioters.

Trump was banned for more Tweets that Twitter judged “likely to incite more violence” like January 6th, particularly because plans for more violent attacks had begun proliferating, including more attacks on the US Capitol and state capitols on January 17.

> he was never convicted of anything

Private platforms don’t require a criminal conviction, and anyway his SCOTUS appointees invented a brand new Presidential Immunity doctrine expressly to protect him.

> so your accusation has no legal basis

“Not convicted” != “no legal basis”

> As far as facts go, here's what's established: Trump was deplatformed for political speech for 2 years

Nope, Trump was deplatformed for inciting political violence.

> Leftist cheer on the politically-motivated censorship of the other side, and then when Dem account is banned 1 hour and everyone is crying their eyes out

You would have a point if you can point to a case of leftists complaining that their candidate was deplatformed for trying to overthrow the government, but obviously that hasn’t happened so you have to pretend that attempting to overthrow the government is comparable to run-of-the-mill campaigning.

I also don’t know that I would throw stones about “crying” if my side has an annual meltdown about the decorations on Starbucks cups :)

comment 3w ago · link · parent

I like working in C too, but if better C developers than me say they can’t use it safely then I’m not going to think that I somehow can.

And even though I like writing C, the build tooling and the lack of modules system and a bunch of other footguns remain. (And say what you will about language-specific build tools, but they work very well for 99% of cases, and the benefits of the entire ecosystem using the same tool are significant).

Moreover, I want contributors to my language, and the reality is that however much I like C, the intersection of people who want to work on my language and people who like writing C is going to be vanishingly small. If my language is C-like (e.g., Zig) then that intersection will likely be much bigger, but as the target language approaches C, the benefit of using C goes to 0.

comment 3w ago · link · parent

Monitoring should be in a DNZ that can talk to the otherwise “airgapped” network and push metrics out to the SaaS platform or whatever. Send a technician if something needs to be adjusted, or (only if some kind of remote access super critical) give the customer the ability to grant temp access to technicians for remote troubleshooting (but require someone to be in the facility).

None of this requires the customer to be technical, the ORM could ship the equipment with the network setup, and installation would just be connecting the DMZ device to the Internet.

comment 3w ago · link · parent

I’m still trying to figure out why these freezers are connected to the Internet in the first place…

comment 3w ago · link · parent

C is a notoriously difficult language to work in. It has no build system, no module system, an anemic standard library with footguns like null terminated strings, loads of undefined behavior, etc. Moreover, and maybe most importantly, the people developing the language have less opportunity to dogfood it.

I’m sure there are benefits to a C toolchain, but the costs overwhelmingly favor self-hosting for many languages.

12345
240