skysight-inc/HackerNews huggingface dataset:
> The trouble with explicit casting is if the code is refactored to change the underlying integer type, the explicit casts may silently truncate the integer, introducing bugs.

That depends on how the casting is provided. For the C-style casting, or Rust's `as` casting, yes that is a problem. However, another way casting could be provided is through conversion functions that are only infallible if information isn't lost. For example, let's say we have the functions `to_u16` and `to_i16`. For an `i8` the first function could return `Option<u16>`, the second `i16`, while for a `u8` they would return `u16` and `i16`. That way, any change to the types that could cause it to now silently truncate would instead cause a compiler error because of the type mismatch.

Rust almost gets there with its `Into` and `TryInto` traits which do provide that functionality, but trying to use them in an expression causes type inference to fail, which just makes them a pain in the ass to use.
We may never know as they've deleted their tweets, if only there was some kind of forum archiving these kinds of people constantly incriminating themselves while grifting..
Lots of people smoke cigarettes socially. There are in-jokes amongst smokers about the people who "don't smoke" who want to bum a cigarette in the smoking area outside at bars.

It's extremely common.

> Smoking is also much more obnoxious

I'm not sure I've ever disagreed more with a claim than I do this one. People who have consumed alcohol are practically unbearable to the sober. And that's before we get into stuff like the fact that alcohol is implicated in some staggering percentage of all violent crime. Or drunk driving. Etc, etc.
> For example, the BEAM files for _just_ Ecto come out to about 1.2M in an uncompressed tarball

Did you try stripping out debugging chunks? IIRC every Elixir module embeds its own source code by default.
Maybe the problem is that your are pushing yourself too hard. I think you will feel significantly less fatigued if you cut the intensity of your running workouts in half. From here you can work on slowly increasing your speed and endurance.
I have colleagues from PhD who get a ton of recruiter messages and land awesome jobs, whilst I'm still stuck with my small network. Also, getting all these recruiter spam is actually a nice, heartwarming thing, of making you feel needed and wanting - compared to cold-hearted academia, where nothing is ever good enough.

I have resisted LinkedIn for years and only had the mentioned, half-hearted attempt to create an account. But I feel I have reached some kind of tipping point now.
I wonder, if they request my ID, and I just upload a fake one, what would happen, could they sue me worst case, supposing they go through the hassle to connect my real name that I have my profile with to my identity?...
> That doesn’t really solve the problem though because “inciting hatred” is subjective.

Lots of laws are subjective to some degree (And the degree here is really not very high here), that is absolutely normal and not problematic. For example, in order to decide whether someone was acting negligent, something called the "reasonable person standard" is used in US jurisprudence.

> For example, there are people who would say that anyone who disagrees with the fat acceptance movement is guilty of “inciting hatred” against fat people.

That is a silly strawman. Because it really doesn't matter what some unspecified "people" on the internet say on Twitter. What matters is what a judge says after carefuly consideration of the specific circumstances and possibly precedence cases, and possibly other judges on appeal.

> Yet I would argue that we need to leave the door open to these kinds of uncomfortable conversations. Otherwise, people will be afraid to speak their minds because they don’t know if they’ve crossed the line.

The line is not nearly as blurry as you make it out to be, nor is it difficult to stay well away from it.

> Also, how do you define “capable of disturbing the public peace”?

"public peace" has been defined in case law and commentaries as the peaceful coexistence of the population, free of fear of violence or lawlessness. "capable of" (geeignet) is a recurring term in German jurisprudence and means that an action is realistically fit to achieve something, considering the concrete circumstances of the case.
extern volatile uint64_t *reg;
*reg &= ~x;

People should stop doing this. What this means is:

extern volatile uint64_t *reg;
uint64_t tmp = *reg;
tmp &= ~x;
*reg = temp;

But of course when you write that chances are somebody will point out that you're running in interruptible context sometimes in this function, so that's actually introducing a race condition. Why didn't they say so when you wrote it your way? Because that looked like a single operation and so it wasn't obvious it might get interrupted.
"Alcohol in moderation" is far less than most think. Depending on study, closer to 3 drinks per week or 4 oz of red wine daily. How many people do you know who drink, but only 1/2 a beer a day?
I made a similar test for floating point: https://beza1e1.tuxen.de/no_real_numbers.html

Since most languages use the same IEEE-754, you can hate them all.
Genuinely curious, why would you force yourself into daily run for months when you feel bad after it? I mean, there are many sports, chances are one of them you will like. So why forcing yourself into obe you hate?
Idk, I think mutation can be pretty easily classified as a major source of errors in software. Avoiding it is as fundamental IMO as avoiding writing code that just behaves randomly depending on a call to a PRNG, even though many people don’t know this.

I think of SW engineering as taking some process that’s inherently broken and making it work more often than not. Coding seems more like doing the thing correctly in the first place.
I think there is some selection bias in maps like this because it has no data on above average rainfall. I know where I live we've had one of the rainiest summers ever but you won't see this on a map like this.
> I wish I hadn’t learnt this, but running while hangover is absolutely doable.

It is, in fact, the best cure for hangover!
I do have to say I like the approach of them opening up a drag strip for people to try racing like things safely on. I think more cities should do things like this and essentially have public race courses. The courses that currently exist are very expensive and can be hard to get access to.

Many cities actually already have these for use by their police so all that they would have to do is open them up to the public.
Yes, the breast cancer screening already has quite questionable results.
Self-driving cars have already been not ready for prime time for 15 years and they have at least 5 more years in this state.
You have some good news because recent longitudinal studies show a 90 percent reduction in cancer risk if you stop at 50. 80 percent if 50. If you're older than that, your body can't keep up the same.
AFAIR reading uninitialized int, for example, is "unspecified" (any value could be there). If we consider adding "implementation defined with possible trap" for overflow, we might as well add "unspecified with possible trap" for reading an invalid pointer (any value could be there, or it could trap, but no nasal demons).
I find these much better questions to ask a prospective employer during a job interview: https://github.com/viraptor/reverse-interview
They sort of succeeded though with replacing Android Wear
So, what you're trying to tell us is that Denzel Washington was miscast in The Tragedy of Macbeth?

Presumably also Ira Aldridge as King Lear.

What's especially funny about this is that your criteria disqualifies Shakespearean theater in the time of Shakespeare.
I didn’t argue that content needs to be checked prior to being posted? Right, HN doesn’t do that but actually ends up with very effective moderation. HN’s moderation, I’ll add, would probably be considered heavy-handed by the HN crowd if it were applied anywhere else except their favorite country club (that is, HN). Threads are regularly nuked for just having the wrong tone, and this is a good thing! HN is a great place to be due to the combination of levers HN the service and HN the community deploy.

KF: None of this is true.

My understanding is that KF has had this problem for years and has directly (as in, named specifically by victims) been involved with several suicides due to massive online and real-life harassment campaigns.
> Though Italy is firmly in Europe, describing lasagna as European food is at best misleading and at worst false.

I can’t understand what you mean by this at all and it sounds like an absurd thing to say. Can you please explain?
Because I want to use a browser with Adblock and iOS won't let me, so it's ruled out from the start.

Why would I settle for an expensive device that makes browsing the internet painful? Why would I limit myself to only the software apple will approve?

It isn't even in the running and as long as their software policies remain as is, won't be in the running.
> many sites persist access logs and can answer “Which IPs accessed this account?” for a very long time indeed.

What would a very long time actually? I don't have any sysadmin experience, so I'm not sure. One year? Five years? I guess at some point there will be just too much data to keep everyone's logs...
You might be right. I interpreted the parent comment as saying the government should do more and started thinking about the government’s role in free speech.
Bed Bath and Beyond CFO Plunges to Death at New York's Jenga Tower
I'm sorry, "deliberately" alienating the core audience? How exactly are they doing that? It's an enormous, expensive rendition of mostly-obscure Tolkien content. How's that supposed to upset a fan?
Disk Arbitrator allows you to force OSX to mount new volumes as read-only (or prevent mounting them entirely) to avoid this. https://github.com/aburgh/Disk-Arbitrator

I wish it were built-in.
ybeh intended to but the backlash was too strong. not a vote of confidence in them either way.
The gap between the drought monitor and the rejection of desalination plants seems notable: https://www.reuters.com/world/us/california-regulator-reject....
Idk, not having admin rights is super annoying.
Why would you take this over Mycroft? Is there a difference?
That's precisely what I do, after having lost a few hours messing with graphics drivers and kernel params before I realize it was the cable. Would have rather had my time back.
We’re not talking about law, we’re talking about morality.
I can’t believe no one else mentioned this one.
I've replaced fibre internet with 5G. It's great, short duration contracts with 500Mps speeds (I even got 1Gbps at one point while on holiday), and I can take it anywhere
There’s also the fact that Hangul is phonetic, whereas Hanja has very little to do with Korean language that isn’t of Chinese origin.

Hangul is simpler, that’s not really in dispute. It was literally designed to be simple so that a native speaker could become literate in ten days.
Wait what. When I hold the main button on android and say exactly that, it means I have an always on microphone??
There's no intentionally warped faces on any of these models, SD is just the first model technically advanced enough to be able to generate decent faces. People have very high standards for those.

(What is silly is that DALLE2 won't let you edit a picture with a face in it, so you can't outpaint one of its own generations. But actually you can, if you crop it carefully.)
The K1000 and the Canon AE-1 are some of the only model names that people still recognize. They were both basic cameras when new. Ironically, they are now frequently more expensive than better cameras from the same makers. The name recognition has driven search.

I now recommend a Pentax MX, the same operation of a K1000 but better in every way. It was a more upscale all mechanical camera from Pentax. If you want a Canon, go for an Fb to Ftb for mechanical cameras or an A1 if you want more automated exposure options.

The best deals are probably the autofocus cameras from the 90s. With a little looking around you can probably find a Minolta XtSI with a 50mm lens for $50 or less. It is small and the lens, like all 50mm, is great. It also has a built in flash and a variety of of auto modes to simplify picture taking. Yes, they are cheap, plastic cameras that will not last a very long time. But you can get then for so cheap it doesn't really matter. The lenses tend to last longer. You can get similar deals on other brands too. Pentax autofocus cameras are super cheap but you can find Canon Rebels by the truckload as well as many Nikon (the N/F80 is my favorite plastic fantastic from them).
Rinsing insects down the drain which drowns and kills them in the process.
> It feels like this was released without anyone living with the phone for even a couple weeks and trying normal use cases...

Google used to have a very robust dogfooding in program internally. Back in 2012 - 2015. Everybody inside the android org was using the latest devices before release. This is not nearly the case anymore.
This thread and the last one have been an eye opening experience for me, for the worse.
All that "security" just to fight spam. IIRC it was estimated that globally spammers make $300M per year from their spam. It doesn't seem like much. Somebody joked that it would be better if we just paid them that much to do nothing.
Avoid it long enough for more effective treatments of cancers to exist
There is a difference between initial product design (also needs to follow regulations, but not the main topic of discussion), and failure to act on repeated bug reports spanning years that clearly describe software bugs which disrupt emergency calls on Android phones. There is not much to defend in their conduct.
WOW

Seriously, I need to speak with you.

How contact?

I am in love with what you are doing, and have a very specific thing I want to build with you.
> Programming is usually like building a new type of interdimensional alien spacecraft engine that interfaces with some other alien artifacts.

If programming indeed was "usually" like that, then there shouldn't be much software getting produced at all. Since building "a new type of interdimensional alien spacecraft engine" is something that's very very unusual, to say the least. :)
That is not how ebikes work. Also, the anecdote is suspect, cause whole lot of hos patients will ride literally nothing or ride super rarely regardless of what bike they have.
https://github.com/magnusviri/stable-diffusion/commit/d0b168...

Copying this change fixed seeds on M1 for me.
> Carmack is a life-long game-developer (always more focused on "technical" aspects of gamedev, like graphics), and now basically a rich celebrity, who can indulge himself by something as grand and abstract as "working on AGI" (since 2019).

He also started a rocket company and was a big part of making VR workable with reprojection techniques and other innovations (some of them may have had precedent but so did Doom, he and others got it all working in useable form this time, like Doom (Ultima Underworld was a bit slow and had to be run in a much smaller fraction of the screen)).

Beyond just pure rendering, he also created the first usable megatexturing/virtual texturing, now used about everywhere, which is almost more of a data management problem. It maybe wasn't that great until SSDs, but he knew that and put out an early mindblowing iphone version using the solid state storage and integrated cpu/gpu memory as well.
Same here, have a pixel 6 pro and the only think I can relate with is the somewhat janky fingerprint sensor. Have not had a single crash, everything works smoothly.
> It must fit in a similar space to a human. Like it or not, it’s what the world is designed for.

This doesn't follow. The machine can be distributed, only peripherals need to fit in human space and they don't need to be smart.
> minding their own business
The mega corps are angling for marketing dollars (ad spend) and those with marketing dollars want the audiences with “wallet share” and when split that way, those audiences are something like 85% iOS, 15% Android.

This means the megacorps “have to” play nice on iOS in order to serve up monied audiences to their advertisers.
I'm pretty sure Shakespeare knew what a woman was, but they weren't cast in any of his plays. I doubt Tolkien would give a shit whether actors with dark skin played any of his characters.
The ability to use firefox with ublock origin. Browsing the internet on Apple devices is cancer.
I’ll answer for the commentor

“When it affects my profit!”
This was a great read. Thanks for posting it here!

I found this line to be especially intriguing:

> Hellbanning everybody except for other big email providers is lazy and conveniently dishonest. It uses spam as a scapegoat to nerf deliverability and stifle competition.

The big tech firms criticized in this article are guilty of these sorts of transgressions in other arenas, as well. It's always been my contention that the "hellbanning" of user-generated content by big media and big tech alike comes from the same motivations. YouTube and CBS alike want to make niche content difficult to consume in order to stifle any competition that might get vaulted up as a result of that niche audience finding the new distribution endpoints. This comes with the added bonus of reducing cost of goods sold, by reducing the firehose of new content to process. Or, as the article puts it:

> Unfortunately, the computing power required to filter millions of emails per minute is huge. That's why the email industry has chosen a shortcut to reduce that cost. The shortcut is to avoid processing some email altogether. Selected email does not either get bounced nor go to spam. That would need processing, which costs money.

I would be very curious to learn if there are any proposed explanation as to why this phenomenon is so commonly spread throughout the big tech space. Do we get the same kind of behavior out of other enormous multi-national firms like oil producers, ocean freight companies, defense contractors, and chemical suppliers?
Is there actually a "big tech" email provider that accepts a message with a 2xx SMTP code and then deletes it? The only one I personally know of never does that. That one also does not use anything like an IP address blacklist. This article doesn't name names, it just waves its hands and throws around some innuendo. But as far as my own personal experience goes, this author has no idea what they are talking about.
>It is preferable to die of "old age" (including heart disease or dementia) at 90 than from cancer at 35.

Dementia shouldn't be preferable, you'll make life of your relatives painful
I've heard it said that employers brand it "quiet quitting", because if they named it something less disingenuous, it would remind people that the opposite of quiet quitting is called "wage theft".
I would look into varenicline (chantix), talk with a doctor. I know some people will bring up incredibly rare side effects as reasons not to try, but I think those are sort of like plane crashes, they happen sometimes and cause a very visceral response, but the majority of people will do fine flying on a plane. Also, smoking will contribute to an early death, so the risk benefit calculation makes sense to me.
The text transcript could be improved:

> The fourth Generation of wireless networks, four G for short, is now being extended to five G, and six G is in planning.

Spelling out "four G" does not improve clarity. The sentence should be: The fourth generation of wireless networks, 4G for short, is now being extended to 5G, and 6G is in planning.

> GigaHertz ... Giga Hertz

Must be written as gigahertz.

> four hundred Mega Hertz

Should be written as 400 MHz; using number words doesn't improve clarity.

Also, the factual content could be improved in a few places:

> If you want to transfer more information through a channel with a fixed noise-level, you have to increase either the bandwidth or the power.

There's also beamforming and MIMO.

> If you took all the water in the atmosphere and put it on the ground you’d get about 2.5 cm. The clouds alone merely make a tenth of a millimeter.

To make the comparison easier, it should be written as 25.0 mm and 0.1 mm. Ironically, she linked to an original video that indeed uses millimetres.

> The European Commission has agreed on –42 decibel watts for 5G base stations. The FCC in the US set a limit at –20 decibel watt. This is a logarithmic scale, so this is more than 30 orders of magnitude above the limit the meteorologists ask for.

No, it's 3 orders of magnitude, or 1000×.
they mean the entire thing has been run through some sort of "beautifier" so there are thousands of irrelevant whitespace changes across things unrelated to the commit, which itself is around 6 lines.
The linked page does have a legend just below the map. Look for "Intensity and Impacts".
Counter-anecdote: I got a Pixel 6 pro at launch. With the very notable exception of multi week delays in some security updates, it has been the best phone I have ever owned. Great camera, great screen, great battery life, no stability problems, and most importantly, no overheating after which plagued older Pixels under heavy usage.

But YMMV - based on a perusal of forum posts, it seems that one's experience, among other things, depends on one's geographic region (which may be a proxy for the exact firmware model of your device). Mine is a US model, intended for Google Fi. A disproportionate number of complaints seem to be from users in certain EU countries.
I think you need a little of that to make it worth it
It certainly has contributed to harm

https://reddit.com/r/GooglePixel/comments/wpirx8/had_an_emer...

The Australian government really needs to get involved and force Google to fix their shit
There are some true observations here, but the real problem is that simple languages are often not very productive / useful, and languages become more complex when people use them (demanding features)

Otherwise SML would be fine, and there's no need for OCaml

Otherwise Scheme would be fine, and there's no need for Common Lisp

Otherwise C would be fine, and there's no need for C++ or Rust (or Austral or whatever)

----

I think a better way of framing it is how much useful functionality you can put in a language while still feeling "simple", or at least familiar.

There is only limited syntactic space, and features tend to interact with combinatorial explosions, so more features definitely weigh down a language.

----

Another strategy is the "simple core" language, leaving most stuff to libraries. But you have to only look at JS to see how that complexity pops up elsewhere often in greater form (in the package manager)

Likewise look at C++ 20 coroutines or just STL in general ... there is a limited amount in the core, and a bunch of hooks for the user, but it is awfully complex as a whole.
PHP has Facebook invested in heavily.
As a society, the USA has decided that mere pragmatism is insufficient for restricting speech or the closing down of platforms. It would be much simpler if we could make case-by-case decisions based on cost-benefit or risk-reward, but we don't.

I know that people wish to just cut the head off the snake, but our norms caution against that and our laws prevent governments from doing it.
It’s been a decade since 12-18 year olds were getting the vaccine

You can just stick with adult Gen Z people now

Finally a good excuse to not hook up with older people
Wouldn’t the skill of analyzing scans improve if they were done more frequently?

It seems like you’re promoting a self fulfilling prophecy. Doctors aren’t good at reading scans, so scans will cause false positives.

But doctors are capable of learning and improving their skills. They will surely rapidly learn to screen a lot of false positives, thereby saving lives.