skysight-inc/HackerNews huggingface dataset:
I get the feeling this doesn't really get into the meat of what "drop" is. It seems you can't really explain why you "love" a function without discussing its purpose. Maybe I'm wrong, I'm only really an outsider looking in when it comes to rust, but it does fascinate me as far as its goals. I would go so far as to say that it will be important for systems programmers to know in the not too distant future (if it's not already).

Isn't it really only there in case someone needs to "hook into" the drop functionality before the variable is dropped? Please correct me if I'm wrong.

EDIT: Minor editing to clarify meaning.
They are backtracking because of the size of the backlash. Google will keep trying to kill adblockers that don't exempt Google's ads, until they get away with it quietly. I know this was not a mistake because they used the exact same single-use-only rejection to kill AdNauseam, a less popular ad-blocker I use: https://adnauseam.io/free-adnauseam.html

Also, they then doubled down and blocked manual installation of AdNauseam, which is an overstep even if they were somehow justified in the ban.
Good point.
The concepts of Hydra are not language specific though. At some point there might be something similar for other languages.
Run your old apps in a VM.
An X200 is also an ancient machine. Do you value your own time so little? Clearly you are annoyed by the compile times?

You can get a $200 CPU that will blast through a kernel compile in 3 minutes.
Computer Files Are Going Extinct
The book "before the exit" seems pretty relevant for your scenario
I don't think this is one size fits all advice. Surely once your results are measured in TBs this will fall part.
There is room in my heart to be furious at both.

Adobe's cloud pricing model is abhorrent to me, and Apple forcing the hand of everyone that didn't want to jump on board with it is also shitty.

But I've had a long time to come to grips with my hatred for Adobe. Apple has only recently started making choices that carry serious negative consequences for me.

I feel the same way about their dropping of OpenGL, for what it's worth.
>The stock rose 3% Friday

After crashing 30%+ the day before. They are essentially bankrupt.
All of these seem to require a significant investment of time before the interview process gets kicked off, which is uninclusive because it biases the hiring process against candidates whose time outside of the office is consumed by taking care of their children. (Stereotypically, it’s borderline age-ism too because candidates in their 30s and 40s are much more likely to have children compared to people in their mid-twenties.)
let x = String::from("abc");
std::mem::drop(&x);
std::mem::drop(&x);
std::mem::drop(&x);
std::mem::drop(&x);
No, the bankruptcy is due to the wildfires from last year.
Facebook does have a moral responsibility for what they spread though. FB encourages clickbait and puts people in their own walled garden based on what they want to see.
> Do you think the US became a superpower because of slave labor? (Recall that the wealth produced by the slaves was demolished in the Civil War.) In example after example, countries that ditched slavery and turned to free markets became much, much wealthier.

I feel like China, while an extremely complicated example, is a good counterpoint to this.
> dic = {k: v for k, v in dic.items() if k in other_dic and v == "bar"}

dic.iter().filter(|k, v| other_dic.contains(k) && v == "bar").collect();

it's one line, though I'd format it as 3 for readability (list comprehension is hard to read and functional style composes better.
Thanks for the thoughtful advice.

I do genuinely enjoy building things, just had a run of bad luck with my team at a FAANG being gutted and losing my job without a year under my belt. Algo was never a strong suit - still trying to figure out better ways to improve solely to make it through interviews.

Fortunately I can get interviews and make it through provisional screens. Most of my let downs have been in second round screens or on-sites.
International accolades and acclaim is a nice prize in addition to the respect of the professor.
It filters out anyone without a few hours/days/a week to spend interviewing at your company (those without access to good hardware at home, those with familial or other after hours commitments, etc)
I've never understood where the criticism was for American Universities having a somewhat more "Leftist" culture among social sciences is coming from. Once you learn how to speak the "leftist" language, it's extremely easy to get high grades. Read and understand a Foucault and De Beuvoir work, coast on easy A's through these "grievance" studies courses. I did 1/10th the amount of work for a graduate level gender studies course as I did in a graduate level programming class.

I certainly don't like the idea of not knowing the political orientation of a professor before I write an essay (as it is eminently important for my grade, no matter how impartial one pretends to be), and a radical left cannon means that I can write like I'm Marx and get a free pass into the Academy. The people on HN who don't like this simply don't know how to play the game.
What If Algorithms Could Be Fair?
Depends on the exit, I watched an amazing culture be crushed after an acquisition. So sad
Arm architecture is rock-solid. The trick is making an ARM processor fast enough for desktop or laptop use. ARM has unfortunately been relegated to low-end devices even though the architecture could do well for high-end machines. We don't have a good interop for running x_86 or x_64 code on ARM so the compatibility isn't there for most users (like Windows 8 ARM). Linux is mostly fine on ARM if you can compile from source and you have a compiler for that given language that works for ARM.
Remember that CA impeached the governor Gray Davis in 2000 for power outages .. I bet that PG&e is thinking of doing the same thing today to Gavin Newsom!
I'm currently using FF 70 beta on the Aurora update channel on Linux and so I've had no complaints. Performance has been on par with Chrome/Chromium and a huge leap over the FF 6x releases, especially on Linux.
Thanks, looks great. I need to get this hooked into Emacs!
I've also heard that Rust compilation is slow, so I put off learning it for a while. I finally dug in deep recently and, to be honest, I don't understand the issue. Rust compilation is quite fast in my experience.

Your comment was the first I've heard of spotifyd, so I downloaded it from github and ran "cargo build". I spent 3 minutes figuring out that I needed to install the "libasound2-dev" package, then I spent less than 2 minutes compiling. I watched the clock to be sure, but after only 2 minutes, Cargo produced a target/debug/spotifyd executable. Maybe you're referring to --release compilation?

I don't have the fastest PC, it's just an 8 year old desktop with a 6 core Intel i7 980x running Ubuntu 18.04. Rust compilation maxes out all the cores, which is really nice.

With the RustEnhanced package added to Sublime Text, editing Rust code is a very interactive experience with practically instant feedback. Running tests is fast too.

I wish I understood why some people are apparently having a very different experience. Maybe it's slow on some operating systems.
Market cap doesn’t say anything about fundamentals. That’s what profits are for. If you haven’t noticed, Microsoft is de-emphasizing Windows as a profit center.
https://boxbase.org/entries/2019/jul/15/chu-construction/

Strings is the canonical example for Chu spaces.
Did your printer stop working when they stopped writing software for it? Does it no longer do what it did when you took it out of the box?

(Serious question. I don't have a 3D printer, but I've been thinking about it. If they're reliant on constant firmware fixes, then I will probably wait another year.)
I can still use 32bit software under Windows, Linux and BSD. Seems everyone else has managed to keep this running, even when they have _much_ fewer resources than Apple.
So much sinophobia and racism in this thread. Folks, remember that your exquisitely built Apple products are all made in China.
Alfred 4: https://www.alfredapp.com/

Bartender 3: https://www.macbartender.com/

Fantastical: https://flexibits.com/fantastical

RunCat: https://kyome.io/runcat/index.html

ControlPlane: https://www.controlplaneapp.com

Mindful Mynah: https://42burnside.com/mindful-mynah/

Audio Hijack: https://rogueamoeba.com/audiohijack/

SSH Proxy: https://codinn.com/#sshcopy (SSH Proxy is in the section following this one linked. The SSH Proxy section didn't seem to have an associated ID to link to.)

VOX: https://vox.rocks/

Clearview: http://www.thecanoesoft.com/clearview/

Skim: https://sourceforge.net/projects/skim-app/

Dash: https://kapeli.com/dash

Hopper Disassembler: https://www.hopper-disassembler.app/

Pacifist: https://www.charlessoft.com/

Suspicious Package: https://www.mothersruin.com/software/SuspiciousPackage/

Vienna: ...

XLD: https://sourceforge.net/projects/xld/

Mactracker: http://mactracker.ca/

IINA: https://iina.io/

iChm: ...
I'm baffled every time I encounter the the widespread belief among young american adults that Northern Europe is a socialist utopia. Denmark ranks higher than the US in ease of doing business (regulations, taxation, etc), see https://en.wikipedia.org/wiki/Ease_of_doing_business_index#R..., but deregulation is not exactly what people bringing Denmark up as an example have in mind, is it?
Variables go "out of scope" (in at least one sense) at last use, but are not `Drop`-ed (de-allocated, etc...) until the end of the function. The difference is important because of rust's rule against simultaneous aliasing and mutability. Consider this example:

fn main() {
let mut a = 1;
let b = &mut a;
*b = 2;
println!("{}", a); // prints "2"
// *b = 4; // If this line is uncommented, compile time error.
}

Because b is a mutable reference to a, this means that a cannot be accessed directly until b goes out of scope. In this sense, b goes out of scope the last time it's used. _However_, AFAIK, b isn't actually de-allocated until the end of the function.

Of course, it doesn't matter in this trivial case, because b is just some bytes in the current stack frame so there's nothing to actually de-allocate. But if b were a complex type that _also_ had some memory to de-allocate, this wouldn't happen until the end of main(). But in this case, b's scope also lasts until the end of main, which is kind of like adding that last line back in...

This can be seen in the following example, where b has an explicit type:

struct B<'a>(&'a mut i32);
impl<'a> Drop for B<'a> {
fn drop(&mut self) {
// We'd still have a mutable reference to a here...
// If B owned resources and needed to free them, this is where that would happen
}
}
fn main() {
let mut a = 1;
let b = B(&mut a);
*b.0 = 2;
std::mem::drop(b); // Comment this line out, get compiler error
println!("{}", a); // prints "2"
}

In this example, without the std::mem::drop() line, the implementation for Drop (i.e., B's destructor), B::drop would be implicitly called at the end of the function. But in that case, B::drop() would still have a mutable reference to a, which makes the println call produce a "cannot borrow `a` as immutable because it is also borrowed as mutable" compile time error.

In other words, this "going out of scope at last use" is really about rust's lifetimes system, not memory allocation.

IMHO... this is one of the rough edges in rust's somewhat steep learning curve. Rust's lifetimes rules make the language kind of complicated, though getting memory safety in a systems programming language is worth the trade-off. There's a lot of syntactic sugar that makes things a LOT easier and less verbose in most cases, but the learning curve trade-off for _that_ is that, when you _do_ run into the more complex cases that the compiler can't figure out for you, it's easy to get lost, because there are a few extra puzzle pieces to fit together. Still way better than the foot-gun that is C, though. At least for me... YMMV, obviously.
rust provides common collection operations (filer, map, find…)
Those are just standard functional methods available in most languages.
Go indeed is noteworthy for it's lack of features.
> Unlike a pure stack language, you can operate on values at any point in the stack, not just the top.

There's a language, Joy, that has combinators that allow you to work deeper in the stack, e.g. "dip":

a b c [F] dip
-------------------
a b F c

dipd == [dip] cons dip

a b c [F] dipd
a b c [F] [dip] cons dip
a b c [[F] dip] dip
a b [F] dip c
a F b c

And so on...

I think it's a "Category Theory" paradigm language, whatever that might mean.

Joy resembles the point-free form of Haskell from Conal Elliott's "Compiling to categories" http://conal.net/papers/compiling-to-categories/ )
As a gulf coast region resident, I can attest to this phenomenon. When the cold front came through this weekend, it was like someone just turned down the volume outside. The difference is incredible, but you can never quite put your finger on any particular source. I do think it's just everyone's HVAC compressors & fans combining into this noise soup. Everyone says they can sleep better when it's colder at night, but I think it's just because it's so much quieter at night around here when its below 70F. The noise floor had to have dropped by 6dB or better overnight.
Driving with the windows down at freeway speeds.
Yawn. With the exception of so called 'phablets' i doubt that, because the aspect ratio usually doesn't fit. Anytime i'm trying that it just feels wrong. As i mentioned before, like staring at a cashiers receipt/sales slip.
Sometimes the "noise" is not heard but felt due to poor dampening of the structures and inferior - if any in the first place - sound proofing.

You feel the sharp slamming of the doors, stairway exits and other household "noise" - as the tremors travel along the length and breadth of the structure - all the way in your living quarters.

With audible noise you can atleast wear earplugs / use noise cancelling devices. With those tremors theres no escaping them. You feel your walls and floors tremble and its a great nuisance.

I can't believe there are no laws on the books that require builders to use vibration-dampening, sound-proofing materials / buffers for even newly constructed apartment buildings !!

I mean none of this is exactly new. Noisome and insensitive neighbors are dime a dozen.
That’s the number of followers on github for the source code of the project not actual end users ..you will have to go their chrome web store page to see this .
Yes. Metformin.
I have an Ender 3 Pro, it's seen little use and I regret the purchase despite enjoying using our office 3D printers (Taz)

It's just too finicky. Too many odd issues with jams, adhesion. I left it sitting for a while and for some reason when I came back to use it I had to play with the belt adjustment. The magnetic bed doesn't align properly so you need to intentionally line it up in a way that doesn't cleanly overlap the metal base.

And I'll admit recently there's a trend of Chinese companies in the space actually working on conscious iterative design based on feedback, especially Creality... but it's still obvious they're just reacting to whatever pops up, instead of trying to get ahead of what people want (which Prusa excels at)

Creality tried tried to fix the fan issue everyone complained about (fan exposed to dust and filament refuse) in the Ender 3... by mounting the board upside down with the fan mounted on the bottom millimeters away from your work surface. Which made any modifications that needed access to the board a massive headache (I actually didn't bother putting back half the screws, since to access them you need to put the entire machine on it's side... )

-

Long story short, when I want to print something, I want to know, this thing will be ready to go. The hard part should be designing it, if I can't rely on the printer to just work™ when the motivation is there, I just don't bother.

And this is someone who likes to tinker, it's just when I want to tinker on X, I don't want tinkering on Y to get in the way.
Isn't there a way to use Ghidra and cross compile it to 64 bit?
This is just basic business sense -- you don't go showing off your crown jewels to any company without lots and lots of NDAs and binding agreements in place first, unless you have some kind of hook in there to keep it rooted with you. And even then, just don't do it! This was the lesson learned by US chip manufacturers back in the 70s and 80s when competing against Japan -- it's no different with software. In fact, it's worse for software because there are less protections available.
> Why would you switch the OS you're running? Snow Leopard for life!

Because Snow Leopard is full of unpatched security holes. [0] Including RCEs.

[0] https://wyzguyscybersecurity.com/apple-patched-safari-and-os...
Everybody thinks they need six nines.

I'm really a fan of this bit:

https://www.lowtechmagazine.com/2018/12/keeping-some-of-the-...
The trolling was paying to publish nonsense papers in 0 impact score vanity rags and convincing people that implied something about the academic rigor of the fields themselves.
Even then the previous rc0 release got approved , this was a minor patch on top of that
Agree.

What qualifies as political advertising?

Could I make false claims about a product as long as I throw a "vote for john smith" on the bottom?
Link to Fork: https://git-fork.com/

Link to GitX: http://gitx.frim.nl/index.html
Do you realize that what you are complaining about has the same problematic root as what you think are good ideas?
They are all pseudo-scientific ideology. Hayek and neoliberalism just as much as the radical left ideology...
Major Rights Org: Blizzard Doesn't Respect the Human Rights of Its Customers
"Yes, China may be a brutal, authoritarian, oppressive regime currently trying to censor discussion of their occupation of Hong Kong - but at least they provide cheap manual labor due to lax labor laws, a disregard for the environment, and the general poverty of their people."

Apple products could be built anywhere.
Plex can and is often used for hosting content that you own the rights to.
I've been wanting to do a kubernetes setup with my home server, but most tutorials are aimed at multi node clusters. Do you have any links on how to setup such a system?
PG&E is the worst power company in the western hemisphere. First in 2000 they had massive power outages due to early deregulation which led to the impeachment of governor Gray Davis. In 2017 the company killed thousands of customers and billions in property because of fires they caused! Now in 2019 they are doing massive shutdowns and directly killing their customers on life support! We have the highest prices (.22c a kilowatt hour) despite having lots of of green power generators who get half that rate based on a crooked "wholesale" reimbursement scheme! California could do better with any 3rd world power company, PG&E is always horribly run ..
Link to VueScan: https://www.hamrick.com/
Having access to the source makes it much easier for the community to do what they already do - create an open source re-implementation of the engine.
Dr. Woodie Flowers has passed away
In honestly wish I could ditch Amazon. I love in a pretty remote area and have a small kid. Getting to a store is an ordeal and when we're running low on things, amazon is usually the only fast way to get anything. Next move will have better resources but this move was a necessity. I hate that we use Amazon so much but it's the best offering where I am.
I imagine it widely varies depending on a multitude of factors; how many employees are equitably compensated, whether it’s an acqui-hire or a tech/business value acquisition, if the acquiring company/organization plans to take over any leadership duties, etc etc.

Generally though, most of not all were just thankful to not have to depend on VC. Revenue wasn’t high enough to keep the company afloat, and the value in us was largely in our established brand within the market combined with a rather active user base.

Fortunately, most everyone who was in the company pre-acquisition are still around over a year and a half later.
Interesting but this seems so unergonomic that I will still be virtually forced to not use static variables and thus loose their expressive power.
For the single element tuple case - what else would you suggest? You can always do Tuple(3) instead of (3,) if you'd like.
Yes, to do anything interesting, you need to implement the Drop trait, which causes interesting behavior to happen here.
As a fellow misophonia enthusiast (it’s not an officially recognised condition) — noise cancelling headphones and music are the only way I can survive office environments. A pinch of stoicism and deep breaths helps when stuff gets through.

For me the worst trigger sounds are eating noises and crinkly food wrappers. Trying to open a crinkly wrapper quietly makes it worse.

The misophonia gets worse when I’m otherwise stressed which leads me to believe dealing with it is like dealing with any other stressor: You just man or woman up and deal.

Me and my sister both have it so we obviously used to use it to poke fun at the other. Squishing bananas in your mouth is the quickest way to provoke a reaction. You might get punched*

*the punching response is, of course, restrained in the office. If I get that annoyed, I just walk away.
If you could run an old Adobe offering for 6 years, why do you feel forced by Apple right now to upgrade your OS (and hence SW)? Couldn’t you easily stick to Mojave for two more years - or run Mojave and your old SW in a VM? I don‘t see how Apple is forcing you in October 2019 to do anything that costs money. 2021 perhaps, but that’s a long way until then.
It certainly takes time, and nothing really new. 'Building Societies', 'Coops' & 'Credit Unions' have grown over time, add features and get regulated to the point we think of them as Banks. Not all will survive of course.
I have a CR-10 and it’s been great. Worked out of the box and never skipped a beat.
id [0] seems to get by fine by open sourcing their game engines.

And doing so has lead to a number of ports that wouldn't exist otherwise.

The artists are still compensated fine. Because they separate the engine from the assets. If you want to play the original game, fine, but own it.

But now the community gets to port the game easier to a new platform. Which is one of the reasons that it's easy to port DOOM to every platform out there.

[0] https://github.com/id-Software
Link to Espresso: https://espressoapp.com/

Link to TablePlus: https://tableplus.com/

Link to Antetype: https://www.antetype.com/ (can't confirm this software is _not_ built using Electron, et el. as their website states "Antetype is built on web technology")
I honestly have zero sympathy for them.

I have an older Mac as my daily driver and was bummed to learn it was excluded from the Sidecar functionality. As a daily Wacom user, I’ve really wanted this feature.

So, I went and looked at Astropad and learned that their pricing is based around a ludicrous subscription model and they lock basic functionality behind it (like shortcuts). They obviously don’t understand their market because Adobe is near reviled by digital artists nowadays for these kind of tactics.

If they had at all been reasonable in their to pricing, they would have been fine. Most artists I know hold onto their hardware for a long time and would’ve payed (reasonably) for support/their feature set. But because they got greedy, people will just wait and upgrade to the built-in support on newer devices.