HNHacker News
TopNewBestAskShowJobs

mack73

146 karma · joined August 12, 2016

submissionscomments
mack73··on Why Use Postgres?
From reading the documentation [0] I can't help but feel a bit underwhelmed by the feature set of a GIST index. Maybe I'm not looking in the right place, but what index provide near mathes (fuzzy, prefix) as well as exact term matches?
mack73··on The psychological importance of wasting time
You must all be very popular people since you have to have a strategy to get out of doing things with others. Most people have the opposite problem. You'll seem very unsincere after a while though, if your strategy is to not tell the truth.

Is it that you don't want to hurt the feelings of others that you lie? It's a little immature.

mack73··on A response to “Why you can't be a good .NET developer” (2016)
A strong dev team will shine on any platform and in any language. A weak dev team, given the right tools, can at least be productive. Which is why business people who build business and need devs often settle on .net. Microsoft learned long ago how to cater for the needs of these weak teams.

Are there lots of weak tems on .net? Sure, I would argue that is true.

> you can't be a good .NET developer

Really? That is Rob's conslusion? That's laughable. The best programmers I know are extremely strong .net developers. I'm no Jon Skeet but I personaly view myself as a 7-8 (out of ten) irregardless of platform.

If you identify with the platform you're on you are doing it wrong.

mack73··on Feynman Algorithm (2014)
Yeah that's the one, thx.
mack73··on Feynman Algorithm (2014)
>I had a calculus book once that said, 'What one fool can do, another can.'

A link to a pdf file of a copy of an old calculus book from early nineteen-hundreds showed up on HN a week or so ago. I read the first couple of pages. That quote is likely referencing that particular book. I have lost the link now. Anyone remember?

Edit: sry, that was weak Googleing from my part. Here it is: http://djm.cc/library/Calculus_Made_Easy_Thompson.pdf

mack73··on User-Made Patch Lets Owners of Next-Gen CPUs Install Updates on Windows 7 and 8.1
Is Windows 7 abandonware to Microsoft? If so then this violation of terms might just fly under the radar of their massive team of lawyers.
mack73··on North Korea attempts but fails to launch missile: South Korea
Capitalism vs Dictatorship

1-0

Here is a similar statement: Since USA suck at [something USA sucks at] capitalism is clearly inferiour to [something that isn't capitalism].

mack73··on North Korea attempts but fails to launch missile: South Korea
I don't think what we need right now is a world police, especially not an American one. But, since you mention a region on earth that you seem to think is in need of integrating with the rest, what would you think would happen to the region that is USA if civil war cracked it open? Do you think at least half of that country could be integrated with the rest of the world?
mack73··on The Case for Shyness
"hurt and bored by alpha males"

But we should give most alpha males a break, I think. They're as insecure as you are, probably. Most alpha males I know are quite fun to be around. You get to stand in line outside of clubs less.

Always try to know at least an alpha male.

mack73··on The Case for Shyness
"Masculinity is defined by..." Masculinity is not always prefered, at least not as the stongest trait in a person.

Shyness to me signals curiosity, a person with a healthy dose of undecisiveness, someone still learning. It's attractive to be in a learning or growing phase.

Me, personally, when it comes to women, I like them medium-shy.

mack73··on The Case for Shyness
> Shyness is a mental disorder and a severe disadvantage.

No, and not always.

E.g. from my experience, many intelligent and beautiful women prefer the shy type over the boastful sales person becuase it signals you are a thinker and that you take nothing for granted. In that context, is shyness really a disadvantange?

Many employers also think like that.

But can shyness be a sign of a certain degree of imaturity? I think so, more than I subscribe to the idea it's a disorder.

Do you suffer from it and beat yourself up because of your shyness? Then it's a problem, perhaps a small issue with your self-esteem. It can be fixed though. Just like almost anyone can learn math, almost all mental hickups can be fixed, if you have an interest in fixing them.

mack73··on We’re dropping Google Ads
I have a solution to the problem of having an ad network (Google) as the dictator of the internet.

1. Create a new browser where the concept of a URL is missing.

2a. Make terms, keywords, concepts first-class citizens. Ban URLs alltogether. Search using keywords to get to the places you want to go, not by typing URLs.

2b. Make it so that the browser gets smarter as you go and accustomed to your prose (the way you formulate your queries).

3. Make it so that the internet index is centralized so that all your browsers use the same "lookup URLS through keywords" service. Also let people use a local index version.

4. Create a buzz around this new browser. Start in the tech community of your choice. They will love using something that has a fair chance of becoming a Google-killer.

5. Your mom and dad already want to use this new browser. URLs are not important to them. Today, they google for "www.facebook.com" before starting their internet session.

6. We are done here. Internet has re-booted. We all profit.

Point 2b makes this perfect for the [random tech incubator], wouldn't you agree?

mack73··on How do you make programmers work 60-80 hours per week?
Yes and it was also a while ago since I studied. Your numbers seem correct. Extra health insurance is often provided to you by your employer though. With standard health care a broken leg is the same price as an ear infection. Extra insurance in some cases equal a doctors apointment within the hour instead of waiting a day or so. 25 days = 5 working weeks. Our parental leave is outstanding.

My point was not to say we have not come a long way in Sweden. It was to question if that really makes us feel less like slaves to the system. My view is we have built this system to make sure we have a happy work force. Allthough that might not sound sinister, it does make me feel part of a system that it is hard to opt-out from.

I definetly feel like a slave to the monetary system. But this is already way off-topic.

mack73··on How do you make programmers work 60-80 hours per week?
Yes you are right. I mix up those to.
mack73··on How do you make programmers work 60-80 hours per week?
Yes, in Sweden we have laws that protect the employer to a much higher degree and we also have a very static work force. You can easily go this route: learn something, get a job, don't steal or do anything criminal, keep that job until you die or get replaced by a robot. And many do. And get very anxious at the prospect of ever changing occupation because of their mortage. I job-hop alot though (without anxiety, because I'm in demand).

I thought the American system would at least to some degree make job-hopping a non-issue, giving you a much more flexible work force, not anxious, since the fact that you can get fired and have to leave the same day goes both ways. But perhaps that worry comes from not having any type of security nets where we have at least a few. So sure, I see where you come from when you say an American employee is a slave to the corporation that gives him health insurance. He can hop only to other employers with health insurance. He will have less options than me.

We are healther in Sweden, perhaps, but slaves to the money system like everyone else.

mack73··on How do you make programmers work 60-80 hours per week?
>Don't exaggerate what I said

Alright then.

>When one does lose their job in Sweden, what happens when you break your leg next week? or get cancer?

Care for children is always for free in all clinics except private ones. Care for the rest of us cost 30 EUR, no matter if you have a job or not. There is an upper roof of how much your yearly medical bill is. This roof stays the same if you have a job or not. I have it that roof a couple of times but never for acctual medicine bills, so I don't know exactly how it works for medicine, but doctor bills, the upper roof is 10 doctor visits for 30 EUR then a year of no doctor bills.

Many have extra insurance to conver for events where you loose your ability to work.

>How much student debt to those in Sweden incur for a 4 years bachelor degree?

One part of the debt you take on you never pay back. That part is like a carte blanche check that students get to spend on whatever education they like, at University level. Second part is a loan. Some work part-time while at University and others hit the roof which would be something like 17 semesters and 17*2000=34K EUR. Then you start paying that back as soon as you take on your first job but never over ~1% of your income.

>How many weeks of leave does Sweden mandate by law from full-time work?

5 weeks. Many have 6 weeks. You can get those in money instead of as vacation. 4 weeks is around a months pay.

>How about maternity leave and sick leave?

Everyone have sickleave. First day: no money for you, poor sick fellow. Next day its around 70% of your pay. If you are chronically ill a special incurance takes care of you, puts you in early retirement.

All mothers: around 300 days of leave per child. You get goverment money during those days. All fathers: minimum is 3 months I think? They can also use some of the mother's days.

mack73··on How do you make programmers work 60-80 hours per week?
I like pairing for those reasons as well. Also, I can keep my concentration up more easily when there is a requirement for me to do so, e.g. when I'm intercommunicating. It's when I talk to myself that I get distracted the most.
mack73··on How do you make programmers work 60-80 hours per week?
Nobody outside of NA are scared of loosing their jobs, is what you believe, because of how enslaved to the system Americans are?

Households in Sweden take on heavy debt. If we loose our jobs here some of us fall back for a while on a (voluntary) system which from an angle looks like a basic income but that cover only a fraction of that household's mortage, enslaving us to a system in the same way Americans may seem enslaved in their.

I always though Americans were used to and didn't have a lost sence of security when job-hopping, the way their employment system is designed.

Edit: clarified the opt-in nature of such an insurance

mack73··on How do you make programmers work 60-80 hours per week?
Putting in 25-30 good, quality hours at work each week and then 30 more hours a week on my pet project, I would not classify an hour as good depending on if I produced code or not. A good hour too me is one where I could keep my concentration on work, thinking or coding.

It's doable, working two shifts. It takes a 30 minute walk from work to home to reset and prepare myself for shift #2. If my boss want both those shifts though I shall ask for double the money. I don't see how I could be working any more. This is my max. Both shifts require a creative and hungry mind. I'm very hungry at the moment but I suspect this is a phase.

mack73··on Coming in 2018 – New AWS Region in Sweden
Didn't now that, thx :)
mack73··on Ask HN: What Is the Google 'Software Engineer, Machine Learning' Interview Like?
What all HN readers know and need is a good balance of humourous as well as serious content. Humor is not easy. We should cut humor-aspirers some slack and never vote while angry.
mack73··on Where will UX Design be in 5 years?
UX = UI + ?

UX % UI = ?

Is it a feeling or a thing perhaps?

mack73··on Coming in 2018 – New AWS Region in Sweden
You're biased, you mean?
mack73··on Interesting data structures: the BK-tree
The idea of representing a large corpus in a compressed form and learning both concepts as well as semantics about that corpus is facinating to me. A tree like the one described in the article measures semantic distance, much like a character trie does. What data structure support storing or calculating conceptual distances? I've read about word2vec and the mechanics behind the training process but never how that looks in memory or when serialized to disk.

Also, is there a link between the sematic and conceptual distance between two terms, does anyone know?

It would surprise me if there was such a correlation, because the concepts of "near" are different in the semantic and conceptual world. Then again, it would be facinating if there was.

mack73··on Interesting data structures: the BK-tree
Because today we're wondering a whole lot about how to represent big data in memory over many machines if you're problem is in such a way divisable, or on one machine if possible because what we want to do is to draw conclusions from that data, by querying it, and if we find a way to both store big data cheaply in a form where it is still queryable, then we have solved a problem most businesses today tamper with, that is what do I do with all this data?

Businesses are getting crushed under the weight of their data. They "solve" it by stashing it onto Hadoop. Unfortunately, no one then knows how to map/reduce over that data. So they're none the wiser even though they kept the data that could have made their analysts smarter than their competitor's. This of course totally awsome if you're a Hadoop consultant.

Well, that's at least why I dwell on data structures.

Edit: spelin

mack73··on Interesting data structures: the BK-tree
Sounds like you're only two-three LSD trips from a major break-through. Good luck man!
mack73··on Interesting data structures: the BK-tree
Thanks, The idea behind the BK-tree is ingenious.

I'm struggling with finding a use case for that data structure through. Why would you construct a BK-tree that would only become powerful when it contains millions of words, which would then create a nuisance when representing that amount of data in memory, making it not so fast anymore, when you could represent the same data in a compressed form and with the same (as well as an extended set of) querying capabilities?

Perhaps BK-trees are for big machines with powerful CPUs? I'm sure there is a setup that would make that tree in fact better than any other tree.

mack73··on Interesting data structures: the BK-tree
Very interesting model that suffers from a couple of things that other data structures solve better IMO. One thing that I don't understand and I guess I have to go back and read the article again, is how the distance from any node X to the arbitrarily selected root M tells me anything about the distance between X and the query term Q. If I live in London and the distance from me to Paris is 50.000 km, and you live in Rome, 70.000 km from Paris, that does not give me enough to calculate the distance between Rome and London.

IMO there is no data structure better suited for a search tree than the doubly-chained character trie [0], as it has the following features:

- small in memory (every word is stored once at the most, but more often less than once)

- traversing and doing exact matching allow you to prune half of the tree at every step

- requires you to calculate the distance only at querying time, not when constructing the tree

- apart from exact and fuzzy matches also support prefix matches (traverse up to the path of the prefix, return all children that are EndOfWords)

- can be represented on disk in a way that makes reading insignificantly slower than reading from memory

- if nodes are lexically sorted when tree is constructed, you have also pretty much solved range queries

[0] https://github.com/kreeben/resin/blob/master/src/Resin/IO/Lc...

The trie is to be the perfect tool for when you find yourself combatting big data. What you find out eventually about all of the cloud offerings from all of the big players that claim they will solve both storing and map/reducing over your data is that you can do the same thing on your laptop, for cheap money, as long as the data is represented in a compressed form that still allow for querying. The trie is a zip file and a search engine in one.

Edit: formatting and clarification

mack73··on [dead]
This is link-farming at its best.
mack73··on Paving the way for human-level sentence corrections
Once we have strong AI, whatever that buzz word means, what then would be the usefulness of understanding slang?

Personaly I think the usefulness is already to be able to enterpret a concept encoded in slang as the same as the concept derived from a message encoded in a different dialect (or language).

I would never assume a machine spoke this language, only that they understood it. Machines should evolve into speaking succinctly as to not include unneccessary complexity in their messages as they would strive to be well-understood like all other persons do. I fail to see why we would want to produce slang-encoded messages, unless we want to mask the fact we are a machine.

Page 1 of 3Next →