skysight-inc/HackerNews huggingface dataset:
> If you want to be able to attach something to a scope that's great, actually it's a wonderful idea, but just be honest about it.

We don't want to attach resources to scopes, we want to attach them to object lifetimes. That's why defer/with/unwind-protect are not alternatives to RAII. The lifetime of an object I pushed to a vector is not attached to any lexical scope in the program text, it is attached to the dynamic extent during which the object is alive. While a scope guard always destroys its resource at the end of a block, RAII allows the resource lifetime to be shortened, by consuming it inside the block, or prolonged, by moving it somewhere with a dynamic extent that outlives the end of the block.

Here's an example where defer solves nothing: if I ask Zig to shrink an ArrayList of strings, it drops the strings on the ground and leaks the memory because Zig has no notion of the ArrayList owning its elements. You need to loop over the strings you are about to shrink over and call their destructors, which is literally the hard part, since the actual shrink method just assigns to the length field. The lack of destructors (Zig has no generic notion of a destructor) here impedes generic code since what you do for strings is different than what you do for ints.

RAII guards are real objects, they contain real data (drop flags), and they make code safer and more generic. If you don't like RAII, show comparable solutions (which scope guards are not), don't just call it a hack and adduce philosophical notions of how OOP should work.
>If I had to give a name to the concept you're talking about, it would be an "ordinal index".

Which is both the naive understanding of a numeric index in everyday life in general, and the most common case in mathematics (and most math/scientific software).
The criteria certainly are impossible to judge currently. Which makes your assertion that the field is 'progressing' strange.

I think there's a lot of merit to remembering the last time we got this excited about a given model for AI. And the time before that. And the time before that.

Go back further, to the time that we were all so excited that we could model the entire world with a little bit of beautiful logic. And the subsequent disappointment.

There is so much nonsense out there, so much hand-waving, mixed signals, false promises, downright naivety, and both malicious and completely inadvertent miscommunication. A little rigor in a field this excitable would be nice, I say.
> “These students required work authorization to remain in the United States after graduation,” the suit alleges. “In other words, Oracle overwhelmingly hires workers dependent upon Oracle for sponsorship to remain in the United States.”

Tech company abuses H1B or other visas to underpay staff and undercut local labor market? Not surprising.
OK, we've gone with “underpaid” as in, “Once employed, women, Blacks and Asians are systematically underpaid relative to their peers,” from the complaint.
Elderly and Driving: When Is It Time to Hit the Brakes?
Yep, or 16:10.
How are things like external display support and sleep/wake with Linux on this laptop?
This lawsuit[1] should be better well known in tech circles. I think it is one of the reasons salaries have been going sky-high at to top tech companies over the last five years. It is really too bad the class action lawyers settled for a relatively small amount and did not go to trial for a larger settlement and to expose more info on what they did.

[1]https://sanfrancisco.cbslocal.com/2014/04/24/google-apple-in...
And Walmart is still very expensive. I commented elsewhere this but they wanted $180-240 just to replace lenses in already existing frames.
Can't speak for Linux but on Windows the killer wifi card in my XPS 13 gave me nothing but grief. Internet connectivity problems, issues bringing laptop out of sleep, etc. Just a huge headache. Dell would never acknowledge the problem or provide anything but worthless scripted help involving running diagnostic tools even though I told them flat out to please replace the WiFi card. I eventually caved and bought an Intel WiFi card. While removing the killer card, killer's antenna connection ball broke off and got stuck inside the connector socket. I had to use a needle and magnifying glass to get it out. After installing the Intel WiFi card, ALL of the problems went away. Best $20 I ever spent.

It always amazes me when "premium" laptops use the same penny-pinching techniques as lower tier ones. I'm already paying $1000+, where the heck is it going if not quality parts??
This really is just folklore, see this recent thread and Knuth himself on this story: https://news.ycombinator.com/item?id=18698651
https://www.youtube.com/watch?v=DmbGs290qeM&feature=youtu.be
You do have the option of the XPS15. My XPS15 has 2 USB 3.0 ports and one USB C port. It also has a separate power connection port, HDMI, and SD card reader.
There's a new extractor that can output C from Coq. There's also multiple compilers for each language you can extract to. My solution was to do diverse compilation where multiple compilers, OS's, and ISA's compiled the compiler. Then you just run it through itself on each one. Use end result that most agree on.
java and .net also have a large, rich and dependable set of functionalities in their core libs
Well, right now a lot of people use pundits for this already, so it's not really that new to people. It's hard to gather and interpret all the evidence and make a reasoned opinion. Given all the things we form an opinion on daily, it's actually probably impossible. Much easier to defer to an expert for most things. Unfortunately, "expert" is a loaded term here, and people aren't always getting what they think as the people we've deferred our reasoning to have their own agendas, or try to extend their reach to items they are not experts on. Then they're just pundits that have an opinion about everything, because their job is no longer to be as correct as possible on what they can, but to have an opinion on everything.
I have started buying my glasses from Costco. I was blown away by how cheap they were there when compared to other places.
There is....there are investors who don't require 100x returns. It's just harder to find them, they're usually more risk averse, and you'll need a way to return their money that doesn't necessarily include an IPO.
Neglected-disease research funding hits record high
You forget that we don't have a colonial empire anymore.
There's a module that is used to syncronize the transmitter with the receiver. The source isn't authenticated but the radios are able to decrypt because of the programming they receive from that module.
Really? House prices never fell before across the whole US? Not even in the 1930s or various recessions in the 60s/70s?
FHD + 8GB model can be upgraded to 16GB for $100 more.
Seems like people just want someone to do everything for cheap to me.
To be clear, this doesn’t change the type in Rust. It creates a new variable with the same name. Very different thing!
U.S. Gov Issues Urgent Warning of DNS Hijacking Attacks
I mostly use the web version, and that seems to function well everywhere these days. Not sure about the desktop version, but after ages and ages they are finally getting the desktop application that incorporates their Papers acquisition, so it might be worth looking again if you like it. Hopefully, that does a better job on Linux, but that's always a gamble.
pretty straightforward "talk to your users" advice. fair and well written
Building more telescopes like LIGO, IceCube and a whole bunch of other "microphones" or "telescopes" or whatever you want to clal them.

But not sure if that qualifies as "experimental" particle physics.
I'm too cynical to see this as anything more than the first move by the tech companies themselves to push down waged for everybody in tech. Whether underrepresented minorities are being underpaid or not the net result of all of this will end up being everybody being paid less rather than a few people being paid more.
Same; I have several pairs from them and they have always been fine.
That is awesome! I'm going to forward this comment to our DevEx team and see if that's something we could do. Sounds great to me =D
I've seen a lot of it. I can recognize it from a mile away, as I spend a lot of time on various crypto subreddits. (I was mining in 2011; I'm active there, under a different username with a different voice) Personally I think there's nothing wrong with what passes for typical discussion there: high optimism, but low substance. It just has no place on HN, and is downvoted accordingly. That's not a conspiracy against Bitcoin as much as a community standard here for what makes for substantive discussion.
my glasses prescription doesn't have an expiration date on it. Zenni and Coastal don't care if I order new glasses using my old prescription. I haven't tried with contacts... I think my last prescription had an expiration date.
Hi Charles,

That's a fair comment. I will say however that the references to performance are more an attempt to keep it in mind from the beginning, rather than being an assertion at this point. I only began working on it shortly after my mom passed away last month (it's dedicated and named after her), so at this stage I'm mostly goal setting and rapidly prototyping.

I hope you can take time to give it another look when its further along. Thanks!
> When I used Firefox I attempted to use 'vanilla' as well as an extension that aimed to improve the zooming behavior by separating scale of text from scale of other elements, etc.

I don't know how Chrome does it, but needing an extension sounds like you didn't try the built-in text zoom: https://support.mozilla.org/en-US/kb/font-size-and-zoom-incr...
> Who's "they"?

Why are you asking "who?" Literally the first google result: https://www.goodreads.com/quotes/879556-a-developed-country-...

> I'm having a hard time imagining people ... saying that

And that's a problem. A failure of imagination and/or policy.
On the MacBook Pro 2016 and 2017 they weren't completely identical, as the TB3 ports on the right side only provided 20Gbit/s instead of the "full" 40Gbit/s. Check out https://www.macrumors.com/2016/10/28/macbook-pro-tb3-reduced... for details.
Haha, that's what I was wondering. How is this a monopoly if I'm able to buy glasses for $25?
This kind of blows my mind. A few years ago when I went to the eye doc, they refused to give me my prescription, I had to buy glasses from their store in their office. Last year when I went, they gave me my prescription at the end, without me asking. It felt really nice and at the time I figured they were doing it to create a better relationship with their customers. Now I wonder if someone knew about this rule and reported them. Kind of curious how long it's been in effect.
The catch-22 in the bankruptcy business is how your clients pay you if you help them prove they're broke. So this is a huge need.

You need to put FREE in big red letters at the top of your webpage. It's on there a few times but buried so it doesn't stand out. The word "non-profit" also needs to be more prominently mentioned.

Whether it's sneaky medical billing or identity fraud, the about-to-be-bankrupt are _really_ gun-shy about being scammed and this additional marketing effort would pay huge dividends.

Most people don't realize how crooked the whole "education course" thing is. Congress in its infinite ignorance decided that bankruptcies were due to lack of education (easily debunked) but that doesn't stop them from making every single chapter 7 applicant take hours of compulsory courses. Do you offer the courses as a free standalone product (one that's accredited)? That'd be a huge selling point by itself.

"Turbotax for Bankruptcy" carries a lot of negative connotations, because you're not rent-seeking regulatory captors. Should make it "free turbotax for bankruptcy".

Just as a small percentage of turbotax filers have to deal with audits, hearings, and the occasional fraud trial, would be interesting to hear how you all deal with the bankruptcy court analogs.
Just pin the versions of all your dependencies, and never deploy updated versions without manual review.
If this were true, you’d expect America’s largest banks to have had only 60 days or so of subprime mortgages on the books, which would have meant minimal exposure in the scheme of things.

In the world we live in, Bank of America fell by 95% or so, Citibank missed nationalization by a whisker, Wachovia was forced to merge, etc etc, and that’s not even counting the investment banks, because they were happily engaged in the traditional business of banking in addition to securitization.
We are using dedicated clusters to push data over the links.

A member of our team proposed a session for Google NEXT '19 that goes into the architecture we are using in a lot more depth. We're waiting to see if that talk is accepted or not, but in any case we're planning to share more soon.
I think the premise of the article is nonsense.

If I'm reading the chart correctly, rail trips have steadily increased since the city started building it. And that's with only 110 miles of track, which seems absurd for a city the size of LA.

For comparison, Denver's RTD has 90 miles of track, and I know from living there that it's not nearly enough. People would love to take it, but it's such a limited deployment most of the time they can't. We've even voted for tax increases to build track between Denver and Boulder, but RTD and the other government agencies are dragging their feet.

So the voter behavior seems completely logical to me. People want to use transit, but they can't until it's built up.
"But I realize that's a hard thing to sell. A lot of developers don't really appreciate being reminded who works for who."

"Yep, we put those developers in their place."

"Hey, why are they leaving???"

"Oh, you mean we need developers more than they need us?"
I mean, that's what Certificate Authorities are.

...Though, that being said, the original idea behind X.509 certificates was quite different: you [the domain sysop] would use your critical thinking to pick a root CA you trust, and configure your machines to only use that single root CA; and then that root CA would either directly sign [code, server, client] certs they trust, or would cross-sign other CAs' root certs to indicate that they trust them to delegate to them. Essentially, a domain (like a corporation or university) would have a business relationship with a particular CA, who would "do their critical thinking for them" (and would also be legally liable if they failed to do that critical thinking.)

For X.509, we pretty much immediately moved away from that world, though, to a world where each application (e.g. OS HTTP API, third-party web browser, etc.) is acting as a root CA, you endorse that root CA by installing/using the app, and then the app devs make decisions on what to trust/delegate trust to.

Which is kind of what's happening here: you use your critical thinking to install an app/OS, whose devs are then your "truth source." Sadly, though, this isn't a business relationship where they can be sued for failure to deliver quality content through that channel. (For contrast, where a customer is paying a business for "truth", see: investment newsletters.)
FWIW I changed the broadcom wifi on my 9343 for Intel and did not have this problem.
Yes, you are right. Not easy.

But I am happy to know that Poland's air still can breath, at least, compared to India or China.

I have been in Szczecin‎ city once, and I love Poland, and I specially love the Polish people.

Wish all good for you guys over there, and that the air gets better in the future, we need to hope.
Surely someone with HTML+CSS skills and a strong focus on layout, user experience and accessibility counts more as a "designer" than a "developer/engineer"? Something akin to the old term "web designer", who might have dabbled in Javascript but worked mostly with HTML+CSS.

In contrast, the terms "developer" and "engineer" definitely have a stronger implication of programming being a major element of the job. Though nowadays on React-using sites, designers might have to work with JSX and JS directly, causing an even greater crossover of the roles.
16GB RAM? That's not going to work for many developers three years from now (I replace laptops every three years usually).
> Gates may have been a bit of an asshole when running Microsoft, but he was part of bringing computers to the masses and he seems to be really interested to doing good in the world.

well, that's certainly a really, really interesting cover for his actions at MS.

he pretty clearly used anti-competitive behavior to gain an advantage. if you acknowledge that as well, then what you seem to be claiming is that it's ok, given that he's now a good guy, doing various good works around the world.

facts as they are, that wealth may not have been concentrated among this individual had his monopolistic behaviors been curbed earlier or crushed outright. so, yeah, we should be grateful that bill is doing good things for the world, but there's no reason to use that as an excuse for this sort of brazen lawlessness-cum-world savior archetype that seems to be what a lot of really, really wealthy people are going for.
You posted two stories there.

In the first one, the police department simply blurred out the face (and maybe some gore) in the video that they released? While I disagree with this, I don't think it's some nefarious plot lot you're suggesting. They seemed surprisingly patient with the armed party (by US standards) and only shot him when he charged them with a knife...

As for the second link, that's definitely a travesty of justice. That said, the case unfolded over literally decades. I don't see how encrypting comms would change that sad situation.
Genuinely would love for you to say more. As a (relatively newly minted) pilot, my head goes the opposite ways. All the negative externalities and issues around self-driving cars make sense to me, but I end up thinking that these are all simpler and easier dealt with in the flying case. What am I missing?
The definitive guide to using Terraform with the Serverless Framework
The article provides a very light history and technically shallow description of OAuth and OIDC so it can advertise Okta. Essentially, "these two protocols are complicated, and you probably don't care, so you should buy Okta."

Except this is Hacker News, where caring is fundamental. I'll pass on the Okta advertisement.
>Dell dropped the ball by giving this laptop two TB3 ports and one that only does USB....

That was a serious miss on Dell's part. I'm not sure why they did that?

Makes it a little annoying for users.
That's one of the nicer things about these flows: you can have scoped data that is allowed, and nothing more.

The ideal use case here is for banks, and services that store a lot of sensitive data. If you want to pull your data from your bank into a service like Mint, you would ideally like for Mint to only get read access to your transactions, nothing else: no ability to send $$$, etc.
"I am much less interested in investing around bitcoin as a currency unit or a currency equivalent, or even the blockchain as an accounting ledger. I am thinking much more about the protocols. In other words, what is the underlying protocol going to do as a consequence of which, which tokens are valuable or not," Hutchins said.

What nonsense.
Zenni Optical is fantastic. I buy several pairs in different frames / tints / etc just to see what it looks like. I also orders glasses in slightly different strength for near/far operation.
You keep talking about the person being a nursing student, but you keep ignoring what people are telling you about the asset. It's not an unsecured loan. It's backed by collateral. What is your specific problem? Liquidity?
Alright, it's just that the phrasing - blaming it on the new API - made it sound like an inherent flaw that would affect everyone, which definitely isn't right.
> Scaled up, if a high enough percentage of people in a group view something as worth sharing, then it is impactful.

Disagree, but impactful can be seen as an overloaded term. We need to accept in modern situations that the ease of sharing something might be more of a reason it is shared than whether the sharer/recipient is impacted by it. Or there might be many other reasons. The important thing is accepting that we don't know what is impactful and not running to the heavy-hand of the law/censors assuming we do.
Fair point, completely forgot about the Macbook.
Ehhh...you could probably just take away all the government protections such as patents and subsidies/tax breaks instead
I just add the site to my hosts file pointing to localhost.
Oh, great. Out of fairness to OP, the "withheld" wording was used in the source article, but think this title is probably clearer.
I agree that the learning curve is too steep with OAuth and OpenID and that supporting multiple scenarios could be part of the problem.

One specific problem I've faced is that it's very complicated to configure a development environment for unit and integration testing. I think there is huge demand for something that works well for Docker Compose and unit testing frameworks while still being a production grade solution.

I haven't evaluated everything out there but so far the best solution I've found is Keycloak. Unfortunately it takes 20 seconds to start on my computer and up until very recently I had to go through the configuration procedure each time you launched tests. I was fortunate enough to get a PR (https://github.com/jboss-dockerfiles/keycloak/pull/152) accepted which allowed me to load a working configuration file directly into the unaltered Docker container with some users and roles for testing purposes.

So if you have something that starts quickly, is easy to combine with Docker Compose and with unit testing frameworks, and could be used in a production scenario... Let me know. ;-)

Oh, and it also needs to be on-premise.
There are a lot of dark matter searches out there which would disagree with your last statement.
But further than that, we still have a lot of puzzles to solve. Proton radius, muon g-2, proton spin, ...
>Not only that but the 8th generation developer edition supports Suspend-to-idle natively which allows the system to resume much more quickly from sleep.

What's different about this from before? I have an xps9350 with fedora - and have noticed sometimes buggy suspending (it shuts down instead of suspending) - but it usually got fixed with kernel update
A little off topic, but: My understanding was that all of the things claimed to be nootropics (other than stimulants, drugs, and medicines) didn't have any evidence that they actually work?
Alexandria Ocasio-Cortez Is Absolutely Right About Racist Algorithms
As long as where they live isn't flooded by rising sea levels, or their farms aren't desiccated by drought....
Releasing the source code for Wolfenstein, Doom, Quake, Quake 2, Quake 3 was very much a Carmack thing. Source code releases for extremely successful, closed, commercial projects remains very uncommon (though it is fair to point out that the current Unreal Engine code is published.)
It's a decent point, but if I need Windows based testing, I'll get myself a free Azure Pipeline account and get Windows in CI from the same folks.