skysight-inc/HackerNews huggingface dataset:
> Is Rust basically based on unique_ptr?

Rust is based on ownership and statically checked move semantics (by default though can be opted out). So each item has a single owner (which is why Rust deals very badly with graphs, and more generally any situation where ownership is unclear) and the compiler will prevent you from using a moved object (unlike C++).

Separately it has a smart pointer which is the dual of unique_ptr (Box), with the guarantee noted above:

let b = Box::new(1);
drop(b);
println!("{}", b);

will not compile because the second line moves the box, after which it can't be used because it's been removed entirely from this scope.
Looks cool, maybe we can collab?

I recently launched something very similar https://www.findyour.blog
You are most welcome! Glad you liked it. I've never logged in here before, and I am amused that someone posted this little emergence post here. I intended it mostly for circulation among friends. But you have inspired me to collect the 'syllabus' of my informal journal club. Here is an annotated reading list:

https://axispraxis.wordpress.com/2020/05/30/an-emergence-rea...
Yes, I mentioned this elsewhere as well. They key point is what is a comparable activity. That probably needs to go into law, or can this be used as a precedent later?
I'm not sure if Apple ever had quality.

They are the Nintendo of Computing. They have some novelties, but in general they are average at their best. Notice that both Nintendo and Apple are big advertisers.
There are so many different possible roles for a software developer, there is no single prime time age.
True, but that wasn't the point of my argument. The point is you can actually throw money at a problem and get it to work. There are 4 big ARM chip designers in the world right now - Qualcomm & Apple in the West and Samsung & Huawei in the East. Both Samsung and Huawei have reached this stage by being pumped with lot of cash and backing by their government in the past. So this model has proven that it works.
You might enjoy this old radio program where Jean Shepherd discusses getting his Class A ham radio license when still young and in school:

https://www.youtube.com/watch?v=22fl5JtoZXU part 1

https://www.youtube.com/watch?v=uR46E_WV6vc part 2
Actually, developers are only forced to implement it _if_ they support logging in with other social auths.

A big problem of many apps is that they only had a "log in with google"/"log in with facebook" button, which is very problematic for people who have neither.

On Android this is more acceptable since you need a Google account for the OS itself anyway.
Sqlite is everywhere: Android, iOS (not only apps but operating system itself), airplanes, etc. I wonder if anything in space uses it.
The rules that were challenged were the 25% capacity and no more than 100 people rules that newsom issued recently, after public outcry that the original rules (no church until phase 3) were inappropriate. The church in question seems to have focused on the 25% capacity portion of the new rules.
Didn’t he second guess doctors though? There were doctors writing the order but he said it should be overruled. Sorry if I’m misunderstanding, honestly want to understand here.

Edit: I have tried to find what Alito thinks but can’t find any information. He voted to fully reopen churches but did not join the dissenting opinion or wrote his own so I don’t really know what his opinion is.
That is indeed the only problem, and it is a hard problem.

ASML people like to describe it as "a bit like having robot controlled helicopters tie a rope around a skyscraper in a heavy storm, while not crashing nor pulling the skyscraper over" iirc.

This is because at nanoscale, every vibration is a huge movement, and even the flattest surface is mountainous. An ASML machine is basically little more than tons of little sensors and control mechanisms to detect all these vibrations and surface shapes and to adjust the light beam positioning accordingly.

Because of this, nearly the entire company (several thousand people R&D staff) is focused on "putting the pieces together". Eg they do comparatively little deep research. It's all engineering.
In the different contrived case where it gets copied, you'd instead change this code to take an immutable reference to it, and compute the size of that. Or you'd call .size() instead of calling this function!
It would be cool if there was a way to sandbox part of a website so that it could be sandboxed against specific functionality.
If that was the first time you'd seen mention of that essay, then you'd be forgiven for not knowing that always precedes discussion of hand crafting vs brute force. I've never seen it be answered with a call for exotic computation, so my mistake. I've seen plenty of energy requirement estimates related to defeating various cryptographic algorithms, using spherical cows, etc. You'll need a lot more than an architectural change to make a noticeable dent, you'll need the discovery and industrialization of new physics - not the sort of thing you want to hang your hopes on.
https://archive.md/KTALl
I agree with your and there's a joke somewhere in here but I can't quite compose it. Something like:

One SCJ says to another "I can't decide where to go this Sunday for brunch".

Second SCJ responds "you should check to see if there's relevant case law on who makes the best mamosas".

First SCJ checks LexisNexus and comes back empty handed and says to the first "guess I'll just go to the church instead".
In my experience, even bad Haskell codebases are easier to work with than mainstream language ones. Once I got over the learning curve, I barely think very hard when programming Haskell. It's all mechanical.

For this reason, I find code style to not affect me in Haskell. I've seen a bunch of different styles and I'm never taken aback. The code is all simple & mechanical to reason about.

I've been able to refactor other people's "bad code" without much effort too. This is after others have said the code is bad and unfixable. It just takes a good attitude and the same mechanical approach as always.

At the end of the day, I think a lot more about the business problem in Haskell than other languages. I hate having to think about code & simulate a computer in my head. But if you wish to use other languages and pay me to think like a computer, feel free! It's your money.

You can think of modules as Java classes and get the same sort of code separation fwiw.
Whether there is a pandemic or not isn't given great weight by either side. Both sides implicitly agree that California isn't allowed to go out of its way to penalize churches, but they disagree on whether it has done that.

Robert's order says that "similar or more severe restrictions apply to lectures, concerts, movie showings, spectator sports, and theatrical performances." He concludes that California is not singling out churches.

Kavanaugh's dissent notes that churches are being treated worse than "factories, offices, supermarkets, restaurants, retail
stores, pharmacies, shopping malls, pet grooming shops,
bookstores, florists, hair salons, and cannabis dispensaries."
The write-up is not very clear in my opinion.
The graph seems to show that there're 3 API calls (maybe there're more API calls in reality?).

And if I understand this correctly, the issue is in the first API call, where the server does not validate whether the requester owns the Email address in the request.

What confuses me are where're the "decoded JWT’s payload" comes from. Is it coming from a different API call or it's somewhere in the response?
This is nice. Is the code on GitHub?

Might make sense to use two coordinate systems for source and target?
I think you mean to say the US won’t accept a challenger to its dominance of the computer technology markets.
Considering religion is protected by the First Amendment, I'm fine with erring on the side of importance. The other nuance here is that while churches might be free to open, they're also free to stay closed out of caution, and individuals are free to not go.
Ok, we'll switch to that from https://www.washingtonpost.com/politics/courts_law/supreme-c....

I think the title is probably worth keeping.
Due to the explosion in videoconferencing I've spent some time recently helping family set things up via remote desktop (I highly recommend Chrome Remote Desktop by the way, pretty easy to set up). This kind of thing is absolutely inscrutable to non-tech savvy people. All they see is that the computer suddenly stops doing anything but playing an annoying "donk" sound whenever they click and they have no idea that any of those features exist.

Really, Windows with its `window == app == taskbar item` approach is far easier to understand.
A few months ago the official Android app for Instant Pot would not let me view recipes due to my device being rooted (I just checked and they have since changed this). Up until a couple years ago, my credit union had a password length limit of 10 characters. I can use 2 factor authentication with my power utility but not with my credit card company. Companies seem to have an extremely uneven view of what calls for strict security measures and what doesn't.
Honestly, certificates should never expire or should expire daily. If certificate revocation works then its pointless to have expiring certs. Its just a mechanism for CAs to seek rent.

If certificate revocation doesnt work then certs need to expire super frequently to limit potential damage if compromised.

A certificate that expires in 20 years does absolutely nothing for security compared to a certificate that never expires. Odds are that in 20 years the crypto will need to be updated anyways, effectively revoking the certificate.
I failed to notice, thanks for pointing that out.
I wrote this. It is free to read online.
Very happy Hexadecimal customer. Keep up the good work :)
That has to be it! That's the only explanation I've heard that really makes sense.
I've always preferred light-on-dark. I have my Emacs background set to #000060, with primary foreground #88FF88. Very soothing.
I think the main disappointment is that we humans aren't that special when a brute-forced scalable transformer is getting into our ballpark. We have also recently seen how Open AI + MS were able to use a GPT-variation for automated text-description-to-python-code generation, and utilizing something like GPT-3 in that task might render many swengs obsolete fairly soon.
And the choice of black arrow on top of an almost black background... I am not a designer but that's just killing my eyes here.
> It is completely reasonable to take precautions to avoid spreading a virus, just like you should wear a helmet when you ride a motorcycle to protect yourself in the event that you crash.

They were both wearing helmets.
>The sad thing is nobody ever makes that complaint when talking about everything you'd need to know to build a bridge

If we're talking about the software engineering equivalent of bridges, I think it would be much more valuable add TLA+ or similar to the curriculum.
Apple's pools are for helping manage reference counts of returned objects (via autorelease) but aren't doing pool allocation (as any of those objects could escape, so you can't do the fast thing of just deallocating the pool). The normal memory allocator is used while in the scope of an autorelease pool.
My understanding is that you can use WebRTC and other methods of JavaScript to port scan a computer. Heck, you can literally run BitTorrent on a website using WebTorrent. You could force users to download and share copyrighted movies or other illegal material in the background without their knowledge when they visit your website. The state of the browsers is a disaster and security nightmare. Wasm is only going to make it worse. Soon you'll essentially be running binary blobs when you visit a website. What was supposed to be a permissioned sandbox to protect users, turned into an advertisers and malicious hackers' wet dream.

I think there needs to be more alternatives to JavaScript at this point.
It is quite an achievement. This paves the way forward for eventual space colonization.
I didn't expect anyone to compliment Qt containers. Most of them are straight up not recommended for any situation because they waste memory, have unnecessary indirections that cause dcache misses, and aren't optimal for multithreading due to COW (and accidental COW due to bad APIs).
It is just an example. You can think of "measuring size" here as getting the result of a long computation that involves a lot of allocations. After you get the result, you no longer care about the intermediate stuff – i.e. all the allocations. You certainly don't want to duplicate them, you just want to get rid of them, and the author tells that you might not want to deallocate (drop) them in the UI thread.

If it helps you, you might want to imagine the contents of the get_size function as being the end part of a longer calc_foo function. What's really missing the point is focusing so hard on the part that the example even contains a call to size() of a collection.
This link sent me straight to a malicious ad page pretending to be Telenor
I do not see any statement from Alito, but he voted with the dissent.

The position of Roberts (writing for the majority) is that:

> Where those broad limits are not exceeded, they should not be subject to second-guessing by an “unelected federal judiciary,"

Which is to say, even the majority acknlowdges that there are times where the courts should intervene. The question of what a "comparable" secular activity is is very much a legal one.
I believe the slogans are "Enjoy Coke"/"Enjoy Sprite" - not fuckin subsist or hydrate with Coke....

The marketing is hard to blame in this case, they're just reflecting the disgusting people who decided to glutt.
As a fellow Oracle consultant, I see the same. Most of the small clients only involve me in migration projects to other DBs now (postgres or mysql), but the ones with >$1M licenses continue to pay their support and migrate to 19c.

But that's also because it's way harder to migrate a huge project/organization to a completely different DB - it's just cheaper and less risky to continue with the current one.
> The average android phones cost the same as iPhone.

They don't.
You mean besides the missiles that run it? =D
Calypso, a compiler that interfaces D with C++
Because in the US, states get to make some rules, and the
federal government gets to make some other rules, and
each is protective of their rights and prerogatives
as enumerated in the US constitution, as amended.
Look into amendments 9, 10, 13, & 14 for more.

When the US federal government has wanted to enforce
things like a nation-wide speed limit, or vehicle safety
requirements, they have had to threaten to withhold
highway funding to get states to go along by passing state-by-state laws. In theory, the same could be done with
helmet laws, but enough political energy has not materialized
for that to happen. This pattern will have implications
for full-self-driving vehicles.
Still, the Soviet Union somehow repeated that. Despite the fact that half the country was still in ruins. Kiev and Minsk don't have that many pre-war buildings.
Haha, Flash Games were where I got my start doing games commercially, back in 2009! You could license them to different arcade websites and publishers, it was pretty good money for a student.

And yes, I'm on YouTube over here: https://www.youtube.com/channel/UCVCz-_8VfkVwgB1WzCcuq4w
Site24x7's ssl monitor caught this for us yesterday. And i thought they were wrong as we purchased this last certificate just a few months back.
https://news.ycombinator.com/item?id=23358700

https://news.ycombinator.com/item?id=23281994
Destructors in C++ aren't just for making sure you leak memory. They are used for many lifetime controlled things such as:
1. general resource cleanup (file handle, database connection, etc.) using RAII (Resource Aquisition Is Initialization);
2. tracing function entry/exit.
I admittedly don't engage with the Haskell community much myself, but I'd speculate that part of the problem is the fact that C++/Java/Python/etc-style exceptions (as opposed to things like Either Excep t or SomeMonadFail t) are very boring implementation issues that specifically need to not get done. I'd also speculate that whoever you talked to did a poor job of articulating that.
Not a Haskeller, but I'd like to try to change your mind about this point:

> We are just trying to build things here.

Some languages are built to do engineering first-and-foremost. Languages like Haskell are built to do mathematics in first-and-foremost. This doesn't mean that such languages aren't also well-engineered, or that they aren't also tuned to do engineering in; but the engineering concerns must be subordinated to not breaking the model that mathematicians rely upon to do math in the language. So you can't just e.g. change whether a particular kind of function can emit IO or not; or change what values exist as part of the lattice of a type; or any number of other things visible within the language's abstraction; because those very properties/constraints are also syllogisms which are relied upon in mathematics done in the language.

And before you say "why not just break the runtime model", by e.g. having special debug functions that can do IO while presenting to the runtime as pure functions—well, it's not impossible, in theory, but it's a Hard Problem, because those properties that a function presents to the runtime are also used by the compiler to optimize (or memoize, or fuse, or eliminate) code. You can't really declare something as a pure function without the runtime thinking it can do all sorts of things that result in the function being called less.

In theory, Haskell could have something like a "volatile" qualifier for functions, sort of like C's volatile qualifier for data, to tell the runtime that while the function has type X, all optimization opportunities that would normally apply to type X are off the table. Then you could have special debug functions of type X. It's just that getting this working would require a lot of re-work throughout the compiler, since the compiler mostly deduces optimization opportunities from the type (and marks something as having more optimization opportunities by proving that it has an extra applicable type), rather than just tracking some separate metadata that can be arbitrarily written to.
Well, maybe the programs just weren't aimed at you or your family? Maybe diversity programs had a large impact on other people and it would be useful to learn their views before discarding diversity administrators because we don't see the point.
these studies should also mention what the percentage is in the general twitter world. It might be even higher than this
Ok we were able to use this approach effectively.
SpaceX Falcon Liftoff
Unless your destructors do more than deallocation, in which case you will leak whatever other resource you're managing.
I haven't been asked if I want a fun dip with my sandwich.
Yes thanks, I'm aware of how the federal system works.

Really in the weeds by now, but it just seems strange to me that each state has not decided, on it's own (as per the structure of our federal and state system of governance), to make helmets mandatory.
Who uses Jitsi and Zoom and still wants Zoom? Fuck's sake, our industry is in trouble.
I don't know about the first one, but Rosling is right. The world as a whole is doing better than it ever has. If you, personally, are about to be hit by a 2 ton truck, that's probably of not much comfort to you.

But it doesn't make him wrong.
Isn't that a problem for the RAII approach?
I was a Haskell developer in my last gig. I entered that job determined to make a success of it, because I was excited about the language and felt I wanted to "prove" that it had value in a "boring" domain like financial services. But I was stymied at every opportunity by Haskell itself.

My biggest complaints are 1) the lack of good libraries, and 2) the apalling state of documentation for the few that exist. Too many Haskell projects read like "I figured out this neat family of types for thinking about X - at last URL parsing is provably safe - now you figure out the rest".

Let's take a practical example: HTTP requests. If I'm a budding JavaScript developer, or Kotlin developer, or Python developer, I can read through copious search results and tutorials on Axios / OkHttp / Requests / delete as appropriate. These tutorials not only walk me through the common use cases but also show me their APIs in the context of the new and alien syntax of the language I'm grappling with. They give me enough template code that I can use an incomplete understanding of whatever language it is I'm learning to figure out the rest without recourse to a textbook.

What does Haskell have? It has Req (and a bunch of other also rans), and the docs for Req are atrocious, spanning a staggering 1 (one) example and then a meandering essay on the deficiency of other Haskell HTTP clients. It's not good enough.

And that's my assessment of Haskell as a whole - not the language individually, which is expressive and powerful and inspired - but the whole ecosystem around Haskell that feels like a set of beta projects and hobby repositories generally developed by interested individuals rather than commercial endeavours.

Or look at the paltry state of IDE support. It's 2020 and the best option we have is VSCode with HIE, which rapidly spirals out of control allocating memory, randomly crashes and on Windows just refuses to even start half the time. Without this tooling a lot of the theoretical benefit of the type system is being lost. This is low hanging fruit but there's been no incentive to pick it.

And so I've made the difficult decision to leave Haskell behind. If you need typed functional programming, your options are OCaml, Scala, F# or even subsets of Rust and TypeScript. Haskell is a great learning experience but totally unproductive right now.
Buran was using LOX, storing it for up to two weeks with a cryocooler and a complicated cooling system, Crew Dragon can be rated for hundreds of days and doesn't have the volume/mass/cost to spare.

Dreamchaser with its propane/N2O thruster is a better counterexample. They avoided toxic components so it could theoretically land at any airport, making it a strong selling point. There are also new(-ish) hydroxylammonium nitrate based propellants which are storable, better than hydrazine and aren't toxic either.
One of my “favorite” snags in perf analysis is that periodicity in allocations can misattribute the cost of allocations to the wrong function.

If I allocate just enough memory, but not too much, then pauses for defragmentation of free space may be costed to the code that calls me.

A solution to this that I’ve seen in soft real time systems is to amortize cleanups across all allocations. Every allocation performs n steps of a cleanup process prior to receiving a block of memory. In which case most of the bad actors have to pay part of the cost of memory overhead.

Might be good for Rust to try something in that general realm, or in the cleanup side may be easier to tack on. On free, set a ceiling for operations and queue what is left. That would at least peak shave.
It's not like Apple prices its products to be in reach of the vast majority of the world population. Apple's business model precludes it from being generally "widespread".
Because the certificate authority paradigm is LITERALLY INSANE.
Especially as far as Europe is concerned, the US being flakey towards NATO and treating it as a protection racket will really hurt American power.