skysight-inc/HackerNews huggingface dataset:
I agree that the issue mentioned above isn't that bad - as a long time PHP developer (and PHP admirer) one gotcha that still really annoys me is persistence of key refs outside of foreach loops and I present this eval[1] as a wonderful example of why you should really prefer array_map for mutating array values or be very pedantic about unsetting variables when you leave a foreach using ref loop.

1. https://3v4l.org/99pMn
Spray on a known or suspected spy, swab places of their suspected contacts.
> A credible leak has been that Xcode is coming to iPad (and iOS?). Not sure how I feel about it, I'd prefer more time be spend on improving it for Mac use (where, in my opinion, 99% of developers will do their work anyway).

This would be a good step into making the iPad an actual productivity device.
It depends on what you define as _The hoax_, and there is a great diversity of opinions.

It can mean the virus doesn't exist

It can mean the virus isn't as bad as claimed

It can mean the virus mitigations aren't worth the tradeoff
Gift cards now avaliable!!!
Sing up for our new letter and get 25% off every order
Says me. This is a personal observation about how I use my keyboards.
You're apparently buried in a use case that isn't really modernizable it seems.

Windows isn't going to help you either, cloning disks in that ecosystem is a royal pain as well. They often simply don't boot properly and require quite a bit of work to make that workflow possible (been there...)

What I generally recommend to people who have to run software that's 20+ years old is to stuff that software into a VM and then you can use VM tools to keep images that work. OSX can be run in a vm on Mac hosts using vmware fusion and that might be a safer option for you. I think either way you go, you're going to wind up running something unsupported for whatever software package you're using that's causing your headaches.

But again, this has nothing to do with the T2 chip. You've got other issues to deal with.
Using AVX512 optimizations in Golang to accelerate MD5 hashing
>but I get physical anxiety from interfaces which don't behave consistently or make me feel claustrophobic

I feel terribly for you. I can't imagine being in my own way so much that Apple's UI would give me physical anxiety.
My mom still gets empty app sales reports to this day…
Presumably you would sprinkle it on the fake secret documents that you left around for the suspected mole to finger, then you have proof who the mole is.

I guess these days they just put a dash of Polonium-210 in your tea and follow you with a Gieger counter, sends a much stronger message.
That’s not my experience of modern games. There are loads of games out right now that get patches constantly, sometimes even weekly. It’s not just multiplayer games; lots of roguelikes are in constant development as well.
Yeah, I commented on purpose, because that is what people should learn, pointers and manual memory management concepts, the language to learn them should be secondary.

Those that learn to abstract concepts from how they get expressed on the language of the jour, are better prepared for change in this fashion industry.

I also never understood what it means being afraid of programming languages.
I think the SegaCD, 32X and Saturn killed the Dreamcast. Maybe if they had done market testing before manufacturing and marketing and abandoning several different systems that people didn't buy they wouldn't have been so badly in debt by the time Dreamcast launched.
A live stream may not have been available before but I distinctly remember listening to oral arguments back when Heller was being argued so at the very least after the fact recordings have been available to the general public. I think more people would benefit to listen to an oral argument once or twice, the experience of hearing them dig into one sides argument leaves you feeling like you know where the case is going to go right up until they start on the other side. It gives you a new appreciation for just how hard I think the SCOTUS does try to be apolitical even in highly political cases.
LOL ridiculous downvote.
Sure, but I was speaking to whether it breaks the law, rather than whether you're likely to get caught. If you don't care about the law, why bother to go halfway to the clean-room methodology?
While I agree, the barrier for entry here isn't that big so I'd say it still qualifies.
Probably. Google maps used to have huge problems with zooming (since it was meant to use the scroll wheel), as did a lot of games that relied on the mouse wheel to cycle through an inventory.
I've repurposed a R5 1600AE in a FreeBSD storage server, and I was frustrated by near-daily lockups after running it stably for the past few years on Linux.

After a BIOS update, an option for power supply idle control appeared, and selecting the "typical" over "low" option resolved the hangups. No C-state or C'n'Q changes required.

I did have to RMA the CPU initially when it wouldn't post with DIMMs in 2/4 slots, but later revisions seem to have quickly overcome the memory controller issues.
We might get lucky, they did upstream work to LLVM in the past.
> ...political motivation does not necessarily follow the transitive property....

No, it doesn't necessarily, but there is evidence that it does in practice. That is my point.
"Low" is the right idea for me.

When I buy (or build) a kb, I have the expectation to be able to tell it how to operate; that's why I needed it, after all. I find it tedious to remap lots of keybindings (was super+... global? shit.) when I can simply assign 24-48 non-conflicting commands to function keys.

Some map to scripts, others to specific actions in the tools I use, some are used to turn on cameras, switch users, chance resolutions, pull all logs, push commands to restart devices in VMs or bring up or take down containers, start or stop services, reset PCI or storage devices, or semi-automate git. It's really whatever I want to press a button and make happen. It was much worse when I first got clever with udev and dbus years and years ago.

I've always hated clicking and menu-hunting. If I know what I want to do, I don't want to wade through someone else's idea of UX to get to it.

Abjure the cruft. Embrace Function.
RLWs
MLH Fellowships – The future of tech internships
Related, https://float.exposed/ is a great resource: both when trying to see how floating point is laid out, as well as when having to convert between the bit representation and the number for "actual work" ;)
>Firefox now supports Audio Worklets that will allow more complex audio processing like VR and gaming on the web; and is being adopted by some of your favorite software programs.

> With this change, you can now join Zoom calls on Firefox without the need for any additional downloads.
WWDC is exhausting and incredibly wasteful, but it's very productive. Especially if you make use of the labs where they'll actually help you with your code.

I've also found that I learned a LOT more about new operating system features when I was attending the conference vs picking and choosing the videos to watch from home.

It's also a great way to network and meet up with old friends. I've had a lot of fun the couple times I went to WWDC. I would be sad to see it go, but it wouldn't be the end of the world.
I wonder if they will keep doing it online in the future. Imagine the impact to all the workers who facilitate these conferences, local hotels, restaurants, etc.
I understand the frustration of too many logins :)

If I do end up adding user accounts, it would only be to add extra functionality (persistent URLs etc) - the existing functionality + potential perma-link feature would all remain available without an account.
If anyone is curious to see what people think about Linux touchpads currently, here are some of the preliminary results with 9000 responses counted thus far:

https://public.amplenote.com/HbcoZf/touchpad-results-prelim

Average satisfaction looks to be around 2 of 5. People are excited about multi-touch, especially the double finger right click.
I agree, there is training that can't be skipped. I think it's mostly a problem for higher education, not for schools.

If a child didn't fully learn to write, or a high schooler didn't complete calculus, they can catch up the next year. (schools will probably have to adjust their curriculum slightly to catch up). Schools don't teach anything major that can't be redone or skipped.

Universities don't have this luxury. If a future dentist didn't train on a procedure this year, too bad because that was the only time it's covered. Gonna have to discover it in the field if it comes up?
Is this how you feel about your home or office? Completely spartan, only the necessary objects and nothing else? I suppose some people do only want a purely spartan, necessities only environment. But I like a little pizazz, a little splash of color here and there a little comfort. And I feel the same way about the software I use. As long as the decoration doesn't get in the way of course.
This gets into complicated issue in American Federalism about how do reasonably curtail democratic voting. Yes the basic idea of the Electoral college is to ensure a broad consensus and representation of the entire country. However if you look at how elections are actually run in the modern age, you see that the entire focus is on winning a handful of swing states (Florida, Ohio, Pennsylvania). California and Texas are only relevant for fundraising, no body ever bothers to campaign in Wyoming, Utah or Massachusetts. Essentially both parties are trying to game the system and appeal a very small subset of the electorate (swing state voters are far less than 49% of the populace). While there are benefits to something like the electoral college, the demographics have changed a lot in the last 240 years and we should honestly consider whether it is achieving its purpose.
Maybe, in my case since I am currently in the non-PHP phase of my alternating PHP/non-PHP job history. PHP has been less than 50% of what I've done (the rest being far more on-trend, if you will) though disproportionately represented among successful and profitable projects.

The only-ever-PHP coders I have known tend to be fairly polarized between fear of the unknown and the "grass is greener" attitude.

The ease of estimation thing was an aside, but I'm getting more convinced. With PHP there is only one way to do any feature: look up the library function, type it, refresh the page, and slowly accrete your functionality. With other languages there's some hope of a free lunch and it engages our tendency to optimism.
Now the trash dumpster is no longer actually on fire, and it has nice bright orange flames painted on it, like a racing car!
Except that if you do anything other than mapping, you start taking a performance hit. If you want to use array_map with array_filter, you're now iterating your array twice. Also, if you ever use array_filter, you almost certainly need to wrap it in array_values, so now you're looping N times.

It's no wonder people still lean on the broken foreach. I always use unset() after foreach. It makes me die inside a little.
At the very least, they're not charging for anything this year. There are no packages, no tickets, etc.
> There's some irony that your argument around ideologically pure free speech is punctuated by insinuation that I should self-censor because I'm not ideologically pure enough.

I said, "[J]ust because it's your legal right to do something doesn't mean it's the right thing to do."

Sure, you're allowed to say whatever you want, but that doesn't mean saying it was the right thing to do. Saying that you said the wrong thing isn't ironic: it's exactly what one would expect given what I actually said.

There can be no irony with regards to my argument around ideologically pure free speech, because I didn't make any such argument.

Additionally, there's a difference between me censoring you by force, and me asking you to say things that are relevant.

> I provided a handful of reasons where speech can do harm, and where forced publication impinges other rights.

I never suggested forced publication, so these cases are not a response to my post.

> They have a right to curate the content that they distribute that is just as important as your right to produce and self-publish your content.

I specifically said that YouTube has this right. I said, "It's certainly their right under ownership laws to censor on their platform."
Nairobi flies: unpacking the mystery of a small beetle with burn power
My wife made a whole YouTube series on fun experiments you can do with young kids. This one creates beautiful art by utilizing syphoning and chromatography on toilet roll using normal colored pens! https://youtu.be/U41HIDxertg?t=149

The USP of the videos is to create something the kids want to watch in parallel to the adult learning the experiment. It tries to avoid the split attention and bored kids you get when following experiment notes. Also she avoids difficult ingredients
I'm upvoting because I agree it is a great tool for kids, and a fun way to introduce some coding. But people might misinterpret what you are saying as meaning it is dumbed down, or too simple for real work. It is just well designed IMO, great for a 10 year old, but equally great for sophisticated technical user. I.e., this is not Scratch.
Adding to this - for much of the pre-digital distribution era, piracy+retailers+rentals sucked out nearly 80% of the profits of the ecosystem. It made it impossible to break even as a studio unless you had a top 20 title released that year. The economics always sucked there - publishers fund development against royalties, break even happened after recouping this advance plus whatever costs the publisher larded on, per-unit royalties were often as little as a few bucks per game sold, and the publisher owned the IP. As a studio you had to get a continuous string of big hits as a single flop might put you out of business.
France accuses Apple of refusing help with 'StopCovid' app
Why are people at Dell tolerating it being ugly? What is wrong with the company culture that nobody says - hang on that looks like garbage shall we fix it?
> The purpose of the Electoral College was to prevent a slim 51% majority of the country from running roughshod over the rest. It is serving that purpose.

At that it succeeded. Instead, we have a minority running roughshod over the majority. Trump was elected with 46.1% of the vote to Clinton's 48.2%.
I'm not sure if it would be allowed to hoist `dataQueue.Count` out of the loop. The docs [0] say that multiple concurrent readers are supported, so I'm not sure if the compiler would be allowed to assume anything about the call's return value.

You are correct in that `Count` is a property, and it could be doing extra things, but according to the implementation [1] it just returns the value of a private integer. Of course, this is an implementation detail and shouldn't be relied upon, but I'm not sure how much that could be changed.

However, you are mistaken about the code continuing to work if `dataQueue.Count` were replaced with an RNG, or if it were otherwise higher than it should be. The `Dequeue` function raises an exception if called on an empty queue. This one is part of the API, not an implementation detail. An uncaught exception here would crash the thread, not just blindly carry on.

Of course, I'm no expert, and could just be talking out of my ass.

[0] https://docs.microsoft.com/en-gb/dotnet/api/system.collectio...
[1] https://github.com/dotnet/runtime/blob/master/src/libraries/...
The shortest paper ever published in Physical Review
> The language and standard libraries are pretty narrow, unless you add Rails

Rails is neither the language nor the standard library, so the “unless” part seems superfluous.

> These then tend to go out of date. It's pretty common to find well-used gems that haven't been updated in 5, even 10 years. This puts the developer in a tough spot - reinvent the gem/wheel?

If it's open source, why would reinvention rather than forking and assuming maintenance (for one's own needs, not necessarily publicly) be an issue?
These issues could be applied to any modern language - I don't see them as specially affecting Ruby. As someone who has worked in many languages professionally for 20 years, Ruby/Rails is my favorite productivity tool for web apps, hands down.

FYI see Zeitwerk gem for autoloading improvements.
Found the bug! Live updating should be working now
Kentucky [1]

[1] https://www.wkyufm.org/post/kentucky-second-most-dependent-s...
There is this thing called https://en.wikipedia.org/wiki/Gait_analysis and how it is applied https://www.businessinsider.de/international/ai-training-bey...
Hmm, I don't recall ever having a problem with palms on any touchpad, ever. On desktop I do usually use Windows or MacOS (mostly terminal on Linux), but I do occasionally use Linux (Ubuntu) on an aging HP Zbook, and never had an issue. I used to use Ubuntu desktop a lot quite a few years back, and don't recall any issues even then.
Every time I try to use Linux, I come to the conclusion that the user experience makes it not worth the effort it would take to be a daily driver. I always feel like I just don't have the knowledge to get things done in a reasonably efficient manner... And the OS needs more polish.

There's always some annoying little problems that take a mountain of effort to properly diagnose and solve. Things like dual monitor support not working properly when the monitors have different resolutions, or YouTube dropping out of fullscreen when you focus on a different window.

To be fair, these kinds of issues are probably no problem for someone with lots of experience... But I'm not one of those.

I also find that the gap between windows and Linux has narrowed dramatically over the last 10 years. Whenever I try a fresh install (every couple years), I'm surprised at how much better it feels.
I don’t think you ever want a race condition for the sake of it but there are many daily cases where you don’t care that it races and fixing it would have terrible downsides. In a distributed system they’re practically unavoidable I think!
Does this mean they won't be able to say "WWDC__ will be our biggest yet" anymore (hopefully)?
As someone who's worked heavily in C++/Java and tends toward functional programming approaches I enjoy PHP. There are some features in the language you should avoid, variable-variables being one of the ones that makes logic very difficult to decipher - but C, C++ and Java all have those - and Javascript has the wonderful combination of substr & substring. The useful portions of PHP are extremely powerful, having access to magic functions, a much more advanced concept of a local symbol table and a surprisingly good approach to inheritance & composition all end up bringing down code maintenance when well applied to provide clearly intentioned logic.
Yes, I came across something like that in my numerical computation course. This was for me the most compelling visualization of what a floating point number was.

The floating number line is actually an (unevenly spaced in reals, uniformly spaced in binary) discrete number line that was used to approximate continuous infinite real numbers, in finite precision e.g.

Reals

0 __________________________________________________ 1

Floats

0 .. .... .. ... .. ... ... ... .. ... ... ... .. .... ... ... ... . ... .... ... .. . ... 1
Seems like starcraft would be an even better game to play then, considering that it has all of this, but also forces you to think in realtime.

Come to think of it, the information asymmetry in starcraft that is lacking in chess would teach you a lot more lessons as well.
For anyone interested in stock market API's and financial data, I started a YouTube channel on this topic last year which is starting to gain some traction:

https://www.youtube.com/parttimelarry

It covers popular services and libraries like Alpaca, Robinhood Private API, TD Ameritrade option prices, Yahoo Finance, TradingView alerts, backtesting, and a lot more.
If they also added a linux VM on the iPad, that would be the real game changer for being able to do programming on it IMO.
Not sure why you're being downvoted.

If we just look at [3] above, we see these:
https://trends.builtwith.com/framework/Django-Language
https://trends.builtwith.com/framework/Ruby-on-Rails

Django, at least on that site, seems to be quite far off.
Rails, at least on that site, is ahead of PHP.
You can help improve the situation: The libinput project mentioned in the article is attempting to cut back on the amount of configuration and provide sane defaults for things like this, but there are a huge amount of touchpads out there to test. The idea is that once something is added to their database of "quirks", then it can be contributed upstream, and the device will be configured correctly for everyone. More info here: https://who-t.blogspot.com/2018/06/libinput-and-its-device-q...

If you figure out the right settings while using the legacy synaptics driver, please consider translating them a libinput quirks file and sending them back to the right place. I promise you are not the only one who doesn't want to fiddle around with legacy drivers anymore.
I'm much more skeptical of decorations on web sites because of how hard it is to exert control over them compared to how hard it is to exert control over the decorations in my home or office.
Anybody using Firefox password manager that can comment on it? Is it considered safe enough?

Are the passwords stored remotely if you have multi-device profiles?

Edit: I asked because I see that some of the updats are related.
I have implemented OAuth servers and also OAuth clients because our integrations go both ways: some parts of our systems rely on 3rd-party services and other companies rely on us as well. The take away from my comment is that even if the software specification is clear (I gave RFC 6749 as an example) some engineers will disregard the instructions and make something completely unexpected. The majority of developers expect good quality software from big companies with massive engineering teams, but people who have the opportunity —or should I say misfortune?— to work with them realize software engineering quality is often an illusion.
How to build a full stack serverless application with React and Amplify
To me, it looks like some default Wordpress theme.
> Firefox displays critical alerts in the Lockwise password manager when a website is breached;

>If one of your accounts is involved in a website breach and you've used the same password on other websites, you will now be prompted to update your password. A key icon identifies which accounts use that vulnerable password.

this is great! thanks :)
Protective benefits of tsunami mitigation parks
“There is an old saying in politics: ‘As soon as you start explaining, you have lost.’ It becomes incredibly difficult to counter misinformation with a point by point rebuttal—even when you are trying to bring science to bear. Any liar and propagandist knows this.” –Fox, Josh, “Meet the New Flack for Oil and Gas: Michael Moore,” The Nation, April 30, 2020.

This quote is especially on topic. Speaking of which, what do you think of that new Michael Moore doc "Planet of the Humans"?