HNHacker News
TopNewBestAskShowJobs

unionpivo

1,557 karma · joined December 17, 2012

union.pivo@gmail.com
submissionscomments
unionpivo··on Dropbox to reduce global workforce by about 16%, or 500 staff
well to those of us, not using iPhone it is*

And to be honest, most of the files I sync, I never access on a phone anyway. So it would still be useful even without Android support.

Not sure how common my setup is, But I have desktop both at home and at work. And I use git and synching, to sync most of the stuff seamlessly. That said I mostly work from home nowadays, so I mostly use my work comp to speed up compilation, or run tests, dockers, databases, etc.

* Not trying to be an asshole. There are plenty of iPhone only app, that I sometimes** wish I could use, so I know how you feel.

** But not too much, otherwise I would switch by now :))

unionpivo··on Datomic is Free
> It's open source cosplay.

I am stilling that phrase. It's perfect.

unionpivo··on UK Blocks Microsoft’s $69B Activision Deal
Well if the two US companies that do business in US and with US residents, than UK court would not have any jurisdiction. (And would not even try, it's not like they don't have other things to do.)

But in this case, you have two US businesses, that own local UK business and do business on UK soil with UK customers. That is why they fall also under jurisdiction of UK.

MS and Activison could close their business in UK, and stop serving their customers and then they would not be affected by UK courts.

Bottom line is, if you do business in multiple places, you need to play by the rules of all that places.

It's similar how the legislation in lets say California can affect products in all the USA.

unionpivo··on Two types of C programmers
But its not really.

Sure it seems so when you start. K&R and away you go, that programming is a lot easier than writing rust sure.

But unless you are writing for just yourself, no current C software get developed that way. You need to understand C standard, that is quite complex and you need to understand it in detail because of undefined behavior (and of course how your compiler interprets it and sometimes fight with compiler to emit right code).

Then you needed to know all the gotchas in the standard library, and how you properly use them. Then you need to know how to do basic arithmetic without having undefined behavior (that's where a lot of memory leaks happen). Or maybe the software you are working on has created their own implementation of most of those functions, so you need to figure how to use those. Even to just print out a debug statement can sometimes be nontrivial.

And of course you need a way to compile the damn thing, just figuring out what sane options you need to use to get decent warnings and what they mean takes a while.

And when you figure all of that out, you still need to keep track of most of the stuff that borrow checker does, but this time by hand using comments and conventions (that you also need to learn for each project.)

(I left out whole build setup, but its usually harder than Rust one too. )

I believe that programmer who has only programmed java or maybe C# before (or python, js...) will get up too up to speed faster on Rust than on C on most real-world projects

C is deceptively simpler.

unionpivo··on Google CEO: “can we change the setting of this group to history-off” [pdf]
First of all, I think Google deliberately played games and they should get smacked hard for this.

But ... its not that simple any more.

A lot of the time, apps will be hibernated/suspended to disk, and then restored from disk. So talking about ram and storage in context of devices its kind of hard. Even some browsers now "suspend" your tabs to ssd, and then resume when you click back to them. So it's kind of hard to say if something was never on the disk or not.

I guess you could go with intent, that either app intentionally stored something or not, but then again you also design apps with suspend in mind so not sure how this one would play out.

unionpivo··on Apple’s fight against iPhone sideloading was pointless at best, harmful at worst
My way of doing it is to just say to people hey, can we use thus instead I can't use FB for ... reasons, here let me help you install it.

I had problems with that only once. I guess it depends on people you are around with. But most people have different groups of friends on different apps already so it's usually no big deal.

unionpivo··on Tech CEO applauds an employee selling their dog to accommodate return-to-office
Had to shorten the title, since it wouldn't fit.

Full Title: Tech CEO Applauds an Employee Selling Off Their Pet Dog to Accommodate Return-to-Office Push

unionpivo··on OpenAI’s CEO says the age of giant AI models is already over
They can afford to. But will Microsoft risk doing that and massive possible lawsuit from Google.

Google is also owns a lot of it's own backbone, so It would be a lot easier for them to play network games.

And they could even try to be sneaky and try poisoning the data if it comes to that.

And since OpenAI konw that, since they probably have people that used to work at google at some point, they are unlikely to try.

Even less likely if Microsoft would know. MS is probably the only company that has even more layers than Oracle and they would not approve.

unionpivo··on OpenAI’s CEO says the age of giant AI models is already over
It’s trivial to download some YouTube videos.

But I am quite sure that if you start doing it at scale, google will notice.

You could be sneaky, but people in this business talk (since they know another good paying job is just around the corner) so It would likely come out.

unionpivo··on Why Janet?
That depends on what you are used to.

I was mostly used to C and Perl when I was young, and Python made a lot of sense.

I would not say that javascript was more obvious to me than rust was when I started to use them.

A lot of people seem to be hung up on borrow checker, but if you are used to low level C, you had to keep track of that with comments on functions and conventions anyway (and you had to keep it in your head).

The thing that I had to get used the most of in rust is using more functional style of programming, but since I liked python comprehensions and collections, It want such a long jump as it otherwise might be.

unionpivo··on We updated our RSA SSH host key
What if you don't know for certain ?

You just ignore it and hope for the best ?

Only if you are certain (and better be really sure you haven't missed any cache/cdn, temp files backus etc.) it wasn't accessed you do nothing.

unionpivo··on Wine 8.0
The one I use for quick one of conectios is:

screen /dev/ttyS1 300

or

screen /dev/ttyS0 300,cs8

My cheatsheet: screen /dev/ttySX baud_rate,cs8|cs7,ixon|-ixon,ixoff|-ixoff,istrip|-istrip

But I am heavy screen/tmux user so its natural to me.

*I believe GTKTerm has GUI for setting that up

unionpivo··on Wine 8.0
Wine is major part of Proton, so if it works on proton it's usually possible to get it working on wine. (Changes to Proton branch of wine are regularly incorporated back into Wine).

What proton is - its a tested distribution of wine and its libraries AND nice wrapper around wine, that helps setting everything up so it just works.

If you want to get games working on linux, proton is the easiest and best way to go. But if you want to get some of the programs running, that are not supported under proton, wine might work.

unionpivo··on Revisiting KDE
You can embed an email client, if you want/need.

But it makes sense to embed terminal, since you often/sometimes want to run some command in that directory/folder. I never had a need to run mail in specific folder.

unionpivo··on My plane is not trackable without using non-public data
If you own Twitter and they use your app. You can track them every time they open your app. Which for a lot of people is often.
unionpivo··on FTX’s collapse was a crime, not an accident
Sure, that's is what it looks at first, but then if you look closer you see:

- Hiring compliance officer, who was on tape helping his former boss get away with fraud[1] (and that was not recent revelation)

- Using self deleting messages and encouraging others to use them, for important discussions [2].

- Alameda research having backdoor into FTX, just so they could do stuff without rising any red flags [3]

There are other things that point into direction of fraud, but this are the main 3.

[1] https://nypost.com/2022/11/20/ftxs-ex-chief-regulatory-offic...

[2] https://d1e00ek4ebabms.cloudfront.net/production/uploaded-fi...

[3] https://www.wsj.com/articles/alameda-ftx-executives-are-said...

unionpivo··on FTX’s collapse was a crime, not an accident
Because he thinks, that he can get away with it, thanks to political donations.

After all unlike Holmes and Madoff he didn't steal from the rich.

unionpivo··on Ask HN: Azure has run out of compute – anyone else affected?
> Without the ability to rapidly and arbitrarily scale, they're just overpriced server farms.

I mean that's what cloud is (outsourced server farm). Sure they also offer services on top, but that's mostly because they want to lock you in, and can charge more for, so it's a win win for them.

And there is no magic here, someone has to get the chips, build servers and connect them to network. And while they will often overbuild for capacity, they will never do it to a degree, where they can't run out, because that would be way to expensive and not financially viable.

I don't think any cloud will ever be able to guarantee to never run out of resources.

unionpivo··on Ask HN: Azure has run out of compute – anyone else affected?
GDPR is not some boogieman, it can be pain to do on existing products that were build pre GDPR, but if you are starting new project, being GDPR compliant is pretty straight forward and not hard/time consuming, unless you are explicitly trying to do something shady*

*privacy invasive that GDPR is explicitly set up to make harder, so duh

unionpivo··on Ask HN: Azure has run out of compute – anyone else affected?
Depends on how stable your needs are, but sometimes its cheaper even when you considerer total cost and not just for big deployments.

In the past 2 or three years, we probably moved more services off the cloud than other way. That said one reason for that is that most new services are build in the cloud, so there are less services off the cloud than on it.

Cloud is best, when you are starting out, when you don't know what you need, need high velocity of adding new stuff, of have very burst like demand for either traffic or cpu etc. Or if you are just small developer only team.

But if you have applications that are relatively stable, are mostly feature complete and you don't expect much sudden growth etc, it's useful to run the numbers if cloud is still something you want/need.

unionpivo··on Why Twitter didn’t go down: From a real Twitter SRE
The hard part of twitter is on server side.

I am not saying that writing twitter like app is easy, but writing it and keeping it running are two different things.

If you are not adding new features, you are just mostly keeping up with Android/Apple platforms, which can be annoying, but not that difficult.

unionpivo··on Why Twitter didn’t go down: From a real Twitter SRE
Sure, but nobody is upset if he sees twit 1 min later than someone else, since most of the time you can't even tell, a lot of people would bitch about 1 min latency on chats.

So twitter can afford to deliver those tweets with higher maximum latency than WhatsApp.

And it's scaling when you need to keep low latencies, that really kills you, at least in my experience.

unionpivo··on Why Twitter didn’t go down: From a real Twitter SRE
We are not talking future development, just maintaining status quo.

Rode map is just: keep it working, or whatever EM twitted about hour ago :)

But I agree it's way to optimistic number. You need at least a few for each platform, just because of bus factor, you also need people to keep in touch with Apple/Google reps etc., making sure bills are paid etc.

I imagine it will mostly be just minor tweaks and no major features, you can easily do both mobile targets by cca 10 people, not working crazy hours. There are plenty of successful apps with smaller teams, that make it work.

unionpivo··on Hacker News Parody Thread (2013)
And lets put the comments on the blockchain.

Everything is better with blockchainTM

unionpivo··on AWS and Blockchain
You can do the same things with ledger databases, it's just no so convenient, as just typing --force

If you have permission to replace database with with your new one (or spin up new instance of DB, adn redirect app to use that, depending on how you are set up), it's just not as convenient (by design).

I used centera WORM disks at my previous jobs, for added guarantees. (not by choice, stay away of you have a choice)

And once the GDPR came out, and we had to remove some content, that's what we did, made a copy, with bad data removed, nuked centera clean, (created new partition, and disabled old one) and restored now clean data on. As far as our applications were concerned nothing happened.

unionpivo··on AstraZeneca patients data exposed for over a year due to password snafu
> And in Europe they always are, in theory, thanks to privacy regulations.

Unless it was malicious (and you/government can prove it), it's companies fault.

unionpivo··on TomTom’s new mapping platform and ecosystem
It's never problem if it's just about small number of people.

When they track half of humanity, they can see all kinds of patterns that they, and other people can exploit.

Let's turn your question around. If all this information is that useless and harmless why are all corporations and governments spending tens of billions of dollars acquiring and keeping?

unionpivo··on Gigafactories are recycling old EV batteries into new ones
Dump it into Californians tap water supply apparently :)

On serious note, Chlorine is widely use chemical, used in cleaning products, bleaching paper and cloth, pesticides , rubber, and some solvents.

unionpivo··on The Perfect Commit
Most developers add new features by modifying/adding to an existing code/repo most of the time.

Hell even when you create new project, a lot of development environments provide basic scaffolding, that you then modify (or sometimes remove 95% of).

unionpivo··on The Rise of ‘Luxury Surveillance’
People often think that's the case, because it kind of makes sense. But real world data suggest it doesn't work that way.

In fact you are generally just making your problems worse. First and biggest problem is, that it turns small time crooks into hardcore criminals, because that's the only way to survive on the inside.

So unless you never plan on releasing anyone out of prison, having bad prisons is not great idea.

Second If prisons are so bad, it makes it more likely people will do whatever they can to stay out. There is big difference between spending 2 years doing some manual labor, having bad bed and bad food or being gang raped. And the lesion is not, no to do crime like you and I would hope, but to kill/intimidate witnesses etc.

← PreviousPage 2 of 21Next →