skysight-inc/HackerNews huggingface dataset:
I think it's a nice representation, allowing easy recursion.

const char *my_strchr(const char *str, int ch)
{
if (*str == 0)
return NULL;
if (*str == ch)
return str;
return my_strchr(str + 1);
}

It's a good format for storage and communication.

Name any other string data structure and I will cite you all the disadvantages compared to the C string.

- If the format contains pointers, you have to marshal it to a flat representation to communicate or store it. The C string is already marshaled.

- If the format contains size fields, their own size matters: are they 16, 32, 64. What byte order? Again, needs marshaling. You might think not if going between two processes on the same machine. But, oops, one is 32 bit the other 64 ...

I shudder to think of what FFIs would look like, if C strings were something else. It's the one easy thing in foreign interfacing.

C programs themselves sometimes come up with alternative string representations, for good reasons; but those representations don't interoperate with anything outside of those programs, or groups of closely related programs.
It's way less of an issue due to vscode/elixir-ls auto running dialyzer in the background
It's interesting that you bring the smartphone up because Apple broke the mold by offering a product as a one-of-a-kind luxury good that offered far superior style and function. The Dymaxion Bathroom was not sought-after because it would only deliver function parity at lower maintenance cost. And it looks considerably less stylish than the contemporary bathrooms available then.
I don't understand. The bill was passed with an overwhelming, veto-proof majority. Then it sat on the Governor's desk until she made changes (after intense lobbying)? But the NY legislature is not in session, but the bill is signed? So how were the changes approved by the legislature? What is the precise legal mechanism here? Is this legal? My initial impression is that this is an illegal act of tyranny and should be met like that. The governor should be impeached.

Or, the very fundamentals of the American democratic system have been eroded to a point I previously did not comprehend. This is not anything like the picture Schoolhouse Rock painted about how this all works.

Also, with a veto-proof majority, why on earth would the legislature ever even agree to any changes?

Also also, fuck the governor.
The guy said the ticket was resolved multiple times, but then I just responded again. He'd respond back with some unhelpful answer then say at the end "this issue is resolved"
Up to the 1990s, raw salmon sushi was not eaten in Japan
This author’s specific goal is 500 words a day. There is nothing vague about
that!

It's extremely vague. It's like saying, "I wish to turn a screwdriver five hundred times today." It's reasonable to ask, "For what purpose are you turning the screwdriver?"

For example, in my own journaling today, I’ve written 646 words. So clearly
the goal is not “impossible to achieve”, as you’ve claimed.

And what terminal goal are you trying to achieve with this journal? And why is necessary for you to write > 500 per day to achieve that goal?
Has this made any real world impacts yet? Has it been implemented in mainline? Will this mean fedora can be used without leveraging contrib repos?
What is a V10?

Outdoors in Aus. on the Ewbank freeclimbing scale, the blade line to Federation Peak is an easy (albeit highly exposed) 17 [1], whereas Cape Raoul poles [2] rate about a 22.

[1] https://zenandtheartofclimbing.com/50-classic-climbs-austral...

[2] https://zenandtheartofclimbing.com/50-classic-climbs-austral...
And the fact that the vast majority were for one candidate. Looking at pictures of the example ballots it’s a confusing format optimized for voting machines, not humans.

I really don’t understand the American obsession with voting machines, I believe there is always a manual count anyway and American election counting is extremely slow anyway.
The sad state of the Web:
https://ibb.co/ZzcxBc4
I've seen the same with snack foods. Never saw "unit". A single was an each and it would be said like, "$2 per each" rather than most people would say, "$2 each". I can't remember what the bundle name was case...or something, but it wasn't unit.
it can do everything that can be done with the query and schema. it doesn't yet do indices or physical statistics
Do keep us posted if it changes!
They’re summarizing New York Times reporting linked to within the article: https://www.nytimes.com/2022/12/29/technology/twitter-elon-m...
One of my all time favorite everyday engineering things I've learned is the absolute bonkers amount of energy needed to boil water (vs nearly any other fluid).

It's so commonplace yet absurd/impressive when you really think about it.
Next time just charge them back with your credit card
I disagree. One can also want to write more as an end itself, simply to
become a better writer.

You've contradicted yourself. Writing to become a better writer is a goal that's different than writing as an end in itself. Moreover, writing just for the sake of writing is not a very good way to become a better writer. Using word count goals to improve one's writing is like counting the number of times you kick a ball each day and using that as a measure of your progress as a soccer player.
> Think large Mid-west city where you can rent a 1 bed for under $1k.

Which one.
What is the company that made the sale?
Ask HN: What is the most mind expanding book(s) you have read till date?
The book(s) may be related to your profession or not at all. The thing that matters is that it caused a paradigm shift in your mental model of the world or a topic or whatever?

Mine was Structure and Interpretation of Computer Programs or SICP.
I would accept being passed over for my next promotion in exchange for a four-day workweek. (Of course, my career doesn't have that much longer to run, so the damage to me would be minimal.)
You could certainly parse the file, and then insert/remove cells or their values.

I don’t know if the app monitors the files for changes and then reloads on change or not. If not, I imagine you could modify the app to do so.
The only other explanation I can think of is that the each slot is made with two cuts, each one starting at the crack and moving outward from it. So then the three slots in the wheel path takes six cuts to make (two cuts per slot, outward from the crack). (Or perhaps the opposite; maybe the cuts start away from the crack, and stop at the crack.)

But yeah, also perfectly possible it's just an error in the article :)
I am on a personal gmail so I can't test this myself. However, I suspect it might not prevent it. The feature you linked seems to just allow you restrict domains that projects within your org can be shared with. The issue is not that you're sharing projects with someone else, but that they're sharing projects with you. So in that case, this feature would do nothing to block that as far as I can tell. That is unless they add the ability to block someone outside sharing stuff with you (which I did not see any mention of after a quick skim of the link you posted).
Technically, but this is more about how 'Account B Admin' must define who (user/principal) can access the resources Account A has already given Account B access to. The difference I see here is that it's not an invite system; Account A does not notify Account B of its new permissions when it grants them, and Account A is not notified when Account B's administrator has defined an access policy for those resources.
Oh yeah, 99.999% that's the case for dev environments. The only issue I've seen is that some versions of Linux distros have Python shipping with Tk and cryptography support in separate packages to be installed from repositories, where they might be installed by default on other distros, or are just included with the Python package.
That would defeat the purpose. The point of the carveout is so that we don't accidentally incentivize the airlines to fly a flight that should be canceled for safety reasons, and this would do exactly that.
Docstrings are great until you change your mind about something fundamental.

Once you make that big scary change you might have to rerun your unit tests dozens of times before you've found and fixed all of the bugs that your change caused.

A static type checker, plus a bit of foresight and diligence, will give you a much more complete view of the carnage up front, so that you have a good idea about the cost of making that change while it's still cheap to decide differently.

And the best part is that with python you can only bother with the type hints where you need them (e.g. at the boundaries between teams)
> Is not having support really worth the damage this causes to a brand?

Once you reach a certain size the reputation of your brand is almost meaningless. Some of the largest and most successful companies around are almost universally hated and have terrible reputations. Those companies don't care and they continue to make unpopular decisions and actively screw over their customers and their employees all while pulling in record profits.
I've talked to many Waterloo engineers who say taxes are no different in Canada vs. California. It's the salaries that are wildly different, as well as the value that they get out of their taxes.
No, because thank goodness the law is not executed by automatons, it is a system of humans with human brains.
The law, however, had an exception, where no compensation is due if the flight is delayed or cancelled due to a safety issue.

This makes no sense at all. If I order a pizza and it doesn't show up the reason it doesn't show up is completely irrelevant; they still owe me my money back.
I really like the idea of window isolation - I can run something in a container and not care about it misbehaving unless it’s leveraging a zero day, but I also agree that screen sharing / recording is a fundamental need. Surely there’s a middle-ground, like policy based access?
Good you went with wheels instead of some kinda Boston dynamics deal, anything that looks like it has an Achilles seems to draw most of the attention of Kelpies and collies and other herding breeds. I knew one orchard roaming kelpie that would stare at the apple ladder foot for as long as it took until it moved so that it could bite the aluminium to herd it along.
Can anyone explain how to read this?

The article appears to be paywalled if you have previously visited their website or more likely your IP has visited in the past month.

Website seems to be only loading the first page and then using an XML request to pull the rest of the article down after a server side check.

I rarely get to read articles from places that do this because it always says I've reached my limit despite not having visited. Pretty sure they base it on IP which any technical person would know IPv4 gets rotated regularly between ISP subscribers.
I’m going to graduate! Just one semester left and my undergrad thesis.
For most people, dietary cholesterol only has a minor effect on blood cholesterol.

> The biggest influence on blood cholesterol level is the mix of fats and carbohydrates in your diet—not the amount of cholesterol you eat from food.

> The types of fat in the diet help determine the amount of total, HDL, and LDL cholesterol in the bloodstream. The types and amount of carbohydrate in the diet also play a role. Cholesterol in food matters, too, but not nearly as much.

> The discovery half a century ago that high blood cholesterol levels were strongly associated with an increased risk for heart disease triggered numerous warnings to avoid foods that contain cholesterol, especially eggs and liver. However, scientific studies show a weak relationship between the amount of cholesterol a person consumes and his or her blood cholesterol levels

https://www.hsph.harvard.edu/nutritionsource/what-should-you...

On the other hand, saturated fat raises blood cholesterol levels (both the desirable HDL and the harmful LDL):

https://www.health.harvard.edu/staying-healthy/the-truth-abo...
Tinder. She didn’t mention her TS:SCI.

I got the impression using wifi in airplane mode paired with years of exchanging numbers at hacker cons and academic events influenced my matches in some odd ways.

(Such as having someone freak out you have a weed card and might not forget they do too if that’s the reason you can’t get a job)

Anyways I thought she was just some random divorcè but she worked for the local FFRDC

Edit: it also may have been a catfish who got annoyed I had no idea who the person she was impersonating was absent being fourth author on something outside my area of expertise
I’m travelling in Asia at the moment, and I had forgotten how much I loved the WhatsApp customer support approach. Most businesses have a WhatsApp account, and you just send them a DM when you need to talk to somebody. Response times are typically very quick, and sending a DM takes sooooo much less effort than a phone call. I wish the rest of the world would adopt SEA’s love for WhatsApp business accounts.
I think they are incorrect. The original Mac II (68020 machine) didn't ship with a full MMU. It had a socket for the 68851 though, if one wanted to add one. I somehow doubt many people did.

The newer Mac II's (IIx onward) were 68030-based, so they would've had MMUs built in. (They also released the Mac LC later on, which was 68020 based and had no socket for an MMU.)
W.r.to boilerplate - I have no reference point/comparision to other frameworks.

When the project grows with more contexts, components and forms, one will end up with a bunch files which differ only in Module.func_names.

Phoenix < 1.7, View files which are required for controllers are boilerplate which contain 3-4 lines. In the end there will be a folder with view files which don't will have similar content unless any view specific functions are added.
> I am also not aware of any mainstream work with a pedophile with any redeeming feature.

The 1998 movie "Happiness" attempted to depict the plight in a humanizing way.

https://youtu.be/_t-kjZ1cxoE
But an ICE car is an obvious improvement in both cost and usability to a horse-drawn carriage. Half of the value of an EV is that it's cheaper and easier to refuel. Making everyone who'd want one pay thousands to install infrastructure for them removes a lot of the reason you'd ever buy one, since it's otherwise essentially the same as an ICE car in terms of usage.

If anything, right now, an EV is literally a worse car to an equivalent ICE in terms of what it's capable of. The reasons you'd have one is either general environmental altruism or because it'll be cheaper over the long term to own one.
I somewhat agree, but I am optimistic that society will change in other ways to fill this gap. It need not be any single activity or institution.
> I consider Ruby to be quite similar to Python.

They are both dynamic, OO scripting languages, whose main implementation has a GIL, but beyond that, they aren’t all that similar.

> However, it’s kind of like Python’s weird brother,

Methods-with-self-in-args-list isn’t the “weird” one?

> with optional parentheses for calls without arguments

Parens are optional in Ruby on method calls and method definitions except where necessary to resolve ambiguity (including in the newer special single-line method definition syntax, its not a special syntax option for no-arg methods

> auto-returning the result of the last expression

Ruby is basically an expression-oriented language [0], everything returns a value, and a sequence of expressions returns the last expression in the sequence. Explicit “return” lets you short-circuit that. Python is a statement-oriented language, and statements don’t return things except an explicit return tells the function its in to return something. Both are common kinds of languages, just very different. Neither is “weird”.
I really hope you’re being sarcastic but I genuinely cannot tell so I guess I’ll reply.

>>Fewer people are "drinking themselves to death" now than in previous generations, so that can't be it.

Do you believe that we do not live in an age (with social media) in which it is much easier for anybody growing up to see exponentially a more examples of things I’ve mentioned? Just because things may be trending down, there is near infinitely more exposure.

Kids used to see a town drunk they were told to stay away from & generally that they deserved their fate. Now they can go on any social media & find people who had full ride scholarships that had to drop out of a STEM PhD & now can’t even get their most basic of human needs met because of a long untreated disability or other medical issues. This may come as a surprise to you - but many younger people find that to be depressing as fuck & don’t see a point when they can easily meet the same fate.

Just personal data: everybody I know who was treated as you suggest at the end now no longer speaks with or interacts their parents, whom regularly post things on Facebook like “I don’t know why none of my kids talk to me I was so good to them you all know I was waaah”

I personally find this to be funny, but it’s probably not best for society at large. We should probably attempt to fix the underlying issue - which all too often seems to be, don’t treat your kids like shit - especially in the 21st century where it’s not hard to see there’s greener pastures to be experienced, even when estranged from family.
Express Logic. They were a small embedded RTOS vendor in San Diego. We were using their OS, and we found a bug in it. My boss called them, and said, "Listen, we know our support contract expired, but..." They said, "Doesn't matter. We wrote it; we'll fix it." And they did. For free. For someone whose support contract had expired.

They eventually got bought by Microsoft, so I don't know what they are like these days, but 15 years ago, their customer service was unbelievably, off-the-charts good.
Just two weekends ago, I had a conversation with a good friend, about his bloody hemhroids. He said it's surgery if it gets too bad. Now I learn we could have just rubber banded his hemhroid off? That's pretty high quality information to have for next time.
I think the reasoning would be to disincentivize airlines from potentially flying a plane that is unsafe to avoid paying out.
I think on one side Amazon started punishing those who abused the return policy repeatedly and, on the other one, the chat support has become a shit show with people not being able to help and being just as bad as chatbots.

I've personally been sent a single elastic band for hairs instead of 1 TB SSD, twice, and had to explain to them that shipping it back didn't make sense for either of us and eventually got what I needed them to understand, but only after wasting over an hour talking to some clown service who isn't allowed to use proof or their breaks. And that's just how things have been going in the last year, worst and worst...
Possibly via libreoffice itself I didn’t update it often?

Every screenshot in my screenshots folder had the time created date edited on 1/6 so I suspect someone owned my laptop.

My phone otoh I trust more since Apple signs the code, the diary wasn’t there.
> An overly-simplistic explanation may be that most engineers don’t care about “how red a red is”

It certainly is overly-simplistic.

The Display P3 color space is about 50% larger than sRGB… there are many thousands of colors that occur naturally that can't be displayed in the sRGB color space, yet our cameras and phones have been capturing these colors for years.

Not being able to display graphics and images at full fidelity is a form of information loss and most engineers shouldn't be okay with that.

Apple's article "Improving Color on the Web (July 1, 2016)" [1] where they describe how a 2015 iMac and a 2016 iPad Pro had the ability to support Display P3 and how it's supported in the operating system and browser.

The demo picture includes someone's orange sneakers standing on grass; many of the green colors of the grass are outside the sRGB color space. Sure, most browsers will display the closest color it can display but the picture isn't as good as it should be.

Lost among the recent fuss about image support (JPEG XL, AVIF, WebP) is being able to use better color spaces natively without having to attach or embed a Display P3 color profile (which regular JPEG requires) which are often stripped out by CMSes and unaware web developers.

Using Display P3 would probably save online merchants millions of dollars in support costs and returns since fabric dyes are often outside of the sRGB color space and can't be displayed accurately for those customers using (at least today) Chrome or Firefox on non-iOS devices.

What's odd is the latest Pixels from Google don't seem to support Display P3 but every device from Apple except the entry level iPads do. The iPhone 7 from 2016 supports Display P3.
i don't like chocolate either

just kidding, i love chocolate just like everyone else, please don't send me back to the hospital

tabooness was one of the dimensions, the other was what percentage of people found the act sexually exciting in fantasy, and i thought that was the one you meant

i agree that the 5% taboo is probably a question of people being puritanical, or expecting others to be puritanical

pretty sure oral sex was illegal under sodomy laws in most us states during part of the 20th century
This tends to be a terrible idea, unless you really just want to nuke your Google account.

(Googler, opinions are my own. I work on payments.)
Styles extracted at build time, but fall back to runtime. This is necessary for many things, animations being one, but in the future there’s a potential for compiling fully way for limited use cases. I’ll check the bundle size, I think two things happening there but not at my laptop to check.
And here I was thinking posting something similar would be read as too pessimistic!
Fidelity slashes the value of its Twitter stake by over half
You can reduce your risk of stroke by increasing the risk of dying by other means.
Manson was convicted for explicitly ordering people to carry out specific crimes, not for some vaguely-defined "hate speech".
that's a book about intimate partner abuse tho, so it makes sense to be leery of people who got their picture of bdsm from it and then wanted to get involved
That’s awesome. For anything Trino - project Tardigrade related, reach out to any of the maintainers, they’ll be happy to help.
Russia starts foreign trade settlements in Indian rupee, more countries to join
> Close, but not exactly. One of its variables is how far its integration differs from 63% Black, squared.

> I.e., you cannot distinguish a 73% black neighborhood from a 53% black neighborhood with this variable.

Isn't the point of that operation that a 1% black neighborhood and a 99% black neighborhood are both less integrated than a 50% black neighborhood? If you didn't do something like squaring, then wouldn't at least one of the former incorrectly register as more integrated than the latter?

> It's a bizarre variable and I guess I could see purging the column or at least suggesting it not be used, but I don't really understand why you'd delete the rest of the (sample) dataset on this basis.

Agreed.
1984... but it is just curious to see how much further we have gotten.
> As the results were being released, FairVote noticed issues specifically related to how to count a second- or third-choice vote if the voter did not select a first choice. Ballots with blank spots in ranked-choice races are considered “suspended.”

> The Alameda County registrar explained that if a voter didn’t select a candidate as first choice, then the second choice should have been counted as the first choice in the first round. The same would occur in subsequent rounds moving lower choices up into the empty slot.

Did they not have a unit test for this?! Now I'm curious how many unit tests they have, and what they cover.

Shouldn't the software be public too? If voting machines are here to stay, the public ought to be able to see what code they're supposed to be running, no?