Better HN
topnewbestaskshowjobs
Log inSign up

capdeck

548 karma · joined Jul 6, 2018 (8y ago) · 106 submissions

Submissions

comment 6y ago · link · parent

>> 3. Halt foreign online payments

> That is extremely unlikely to happen.

That's what very much has already happened. Visa and MasterCard pulled their services a few years ago after another set of US sanctions. Also, if you are a business and using SWIFT to transact - US has the final say what you can and can not do. So now Russia has it's own payment card system MiR and working with China, India and even Iran on alternative to SWIFT.

I think it was a mistake for US to retract payment services. A smaller country may be severely affected by it indeed, but not a country of the size of Russia, China or India.

Now if payment networks were pulled, then what is next? Internet would be the logical follow-up. Hence the testing. It all makes perfect sense when you look at it from Rissia's side.

comment 6y ago · link · parent

> What once was old is new again.

Does this also mean it is a "step down"? Because it looks like it is. Aren't we supposed to be better off than we used to - with all the efficiencies of market economy and technological progress that is...

comment 7y ago · link · parent

Is there a point though, when badly written code becomes so hard to maintain and improve, that people would just avoid doing that altogether?

The reason "badly written" works for Open Source is that if code is useful - there will be someone in the future who will refactor it. In proprietary setting that only happens when the fate of the company itself (or a large chunk of the business) is at stake. Otherwise stagnation is king.

comment 7y ago · link · parent

Next step in ad blocking is using local trained AI to figure out what is an ad and what is not based on the content that it shows (regardless of origin).

May be more of a challenge with trackers as they don't to show ads per se, but may be the same technique can be used with "randomly" generated URLs - train an AI to dynamically make a guess whether the sub-domain (even first party) is a tracker or not. There may not be a clear marker, but there is always a pattern...

comment 7y ago · link · parent

Sounds a lot like "register for a chance to win..."

comment 7y ago · link · parent

Hmmm... : https://en.wikipedia.org/wiki/Communal_apartment

comment 7y ago · link · parent

> increasingly more Millenials [0] support censorship and surveillance

Not so much support, I'd say - but rather indifferent or "gotten used to it" to the point that it doesn't seem to be a problem in their view. It is much closer to apathy and ignorance.

There is a bit of a generational gap at play here. Most millennials were brought up in rather comfortable conditions. Food, health, stable life, education -- for them this is the world how it always have been and always will be. Fascism, world wars, dictatorships -- all that is a distant news on tv (that they don't even watch or have) or in history books (books? what are those?)

Also, with the never-ending facebook newsfeed, that automagically shows them things that they already agree with, fewer and fewer want to leave that bubble.

In other words, millenials are ok with total surveillance because they do not fathom the real implications of what survelliance state is going to be. They have nothing to "compare it to", no intuition, nothing to relate to. For them it will "never happen".

... which means when it happens, it will be really, really bad. It is akin to having early symptoms of cancer, but if you have never been close to such tragedy in real life, you just go on ignoring the symptoms, go on until it is too late.

I guess it is a fate of every generation, some kind of 3 generational "gap":

1st generation - experiences it, puts in laws and organizations to prevent it from happening in future (examples are United Nations after WW2, nuclear non-proliferation treaties between US and Soviet Union, etc.)

2nd generation - happy / golden generation that still knows remembers the lessons of the 1st one and enjoys the safeguards instituted after the events that are keeping them safe.

3rd generation - decadence and calm before the storm. No one is alive from 1st generation to tell them the horrors of the world wars first hand. 2nd generation are "old timers" and essentially ignored. Personal experience of the 3rd generation is comfort, convenience and never ending entertainment.

For the lack of a better metaphor: Winter is Coming.

comment 7y ago · link · parent

We have squandered our privacy rights by using "free" services and software. Now getting those back will be an uphill battle.

comment 7y ago · link · parent

I used to work in a company that had part of the process written in Lisp and it was in true production. Once the (fp) guy left the company everyone else had to support that code. What a nightmare that was. No one wanted to touch it with a ten foot pole. Should we had another FP guru in our midst, that may have turned out differently. But everyone was in agreement that that part needs to be rewritten in a language that everyone else is using. In real life - if most stuff in your company is FP and there is plenty of expertise to go around - do FP. If not - do not. :-)

comment 7y ago · link · parent

docker... for a compiled console game that only needs ncurses - what am I missing?

comment 7y ago · link · parent

Gig economy and driving an Uber are good examples. The latter doesn't even recognize you as an employee -- hence no rights.

comment 7y ago · link · parent

Everything can be justified by national security. You can't try and block something with "an end-less series of law suites" if the defending party doesn't even need to provide any kind of proof. "Why are we MTiMing HTTPS? This is un-constitutional! -- Because internet is a threat to national security which in turn has higher priority than your rights, Citizen!. Everything else is classified and will be discussed in a closed court." Take a wild guess what that court is going to decide...

comment 7y ago · link · parent

In absolute agreement here. Even though mutt's shortcuts are hardwired into my brain, I always check the new-comers out - especially ones written in a language that compiles to binary. There is something lost in this world of shady docker containers, epic javascript runtimes and infinite universe of python environment versions.

comment 7y ago · link · parent

Nope. That's a 7 mile "shortcut" for 100m bridge. It really takes time to feel the pain of all the foot guns in C. Just read Jim Blandy's awesome "Why Rust" summary instead https://www.oreilly.com/programming/free/files/why-rust.pdf

comment 7y ago · link · parent

Or even git(lab/hub)? if too lazy to set up your own.

comment 7y ago · link · parent

I recently landed in a small airport late at night and tried to get a (non-uber) cab... Yes, Uber is a monopoly.

comment 7y ago · link · parent

> But here's the kicker - those same teams are unlikely to use Rust anyway.

Absolutely disagree. Those are exactly the teams that will choose Rust over C++. It is well known that many shy away from writing plugins for node or python in C/C++ specifically due to the fact that they don't have enough experience with these unforgiving languages. The gap between Python/JS and C/C++ is wide and deep. But the use case is still there. If you have to improve performance of a component - Rust provides a lower barrier to entry and will be chosen by such teams.

comment 7y ago · link · parent

Yes and no. Yes, Rust requires more "mental cycles" to think upfront about the design, even of a simple tool. But, as they say, nothing is more permanent than temporary. A tool that you write as a one off, before long, ends up running critical infrastructure in production.

We all have been in the situation where we quickly put something together. With Rust -- you internalize some of the things you know the compiler will demand -- so tenth time you write something in Rust will be faster. But the beauty is that Rust compiler will force you to _gradually_ fix the design of your tool and the extra time you spend fixing it pays dividends when this code eventually becomes something everyone relies on.

Coding in Rust is like an investment: it requires some commitment and slows you down initially (for the right reasons!), but pays huge dividends and return grows exponentially over time.

comment 7y ago · link · parent

You are mixing "fancy tools for mature language" with core capabilities of another (that will enable even better fancy refactoring tools in future - tools that can make more complex refactoring tasks fully automated). If anything, the fact that what used to be an external tool has migrated to core feature in Rust is a testament to how forward looking the language is. Imagine what that will enable in tools to come!

comment 7y ago · link · parent

Main reason is for you to only use cloud storage and services. Google doesn't make money if you own your music and play it at will from an sd card. Google makes money if you have to shell out $10 a month to play the same music again. Replace <music> with anything else -- works the same.

Big tech wants you to not own anything, because in that case you'll have to subscribe to everything. If you can't subscribe or you don't have enough money to subscribe they'll make it "free with ads". But one thing is a no-no -- you buying and owning any content.

comment 7y ago · link · parent

... and just add that to the shopping cart (don't make an actual purchase) so I can review and click order next time I am buying stuff. May be there was such an option - don't know - never used the buttons.

comment 7y ago · link · parent

NPM is using Rust on the backend

comment 7y ago · link · parent

> 2, 3, and 4 are made by private companies. Not government.

But government pays them to develop the code. For many such companies government is the only customer (whom else are you going to sell the traffic light software to?).

comment 7y ago · link · parent

Why eat an appetizer, main course and dessert separately? Just put them in the blender and gulp in the goo... Also because entropy.

comment 7y ago · link · parent

From the article:

> Ms. Grupp, 66, said she wasn’t rich, and was disturbed by the letter. “I kind of resent it,” she said. “I don’t think they need the money.” The hospital last year reported nearly $48 million in net income and paid its chief executive officer $1 million.

This is where it goes. That said, if I could spare $200k, I would if I had the information about which % of that money went to actual equipment and patient services. I think that information is available for non-profits, but I am not sure about hospitals. There will always be admin waste, but the best way to decrease it is to reward more efficient hospitals.

comment 7y ago · link · parent

PEBKAC classic. But I have to second the keyboard sentiment. I can't rely on it to be decent on anything but lenovo these days, may be not even...

I have HP probook where you can replace the keyboard easily. When I got the machine with "premium" keyboard, a few keys were wobbly, made different squeaky sounds and had overall inconsistent feel to them. I went to HP website and ordered a replacement -- it came with other keys being bad. I called HP and they sent me replacement for replacement -- the same story -- their keyboards are just so cheaply made and quality control so lacking, that you have to be very lucky to get one with all keys working consistently.

Keyboards are the worst part of the laptop these days.

comment 7y ago · link · parent

Not much, actually. But you have to keep in mind that adding anything extra to something that is going to be massively produced cuts into margins quite noticeably. Mass manufacturing is a relentless exercise of cutting corners and this is not the only place where Apple did that. It's just the place where they cut one too many.

As mentioned in other comments here Apple products may be designed to look "sexy", but from "where do we cut the costs" point of view it is no different from Dell or Lenovo. In fact, from this article it seems like both quality and serviceability of Apple products are definitely worse, and unless the looks and thinness are #1 and #2 considerations in a laptop -- you shouldn't buy Apple.

comment 7y ago · link · parent

This is a very valid point. While I don't have all the answers, but it seems like if a person is pulling an honest 40 hour week they should afford at the very least a real minimum standard of living, regardless of what that person does. I know this sounds hairy and anti-capitalist and "who is going to pay for this", etc. But this is what real value is in my opinion.

comment 7y ago · link · parent

Wanted to second that the author mentions C as being "simpler" alternative -- doesn't make much sense as it is quite a "footgun" it itself. I'd much rather search for missing indents in Python than debug segfaults in C. Also, package managers are almost not a thing in C land. Did OP try Rust -- that may check quite a few of his boxes...

comment 7y ago · link · parent

When technical means will stop working they will issue the laws that make e2e devices without backdoors illegal or not easily obtainable. Not completely apples-to-apples comparison, but look at all the iPhones and androids where you can't have root and can't load another OS, can't side load apps in apple's case. In China you already have to have an app on your phone mandated by government at all times. And if you opt to have a "freedom phone" -- your life will become quite inconvenient (with some services impossible to get). TL;DR: even if e2e everywhere happens, it means nothing if you have to have a mandatory app on your phone.
1234