HNHacker News
TopNewBestAskShowJobs

dullgiulio

1,464 karma · joined December 16, 2014

https://github.com/dullgiulio
submissionscomments
dullgiulio··on Rebuilding our tech stack for the new facebook.com
I really don't want a video to autoplay on the side of the screen when I'm reading some news article, for example.

It was so much better before when there just were less ways of doing what the website wanted and more ways of doing what you wanted with your browser and your computing power.

dullgiulio··on SoftBank expects $24B in losses from Vision Fund, WeWork and OneWeb
I'm pretty sure this all happened in spite of what SoftBank tried so that investors would not discover how bad WeWork is as an investment.

We could start from the fact that is a real estate company and not a tech unicorn...

dullgiulio··on QUIC – Will It Replace TCP/IP?
On the other hand, a protocol that has been battle-tested and proven to work in the real world makes it much easier for a standards body to accept: there is less risk of making a standard that nobody uses.

The important point is not to make proprietary deviations to the standard. Of course, Google is guilty here (Chrome-only web service, mostly) but when it comes to network protocols they haven't behaved badly, especially when others were pushing for HTTP/2 without TLS and other harmful ideas...

dullgiulio··on Etymology of tea
Estonian is even worse, as "tee" is also road (in Finnish, "tie").
dullgiulio··on C++ Pattern Matching Proposal [pdf]
Thankfully C++ is far from the only language that compiles to native.

Many others don't even have the same insane "features".

dullgiulio··on Russia deploys Avangard hypersonic missile system
Makes sense. The video simulation shows satellites correcting the glider's path after it has left the booster. They even drew the hot plasma around it...
dullgiulio··on Russia deploys Avangard hypersonic missile system
Perhaps a stupid question, but during the re-entry glide I'd expect the glider to be shrouded by plasma. Doesn't it stop radio signals? How does the glider get information on the route?
dullgiulio··on Russia 'successfully tests' its unplugged internet
I guess they would simply cut it in half by disconnecting the Russian ISP to the German one. Even VPNs stop being useful if all connections to the outside are severed.
dullgiulio··on SuperShuttle is going out of business
Just wanted to point out that every Soviet citizen could have predicted this. They have tried marshrutka: https://en.m.wikipedia.org/wiki/Marshrutka
dullgiulio··on What Did the U.S. Get for $2T in Afghanistan?
I don't understand the downvotes, this comment is quite on point. Both the British and the Soviet ended up fighting in Afghanistan and regretting it. It's an historical fact, regardless of what you think of the US invasion.
dullgiulio··on Deep Dive Into C# 9
Thanks. I don't really understand what is light about that.

Being able to compare memory to compare two object doesn't make an object any lighter, compared to magically calling a compare method on the object itself (can be decided at compilation time, thus no performance penalty: it depends on what the compare method does.)

Immutability also doesn't make the object lighter, it's again a compile-time property.

I am still missing something...

dullgiulio··on Deep Dive Into C# 9
What is the "lightweight" part of records? Is it because there is no need for a vtable as there is no inheritance?
dullgiulio··on If you're busy, you're doing something wrong (2011)
What are you trying to imply?

Microsoft paid hefty fines for its monopolistic behavior...

dullgiulio··on Let's Create a Simple Load Balancer with Go
True but mutex/channel is a false dichotomy: mutex serializes, channels orchestrate.
dullgiulio··on Let's Create a Simple Load Balancer with Go
Probably the confusion comes from the Latin word "index", whose plural is indeed "indices", although nowadays "indexes" is extremely common.
dullgiulio··on Estonia has a new way to stop speeding motorists
Cold and dark in winter. But it also has disadvantages...
dullgiulio··on Estonia has a new way to stop speeding motorists
Very fond of the idea. Italy does something related in the "Tutor" system that fines based on a long average speed (average measured in a long segment using licence plate recognition).

This avoids the trick drivers use to avoid a single speeding camera. The fines system is more traditional, however.

The system works because the toll roads in Italy have exclusively guarded entrances and exits.

dullgiulio··on Learn and use fork(), vfork(), wait() and exec() system calls on Linux
All these systemcalls (except wait(2)) are just facade for clone(2), which has a whole bunch of options.

Basically everything from threads to program invocation is just this one powerful systemcall.

dullgiulio··on Estonia is running its country like a tech company
The government has been running "on the blockchain" for a while, with projects like the X-road, which are also used by other countries (the other two Balitc countries and Finland).

It is a blockchain in the only way that makes sense: a cryptographically secure ledger run by a central authority (government).

dullgiulio··on Estonia is running its country like a tech company
Citation needed? My Estonian bank has offered instant payments in the EU for free for more than one year, an app that buzzes my phone at every payment I make with my contactless card, or use the phone directly as bank card... Without using Apple Pay. Something I rekon is still not common in many countries including the UK...
dullgiulio··on Estonia is running its country like a tech company
It's clearly stated that the tax level is 20%, not a tax-haven at all. Estonia in general is very far from the ultra-liberal country it has been depicted in the past (especially by the US Republicans): it has average EU taxation, minimum wage, taxpayer-funded public healthcare, ...
dullgiulio··on My favorite Rust function
Those above are not integers but type that you have to explicitly cast integers to if you really want. Please don't make uninformed comments.
dullgiulio··on AWS Elasticsearch: a fundamentally-flawed offering
Considering that Confluent actually develops the Open Source Kafka project, I expect these problems to be AWS only. Go for the real thing and don't give Bezos money for a crippled product.
dullgiulio··on Caddy Proposal: Permanently change all proprietary licensing to open source
If you start an nginx reverse proxy and it cannot reach upstream, nginx won't start at all. Only way to fix this is to pay.

Some friends got hit by this: they forgot some upstream from a domain that got removed, at the next nginx restart the whole server didn't come up.

Basically you have to pay for basic error handling. It's not "more advanced deployments" at all.

dullgiulio··on Why should I always enable compiler warnings?
An even better solution for the "for" example is enforcing the curly braces around every block. Simple rule, no heuristics to catch such bugs.
dullgiulio··on Caddy Proposal: Permanently change all proprietary licensing to open source
Nginx does have paid-only features, so I don't really think your "purity move" hit the target...

The harsh truth is that even Free Software costs money to write, and developers should be paid.

dullgiulio··on Go Interfaces, the Tricky Parts
But again, it's easier to solve your problem if you state it differently. Why do you want to know who implements an interface?

In a statically compiled binary, the compiler will complain at every conversion if the interface is not satisfied.

dullgiulio··on Serverless: slower and more expensive
Yes, but the parent said "statelessness that makes it easier to TEST". It is not stateless in that sense: purity makes it easier to test. Here you need to mock all interactions with external services, just like you'd do with non-serverless applications.
dullgiulio··on Serverless: slower and more expensive
Just to be clear: lambdas are not stateless if you, for example, connect to a DB or use any other external service.

State could be somewhere else, but if you are not also "pure", you don't have any improvement over a normal service.

dullgiulio··on U.S. drone strike kills 30 pine nut farm workers in Afghanistan
I think the parent is saying "how do reporters have better intel than the military?"

Then of course it might be the case here that civilians were targeted, by mistake or on purpose. But the parent point is quite valid.

← PreviousPage 2 of 18Next →