skysight-inc/HackerNews huggingface dataset:
I understand what you mean, but the biggest challenge for me as someone that needs to "get things done" is that I'm forced into a duopoly on desktop /because/ of mobile. I'm perfectly comfortable using FreeBSD as a daily driver on a Thinkpad, and I did for years. I now use a Macbook Pro /because/ I use an iPhone and an Apple Watch. I used to use a Fitbit, and I used to use Android (way back in the beginning), but it quickly became clear that the packaged experience with Apple was simply better (and that Google wasn't a trustworthy player).

If it weren't for the situation with mobile devices (phone / smartwatch), I'd still be using a Thinkpad with FreeBSD for my personal and work computers.
Agreed. I had a Dell PDA with the latest version of Windows Mobile shortly before the original iPhone came out. It should have been quite capable but the interface was holding it back.

I’ve heard the OS was good underneath. But that couldn’t fix the legacy of how the UI was designed.
In the past I have felt like this is goofing off and needs to be done in my time

I strongly suggest you reconsider that position if you hold to that in any way, shape, form, or fashion. Learning is absolutely part of your job. And if people (eg management) in your organization tell you otherwise, leave and go work somewhere that isn't run by morons.
I dont have an example in front of me. I had write some weird code to prevent a variable from being dropped unexpectedly.
I always seem to see that plant when flying over California/Nevada, it's really easy to spot.

I thought there was a problem with birds getting cooked in mid flight with it or something though?
The whole thing was completely fucking wild. Papa was ‘caught’ bragging to an Australian diplomat that was politically connected. The diplomat could have just been making the whole thing up because he either received instruction from Australian security services or because the diplomat in question has a bunch of strong incentives to ingratiate himself to the US permanent government. Have a read of Papa’s book to get an alternative view of what happened. In most realities he is going to deny the encounter so we should be suspicious of his narrative but there was a lot of suspect stuff going on.

After seeing how the US intelligence people acted with the Hunter Biden story I have zero faith they wouldn’t monkey around. To be fair I think a lot of the shade that was thrown on the story was from ex-intelligence people and not current US government employees. However, this whole thing looks like a vast conspiracy. You have ex-intelligence people, some who have plum media jobs signing up to this statement that seems to claim that Hunter Biden laptop is Russian disinformation. But if you carefully review the statement it doesn’t actually make this claim. And if someone produced irrefutable proof that the laptop was genuine then all these people who signed up to this claim could claim they were still right. The actually claim was the laptop had the hallmarks of Russian misinformation. But that is not a very useful claim if you as a voter are trying to assess the probability that the laptop is genuine or not. For example it could have the hallmarks but it could still be like a 95% probability that it is genuine. Of course this claim about hallmarks is not strong enough so when it was reported in the press it was often reported as X ex-intelligence people have confirmed it is Russian disinformation. So what the hell is going on here?
Huawei is banned because they installed backdoors for a hostile foreign government in their devices and got caught. Not "just" because they're foreign.

You can buy lots of Chinese made and foreign-made handsets in the US.
Create an app to analyze closed caption text to identify logical fallacies and display same on the screen as the talking heads talk or highlights them on text websites. Pretty quickly realize everything they say is BS.
What kind of mods did you put on your S2000 for it to do 13500 RPM and not blow up immediately? That redline would be 3000 above any other production car sold, with the 2nd place being a motorcycle engine in an Ariel Atom 500 redlining at 10'500 RPM.
> I'm sure they didn't magically find a hidden paragraph in 2015 regulating marriage equality.

Obergefell is a good contrast to Roe. Everyone acknowledges that the "rights" protected by the Constitution includes the rights inherited from the English tradition. (Liberals believe it encompasses an evolving set of rights based on changing moral standards, but they agree it includes at least those recognized in England in 1789.)

Marriage was one of those ancient rights. Even the Magna Carta includes rights relating to marriage. The question therefore wasn't whether there was a right to marriage, but whether same-sex relationships fell within the scope of the concept of "marriage."

On that question, the science changed dramatically in the period leading up to 2015. Science proved in the late 1990s that same-sex conduct was not a choice to reject conformity, but was rooted in biology. And in the early 2000s there was the first research showing that same-sex couples were living in committed relationships, raising children, etc. You'll notice that Kennedy spends a lot of time talking about these facts in his opinion--because those facts are critical to showing that same-sex relationships can be called "marriage" as historically understood.

If anything, "the science" has worked against Roe. The first real-time fetal ultrasound was conducted in 1971, just a couple of years before Roe was decided. Since then, ultrasounds have become routine, and 3D ultrasound technology allows us to see that a 15-week fetus isn't a "bundle of cells" but has a human face: https://youtu.be/sBmXNOG4s4A
Let's focus on Anwar Al-Awlaki.

I wasn't talking about Anwar Al-Awlaki. I was talking about what happened to his children.

So sorry, but I will not be able to join you on whatever semantic buggy ride it is you're trying to pull me onto.
I don't know if the allegations are true. I just think that they are very serious, if they are.

Fortunately, we have a process, called a trial, that can determine whether or not they are.
Ask HN: Has anyone managed to deal with their ADHD without medication?
I love books about fraud and The Man Who Stole Portugal by Murray Bloom is one of my favourites.

This is also a story about how Artur Alves dos Reis sparked growth by injecting money into the Portuguese economy.
Thanks, this seems like a very good go-to guide on the art of domain choosing.
Or they could stop co-mingling inventory. If I buy from Amazon, I shouldn’t get a product from a marketplace merchant.
C++ Regular Types in STL
Jumping in on this late, but I think the haters and some of the lovers miss the point.

Perl doesn’t need to be Python. It’s great to be the #20 language.
> Failing to check the return value when closing a file may lead to silent loss of data.

Checking, on the other hand, probably makes it loud loss of data.
Huh, that's confusing to me.

_Big_ Adams, Twain, Barry, Pratchett, and most things sardonic, sarcastic, and satiric right here, who's also "autistic AF" as the kids say.

"/s" is stupid, always has been. I'm not sure if sarcasm is sarcasm if it comes with metadata, but if you're gonna use metadata, use balanced tags!

Edit: I read the link, and laughed at it. If anything, I get into trouble using sarcasm /too/ often (esp. as a kid), I know a few other aspies like this too. I think all one can say on the topic is that if you're on the spectrum your "sarcasm center" might be poorly deficient OR pumped up into overdrive.

I know it's a long rant on this point but I really wish more people understood that with ASD sometimes these things manifest as a deficiency...but sometimes as the opposite of a deficiency (a surfeit?).
Princeton Architectural Press Grids and Guides Notebook Review (2018)
Side note...

Does anyone else feel like RAII is poorly named? It seems to me that the largest benefits of RAII that people talk about aren't about resource acquisition or initialization, but releasing the resource. Taking the phrase "Resource Acquisition Is Initialization" at face value just sounds like it describes object constructors.
I took computer language theory in college literally 20 years ago, had a sandwich with chips during every class. I clicked on that link and could taste the sandwich.
An odd coincidence, I recall that pressing an operator button on an older HP calculator would also cause an error, because the stack was 4 levels deep.
It depends. Regardless, it seems like Go will close file handles for you too, if you've not done it yet, in the finalizer code.
Also known as fetal safe zones
> It multiplies two matrices. C can't do that. In C, I'd have some unreadable matrix64_multiply(a, b).

In C you get BLAS which provides functions like ?gemm, a BLAS level-3 function which is literally stands for general matrix-matrix product.

Hardly cryptic.

https://www.intel.com/content/www/us/en/develop/documentatio...

Also, anyone doing any remotely serious number crunching/linear algebra work is well aware that you need to have control over which algorithms you use to run these primitive operations, and which data type you're using.

> I used to do numerics in C++, and in C before that. It's at least a 10x difference in programmer productivity stepping up to Python.

I'm rather skeptical of your claim. Eigen is the de-facto standard C++ linear algebra toolkit and it overloads operators for basic arithmetics.

I'm not sure your appeal to authority is backed up with any relevant experience or authority.

https://eigen.tuxfamily.org/dox-devel/group__TutorialMatrixA...

I'm not sure your appeal to authority is backed up with any relevant experience or authority. It's ok if you like Python and numpy, but don't try to pass off your personal taste for anything with technical merit.
Heaven brings forth innumerable things to nurture man. Man has nothing good with which to recompense Heaven.
Here's an Dena'ina example: http://denaina.anchoragemuseum.org/multimedia/denaina/the-st...
Printers hate this trick

https://www.unm.edu/~tbeach/terms/images/oldportsBIG.jpg
> Rust can be similarly high level as Python

Not really, once you start something more complicated than hello world and start to try mutate things for example it get 100x more complicated that Python.
Author disambiguation can be a very hard problem in practice, especially with authors who share the same names (a relatively common occurrence in some non-Western countries) and work on similar things. It's even somewhat common to see the exact same ORCid (supposedly a unique identifier) attached to what's clearly papers published by distinct individuals. At some point, one pretty much has to guess.
$169+47 shipping for those curious

Can't say it's not unique and cool, to be fair
Can you share me a link? I searched on NOAA website and didn't knew where to look at.
BTW I deeply recommend you the yt channel DeepseaOddities
https://youtu.be/EkVY2EvFSgo
BTW I just tried muPDF and the rendering is blurry on my 4K screen, unfortunately
I mean, it's called Box::leak(). It says what it does on the tin. Why was my file descriptor leaked? Oh, I specifically leaked it. As to third party libraries, well, it's a quality of implementation issue. The third party library might forget to flush caches, muddle up file formats, or just crash.

This use of clear naming is one of the things I value in the Rust standard library. Both Rust and C++ provide both a stable sort, and also an unstable sort which may be faster if you know that's suitable. But Rust calls its unstable sort unstable_sort() and so if you don't even know what the difference is you're going to pick "sort" and get no surprises. In C++ "sort" is the unstable sort and if you didn't already know about sort stability then I guess you'll find out the hard way, sucks to be you.
Our favorite games and source code from Ludum Dare 50
it's simpler and might even be a better UX, but that's not the point of this exercise
Block Q1'22 Earnings [pdf]
It is indeed, which is why we stopped after window-shopping Bloomberg and Nasdaq. Seems like it's hard to have cost-effective, high-quality data with and API that's amenable to bulk backfilling.

We have actually looked at Intrinio! Specifically for options data. Again the problem was that the API is not setup for bulk, historical backfills.
I think even the most hardcore of RAII adherents would say that RAII is a dreadful name for it.
The problem is that some rando is using his email.
a smart guy i worked with early in my career taught us an order that i always liked "outside-in": display, position, flex, margin, padding, border, background color, text style, etc.. and i'm familiar enough with that approach to know how i like to handle the ones that aren't obvious, like opacity. but i don't think it's practical as a rule for a project with more than one or two people.

with more than 2 people and no automation or lint rule, it will inevitably not be enforced. and once you can't trust the codebase to be consistent, the usefulness of having a rule like that is gone.

alphabetical seems less intuitive to me but it at least has 100% objective answers to every question about what the order should be. no ambiguity and it's probably easier to automate or lint. if the choice is alphabetical, with automation, vs. wild-west, i'd take alphabetical.
Understanding the Bards
There's just not a language feature to prevent you from letting an object go out of scope without "using" it.

There is `Drop`, which automatically runs when an object goes out of scope, but you can skip that by leaking the object, e.g. with an Rc cycle.

There is also `#[must_use]`, which warns when you don't do anything with an object, but you can explicitly silence that with `let _ = the_object` or `let _bla = the_object`, and it doesn't complain if you exit that scope early (either via normal control flow or panic).

The reason Rust has `Drop` and `#[must_use]` but not linear types (short of "nobody's bothered yet") is that they aren't really all that pleasant to use and they impose a lot of constraints on the APIs you build with them. You would have to prevent leaks of linear objects (which means, among other things, no reference counting or moving between threads!). You would have to track panics in the type system and/or forbid calling most functions while a linear object is live. More detail here: https://gankra.github.io/blah/linear-rust/

The current design means the default way to use a `File` won't handle errors on close, but you can opt into that by making an explicit call yourself. In exchange, you can do a lot of things with `File` objects that you couldn't with a linear `File`. (My suspicion is that Vale either doesn't use linear types for files, doesn't actually enforce linearity at compile time, or makes files painful to use with generic code.)
>Instead of performance, I’d like to see more effort in portability, package management, and stability for Python because, essentially since it is often enterprise managed, juggling fifteen versions of Python where 3.8.x supports native collection typing annotations but we use 3.7.x, etc. is my biggest complaint. Also up there is pip and just the general mess of dependencies and lack of a lock file. Performance doesn’t even make the list.

I have been leading a Python project lately and, yes, the tooling is very poor, although it is getting better. I have found poetry to be a very good for venv management and lock files + having one file for all your config.
> On the other hand, if we allow e.g. Rc into our codebases, we can do these patterns just fine, though there is a performance hit.

Interesting... I was using one of the Project Euler problems as an exercise for learning Rust; I found that Rc actually improved performance (guess: by eliminating a lot of copies/moves as things went in and out of scope).
Manual memory management is better for real time audio.
That could make sense. The pages don't always seem to be crawled
This doesn't actually fully implement any of the tasks though.
Speaking of Miyazaki, I watched the Grave of the Fireflies when I was a child, and it was a devastating experience. (For those who haven't seen, it's a story of a brother and sister in Japan at the end of WWII.) It was as if I myself had lived through (and perhaps died in) a war. I watched it one more time in my life, but I cannot even write about it without tears coming to my eyes.

https://en.wikipedia.org/wiki/Grave_of_the_Fireflies

Also, one of my childhood books was When the Wind Blows. (For those who haven't read it, it's a story of an old British couple going through the aftermath of a nuclear attack.) Similarly traumatizing. I suppose my parents meant to educate me about the horrors of war, but at such a young age (pre-teen, maybe around ten years old) my reading experience was so powerful that it felt like I lived through it. Scenes from that book still haunt me sometimes.

https://en.wikipedia.org/wiki/When_the_Wind_Blows_(comics)
Electric companies tend to be regulated monopolies, and suffer from the same perverse incentives with models like being allowed a 10% profit. The more they spend replacing poles and building new pole lines, the bigger the profit the regulations allow.
Thank u for the encouragement :)
Just as a side note, I thought /s meant serious. I think I’ve might’ve have seen it used in both contexts.
Better Versioning for Analytics Work
Also, their default nuclear lifetime is 25 years, and we have many reactors older than that running right now. In my tests above I changed the lifetime to 60 years. Justification for that here: https://www.energy.gov/ne/articles/whats-lifespan-nuclear-re...

For some countries, even the original capital cost of 6000 is viable with a 60-year lifetime. Two I tried are Thailand and, ironically, Germany, both of which went 100% nuclear that way.
Seeing the last four credit card digits in some of the results makes me think the browser is actually submitting the page content.
I'm a fan of KeyCloak and use in prod.

My biggest complaint though, is the storage of configuration in a database. This makes deployment complex, because you can't just deploy code, you must also mutate your database on each deploy (in many cases).

I'm looking into a more modern approach, perhaps disallowing any system admin access (only user admin) and requiring all configurations changes to be applied via code using the API... please provide any recommendations for a better approach!
The most egregious is that there's still no setting to prevent skipping the credits. It's so distracting when you finish a movie or series and instead of having some time to reflect on it, you get served an ad for some of their other show.
Can you enable this but instead of the CMD+CTRL+Click, make it so it does this on force click ?
Wonder how this compares to mental health across all age groups? Seems like its deteriorating across the board for similar reasons
> Yes! The article says as much in both the introduction and the caveats at the end!

My point in saying so in that statement wasn’t to focus on the unnecessary mutation! It was to focus on the perfectly legitimate use case for assertion types in attempting to address it.

All of the rest is a fair point, and I probably did lean too hard on the mutation point. My intent in taking it further wasn’t to belabor that point, but to show that the merge type is solvable.

In hindsight I should have kept the assertion signature and focused on the solution to `never` (and the resulting unwieldy type), because I think that could be genuinely useful for many people.

Also in hindsight, I should have taken the time to say that I have attempted the exact same solution to the same problem for a different stateful API (in my case, Node vm.*Module initialization states), and reached the same conclusions.

My intent wasn’t to criticize. Nor to dispute anything in the article other than doubting the legitimacy of the approach. Apologies for failing to communicate that effectively.
Its a common misperception that "everyone has their entire lives uploaded", because humans are subject to availability bias. I recently spent some time living with young university students in a non-English-speaking European country, and most of them had one social media account (generally locked or pseudonymous) plus text apps. Data brokers are not able to collect and resell anything they please in most civilized countries.

Always remember that the Internet and social media are dominated by people who put an unhealthy amount of time and energy into the Internet and social media. Those people are not real, any more than the old-media commentariat and their taboos are real. Most people are much less visible because they have lives.
The reference implementation is basically "Do Whatever Mastodon Does" unfortunately.
Or maybe tech stack really doesn't have that much influence on the success or failure of the business :)
Sway and i3 stand out to me as “correct” window managers. You get the upsides of tiling (windows don’t occlude one another, no fiddling with exact window placement) but without the typical cost of memorizing loads of keyboard shortcuts (though key combos are still an option).
It’s so intuitive to drag around and resize windows with the little preview outlines showing where the window will end up when you release it. I wish the paradigm were more popular; once you’ve tried it going back to floating windows on macOS or the like feels laborious, even with 3rd party tools. I even feel like some simplified version would work great on touch devices like iPads. It wouldn’t be that different from SplitView, other than supporting more than two windows.
Or in some cases, FORTRAN code called from Python iirc.
I can't imagine a job in which it would be possible not to. Driving a
tractor? Shovelling cow dung? You can get better at both of those
while being paid to do them. For some people like students, teachers
and researchers, learning is the job.

> While I do more than my 40 hours every week I still feel guilty.

Guilty? Did you murder someone? Rob a bank? Cheat on your taxes?

> Is this normal?

No. Consider talking to you boss and colleagues about skills,
training, research, innovation and how the company rewards you for
your autodidactic initiative. If that doesn't work out and your boss
just wants you to mop the floor, consider looking for a job where you
feel more appreciated and free to grow.
Probably the weirdest one I've found is "Dearness."

"Although", "Besides", and "Moreover" also trigger the behavior.
Wow. The things you learn! I've never seen this! What a cool tool!
> People who use 2fa are not related to the same group who updates their dependencies

This does raise the question though - should they be related? If so, why? If not, why not?

From TFA, it seems github believes that a positive correlation there is worth pursuing and they offer reasons, though I have no idea how their corporate-blog-speak relates to their actual motives here.
> start to try mutate things for example it get 100x more complicated that Python.

I don't know about 100x, using Box and mutexes it is pretty much as complicated or maybe 2x. If you want it to be efficient and leverage all of Rust then sure, but that wasn't what they were meaning.
Used magnet for years - absolutely gamechanging for OS/X when coming from Windows/snap-window
I'd actually be interested in a 3-only cable. Force it to use high speed or bust, no surprises, no guessing at which proto runs under the hood on that "universal" connector. Didn't know it was possible; I might make one once I've got a spare cable (just today I've got another spare but they always have just 4 cables).

More for geeky/testing purposes than to replace all my cables, but still
- thought the docs were good. Same level as cargo or npm or anything else I've used.

- the 'made up langauge' is just s-expressions, not any more made up than NPM using a json file. There's no standard file extension for them though, which is fair.

- I'll take your word on the rest of them, I didn't do anything heavy duty