1,673 karma · joined Sep 27, 2013 (13y ago) · 683 submissions
Software design and implementation should be a joyous art, a kind of high-level play. If this attitude seems preposterous or vaguely embarrassing to you, stop and think; ask yourself what you've forgotten. Why do you design software instead of doing something else to make money or pass the time? You must have thought software was worthy of your passion once...
To do the Unix philosophy right, you need to recover that attitude. You need to care. You need to play. You need to be willing to explore.
comment 6y ago · link · parent
If they want to fight this, the most effective way would be a nation-wide ban of VPNs, ip blocking and deep packet inspection to discover and ban other tunnels/VPNs. Sure, you can rent your own server and run shadowsocks on it but it will complicate the process.
In Turkey, I feel like most VPNs are actively banned, it’s a roulette basically to get a working one. The only reliable solution is to rent your own server and setup your own VPN. I think in China, they can also find out and block those.
comment 6y ago · link · parent
As for the post, IMHO the danger of using your phone to access these is that you’re constantly thinking of the media you’re consuming without any breaks. For example, at universityvI was extremely proficient in distracting myself for hours on end by reading every single comment on HN submissions. I started the day with mindless wikipedia readings and HN and didn’t have much energy/mental capacity to do anything else.
comment 6y ago · link · parent
comment 6y ago · link · parent
OTOH, why does a German company keep 2 billion euros in a Philippine account, that’s strange.
comment 6y ago · link · parent
comment 6y ago · link · parent
BTW, adding some contact info to your HN profile could help in the job search. Best of luck!
comment 6y ago · link · parent
Nevertheless I think the C# way of choosing generics over comparison without semantic processing is strange. The example above should run as intended (as a simple function call with two arguments) and not fail because of some spec rule.
comment 6y ago · link · parent
Clang basicaly moves the semantic processing to another pass, and tokenizes both types and variables as ‘identifiers’.
I’d agree that C/C++ have some sort context sensitivity. However I think this is not an ambiguity. You can deduce a single logical solution when you see T *x; . If the T in scope is a variable you do multiplication, if the T in scope is a type definition you make a variable declaration.
Real ambiguity happens when there are two logical solutions to the same statement and the language specification has to prefer one to remove ambiguity and undefined behaviour.
For example a C# code example from spec that is ambigious and therefore doesn’t compile:
“ static void F(bool a, bool b) { Console.Writeline($”{a} and {b}”); }
static void Main(string[] args) { int G = 2; int A = 1; int B = 2; F(True, False); F(G<A, B>(7)); ”
The compiler prefers to interpret the last line as a function call with one argument, which is a call to a generic method G (that doesn’t exist in the code above) with two type arguments a one regular argument. Instead of one function call with two boolean arguments.
comment 6y ago · link · parent
Does homomorphic encryption allow running operations blindly on an encrypted dataset and return encrypted results without ever decrypting the dataset?
comment 6y ago · link · parent
comment 6y ago · link · parent
What I found most interesting was that I saw a video of the creators of plan9 who were running it inside a Windows VM. At that time, I thought if those guys formerly working in the experimental OS division of Bell Labs are not bothering with Linux hardware support and simply using Windows, why shouldn't I. I forced myself to use Windows as a host and ran a Linux VM for development for 6 months or so, then I gave in again and formatted back to Linux.
The same stubbornness that led me use Linux for years also led me to switch to FreeBSD, because off-the-shelf Linuxes became so decent that no config was necessary. (I also jumped on the systemd hate train.) After switching computers and getting a modern one I couldn't use FreeBSD because of GPU support. Now it has support but I don't go back to FreeBSD. I got older and valued my time more. Debian is what I feel the most comfortable with and I shall use Debian for a while.
OTOH, I really also want to try NixOS and DragonFlyBSD as my daily drivers at least for a couple of months :).
comment 6y ago · link · parent
I feel like I am being suffocated when I'm using windows for development. My current solution is to keep a windows laptop for browsing/light gaming/travel, keep a Linux desktop for programming.
But we probably feel this way because we know Linux and many things are incorporated in our muscle memory. If we spent nearly equal time on Windows, it could be hard to switch back.
comment 6y ago · link · parent
What interested me most is that Pardus project had its own packaged manager called PiSi, which was then adopted by Solus.
I bet Pardus project had their own reasons to adopt the apt system and rely on Debian volunteers for all packaging support. As the OS is largely maintained by a government institution, I'd imagine it doesn't have the large userbase as Debian does.
There are also some other cool projects made for Pardus, for example Zemberek, a spell checker for the Turkish language that uses natural language processing for Libreoffice and Openoffice: https://github.com/ahmetaa/zemberek-nlp
comment 6y ago · link · parent
For contracts, there is a customary order, you start with subject of the contract and end with force majeure, severability, term etc.
I don’t believe there is a hyperlinked inherent structure in legal documents. Skilled lawyers can of course draft a meaningful, concise document. But, I think that’s analogous to a skilled programmer writing clear and understandable code.
Most lawyers I know dread formatting and checking for cross-refs.
However, I think we do have one quality, we are used to subconsciously analyze sentences for ambiguities, double meanings, logical contradictions etc. Therefore, lawyers may use English in a way that would do the least harm (or most harm depending on which side they’re on :)).
If we figured out natural language processing or (even if very unlikely) switched our legal documents to an unambigious context-free language such as Lojban, lawyers’ jobs could be entirely automated.
I suspect that impressively structured legal documents stem from templates that have been perfected over the years by multiple lawyers, battle-tested by actual use.
That’s my impression being a junior associate and normally doing the grunt work of checking cross-refs and formatting contracts.
comment 6y ago · link · parent
Propriatery for me means closed source, not free (as in freedom). All the free applications that spy on you do not share their source code, therefore are in nature propriatery.
As far as I understand Qt considers to put a 12-month delay before opening up its source code.
I think this would be a zero-sum game for Qt in the long term. They will continue to milk their existing commercial userbase, but lose the support of the community.
comment 6y ago · link · parent
For me at least, I found that watching comedy series helps a lot to figure out social transactions. As a positive byproduct you learn to make jokes, which can also help in your pursuit to become socially appropriate.
I also find that if I stay away from computing for a while, I tend to get more normal.
Putting an effort into dressing acceptably (clean, fitting clothes), getting regular haircuts, figuring out how to chit-chat, generally smiling and nodding are my current strategy to fit in.
comment 6y ago · link · parent
Avoiding updates and ignoring notifications could stem from a different reasons. People may not want to take the time and maintain their phones. I consider myself a techy person, but I also put off updating my phone, taking good care of it, upgrading it. I also dread tidying up my room, getting a hair cut, shopping for clothes, eating healthy, sleeping well etc. It could be a personality trait.
Avoidance conserves energy :)
comment 6y ago · link · parent
A third solution could be to require device manufacturers to share their source code with a trusted third party (such as google/certification authority). This third party will make sure that the driver does not include any harmful code and provide signed binaries. Binaries could also be updated for newer versions that way, even if the original manufacturer loses interest/goes bankrupt. If the IP gets stolen, the device manufacturer could sue this third party, therefore business people will also feel secure.
It is not ideal, but I could be able to live with this solution.
comment 6y ago · link · parent
For example, I work as a lawyer in a law firm. There are a couple of associates who I suspect are in fact on the spectrum. People sometimes make fun of them, they generally like to work alone and in isolation, but they are brilliant attorneys and praised and respected for their work.
comment 6y ago · link · parent
But I think the greatest help in my social skills was watching a lot of TV shows (especially sit-coms). Many make fun of socially awkard situations, word plays, misunderstandings taken to the extreme teaches you social interaction by example and it's fun :).
comment 6y ago · link · parent
A solution could be to stop the movie for everyone, get the timecode. Send everyone the new timecode and start the movie from there after the countdown.
(heck, this could even be a sync/break feature. If someone’s internet connection gets disrupted everyone can stop and sync. Or if they want a movie break, they can do it like this.)
comment 6y ago · link · parent
In my experience (as someone working in Biglaw), high pay equals high stress, because the employers demand it.
comment 6y ago · link · parent
On slow days, I don’t want to raise my efficiency that much , I take my time and review more thorougly. But on busy days, where I bill 13+ billable hours for a week, I’d want as much efficiency as possible.