skysight-inc/HackerNews huggingface dataset:
I deliberately phrased it this way. Yes, he was an important guy. But ultimately, just a normal guy, like the rest of us.
You had me at "20 sided dice".
This isn't even a remotely similar situation. The biggest difference is that last time around, we were the only people with nukes and (agree with the decision, or not) it was a war ending use of nukes, with zero chance of starting a world war, nuclear or otherwise.
This isn't my point. My point is the GP said this has been forecasted for many years now so people stopped paying attention. However, these talks with other nations ARE new and were highly stressed as important to avoid war. That hasn't been the case for years now.
Ukraine has not lived in peace and prosperity since 1945.
Would that not work the other way around too? People interviewing remote-only companies for practice when they have no intention to join. IMO, that's a lot easier too, since you can get a lot of practice time in without having to commute to places.
Go easier on the fine coffee, then.
> Same as the infamous PHP mysql_real_escape_string (don't make the mistake of using mysql_escape_string!) [2][3]

TBF that is really a straight bridge to the mysql C API, which is why it’s also in mysqli.

MySQL actually has a third one called mysql_real_escape_string_quote, because if the sql mode NO_BACKSLASH_ESCAPES is set the escaping function needs to know what context it’s used in, and thus what quote to double up, and mysql_real_escape_string will fail.
Coinbase 2021 Q4 Shareholder letter [pdf]
Arguably yes, abandoning an architecture is breaking userspace. At least for those that are still using it.
I know from personal experience in volunteer work that I'm pretty comfortable orchestrating around 6 people including myself, and somewhere north of that I get overwhelmed by trying to keep so many plates spinning. I got blindsided with a group of visitors once and I thought my head was going to explode. We ended up having to re-do about a third of their work and another third over time. We came out net positive but most of the benefit went to them, if they had a good experience which I'm not sure I would have noticed either way. I really should have insisted on more help.

I don't actually know what my real limit is because I try a little too hard not to find out. Once bitten, twice shy. I'm sure at some point I'll be paid to find out, and I'll go as slow as they'll let me.
On the other hand, if you have a compiler/typechecker that finds things that your test suite could find I will always reach for the compiler/typechecker. No sense in writting tests against something a standard tool will find aside from sanitizing data from your inputs.
This is not helpful.
>they will do whatever makes them feel a little less so.

Wrong, they will do the minimum necessary to put their mind at ease.

If you want to actually make a difference, there a 1000 ways to do it. Unfortunately, they take more effort and risk than clicking a button from your computer.
This isn’t the Linux kernel but I’d say it’s fair to assume that the same likely applies to it:

> Most of our memory bugs occur in new or recently modified code, with about 50% being less than a year old.

> […] we’ve found that old code is not where we most urgently need improvement.

https://security.googleblog.com/2021/04/rust-in-android-plat...
What's a Ken Thompson attack?
I use RES on reddit, and I really miss having the ability to navigate through comments with j/k, nav to parent with p, enter to collapse, etc. I wish they'd add that on this site!
My fear comes from the fact that I was a security consultant, and reviewed a lot of C applications containing nasty bugs.
Can’t wait to see how “obligated” the USA will feel about Taiwan. I don’t believe NATO is the reason they’re not stopping Putin.
Simple
Efficient
Fun

I’m a fan.
Yep I totally agree with this.

There are however a bunch of ARIA tags & best practices etc (https://w3c.github.io/aria-practices/) that exist to make popups and dialogs (and other things e.g. tree views or "email-inbox-style" "treegrids" etc) accessible (if implemented correctly).

I am conflicted about these - it is nice that there are ARIA tags for this, but it would also be nice if browsers "understood" aria tags and added some default behaviors (e.g. keyboard navigation). As it is, ARIA tags are essentially "pointless" to anyone who doesn't use an assistive technology, and so non-assitive-technology users nor developers benefit from using ARIA tags so they are often forgotten. If the browsers saw that there was an A11y-tree that matched a treeview or a treegrid, it would be really really nice if they applied some default common keyboard navigation implementation, rather than do nothing and leave it up to the developer to decide what keys do what on each and every site. .... Or on the other hand, is that too prescriptive and should we give developers and UX designers more leeway to design something better, rather than rely on browser-enforced defaults? I guess we are happy with browser defaults for basic inputs, but would we be for a treegrid?
I haven't done mosaic tiles, but I have done tiled walls. I've also made my own custom fired tiles.

There's some blundering about at first, but once you get the hang of it, it goes quickly.
It's a lot easier to DDOS a blog than it is to DDOS facebook.
Oh THAT'S what that's supposed to be. I was always wondering why my viewport jumps all over the place unprompted.
Exactly. Like I tried to explain to someone here earlier today: stop using Russia as your reference point, switch to Putin as your reference point and it all makes a lot more sense.
But NATO doesn't really want to fight that war. Electorate would vote governments out for getting involved in war they doesn't really care about. And Putin knows that too.

So what if NATO puts some forces in Ukraine, but Putin calls their bluff and attacks anyway? Small contingent wouldn't be nearly enough to hold the territory, so you need to either engage for real (but you don't have political capital for that), or withdraw forces which would look like huge humiliation.
>Do you think Stinger missiles will make a difference?

Not enough to deny the airspace. And they are useless against high altitude bombers/attackers. But the real threat is not so much getting bombed from the air, but the fact the Russia will be able to move and deploy their artillery/MLRS completely at will due to air superiority. No doubt we will see cities flattened if prolonged urban fighting drags out.
I think it's too early to call them wrong. Wait a couple years after we're done with this pandemic, see how things play out. Some people do like to work in the office. Some are ambivalent. Some die-hard WFH. Thing is, if any kind of critical mass of workers head back into the office and start enjoying the career benefits to being onsite with management, it'll end up dragging the ambivalent back as well so they don't get left behind.
Thousands of tons of radioactive molten lithium would be quite noticeable if spilled, especially since it would instantly burst into flame, and spraying water on that would make it explode.

On the plus side, it wouldn't be very radioactive, not like a nuke meltdown. Mostly molten and on fire.
What I'm interested to learn more about is Hypergraphs. They basically seem like a more real-world thing than basic graphs.

Yes social networks are graphs but think about electrical circuits. They are hyper-graphs. See the picture of an electrical circuit in:

https://en.wikipedia.org/wiki/Hypergraph

How does Linear Algebra deal with Hypergraphs?
kickstcondor has a cool art style, but from my understanding it isn't exactly a personal site, given it's run by multiple people pretending to be a single person, who actually are doing this for work at Meta / Facebook: https://usesthis.com/interviews/kicks.condor/

I hadn't heard of some of these other ones, and they look cool, thanks for sharing!
I haven't really touched non-GC'd languages in quite awhile, but I feel like modern C isn't that unsafe, at least from the bits I've played with it; it can even have a garbage collector if you want it [1](which I usually do).

It's worth giving it another try if you haven't in awhile, if for no other reason to understand what's going on behind the scenes of your abstractions in Java/C#/JavaScript/etc.

[1] https://en.wikipedia.org/wiki/Boehm_garbage_collector
I actually really dislike this.

I find that I often have half second hangups due to not remembering if in select mode or not.

Much prefer the "Hold shift/ctrl" model used often in file managers.
Cool! That's great. I think there's so much still to do in the space of AI for spoken audio. Be it podcasts, audio books, video calls or similar. So definitely keep at it.
I hope you understand that I can't reveal all of our tricks. But what I can say is that it definitely helped us to think about what we as humans use as input for our processing in these situations. So it's not just text. The audio has value as well. To see this you can do a small experiment by just looking at the transcript manually and then trying to find optimal segmentation points. It's difficult.
Dynamic ad insertion is also still a challenge for us. We'd like to develop a technical solution for it but haven't found the time to tackle it yet.
KDE vs. Gnome: What’s the Ultimate Linux Desktop Choice?
I think the idea comes from the fact that it's always been hard to find fully-remote options. And even the most stubborn companies were forced by covid to relinquish some control to their workers.

If, to get work done, you need your ass in a seat of your employer's selection, fine, but almost all jobs have already been like that since the beginning of time and there's no shortage of those. So I understand "you're ruining for the rest of us!" to chirp too loudly about it just when WFH is finally gaining real traction but doesn't necessarily feel like it's here to stay.

The covid-induced WFH option at most companies seems precarious, like any moment the company will reverse it.
Intel’s two core issues are engineering failures — process technology and processor architecture. Nothing to do with the MBAs
Multiselect over a range of 200 arbitrary values isn't something that will ever be solved by a single control, so that's a complete straw man.

If you actually need to multi-select over 200 arbitrary values (you almost certainly don't), the best way to do it I've seen is a way to filter the displayed items, a "Select All" button for what's visible based on that filter, and maintaining the "checked" state through filter changes, allowing you to select anything matching multiple filters.
Not everyone has a good work space at home. Offices provide a big desk, ergonomic stuff, etc. Then you factor in kids potentially being at home, and it's pretty unfair to say everyone wants to work remotely.
You can still go to an office if you want to. Get a co-working space. Just don't force anyone else to.
Also it appears the metadata of the video of his speech just before the attack indicates it was actually shot 3 days earlier, which illustrates even further that any resemblance of negotiations were just smoke and mirrors.
Interesting. My roots are weak, but I saw "opt" and thought of "opto" not breaking it into ptera. Thanks for the information.
There's an interesting alternative interpretation, that everyone else was right, and the op was wrong. There was an error in the question, whereas everyone else managed to figure out what the question was supposed to be amd answer that, the op got caught up by the erroneous question and couldn't get anywhere.
I think people with kids tend to prefer the office as well.
Yesterday at our company, our management made an announcement to team leads, developers can work from home for the foreseeable future, despite the CEO hinting in his weekly emails about mandatory 2 days a week in the office. Apparently developers in exit interviews were indicating the "office uncertainty" was a factor in their departure.
I suggest its corruption because I also develop units in Los Angeles and have multiple (5 specifically) bids in my inbox from the last two weeks for building out completely fresh 2/2s on new ground with new foundations in the 350k mark. Including all of what I've mentioned. And they're definitely making a margin on me.

That would be why specifically 800+k for a unit described smells of corruption.
Also the picker is broken on iOS. If the bottom navigation bar is hidden the backdrop doesn‘t cover the whole page, which is ugly. More ugly then just a standard select element. Selecting by swiping over the elements doesn‘t work. And sometimes an accidental swipe and tap jumps to the top of the page. If Adobe can‘t support iPhone for everyone with less people power is better off using the existing form elements.
Trump didn’t do anything about it either
English gardens are often designed to appear wild. A garden path wanders, showing you only a small amount of what is there at any moment. Thus a "garden path sentence" is one that wanders from one subject to another. You are meant to enjoy the experience of walking through it, not the beauty of the master plan of angles and viewpoints (as compared to most Continental gardens, like Versailles or Schoenbrunn). There are exceptions on both sides, of course.

But the point is that "garden path sentence[s]" are more random, more free and loose.
He's quite literally 'all in', which also means that he has nowhere to run now, Russia is from here on forward until Putin has been replaced, either from without or within a pariah state.
> A whole lot of the obsession with GPU acceleration in terminal emulators and text editors is not driven by benchmarking against the fastest alternatives, but cargo-culting.

It seems strange to demand evidence and benchmarking but end with pure unsupported hyperbolic opinion. If you can’t explain why a huge number of major text editors are now starting to support GPU rendering directly, nor why the OS has already for a long time been using the GPU instead of the CPU for rendering, then it seems like you might simply be ignorant of their reasons, unaware of the measurements that demonstrate the benefits.

I really don’t even know what were talking about anymore exactly, since you moved the goal posts. I don’t disagree that most of the time text rendering isn’t consuming a ton of resources, until it does. I don’t disagree that many editors aren’t exactly optimized. None of that changes the benefits of offloading framebuffer work to the GPU. The ship sailed already, it’s too late to quibble. I can’t speak to rxvt vs Kitty (you really need to do a comparison of features and their design decisions and team sizes and budgets before assuming your cherry picked apps reflect on the hardware in any way), but by and large everyone already moved to the GPU and justifications are pretty solidly explained and understood, evidence for these decisions abounds if you care to look for it.
Truth be told the best way to protect the unexpected windfall of widespread remote work is to organize and to form some sort of professional association or guild [0] that can preserve tech worker leverage past current economic conditions.

But no one is currently talking about that very much right now (the Tech Workers Coalition seems pretty quiet lately), because we're all dazzled by the roaring market and unable to see the dim future when it cools down and we're no longer hot commodities.

[0] https://news.ycombinator.com/item?id=23388223

https://news.ycombinator.com/item?id=23502195

https://news.ycombinator.com/item?id=11083633
There is also

"Hindsight bias, also known as the knew-it-all-along phenomenon, is the common tendency for people to perceive past events as having been more predictable than they actually were."

https://en.m.wikipedia.org/wiki/Hindsight_bias

No I do not appreciate it that the comments under this thread all expecting civilians to be well prepared for escalation of war.
There's a Python mode and a subprocess mode.

https://xon.sh/tutorial.html#python-mode-vs-subprocess-mode
That is fine, but don't expect us to want to work with people who are not present and can only be contacted via mail/chat/video conferencing. Just as you expect others to respect your wish not to show up, you'll have to respect other peoples wish to work with people who do show up.
Why not? Seems like a great time. Buy low
We don't have soft tissue or a specific understanding of internal organs. Maybe they had multiple hearts with multiple vascular systems, or maybe the rate of blood flow and chemistry of energy production differed from animals we do understand. All we know for sure is that the brontosaurus was way too big for its biology to be understood by similarity to any extant creatures.

Maybe we'll be able to simulate dna, protein, and evolution at some point such that we can sample huge spaces to see if we can reconstruct creatures with similar features.
Saddens me that the top earners in our world have to dream of affordable housing so they can save a bit of money. Probably not enough to buy a house in that same area. Sigh.
That makes some intuitive sense, right? The fact that it got "old" in the first place indicates that it's not being touched a lot, and if it isn't being touched a lot that means that bugs haven't been found, meaning that the bugs that are in there are especially sneaky edge cases, or there simply aren't any large bugs to begin with.
I wish your girlfriend and her family a safe and timely evacuation. It is heart breaking how normalcy can turn to a hot war so fast. Hopefully it doesn't keep escalating, but there is absolutely no reason to stick around and find out.

People underestimate how quickly a tense situation can turn to horror. My mother told me people in ex-Yugoslavia were going to their cabin to wait for it to blow over at the dawn of war. Even while it's going strong they underestimate just how bad it is; for instance in the middle of it (like 3 years in) you keep thinking it's gonna pass sooner rather then later. Then there was a bit of a lull and people thought it was over, life coming back to normalcy - hence why we hadn't fled yet, and why I was born in that period. Before you know it, it gets worst then it's ever been, literal hell on Earth and you're trapped for it, with army and blockades at every exit restricting movement and catching deserters. We were lucky to be in a region where it was possible for my mom, my brother and myself to get out (pretending you're going next town and some bribe money, but you obviously can't pack your things and show blockaders that you're getting the fuck out) and reach an embassy to seek asylum (unlike poor souls who were stuck in hell holes like Sarajevo or god forbid Srebrenica). If you're a man it's even harder as you're a deserter in some warlord's conflict, my dad couldn't have escaped his nth drafting without savvy trickery, and we know for a fact he wouldn't have made it out alive if we didn't turn on a dime and bail.

Obviously not the same situation, but if people in ex-Yugoslavia were able to justify sticking to it for years, expecting it to blow over and not see how the whole situation was a powder keg, it shows how easy it is to miss war turning for the worst, let alone when it's lurking over the corner.
Sometimes I want to work in an office, therefore I don't value my "life outside" (whatever that means). What an odd conclusion to jump to...
You are correct. I have russian friends and former classmates who are totally against Putin and his wars and who are wonderful people.

At the same time, I see lots of russians who has never voted for Putin, who even don't like him, but who agree with him and his policies for restoring Russia's empire. Many of them will be pretty happy if the country returns to its former ... glory. And, yes, I hold such people responsible.
Nobody is ruining anything for anybody. Those who want to work remote, go work somewhere where they can work remote. If you don't want to work remote, you find an employer that offers premises. Either way no one forces you to choose employer that doesn't suit you.
They don't!
Yes but Linux won't even build with gcc 4 much less weird compilers like tcc or msvcc. That ship has unfortunately already sailed.
https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...

Ken Thompson, Reflections on Trusting Trust.

EDIT: I don't think I've seen 5 nearly simultaneous replies sharing the same link before.
People rightfully give Germany shit for this, but Italy is right there beside them
> Eastern Europe is Russia’s back yard, not ours.

Wow, this must be a new low in these threads.

No, Eastern Europe is Europe's 'backyard', and in fact it isn't a backyard. Romania, Poland, the Baltics, Hungary, Czechia, and so on are all solidly part of Europe.
I'm curious how many people will make the jump to preferring remote when they realize that the office culture they had prior to covid will no longer exist in the future.

My gut tells me that a lot of people are expecting for things to go back to the way they were when they won't. If half your team is OOO whenever you're at the office, is it as exciting as it was before? It wouldn't be for myself.
We migrated a rails app, that needed in memory data structures, from rails to java. We went from needing rolling restarts and 100 aws servers all cpu bound, to running 10% cpu on 2 java servers never needing a restart.

Ruby and rails is great for a PoC or a quick crud app, but it is not close to being performant which usually doesn't matter but sometimes it does.
A lightweight website doesn't have to be boring. My current project has a 1920x1080 picture which is only 29KiB with AVIF (and it'll further reduce in size when I crop it for smaller displays, using the picture element with media queries). There was 5,7KiB worth of SVG icons and I turned it into a 2KiB font. Not the best of savings, but still better (although correct sizing and positioning of font icons is somewhat difficult).
I completely agree. This is just magical thinking by corporate executives and "thought leaders" who all think they have the power to dictate these things. They don't. The horse left the barn in 2020.
https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...

How do you prove your stack is secure?
I agree with you that there are some simple questions left unanswered, but "is it row reads?" is not one of them.
Because the media and everyone make it sound like it's about to be trench warfare and then urban warfare for years and the original parent I responded to implied soldiers would be gunning down babushkas...

It's bad but it's obviously modern warfare and there likely won't be massive casualties because the Ukrainians aren't marching to die since the west already abandoned them.

We were told Russia would be rolling tanks through the mud and fighting in trenches... Lots of propaganda.

And an hour ago I watched Biden say sanctions are as bad as missiles SMH...

Anyhow, the west abandoned Ukraine, I really doubt too many Ukrainians are eager to die for nothing.
It can be that but there is also denial, which is a slightly different mechanism. From Jared Diamond's "collapse":

"For example, consider a narrow river valley below a high dam, such that
if the dam burst, the resulting flood of water would drown people for a con-
siderable distance downstream. When attitude pollsters ask people down-
stream of the dam how concerned they are about the dam's bursting, it's not
surprising that fear of a dam burst is lowest far downstream, and increases
among residents increasingly close to the dam. Surprisingly, though, after
you get to just a few miles below the dam, where fear of the dam's breaking
is found to be highest, the concern then falls off to zero as you approach
closer to the dam! That is, the people living immediately under the dam, the
ones most certain to be drowned in a dam burst, profess unconcern. That's
because of psychological denial: the only way of preserving one's sanity
while looking up every day at the dam is to deny the possibility that it could
burst. Although psychological denial is a phenomenon well established in
individual psychology, it seems likely to apply to group psychology as well."