Better HN
topnewbestaskshowjobs
Log inSign up

voidlogic

3,297 karma · joined Nov 15, 2012 (14y ago) · 1,171 submissions

Submissions

comment 13y ago · link · parent

>>The Go authors have repeatedly stated that they will not be implementing generics.

Not so http://golang.org/doc/faq#generics; "This remains an open issue." In the discussions I have read, if an implementation of generics is proposed that doesn't sacrifice performance and it truly generic, they are open to it.

What I have seen said is that implementing generics was not on the table for 1.1 or maybe even 1.x

comment 13y ago · link · parent

>>Any plans to add templates/a form of generic programming?

The Go team is open to generics as soon as there is a proposal they feel fits right without performance penalties. Read: http://golang.org/doc/faq#generics

>>Does the community care about that?

Yes, but most people in the Go community are OK waiting for the "right" solution.

>>How have people been working around that?

Generics are nice and convenient, but you can write anything/everything without generics. Just look at everything written in C. And C doesn't have interfaces like Go.

comment 13y ago · link · parent

I see. I guess with all the allegations of bias against programmers older than 28 (or whatever age) I was confused by the messaging here.

comment 13y ago · link · parent

>>I'm 36 years old

What does this have to do with anything? 36 is neither young, nor old. Is he saying it took forever because he is 36? I would guess someone's first real software on any new platform takes them "forever" compared to app 5 or 6...

comment 13y ago · link · parent

>>Administration swore up and down nothing targeted was happening in the run up to the 2012 election, and now, surprise, surprise, it turned out they lied.

This is jumping to conclusions; as of today there is no evidence anyone outside of the IRS had knowledge about these alleged targetings. It is not as if all politically motivated acts require being orchestrated by top politicians, partisan politics can happen at all levels of government. Of course when they are, it does make for much juicer news.

comment 13y ago · link · parent

While this is a very cool sport and the armor is very nice, I think it is important to point out unfortunately the techniques these guys use are not historically sound. Historical manuals such as the German Fechtbücher clearly describe how to fight in and out of armor (harnischfechten and blossfechten) and what these guys do is neither. This is for the simple reason that the harnischfechten would still be lethal and blossfechten ineffective. If you see a "reenactment" or movie and people are swinging sword against someone wearing armor, they are "doing it wrong" from a historical perspective.

I think its interesting that something like BoN, which is like SCA on methamphetamines, gets so much attention when actual martial arts events such as Swordfish are ignored by the media. https://www.youtube.com/results?search_query=Swordfish+2012+...

comment 13y ago · link · parent

>>the Benchmarks Game does not perform a warm-up before it runs the benchmark

This hurts Java too, so at least the use case is apples to apples.

>>It would be cool if Benchmarks Game did a warmup, too.

You should open a ticket/request if you think so?

comment 13y ago · link · parent

Also this shows DeltaBlue as faster on Java when warmed up: https://github.com/xxgreg/deltablue

comment 13y ago · link · parent

I'm not sure of DeltaBlue or the Computer Language Benchmarks Game is more representative of "average programs", but they appear to give very different results in their comparisons. On the Benchmarks Game dart is crushed: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

I guess people will have to decide which results are more likely to reflect the performance of their applications. But the extreme nature of the difference is interesting in and of itself.

P.S. I have not looked at the Java code to see if it is idiomatic Java either- And this really make be want to port DeltaBlue to Go...

comment 13y ago · link · parent

Some are good points, but others seem entirely depending on the view of the culture passing judgement. For example, the remark about Anglo culture being seen as "cold and passionless" by Latin cultures is meaningless. The Latin cultures are seen by Anlgo cultures as "uncomfortably and inappropriately intimate". Just ask any American or British woman who has visited Italy and has had random men talk to them.

I find the empirically verifiable statements, like those on health, or economics much more interesting.

comment 13y ago · link · parent

All true and valid, but I still want to know the economic value of building a colony on Mars- is there anything worth mining there, and not only worth mining for Mars use but worth commerce with Earth over?

comment 13y ago · link · parent

I want to hear about the economic viability of Mars colonization. I support colonization, but without some kind of economic interest it is going to be no more viable than our colonization of Antarctica-

comment 13y ago · link · parent

I'm not comfortable with the parent posters assumptions.

I live in Wisconsin and last I heard 15% of residents hunt regularly. I'd estimate for every 5 people I know who have guns for hunting, one has a handgun. I don't personally know anyone who has a handgun and does not have guns for hunting.

comment 13y ago · link · parent

>>How is gun control going to help our suicide rate

What if I think people have a right to kill themselves?

comment 13y ago · link · parent

If your employer is cool with starting at 10 rather than 8, and you prefer 10, that sounds great.

comment 13y ago · link · parent

Seeing as I never disagreed with anything the author said I'd be interested to know what the strawman argument in question here is.

I did note that I think: 1. The post seemed like marketing/self promotion for his brand using a personal issue as cover and draw attention to his businesses blog. If this was a personal blog I would have no issue. 2. Many people who do not suffer from the disorder are going to use it as justification for their behaviour.

I don't see how those concerns are trolling.

comment 13y ago · link · parent

>>Whether he misdiagnosed himself is kind of irrelevant

I never claimed the author misdiagnosed himself or was lazy-

>>What exactly is "willpower" and why would a lack of it need to be rationalized... To insinuate that someone needs to "rationalize a lack of willpower" implies that willpower is some sort of moral resource...

Assuming the people in question do not suffer from a legitimate disorder: Willpower is the ability to make yourself do things you feel must be done when you don't feel like it. It is an extention of self-control and lack of it IS a moral deficiency.

>> "Morning people" don't need to exert a lot of mental effort to be wakeful in the morning

Now is getting up at the crack of 8:00 AM easier for some people than other? Yes it is. However we all face things that are harder for us than others in some area of our lives and become able to overcome that is important.

>>If they're not interacting properly, and you can organize yourself so they interact better, then it would be foolish not to.

I completely agree and did not say otherwise.

>>But all that's in there is hormones and neurons and flesh and blood.

A disorder is when a persons biology is so abnormal/dysfunctional they require treatment. If you have a sleep disorder I would give anyone a free pass in this department, but for anyone else I expect them to master their biology. The same way we must master our biological tenancies and 1. control our tempers 2. control our sex drives 3. control our desire to over eat 4. control our desire to be "efficient" and not exercise. Unless you have a disorder, sleep is no different.

comment 13y ago · link · parent

It looks like people don't like this being pointed out. My comment went from +5 to -2...

comment 13y ago · link · parent

Well said.

comment 13y ago · link · parent

I agree, I do have sympathy for someone really suffering from a condition, but they must be open about it and make their life work. Maybe that means treatment or just a honest conversation with their employer or both.

What really bothers me is: Sleepy Hacker: "I get shitfaced every night and go to bed at 2 AM. I can't seem to get up at 7:30 AM for work ever! I set like 5 alarms! I must have Delayed Sleep Phase Disorder." rolls eyes

If you think you have Delayed Sleep Phase Disorder, get tested, get treatment, communicate.

comment 13y ago · link · parent

>>if working a different time slice is neutral or better for your job

If that is compatible with your job, great! That is the simple and most logical solution, job permitting. I never said otherwise, so I'm pretty sure you are reading words I never said...

comment 13y ago · link · parent

"Be the first to share this on Hacker News"

I'm not sure how this is news worthy- I guess some people feel every entry in their diary of personal accomplishments must grace the pages of Hacker News. I'm glad the author overcame his disorder, but asking people to post it to HN...

I also imagine this will be a great way for a lot more people than the 0.15 to 0.17% of the population that actually has Delayed Sleep Phase Disorder [1] to rationalize their lack of willpower.

1: http://en.wikipedia.org/wiki/Delayed_sleep_phase_disorder#Pr...

comment 13y ago · link · parent

>> If you were to judge me just by my reading list you'd think I was university-trained but I'm not.

Outside of the valley a non-degree is a non-starter for many employers. Does the author even consider this?

>>And only twice have I made it past the first technical interview.

Maybe there is C-S theory the author never picked up from school and is lacking. He talks about practising programming; however, maybe his problem is not the code he knows how to write, but the code he doesn't.

comment 13y ago · link · parent

  *C: add Jeremiah Harmsen (Google CLA).
  *cmd/cgo: correct pragma name in comment.
  *cmd/ld: add .note.GNU-stack section for external linking (thanks Shenghou Ma),
        fix SDYNIMPORT symbol test (thanks Alex Brainman),
        fix another unsigned value causing bugs on Plan 9,
        fix syms that are both cgo_import_static & cgo_import_dynamic.
  *database/sql: remove an unused field from Rows.
  *doc: add FAQ entry about language changes,
        fix formatting in effective go code snippet,
        link to Go 1.1 release notes,
        only U+FEFF is a byte-order mark; U+FFFE is not.
  *go/build: document GOOS.go also has implicit GOOS build constraint (thanks Shenghou Ma).
  *go/doc/example: Fix bug causing false negatives for Example playability.
  *image/png: fix error message to not return width twice.
  *libmach: fix build on Plan 9 (thanks David du Colombier).
  *net: do not call syscall.Bind twice on windows (thanks Alex Brainman).
  *regexp: doc fix.
  *runtime/cgo: export symbols in both internal and external link mode.
  *runtime: fix crash in badsignal(),
        reduce max arena size on windows/amd64 to 32 GiB (thanks Shenghou Ma).
  *syscall: fix prototype of Fchflags (API change) (thanks Shenghou Ma).
  *text/template: comment fix.

comment 13y ago · link · parent

One big one (for Windows users) was they reduced the amount of heap a Go program on Windows can access from 128 GB to 32 GB. This was to work around a design flaw in the Windows virtual memory allocator that forces virtual memory commitments that are free in Linux/BSD/OSX to have to be backed with memory, or more commonly, swap on Windows. On the other OSs mentioned above the Go runtime's pre-allocation of virtual memory space is non-backed.

comment 13y ago · link · parent

I remember I was 10 or 11 the first time I ordered iced tea and it came sweet- I thought their machine had broke in the most disgusting manner possible.

comment 13y ago · link · parent

Wait- If they use drank to mean drink, what to they use for the actual "drank" (that is a drinking in the past)?

comment 13y ago · link · parent

Yeah, I assume by the parent poster down south?

comment 13y ago · link · parent

You might find this interesting: http://tmagazine.blogs.nytimes.com/2009/09/22/case-study-the...

comment 13y ago · link · parent

>>It is also very sweet, unless you ask for unsweet.

I noticed that in Wisconsin tea is sweetened or unsweetened; whereas, when I was in Florida the tea was sweet or unsweet.

I also noticed that they make Old Fashions with whiskey rather than brandy. And if you order a brandy sour, it can take the bartender up to 5 minutes to find some Brandy... While attempting to be polite I learned they do not know what gesundheit means either.

1
293031
40