News for hackers. Stuff that matters.

jonke

Re:A King Who Became a Pirate on Wednesday April 29, 2020 @08:18AM (#23018215)
At the time the Öresund strait was Danish and not a border between Sweden and Denmark.

What is now the most southern part of Sweden was à resultat of the peace of 1658

I worked with a couple of the commercial alternatives to aspera and aspera as well and I used UDT, Tsunami, GridFTP, syncthing[1] as a poor mans alternative to Aspera.

For real transfer with big (> 500TB) Aspera will deliver what it says over WAN (over the Atlantic).

If you have better connections and not so much data syncthing will probably work if you can have someone manually take care of all exceptions.[2]

If you know your data and you can build quite a lot of stuff yourself you can get almost the same speed as Aspera with UDT.

There is also a go implementation of UDTs used by kcptun[3] but I haven't tried that.

1 https://github.com/syncthing/syncthing

2 I don't intend to disrespect syncthing here, but when your dealing with TB scale 24/7 things are never really up all the time, the network is unreliable, the sender host filesystem is corrupt and the receiver host filesystem is full or broken or ...

3 https://github.com/xtaci/kcptun

My understanding of this from older relatives was that question divided within the parties of the Parlament. This is usually solved in Sweden by postpone until every party sorts out there own standing. However, if that isn’t successful we have a advisory referendum that commits to nothing but will break some party deadlocks.
In uk? If in France, Germany or Scandinavia maybe.
Re:Pop Songs Written by Native Speakers of Swedish on Monday August 20, 2018 @02:08AM (#17798025)
Second that. There was a program on svt play a couple of years ago in the series ”hitlåtens historia” where the band talked a lot about the song.
Re:Leaving htop running freezes macOS High Sierra on Saturday January 06, 2018 @02:48AM (#16084325)
After a Quick Reading of the issues it reminds me of an old linux Kernel bug.

https://groups.google.com/forum/m/#!topic/mechanical-sympath...

Everyone involved has to know the objective, which is a lot of more work than most people understand. Besides that I think that the selection and training for the BA0X where uniq for the swedish army who could pick from a large volunteer base.
overall moral: even if your own country don't collected your internet traffic, always assume that another country does.
Re:STM in Haskell on Monday May 13, 2013 @09:12AM (#5698420)
I do think this example http://computationalthoughts.blogspot.se/2008/03/some-exampl... is a lot better than the one in the article.
Re:Try Haskell: An interactive tutorial in your browser on Wednesday March 27, 2013 @09:49AM (#5449341)
Fair enough but you could do let f = map reverse in f ["ab", "cd"]

IMHO the tryhaskell expose more or less only simple pure functions and I doubt that anyone with a real interest in haskell will get any substantial out of it. However if one is completely new to programming maybe TryHaskell and these 6 short lessons have a value.

Re:Try Haskell: An interactive tutorial in your browser on Wednesday March 27, 2013 @08:43AM (#5449033)
TryHaskell uses http://hackage.haskell.org/package/mueval and not ghci You can eval expression so following works let t ="foo" in t
Re:The babies who nap in sub-zero temperatures on Saturday February 23, 2013 @03:18AM (#5268985)
Swede here, 4 kids, all of them have been sleeping outside down to -15 C (at least).

1) The kids are dressed more like a astronaut, wool clothing, a isolated dungaree, stuffed inside a kind of extra isolated bag. One problem is that the kids turn to overheat if you don't undress them when going indoors.

2) Sweden is very rural, there is probably bad to sleep outside in Stockholm/Gothenburg compared to sleep outside the rest of the country.

3) Sleeping next to a street is probably a bad idea regardless temperature (the picture was taken in Copenhagen which is not in Sweden, and I didn't see any snow in the picture so no winter there)

4) Swedes are obsessed with safty but we tend not to calculate threat from other people as a safty matter. Around every kindergarten there are fencing keeping the kids inside but not to keep bad people out. That some evil person should take a child has the same threat level as if an alien should come by. There have been some cases of mentally-ill patients stabbing kids but that hasn't really changed anything.

5) There was someone in a thread calling out for Vitamin D. That's true enough but every single infant/kid in Sweden gets free Vitamin D anyway.

6) I think its a very cultural thing, my kids have slept longer outside, stuffed in that sleeping bag if its cold, than they ever do when napping inside. Swedes like to think of ourselves as very outdoor, into the wild, sports, activity and health so you as a parent are supposed to be outside a lot, if you have more kids some of them are going to be tired and take that nap, wherever you are.

Re:Programmer Interrupted on Tuesday January 22, 2013 @03:12AM (#5096126)
The thing is that we (as a group in this thread) don't have a shared view what productivity is. That you feel more productive when you are allowed to interact with other fellow programmers maybe true or false. If you should deliver something in a short timespan that will allow your company to taker an order of 15M € and you get distracted by two junior programmers discussion C string concatenation I'm sure your Company owner would feel that you are 'not productive'. Most people outside the programming pack consider turning time at work into money as productive. Programmers usually don't use that definition for productivity.
Re:Low-cost Solution to Clearing Afghan Landmines on Tuesday November 20, 2012 @05:09AM (#4808430)
I agree. Demining for human/civilian is harder than just to clear a way for a military purpose. The thing with projects like this roller is that it actually takes money and time from the things that really work, like sniffer dogs.
This facility is located in the town where I live:

http://utslappisiffror.naturvardsverket.se/en/Search/Plant-p...

I also pay for a second bin to throw garden waste into. I could probably goto Jordcentralen later and buy it back as soil.
At high temperatures above 1000 degrees C, dioxin decomposes and the incinerators here are constructed for that.

Offical numbers: "The total emissions of dioxins to air in Sweden in 2008 was about 38 grams of TCDD equivalents."

Of that 5g is supposed to be from wasteburning. (That number is disputed by greenpeace who claims that to be 114g)

Re:Programmer Competency Matrix on Tuesday October 09, 2012 @08:07AM (#4631043)
I'm amazed that Oz surface up in this matrix. The number of people actually program in Oz for production purposes must be less than 100. It's a lovely language and I can miss somethings one could do in (Mozart)-Oz that I can't do in Haskell.
Re:Top Hackers, we need you for Operations Research on Tuesday July 03, 2012 @07:15AM (#4193541)
I kind of agree here but for real life working hard problems you need an OR that can code to make performance tweaks and adjust the algorithm in code. Maybe with some help from a programmer('hacker') as a mentor or code reviewer. You could almost take any standard problem and learn to apply a simple standard OR approach and code it but when the shit hit the fan you must have someone to ask what makes the OR thing work/not work. A normal programmer isn't interested in this more low level thing of the OR side.

EDIT: Stop asking for top X if you really are trying to inspire more OR into more software. Most stuff in this world are done by mere mortals and not 1% of hackers. The true hackers of the world can probably already grok both malloc and TSP with timewindow constraints.

I really would like to use haskell (ghc) even more but the lack of 64 support on windows is a realworld troublemaker. When your doing anything with large dataset you must constantly think about what will happen when lazyness and garbage collector kicks you in the face because you hit the classic win32 bit 2GB upper limit. Profiling and watch for spaceleaks will save you but you wouldn't even be doing this in a proper 64bits environment.
I was thinking more longterm, since the televoting started swedes have a trend to vote for songs/artist that have a connection to Sweden and not for just being a song from a neighbour.
Well, most west of Bryssel don't 'get' the EuroVison. I keep seeing it (using my kids as an excuse) but I usually don't like the music. So why is it so popular? Maybe it's a cold war thing? We who lived at the border to the Iron curtain have a rather different view to the eastern europe than Uk. So to compete with them in a 'no big deal' contest is relaxing (no war this year). The voting is part of the game and could maybe be done in several other ways if one truly consider the outcome to be important, which is not. To participate is the goal.

(as a side note, swedes always give the 8/10/12p to the song that in some way could have some connection to Sweden, this year the Cyprus contribution was written by two swedes I think)

Re:Ask HN: what's a good pet for the working programmer? on Saturday October 17, 2009 @03:19AM (#886734)
Well I don't think that you really should get a 'pet' (yet). Maybe you could use setup a Cichlid Aquarium http://cichlid.infocrux.com/Cichlid-Aquarium.html, http://www.aquaticcommunity.com/cichlid/first.php

If you need something more fury there always are hamsters. http://www.hamsterific.com/SelectingAHamster.cfm

(For the record, I have the highest-maintenance sort of pets, three kids, who all want additional pets)

Re:A Guide to Branching in Mercurial on Monday August 31, 2009 @02:13PM (#796407)
Quite good but for those not used to Mercurial I hear the words of Linus "branching is easy, merging is hard" about svn so the article really need a second chapter of howto merge those Anonymously Branches.
Re:Signs that you're a bad programmer on Friday August 07, 2009 @03:46AM (#747236)
I have seen Fortran programs that don't have any subroutine at all //senior guru model. Even if you could reason about that large amount (40K LOC) I don't enjoy when you die and I get the responsibility to fix "the bug".

I do agree that you should not (depending on language) write sub of everything. ex int add(int a, int b) {return a+b;} //Junior model

Re:Signs that you're a bad programmer on Friday August 07, 2009 @03:40AM (#747230)
"Phase 5: "By letting a constraint solver figure out the mundane details, I can write programs by describing what I want, rather than how to give it to me""

This is one of the best arguments for why anyone should bother to learn Haskell (or likewise language)

Re:Why Do We Keep Building Tightly Coupled Software? on Wednesday July 15, 2009 @01:06PM (#706064)
This seems, I could have missed something, more to be about the loose coupling in Object Land. Not about loose coupling in software land. Some sentences seems more or less taken out of context from any Haskell book (pure vs IO). Some seem, again, taken out of context from the OTP Design principle.

More annoying is the fact that there is a code example of How Not Todo It but nowhere any How Todo it. I would have liked if the article had some indication on what direction the Author thought on some way to do loose coupling.

Re:Don't Click It on Saturday June 06, 2009 @04:56AM (#644640)
I liked it first, using a eeepc and only thouchpad it was comfortable, then I tried some of the labs stuff and got disappointed.

I realize that there are some hardwired behaviours on how I interact. 1) I keep hitting :q or ZZ in anything that looks like a texteditor, even in emacs. 2) I keep hitting ctrl-a on every line that have a cursor. 3) wsad and boomstick on 1 and rocketlaucher on 2

I don't think that I should be the reference for how a user should interact with a specific program or site. There are some areas where you could minimize the number of clicks like we have now days more or less removed the use of dialogues and wizardzzzzz.

Mouse and clicks are good but a thouchpad interface maybe should not pretend to be a mouse.

I know that HN is leaning more or less to web user interface but there are actually still a number of usage of interfaces to computer[programs] that don't is a browser or the toplevel GUI of your OS.

I guess there is some site where those making all these kinds of new games to DS,PS?,XBOX? discuss more or less the same kind of things but from a different angle.

My kinds don't look for wsad , the look for a stylus or the stick. The don't click instead they press X or blue button.

If I have a point at all, it must be that when your used to something it is a hard to relearn but don't throw the baby out with the bathwater. Take what you like and make it better.

Older »