HNHacker News
TopNewBestAskShowJobs

CountSessine

3,538 karma · joined May 15, 2010

  *      *    .   *    .
        ..  *    o
      o   *  .    *
        ________
       (________)
       |    o   |
       | o    o |
       |   o    |
       | o    o |
       | o  o   |
       |      o |
       ( o      )
        \   o  /
         \    /
          \  /
           ||
           ||
           ||
           ||  
           ||
        ___||___
       /   ||   \
       \________/
submissionscomments
CountSessine··on In MySQL, use “utf8mb4” instead of “utf8” (2016)
That's kind of funny - Oracle has a similar issue. If you want industry-standard UTF-8, you have to specify "AL32UTF8" as your encoding. "UTF8" is kind of crazy - it's this monstrous abomination called CESU-8 (https://en.wikipedia.org/wiki/CESU-8), which isnt' UTF-8 at all - it's actually this weird "UTF-16 complete with surrogate pairs wrapped in a UTF-8 shell" thing.
CountSessine··on Google hired union-busting consultants to convince employees “unions suck”
I wonder what most labour activists in the US would think of German worker councils, though? Works councils are basically company unions (which are loathed in US labour for some good reasons), but they are strengthened and protected through legislation. It doesn't stop at representation at the board level either - union busting is illegal and worker council reps enjoy job protection. But the flip side of this is that the union can't engineer a labour monopoly the way the UAW did in the 60's - the union and its employees are incentivized to keep the company healthy and competitive rather than just screwing over consumers by raising prices across the industry and lobbying for trade barriers.
CountSessine··on Google hired union-busting consultants to convince employees “unions suck”
The average operating margin for companies on the S&P 500, the "best of the best" of US corporations, is 9.35% - and that's a figure that is inflated by all of the pharma companies that have crazy 20% margins and sell into a dysfunctional drug market in the US and don't have to compete with generic drugs. Remove them and the operating margin is even lower.

There's no pot of gold in most cases. But I still think there's a good case for unionization.

CountSessine··on Google hired union-busting consultants to convince employees “unions suck”
If the company's in a competitive market, it's unlikely that there's a huge pot of gold somewhere to hand to employees in operations. The whole value-add for unions lately has been pitched as better employee representation in decision making. I'm all for that - if that stops management from colluding with some hedge fund to engineer an awful reverse-buyback-privitazation scheme to load the company with unservicable debt or something like that, I think unions have a lot to add.

But I can tell you from experience - it's definitely not "one lazy guy" - it becomes endemic because the process for dismissal becomes so costly. It's extremely demoralizing working alongside people who are "working the system" and are lazy as fcuk. It's better to just leave.

CountSessine··on High beef prices and the destruction of independent cattle ranching
Do you break up large foreign corporations? Samsung? Sony? NEC? Philips? BASF? Volkswagen? Oppo? How do you do that? Or do you let small US companies duke it out with foreign giants, without the benefit of scaled efficiency?
CountSessine··on Homelessness rises faster where rent exceeds a third of income (2018)
I don’t think that I would say it that way at all.

The parent comment simply makes the point that people vote with their own interests in mind, but say otherwise as long as it doesn’t cost them. We don’t just “tolerate” performance art politics - we actively encourage and vote for it because the alternatives are expensive and unpalatable.

It’s much more comfortable to “blame profits” or “blame campaign financing” or blame Jeff Bezos or blame capitalism than to acknowledge that in a city that maximizes global utility and wellness, you might not have the right to keep poor people from living near you.

CountSessine··on Some sanity for C and C++ development on Windows
Agreed! And TCHAR was the dumbest of all of them. “Not all of our libs/tools/editors support Unicode yet so use TCHAR in the meantime and then one day when our stack supports it fully then you can throw the switch and all your char*’s will be wchar_t*’s and I’m sure that’ll go really well in your codebase.”
CountSessine··on Some sanity for C and C++ development on Windows
When I last wrote one I was very new to it and rpm.org (where most of the public docs on the format reside I guess) was down/abandoned. It looks like rpm.org and the docs are back now? I had a bunch of special requirements for the lib I was making and not having docs for the format, especially all the funny macros, was pretty frustrating.
CountSessine··on Some sanity for C and C++ development on Windows
Versus no dependency management at all? This reasoning falls apart once you need to use a 3rd party library on Windows. There’s no standard way of sharing such a thing so you always wind up packaging the whole thing with your program, and handing the whole mess to your users.

Granted, writing an RPM is a special kind of hell, but at least you don’t have to package everything with your program. But actually you can still do that - I’ve done that plenty of times in embedded. You can always ship your program with its dependant libraries the way you always have to on Windows. In fact it’s a lot easier because most 3rd party libraries were originally coded on Linux and build more sanely on Linux. And RPATHs are pretty easy to figure out.

Linux gives you options.

CountSessine··on Some sanity for C and C++ development on Windows
But the first Linux using UTF-8 as the default encoding was RedHat in 2002

And then Microsoft spent the next 20 years explaining/complaining to everyone (and this includes Chen) why they couldn’t make UTF-8 a code page because it would mean revalidating all of those -A functions for 4-byte characters when they were originally intended for only 3-bytes?

CountSessine··on The leader who's standing up to China
“Peace for our time”, right?
CountSessine··on Linux Has Grown into a Viable PC Gaming Platform and the Steam Stats Prove It
I’ve never worked on a game where we didn’t have at least one rendering programmer who would be assigned to a particular platform, even with Unreal or Frostbite or whatever. Major titles will still write their own platform-specific shaders, they’ll still tweak and modify the game middleware, and they still incur a per-platform, per-api costs.
CountSessine··on ReactOS 0.4.14
1. We were a video game studio with a lot of graphic artists passing around a lot of game assets.

2. I’m pretty that I’ve got it wrong and it was Sasser, not Blaster.

CountSessine··on ReactOS 0.4.14
That is, historically, completely false. Windows before WinXP SP2 was a wide-open door for malware. I still remember the whole summer of malware where the IT had to do an emergency shutdown of the whole building network at the switch to stop Blaster from spreading one afternoon.

So hopefully ReactOS, while implementing Win2k, includes the XPSP2 mitigations?

CountSessine··on Ask HN: Are new ThinkPads still worthy?
It seems to be pretty solid. Compared to the thinkpad extreme,

- The xps 17 "feels" more solid and less creaky. It's probably less survivable, but it feels like a higher-quality machine

- The wifi seems great, but lately I've been having problems with the microphone. It just stopped working in Windows a week ago, presumably after an update?

- The keyboard isn't quite as good as the thinkpad, but the thinkpad extreme's keyboard isn't nearly as good as the keyboard in my old thinkpad t520. Lenovo are hell-bent on gimping their keyboards until they're no better than anyone else's, and reviews suggest that they've finally succeeded with the x1 extreme gen 4. The xps 17 keyboard is nice, but I notice a squeaking noise from the enter and right shift keys when I type.

- The xps 17's battery life is a lot better. My thinkpad's battery life was puzzlingly bad, even under windows.

CountSessine··on Plan Ahead for Phase Out of 3G Cellular Networks and Service
Disclaimer: I'm not a dark-mage-of-the-smith-chart - I'm just a dude who had to take a course in EM once. Honestly, I'm pretty ignorant and you should take all of this with a grain of salt.

My understanding is that the noise model is very different - that LTE/ofdm are very good at getting around radio noise by-frequency - ie a bunch of interference at a particular frequency. But 3G/umts/cdma was very good at dealing with multi-path distortion because of the whole chip-code-orthogonality property and the fact that the radio would have multiple time-shifted taps on the antenna. That would mean that in theory LTE would be better at dealing with persistent environmental noise, but 3G would be better in a city where the phone is receiving that same signal but reflected against buildings and slightly time-shifted.

I doubt this makes any difference in your case - it's probably just that 3G is typically on 850MHz and that LTE is probably on a higher frequency like 2300MHz which wouldn't propagate as well.

CountSessine··on Plan Ahead for Phase Out of 3G Cellular Networks and Service
later recycling frequencies

Yeah this is what I would think. My understanding is that in North America a lot of plum 800MHz bands are currently occupied by 3G umts.

edit - yes, both Verizon and AT&T are dedicating a single band of 850MHz spectrum for umts. So this would let them move that to 4G or 5G.

CountSessine··on Ask HN: Are new ThinkPads still worthy?
I just replaced a thinkpad x1 extreme gen 2 with a dell xps 17 (I wanted a 16:10 screen and shipping estimates for the x1 extreme gen 4 were ridiculous. Also, Lenovo of Canada are a bunch of dirty crooks).

The thinkpad was pretty good, and wayland on fedora worked beautifully (I only used integrated graphics in linux, didn't even try to get the discrete gpu working). The one thing that really didn't work in linux was the fingerprint scanner - it would fail about 7/8 times I used it, which is really too bad because fedora has really nice fingerprint integration with sudo.

Also, something seemed to be a bit funny about it's displayport implementation - when it was connected to my DP monitor and went to sleep, the monitor would wake it back up again almost instantly and it would get into this weird back-and-forth between sleep mode and waking. That happened in both linux and windows. This doesn't happen with my new xps.

Otherwise it was pretty smooth sailing. It was a well-built computer with a nice keyboard. I might get another thinkpad at some point, but I'm loving this super-compact 17" 16:10 display on the xps.

CountSessine··on America is running on fumes
If you're poor, Canada is a pretty good deal. If you're middle-class, it's ok. If you're upper-middle-class (top 10% in income) it's better to be in the US.
CountSessine··on America is running on fumes
It seems that until you get a green card, the state barely tolerates your presence.

And good luck even getting to that point. If you have a family, you'll have to live without them for upwards of 10 years while you work alone in the US waiting for your number to come up in the lottery.

CountSessine··on America is running on fumes
The Canadian immigration system, especially if you qualify for the skilled workers program (which most engineers do), is pretty decent overall, and much much better than the awful and outdated US system. I've looked at immigrating to the US and decided it's largely impossible. This largely explains Canada's immigration edge - it certainly isn't societal issues. I'd much sooner have immigrated to the US given the pay and tax differences.

I've actually heard good things about the AU system too - apparently Canada considers AU&NZ their biggest competition in attracting immigrants.

CountSessine··on America is running on fumes
The US healthcare system has just enough private ownership to allow private interests to profit from it, just enough public involvement to get taxpayers to pay for it, and just enough regulation in the right places to conceal who pays for treatment and to disconnect incentives.

Go all public and expand Medicare and move to a single-payer system like Canada and the UK. Or go all private by killing Medicare altogether, fixing Medicaid as a public backstop, and heavily regulating pricing and doctors' salaries and insurance premiums like Germany and Switzerland. But anything is more humane than the weird mix the US has come up with.

CountSessine··on Apple CEO Tim Cook 'secretly' signed $275B deal with China in 2016
Clearly it isn't Peter Thiel's justification. So kelnos is wrong in calling this hypocrisy.
CountSessine··on Apple CEO Tim Cook 'secretly' signed $275B deal with China in 2016
Is it hypocritical to work with the US military, and not the Chinese military?
CountSessine··on BMW removing touchscreen from a bunch of models due to chip shortage
Sure, but now it doesn’t have a label, or help text, or anything else you could implement with a touchscreen.

Single-function knobs should be mandatory for anything you might need to reach for while you’re driving, but seriously - what’s with the physical control fetish?

CountSessine··on Major Linux Problems on the Desktop, 2021 edition
5. The Wayland list is damning as it reads like serious architectural errors were made for something that was meant to learn from X; and

Not really - remember that Wayland is mostly just doing things the way every other OS (ios, mac, android, windows) does them - passing around raster buffers to user-processes.

Most of the complaints have to do with the politics behind Gnome+GTK, KDE+Qt, and FreeDesktop. It was always ridiculous to have all of these settings stored in and managed by X11 - no other OS manages user shortcut and keyboard settings this way. When you take away X11, presumably you'd want to take away the bad separation-of-concerns as well, right? So it doesn't make sense for Wayland to be managing these things, right?

But then someone else needs to pick up the ball. The fact that everyone is writing their own compositor is just another symptom of the ridiculous project-fragmentation that has always afflicted desktop linux. They could have cooperated and made a common compositor, but everyone had to build their own.

CountSessine··on Decreasing service fees on subscriptions to 15%
I am so humour-impaired I initially responded seriously to your joke - sorry!
CountSessine··on Bid to unionize Amazon workers in New York nears milestone
It feels like North America hates unions enough that we got the very worst of them. In Europe, there isn't the same societal conflict over unionization, but at the same time they aren't any more in love with the idea of industrial labour monopolies like the UAW than we are.

Where unionization works well, it's been because the government regulated to create competitive unions. In Germany, once a company unionizes, the union has special rights and privileges within the company, including access to the company's books and executive meetings. And things like union-busting are illegal. There's a lot of legislation in place to prevent the sort of abuses that North America has always seen with "company unions". But they can't join together with workers at other companies to form industrial labour monopolies either, so you still get market competition.

CountSessine··on Bid to unionize Amazon workers in New York nears milestone
In practice (I have experience with union labour), it depends. The older workers will usually step forward in negotiations and secure plum benefits for themselves, very often at the expense of younger workers.

Don't get me wrong - I think everyone does better with union negotiations (even managers to some extent - at least with a union contract, everyone's expectations are clear). But it definitely pays to be represented there at the negotiating table. It's a challenge to convince the younger workers to take an interest in this.

CountSessine··on Decreasing service fees on subscriptions to 15%
I don’t understand?

Settings -> AppleID -> Subscriptions?

It’s on your phone? You don’t have to use iTunes at all? I wouldn’t have even thought to use iTunes? Unsubscribing is the easiest thing in the world - much easier than PayPal. It’s right there in the Settings app.

← PreviousPage 5 of 34Next →