jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
One quick clarification, NullAway inverts the check to enforce, "if something can be null, it needs to be labelled @Nullable" ... it doesn't care at all about @Nonnull annotations. This means that potentially null values are traced accurately through your codebase with @Nullable annotations.
I expect many comments here will be made using new accounts.
The thing is, the linked data race occurred in safe code! Looking at https://bugzilla.mozilla.org/show_bug.cgi?id=1686158, the patch changes a non-atomic read through a &SwCompositeGraphNode and a subsequent non-atomic write through a &mut SwCompositeGraphNode (both safe code). They should not race, and the only reason they do is because there wasn't proper RwLock-style synchronization when handing out &SwCompositeGraphNode and &mut SwCompositeGraphNode. Also I think merely creating an unsynchronized &mut is undefined behavior in of itself (in addition to allowing UB in safe code). If so, even the fixed code is still technically wrong (just not miscompiled or misbehaving in practice).

Looking at https://searchfox.org/mozilla-central/rev/ee9dab6aa95f167a34..., SwCompositeGraphNodeRef has "safe" methods (line 286) with unsafe blocks, handing out raw &SwCompositeGraphNode and &mut SwCompositeGraphNode to the interior of an UnsafeCell, without locking or runtime checking. I think SwCompositeGraphNodeRef "caused" the UB because it was invoked by some other caller to create a &mut SwCompositeGraphNode without proper synchronization... And worse yet, SwCompositeGraphNodeRef has Deref and DerefMut implementations that implicitly create & and &mut, unsynchronized, at call sites that merely look like method calls...

My theory as to how this happened:

- C++ atomics are not mutable through a const *, so the authors used &mut to indicate mutability (even though Rust's &mut has stronger guarantees, according to the Stacked Borrows memory model, "all other pointers to this object are invalidated, except the pointers we reborrowed from"... though Stacked Borrows may change to make async fn and intrusive linked lists sound, I suspect it won't make this code sound).

- Maybe they thought "we want to prevent calling &mut SwCompositeGraphNode methods from a &SwCompositeGraphNodeRef". IDK. Semi-related: SwCompositeGraphNodeRef is a #[derive(Clone)] Arc<UnsafeCell<SwCompositeGraphNode>> but !Sync, so only threads that own a SwCompositeGraphNodeRef can create either &SwCompositeGraphNodeRef or &mut SwCompositeGraphNodeRef. And I don't see &SwCompositeGraphNodeRef floating around, so I don't see why access control would matter.

(EDIT: The commit introducing the unsound abstraction is https://hg.mozilla.org/integration/autoland/rev/8d47e408c578, filed under the bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1670328.)
This is the question!!!

I’ve been coding for 25+ years. In high school my dad would get me summer jobs doing highly repetitive assembly line work. Like, the same motions all summer. I spent years being a pretty serious into rock climbing. And the absolute worst thing for my wrist/arm by far? ... Clicking a mouse button with my index finger.
Cheeky! now it all makes sense, sorry pal I misread your post in that case
*stb; sbt is something entirely different :)
That's pretty cool for a free little phone app.

Seriously, wonder how much it costs.
Previous HN discussion on this from a few days ago with 984 comments:

https://news.ycombinator.com/item?id=26263508
> School Committee member Lorna Rivera said at a January meeting that she was disturbed by the findings, noting that nearly 60 percent of fourth graders in the program at the Ohrenberger school in West Roxbury are white even though most third graders enrolled at the school are Black and Hispanic.

> "This is just not acceptable," Rivera said at a recent school committee meeting. "I've never heard these statistics before, and I'm very very disturbed by them."

I’m not sold on gifted education to begin with. It’s a complicated issue for sure, with pluses and minuses. But suspending gifted education programs expressly based on the racial makeup of the kids in the program is illegal discrimination, plain and simple.
The biggest fallacy is that gifted students would attend regular public school classes if gifted program is unavailable. In reality students with wealthy parents will transfer to private school, middle class will move to suburbs and few students with poor parents (disproportionally people of color) will stay in shitty regular school. Only last group prospects and education will be damaged long term and overall numbers involved is not really enough to have material positive influence on overall level of students in Boston public school.

“My kids are dumb. I do not want other parents kids to get ahead only because they are smart”
Yes, not OO. There were probably no such US coaches available in OO.
Yes, but there isn't billions in commerce each day, at least not now.
To be honest some of their apps, like the Podcasts app do much more tracking. It is kind of described in the privacy policy but you can’t turn it off.
So this argument reduces to: “People might not understand a question which is important that they understand. So let’s just not ask them in case they misunderstand and assume they answer in a way that is beneficial to us.”

Does that sound right?
You assume that Apple is telling the truth. The cynic in me thinks that they narrowed the definition of tracking and follow in a legal sense but not in the way we would think of it. Or they are outright lying. It is also possible that it isn't apple doing it but a third party doing it on Apples behalf.
I am sorry, the only reason I have been as successful as I have been is because I am not superstitious at all. I know that if something goes wrong, there is always a logical explanation for it. The quicker I can find that logical explanation the better I am doing.

I don't think I am alone in this.
So far it's a much better experience than the Evernote editor. Now if we can only figure out a way to shoehorn in some encryption...
This is the best comment here, and among the only ones relevant.

This trial is about two parties. It isn't a proper representative in any way of any other parties or of any larger ideas or trends in tech.

12 people were tasked with carefully listening to all the evidence over a month, and not listening to the media summaries. They decided for KP. We have very reasonable basis to trust that they got it right, or that at least they did as well as we could given the same evidence.

What does this say, if anything, about more general matters? Bayesian statistics might suggest that it decreases the belief in rampant sexism among VCs. But by how much, it's really impossible to tell. So we don't have much of a basis to change any general views on the industry based on this case. Just like it would have been had the verdict been the opposite (but again, Bayesian-wise it would have been some amount of support to the opposite position).
So she had an affair with her superior right? I think its strange how many articles and interviews I have heard in the last two days where somehow that is not mentioned.
Thanks for mentioning Pyret, I've searched for it and it made me laugh discovering the extension of the files is .arr (some would say I'm really easily amused).

An interesting language.
I did not read the article but in my opinion the LinnStrument is truly interesting. Something different about it is that the keys can receive feedback in three dimensions: not just pressure (velocity/volume), but also pitch in one axis, and timbre in the other. Certainly not the only controller to do something like this but different to a standard, velocity sensitive, piano-like midi keyboard. Also, given Linn's track record I'd expect the thing to be really well built. The layout in multiple rows might be beneficial when compared with a standard piano layout too.

The product page [1] explains pretty well how the instrument works and why you would like to play it instead of a standard keyboard. The demo videos at the bottom are pretty cool.

By the way, this is "just" a MIDI controller, so Linn is not claiming to have improved synthesis in any way with this product... he does recommend a 3rd party synthesis package though.

1: http://www.rogerlinndesign.com/linnstrument.html
I'm guessing that the end-of-life path for 95% of these are shantytowns.. where they will continue to be among the safest structures. so in that regard, they are completely recyclable.
In fact, that's the default grouping. Otherwise, it'd be open-data structures.
> I feel like current academia likes to .. brainwash prospective students into thinking the life of a research scientist is supposed to be hard

Haha, almost like being an engineer in a startup is supposed to be? /onlyserious
Aren't those AL and AH? When we rename A to AL, why do we need to permanently retire the term "A"? The L in AL stands for "low"; what does the A stand for?
Going to second the request to bring this to IntelliJ. Everyone I know at my current and previous jobs would use the hell out of this, but so much of JVM development is on IntelliJ now.

Awesome idea!
Citation? I was also fooled into believing those photos if your coment is accurate.

Ty
AbrauDurso PAO is better than BTC afaict
Are congressional hearing just a tame way of public shaming? Or is there more to it. I feel it’s just a slap on the wrist most of the time.
"if its 1 dimensional then its signal processing"

This is clearly not the case, since image signal processing, 2D Fourier transforms, etc. are alive and well.
This is about Influenza but I doubt it’s that different from Corona: https://pubmed.ncbi.nlm.nih.gov/20497389/
This data sounds like it could have been someone's copy of the voter file, the database political groups keep on every American who can vote. Versions of that file have leaked before. There's some speculation some of the leaks have been deliberate, to illegally avoid campaign finance laws.
I'm not sure I understand how the law school would be "stupid" for being indifferent to local vs 3rd-world volunteerism, let alone strongly preferential to the former.

3rd-world volunteerism involves working without any of the amenities you take for granted (e.g. using different toilets), so it's not much of a vacation, and it involves helping people who are a lot worse off materially than "ghetto" kids. Unless law schools started getting nativist recently, of course ...
Or maybe rather do equivalent amount of overtime at work and use the additional money to hire a bunch of highschoolers to help.
This a link to a live demo of a recently developed Web UI for Python scripts. It consists of three parts a) the `ArgumentParser` reader that exports the command-line definition from a Python script to JSON, b) the web front-end which turns this JSON into a web form and handles submissions, c) the runner which is a basic worker process that takes submitted form data and passes it back to the scripts to execute. Output is displayed back in the job viewer.

The use case for me was a quick way to get data-processing scripts (scientific research stuff) online with minimal fuss, but it can also handle anything else.

Manual definition of command line arguments is supported (e.g. for non-argparse scripts) and support for alternative command-line formats is planned.

Source and some brief documentation is available on https://github.com/mfitzp/Wooey.
you could pay me to work for Microsoft, or Apple, or whomever(within reason)if the price was right...

Sure Steve Ballmer doesnt seem to be all that successful as MS' CEO. They are still very profitable, make some great products and have some really smart people there. I would argue its probably middle managers and bureaucracy that is the bulk of their problem. I suppose a more charismatic leader would probably try to fix that though.
It's actually quite amazing how close to launch they can still shutdown considering the number of items that are already running at that time.

What was the closest to t0 that an an Atlas launch was aborted ?
Would love to see ZFS (or at least something better than HFS) on OS X. Anyone has info on that? Anything in the pipeline?
I think the point they are trying to make is that sometimes less information is better. For example, if I am reading an article about dog walking (example), I don't necessarily want my mind to be distracted by the wikipedia link to Wheaten terriers. This type of information, when presented as Readability does, is better handled as a footnote.

There are many sites online that I prefer to read using Readability (Gruber comes to mind), but there are more that I prefer to read in the normal hyperlink format we all know and love. For the ones where I use Readability, I think the option to use footnotes is nice.
If you want to submit Myers' earlier article and then have a discussion about it, that might be useful. But merely alluding to a previous article (without citing it) and making pretty serious accusations serves no purpose other than to derail the conversation about this article. I mean, we can't even assess your claim about him because you don't provide a link.

It seems like you have no critique with this article. Is that right? Because if so, what is the point of your comment here? Do you want people to ignore an article which you believe is correct just because you don't like something else the same author wrote? Shouldn't we be happy with correct articles no matter who wrote them?

Many people in today's society assume that being white, heterosexual, and male equates to not having any of your rights violated.

Ah, our old friend "many people". Many people in the US believe they've been abducted by aliens. Many people believe that the stars control their destiny. So what? It is a big planet. There are many many crazy people of every imaginable stripe. I associate with some hardcore leftists and radical feminists and none of them would ever accept your claim above. They'd find it bizarre.
I've always wanted to show mockups in alternate non mac devices, but they tend to be ugly.
Yes it is, that's what a failure is. A business can't fail and not lose money, it fails because it loses money.
Anyone interested in doing more complicated questions during the phone screen should check out https://coderpad.io - you get a live REPL or compiler (depending on whichever language you're using), and can run code instantly from your browser.

The best part is the environment is shared between you and your candidate, so you can both see the code being written and execute, live.
This ignores the nature over nurture reality of the situation, I'm afraid. Genes matter.
Your comment was in some ways better than the original article! Thanks.

But, as you know, many of these problems are either solved or non-existent in Big-Monolithic-App-land.

So -- take the things that worked there and use them. Like I said, a common set of shared source code that handles all persistence means all apps can talk to each other using the same code. Changes don't break the chain. Stuff can be fixed in one spot. And so on.

The orchestration and testing pieces deserve special attention. I think you're going to end up with as many folks writing test/monitor/break code as you are microswervices. And that's probably a good thing. But you need to plan for that.

As far as the hype cycle, I've seen this over and over again. As far as I can tell, the driver is over-specialization of developers. Some new buzzword comes out, people teach and train around that, and suddenly you've got somebody called a "DBA" that can't write a web service. So then you need a "Front-end" guy, and so on. This industry is constantly labeling things, over-developing them, creating work silos that lead to poor performance, then going back and relabeling things again. There's some magic number of developers where you need specialists, but it's not 10, or even 40. The longer you put off creating silos, the better the entire effort is.

EDIT: In fact, I'll just say it: if you want to swim in the ocean of nirvana that is microservices, use pure FP and share all the source code that involves persistence.
McKinsey Digital Labs (part of McKinsey & Co) - San Francisco, New York City.

We’re looking for Front End Engineers/ Developers

—————ABOUT MCKINSEY DIGITAL LABS————————

McKinsey Digital Labs is the in-house client focused digital delivery group of McKinsey & Company. MDL combines user-centered design with unparalleled business knowledge and world-class agile development skills to deliver impactful digital experiences. We are a team of passionate designers, architects and developers solving tough problems for our clients.

We deliver service design concepts, experiential prototypes and production-ready apps to transform our client’s businesses. Despite being part of a large, multinational organization, MDL works more like a small startup company.

—————————

We’re looking for FRONT END ENGINEERS.

As Front-End Developer at MDL, you will work in small teams in a highly collaborative way, use the latest technologies and enjoy seeing the direct impact from your work.

You’ll create both rapid prototypes, usually in a couple of days to 3 weeks, as well as full-scale applications typically within 2 to 3 months, by working collaboratively and iteratively through design and development. You will need to deliver fully functioning web-based and mobile applications that meet the business goals and requirements of our clients. As a Front-End Developer at MDL you’ll contribute to the architecture across the technology stack, from databases to native apps.

Do you have the passion and experience to…?

-Build prototypes and products using agile development methodologies.
-Build with Javascript MVC frameworks (e.g., Angular JS, Backbone, etc.)
—Create responsive/adaptive applications for mobile devices using HTML5/
—CSS with familiarity in backend technologies. (e.g. Phonegap, Python, Objective-C, etc.)
—Write and utilize RESTful API services and performance tuning applications.
—Use relational and non-relational data stores in your applications. (e.g., MongoDB, CouchDB, Cassandra, etc.)

In your work, do you…?

—Demonstrate excitement about the impact of emerging / disruptive technologies.
—Solve problems by processing complex information and presenting it clearly and simply.
—Provide technical excellence (whilst adhering to Agile software engineering practices such as DRY, TDD, CI) and leadership/mentorship.
-Want to unleash their inner self-starter and work in an environment that fosters entrepreneurial minds.
-Play an active role in the community, i.e. speaking at conferences, blogging, contributing to open source projects, etc.

We are committed to having a meritocratic and transparent hiring process.

In order to proceed to the next stage of the interview process, we want to make sure that you are genuinely excited about McKinsey Digital Labs and are able to solve the types of challenges we face.

Please submit your application directly to the leadership at McKinsey Digital Labs.

https://www.gapjumpers.me/questions/mckinsey-digital-labs/qs...

https://www.gapjumpers.me/questions/mckinsey-digital-labs/qs...
Consider the following: multi-tools, mess kits, and sporks exist, yet many people prefer using the specialized equivalents.
TWAIN = Toolkit Without an Important Name

Always my favourite.
I'm not exactly sure how Uber's surge algorithms work, but this seems like it should be mitigated the smaller the price and time adjustments are made. It's not like they don't have the data to do that.
In a sense. My point is, you cannot have public conversations and then be aghast when they are stored or captured for later retrieval and critique. That's not a logistics and storage issue, that's a breakdown of critical thinking and nuance in the public sphere (where rational participants would view a tweet or tweet discussion contextually and within the time it occurred, as opposed to present day outrage porn fuel).

The archiving should happen, even if the corpus must go into cold storage ("unavailable to the public") until a time more reasonable, civil discourse over the contents can occur, but those who participate in online conversations should do so cautiously for obvious reasons.

Tangentially, "never put something in writing you wouldn't want to see on the front page of a newspaper" is just good life advice. Have a phone call or in person meeting instead.
What a mistake this all was.
The printing presses have been on an exponentially increasing printing spree since before the LAST century started. After WW2 it was a pretty decent percentage per year as well.
The bigger issue is most of us said/did dumb shit 20+ years ago, but luckily there was no widespread put everything on the internet movement so we get judged by how we are now, not how we was as kids. While I agree people should be held responsible for things they say/do, I also think that at this exact moment in history, people give little to no thought to the idea that people change/grow as they age. Just look at Jenna Marbles on YouTube, she's in self exile because she wore too much fake tan in a video from 10 years ago.
what i want to know is where you can find this information. Also, is it even legal for the website owner to hold stolen information.
Note, this data is delayed by up to 45 days
Datasets like these feel like a recording of every conversation in a coffee shop: technically public, but practically private for the most part.

Feels super gross to see.
> APIs are copyrightable, as this case has determined

The supreme court explicitly refused to rule on whether code was copyrightable or not.

The lower courts made conflicting rulings on that question. But the supreme court itself only assumed, for the safe of argument, that code was copyrightable, and did not rule on that question itself.
ye exactly, the article never stated that it the lawsuit is linked to Trump's twitter ban but the fact that the "now-banned" Trump twitter account has been has been freed from lawsuit which actually will define how accounts of political office holders will be interacted with and treated by law
Yes, exactly, they are not in the drivers seat because they systematically choose not to be in the drivers seat.

I don’t know if its necessarily wrong to otherize the people who smash windows in my community, spray paint graffiti on the walls (Land Back! Pigs must die! Kill cops! Rent is theft!). If anything, I think they have chosen to make themselves the enemy of the community they live in by refusing to productively engage with it.

Its really frustrating seeing people who purport to want progress actively destroy community will to make progress on things. They make things a lot harder for the people who are trying to make good changes happen.
According to Cacioppo the key is in the quality, not the quantity of those people. We just need several on whom we can depend and who depend on us in return.

This really should be called the quality of our relationships rather than this so called "quality of people", whatever that means.

but more importantly...

In one study, Cacioppo measured brain activity during the sleep of lonely and nonlonely people. Those who were lonely were far more prone to micro awakenings, which suggest the brain is on alert for threats throughout the night, perhaps just as earlier humans would have needed to be when separated from their tribe.

I experienced exactly this during the worst period of depression a few years ago. In a foreign country for work, I had many friendly colleagues but no one whom I could truly trust and could lay out the whole truth with. During this period, I would wake up at night 1 after going to sleep, ever night, without fail. (I'd eventually have mental breakdowns every 2 months, until I finally mustered the courage to resign, pack my bags, give away all my stuff, and leave the country)

It was a brutal time in my life and every time I think back to it, I'm thankful to be back home where I grew up amongst my closest friends.