Slashdot Mirror


User: Terje+Mathisen

Terje+Mathisen's activity in the archive.

Stories
0
Comments
278
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 278

  1. Re:work to live on John Conway: All Play and No Work For a Genius · · Score: 1

    I live in Norway where we definitely work to live, not the opposite, but I did spend one year in the US back in 1991-92.

    During that year I know that I worked the least number of hours of any of the engineers in my department, averaging 45 hours/week, but I still got a couple of bonuses which they really didn't need to give me, since they knew that I was going back to Oslo after 12 months.

    Here in Norway we have 5 weeks of vacation time every year, and employers get in big trouble if they have any employees who don't take all of that. (You can push a maximum of two weeks in front of you from one year to the next.)

    OTOH my wife would gladly confirm that I spend a lot of hours in front of my PC every day, but I consider that to be some of my hobbies, not work. :-)

    I.e. stuff like NTP Hackers, Mill Computing, Lidar-based mapping work etc.

    Terje

  2. What about the interconnect? on Ask Slashdot: Best Bang-for-the-Buck HPC Solution? · · Score: 1

    In pretty much every HPC cluster I've seen or been personally involved with (mostly oil/seismic processing or crash simulations), the type of CPU is only one of the cost drivers!

    Typically you end up spending about as much on fast interconnects as you do on motherboards/cpus/ram etc. The main exception to this rule is when you have an embarrassingly parallelizable workload, with small memory footprint and no need for cross-system communication, i.e. like a Monte Carlo simulation or password cracking.

    For oil we used the largest single-image NUMA/SMP machine we could get at the time, this machine did the initial gridding of the problem space, then a standard cluster of 1K dual-cpu motherboards (i.e. 2K cpus) took over and did the main part of the actual processing.

    There are exceptions though, like if you are doing Linear Programming type optimization which can be really hard to parallelize, or if you are using very expensive SW:

    When you pay more for the SW than for the HW it is running on, then it makes sense to use bleeding-edge (gamer type) cpus.

    Terje

  3. Rather a very poor job. :-( on Making the World's Largest Panoramic Photo · · Score: 1

    I have made many, many panoramas, but none in the multi-gigapixel range, so I realize that they had a very tough stitching job, but even so: This was a pretty bad job!

    All the central snow fields look like the result of randomly placed images: With a motorized pano head they should have been able to locate each image pretty accurately even before they started the SIFT runs to look for matching key points (which can be hard in a blue sky or on white snow).

    More problematic is the fact that they must have done the actual stitching pretty much without proper blending from one image to the next:

    Within the first minute of zooming around in the image I stumbled across a perfectly straight line with totally different exposure/lighting on each side, giving an almost black/white boundary that screams "This isn't natural!".

    The proper way to blend such images is to use a multi-spectral approach: Low frequency information (like average light level) is blended across the entire overlap, while higher frequencies use narrower and narrower bands. Doing it this way means that even if one image had a clear blue sky and the next was taken when the sun was hidden by a cloud, the overlap is nearly perfect.

    Terje

  4. Nash just got the Abel price! on A Beautiful Mind Mathematician John F. Nash Jr. Dies · · Score: 5, Informative

    Just 5 days ago, John F. Nash and Louis Nirenberg got the Abel price in a ceremony in Oslo:

    http://www.abelprize.no/

    With a diploma handed over by the Norwegian King Harald and a NOK 6M prize this is the closest thing math has to a Nobel prize.

    Unlike the Fields Medal there is no age limit, so just like the Nobel prizes it tends to be given out at a later date, for work that has proven itself to be really outstanding.

    Terje

  5. I mosly agree with you... on MIT Debuts Integer Overflow Debugger · · Score: 1

    The first big problem with integers is that they are really badly defined in C, so just like you I try to use unsigned as much as possible:

    Any underflow turns into a big overflow, so it can be tested for at the same time as the overflow test, and the semantics of power-of-two sized wraparound is pretty solid on all platforms and implementations.

    OTOH I don't agree that having proper overflow handling would mostly be a new source of bugs, i.e. on the new Mill cpu architecture we have a full orthogonal set of of all basic operations:

    When adding two numbers (belt values) you can specify signed or unsigned, and over/underflow to be handled as saturating, wraparound or trapping, as well as automatically widening.

    http://millcomputing.com/wiki/...

    Look at ADDSW as an example of a Signed ADD that will widen if needed.

    Since the Mill carries metadata alongside each belt slot it does not need separate byte/short/word/dword ADD instructions: The size of the operations is defined by the belt slot specified and not in the instruction encoding, so the machine code is polymorphic in data item size.

    I.e. you can start with 8-bit values and an 8-bit accumulator, when the sum becomes too large then it is automatically widened to 16 bits or more. This works all the way to 128 bits for all scalar operations.

    Terje

  6. Bad applications and programming languages! on No, It's Not Always Quicker To Do Things In Memory · · Score: 1

    What they actually compared wasn't the speed of the disks, but the speed of the language runtime and OS file IO buffering routines!

    It wasn't really that surprising that concatenating java or phyton objects can be slower than letting the low-level runtime do the same task.

    If they had wanted to test the disk IO speed then they would have had to add at least some fflush() calls.

    It is trivial, in any language, to make your code faster than the actual disk transfer speed, but a lot harder to make it faster than a set of small block moves within (cached) RAM.

    Terje

  7. Language obviously influences thinking! on Speaking a Second Language May Change How You See the World · · Score: 1

    I'm Norwegian which meant that I had to learn the two main Norwegian languages (bokmål and nynorsk, used to be about 30% overlap, it is larger now) and English. Those are ones I'm currently fluent in. I also had four years of German and two years of French, plus a single year of Old Norse (i.e. Icelandic).

    The interesting part here is that the list above was the absolute minimum I could get away with, since I knew very early that wanted to get a technical degree (MSEE from NTNU in Trondheim).

    Fluency in any language requires thinking in that language, this is so obvious that only mono-lingual people could possibly doubt it!

    Thinking about stuff you have no way to express in language is extremely hard. :-)

    Terje

  8. Re:Not GoDaddy. on Ask Slashdot: Advice For Domain Name Registration? · · Score: 5, Interesting

    I've had a single .org domain registered with and hosted by DreamHost for 7-8 years now, absolutely no problems.

    I also have 6-8 other domains here in Norway (.no) which are all registered locally but still hosted on the same DreamHost account.

    Dirt cheap, very stable and OK performance wise.

    I have a tiny search program written in perl (http://tmsw.no/pi-search/) which allows you to search for any given string within the first billion digits of pi:

    Even though the database + index needs about 5 GB, so obviously not cached in memory, I tend to get replies within 0.1 seconds or so:

    Find 19570725

    Found at 45,109,789: 061632112341128 19570725 293694235201198

    Total time = 0.099406 seconds (8 suffix lookups)

    I.e. my birth date is located about 45 million digits into pi. :-)

    Terje

  9. You need hydro-electric pump storage! on Deploying Solar In California's Urban Areas Could Meet Demand Five Times Over · · Score: 4, Informative

    One of the reasons Denmark can run on wind (currently 39% of their total) and solar power (500 MW total from 90,000 private installations according to wikipedia) is that we have installed multiple DC transmissions lines between Denmark and Norway, and hydro-electric power is by far the most responsive to changing load.

    On the west coast mountains we have storage dams where surplus power can be used to pump up water during periods of surplus production and then let down again when Denmark, Sweden or countries further south need some extra power.

    From http://en.wikipedia.org/wiki/P... you can see that this is _by far_ the largest grid energy storage form, accounting for more than 99% of the total capacity worldwide.

    The total efficiency (70%-87%) is quite good, which means that this is not just a good idea but can pay for itself anywhere the difference between peak and off-peak energy costs are larger than the ~20% that is lost to pump friction.

    Terje

  10. Use a hybrid setup like Norway on $56,000 Speeding Ticket Issued Under Finland's System of Fines Based On Income · · Score: 1

    Smaller infractions (up to 20 km/h (13 mph) over the limit) carry fixed penalties, on a scale from about $100 to nearly $1000 depending upon the actual speed and the base speed limit.

    More severe stuff, like DUI just over the 0.02 blood alcohol limit will result in income/net worth scaled fines.

    Another drink before that drive home and you're looking at compulsory jail time, plus loss of drivers license for two years and the need to take the driving exam all over again afterwards.

    This means that the police don't need to check IRS returns for speeding or red light cameras, but only for more serious offenses.

    All the fines go to the central government of course, so there is no premium for the police on setting speed traps to generate revenue.

    Terje

  11. I am one of the ntpd maintainers on NTP's Fate Hinges On "Father Time" · · Score: 5, Interesting

    I've been on the "NTP Hackers" mailing list for ~15 years now, my last major effort was to develop a server-optimized multi-threaded version of the core ntpd sw: I was hoping for wire speed packet processing on an embedded linux platform, but had to settle for 3-500 Mbit/s since the target kernel version did not support multi-thread targeting of incoming packets, i.e. I needed to have a single receive thread which would fetch the incoming packets, timestamp them and queue them up, then all the other threads/cores would grab them from there.

    Back to the "why are there bugs in such a trivial protocol?" question:

    By far the biggest cause of required effort when trying to modify or optimize the NTPD distribution is the need to support a big number of OSs and even larger number of OS versions, some of them more than 20 years old, even if the main targets are Unix-like or Windows.

    The second problem is the need to support 30+ reference clocks, with all sorts of OS/version specific interfaces needed in order to timestamp events as accurately as possible.

    The third and final major stumbling block is all the crypto stuff, which got added in order to be able to authenticate both time packets and monitoring/configuration requests, and this is where the latest major bugs have been found.

    PHK (who is working on Ntimed) has spent a lot of time on NTP, including his time as a core FreeBSD hacker when he made sure that the FBSD had the best possible timekeeping kernel. This is the reason that my personal pool server has always used FreeBSD.

    If your only need is to get 0.1s level time sync on a number of client only machines, then it really doesn't matter how you implement the NTP protocol, except that you should really try to measure and adjust the local clock frequency so as to track the reference time!

    The default Windows time code implements Simple NTP (SNTP) which uses the NTP packet format but doesn't try to implement the proper control loop to steer the local clock, instead it just yanks the OS clock resulting in a sawtooth-like pattern of clock offsets.

    Terje

  12. Two easy options on Ask Slashdot: Old PC File Transfer Problem · · Score: 2

    I have a Vantec USB2 universal disk adapter, it has connectors for IDE and SATA, with cables and power, for all the hard drives I've used since my last SCSI disk, this is the one I would use here. I picked mine up at Fry's many years ago, just as SATA disks had started to take over.

    The alternative has also been mentioned, using a LapLink style cable: These packages usually came with selfloading sw where you just had to enter a single single MODE command on the console of the old machine, then the SW would copy over an ascii type bootstrap program which would load the rest.

    I wrote a program to do this (the file transfer part) in the late eighties, in 1995 or so I also write a generic ascii executable generator using only those 70+ characters which the MIME mail standard specifies as transparent across all mail gateways and national encoding standards.

    Terje

  13. Re:Gurus like Carmack don't need agents on Attention, Rockstar Developers: Get a Talent Agent · · Score: 1

    Thanks for remembering, that time was a lot of fun. :-)

    I'm still doing low-level programming, I've been involved with the Mill for a little more than a year now, I'm working on scalar/vector FP emulation for the smallest models we intend to produce.

    Take a look at http://millcomputing.com/ if you want to widen your mind a bit: A CPU with a belt instead of registers!

    Terje

  14. Gurus like Carmack don't need agents on Attention, Rockstar Developers: Get a Talent Agent · · Score: 3

    I've met John C a number of times, he is indeed a guru.

    My longtime friend Mike Abrash is also a guru, but according to him, not in the same league as Mr Carmack.

    Personally I'm a very competent programmer who've just had some small episodes of greatness: I know I'm not as bright as John or able to work for years at a single task like Mike can do, but I've still had a lot of fun over the last 35-40 years! :-)

    Today I declined an offer to become CTO of a 20 year old international sw company, I'm having a pretty good time where I am now.

    Terje

  15. Duplicate the TLB code entries! on New Encryption Method Fights Reverse Engineering · · Score: 2

    To me it looks like this trick has a similar, very simple trick to defeat it:

    Assuming you can run some code at kernel (or even SMM) mode, you should be able to scan through all code segments that are marked execute only, and which have a data segment which aliases it? I.e. same virtual address - different physical addresses.

    When you find such blocks, you just create new readonly or readwrite mappings which points to the same physical addresses as the decrypted/execute-only memory.

    At that point you can dump/debug to your heart's content.

    Terje

  16. Half of anything is below average! on Low Vaccination Rates At Silicon Valley Daycare Facilities · · Score: 1

    The report states that "6 out of 12 day care centers have below average vaccination rates", right?

    So, if you take a random sample of _anything_, how many would you expect to be below the average for that particular measurement?

    The news here isn't that high tech daycare centers have low vaccination rates, but that they don't have particularly high rates, i.e. they are totally average.

    Terje

  17. The company I work for blocked this last week on EU Parliament Blocks Outlook Apps For Members Over Privacy Concerns · · Score: 1

    After checking out how the Outlook app handles emails and authentication, our security group pushed out an update to the blocklists, making it impossible to install this app on any phone connected to our company mail servers. (Connecting to those email servers already requires you to accept a minimum set of company security requirements, like secure unlock, not just a swipe, and the capability to remotely wipe the phone.)

    Terje

  18. This is US-centric problem! on The Gap Between What The Public Thinks And What Scientists Know · · Score: 1

    I live in Oslo, Norway, and I would claim that even though we also have our share of wooly/wishful thinking, most Norwegians tend to believe what scientists tell them, as opposed to the US where even presidents can boast about making decisions based on their gut feeling, with no factual research.

    I am an EE who has been working in the IT business since 1984, but that doesn't mean that I don't try to follow research in other fields, like physics or chemistry.

    Living in Norway I know that pretty much all the electricity we use here is based on hydro power, but I realized many years ago that for humanity in general to have a sustainable future we need a lot more research into nuclear power: It comes down to either filling up a fraction of the Sahara with solar cells, or developing better reactors like the Thorium LIFTer. Burning complex hydrocarbons for power generation should be a crime, and not just due to global warming.

    I'll admit that I don't like GMOs, but that is mostly due to the way the US patent systems have allowed Monsanto to patent the resulting modified genes. It was really good news when the patent on the breast cancer gene sequence was invalidated, so I do have some hope that the US will try to fix the most glaring problems.

    Terje

  19. "Flink" means "clever"! on Meet Flink, the Apache Software Foundation's Newest Top-Level Project · · Score: 3, Interesting

    In Scandinavian languages (Norwegian, Danish, Swedish), flink means clever or accomplished.

    Was this by accident or intentional? :-)

    Terje

  20. Re:Mathematics on OpenBSD Releases a Portable Version of OpenNTPD · · Score: 4, Informative

    [Full Disclosure: I have been a member of the NTP Hackers team for ~15 years, so you could claim that I'm partly to blame for the recent security problems even if I have not personally worked on the crypto or monitoring code.]

    NTPD is definitely more complicated that what you need for a leaf (client-only) machine, like all the server functions and the code that support locally attached reference clocks, this is the main reason PHK is working on a dedicated NTP client.

    We have known for many years that the monitoring functions, in particular the "mode 6" UDP packets were a potential DDoS amplification vector, which is why we replaced them.

    For the crypto stuff we did what pretty much every other project did, i.e. we imported the functions we needed from openssl, and like pretty much every other project we messed up a few buffer handling issues.

    The important point here is that anyone running a public server with a recommended configuration (no crypto, no remote monitoring) would not have had any security problems, even if they insisted on using 10+ year old versions!

    With any version from withing the last 3-5 years you would also have been secure against the DDoS vector even if you did allow remote status monitoring.

    How many system-level sw packages are you using where this would have bee true?

    Terje
    PS. OpenNTP should properly be called OpenSNTP, since it implements the Simple NTP subset instead of the full NTP protocol stack which includes system clock time/frequency tuning.

  21. There's a reason it doesn't work! on Ask Slashdot: Are Progressive Glasses a Mistake For Computer Users? · · Score: 1

    I am 57, I have used reading glasses for about 10 years, then switched to progressive (+2.75 to +0.75 on my right eye, +2.0 to 0 on my left) about three years ago.

    I really love these glasses but have found like you that they are not at all suitable for my standard 3-monitor working setup:

    Progressive lenses work by having a fairly large sweet spot (i.e. focus area) over the top half of the lenses, optimized for distance vision, then a much smaller bottom area which is optimized for (book) reading, i.e. with a focus distance of 30+ cm or about a foot. It is important to note that this lower area is significantly narrower than the distance-vision part!

    The big problem is everything in between, i.e. the progressive part! When you blend two different lenses, the transition area will be very narrow, i.e. the area of good focus is shaped like a top-heavy timing glass with a narrow waist.

    This will severely limit your normal sidewise focusing ability, and the narrowest slice seems to be close to the 60-100 cm distances typical of multi-monitor setups.

    The only good solution I've found is to have a pair of dedicated programming glasses in the +1.75 to +2.25 range.

    BTW, what I'm really waiting for is improved soft replacement lenses which hook into my eye muscles so that I can focus the same I did when I was younger, but the first generation of these only provide about +1.0 of adjustable focus range, and that is not enough to read fine print, or in my case: Detailed orienteering maps.

    Terje

  22. Permanent conduits are the only way to go! on Ask Slashdot: How Would You Build a Home Network To Fully Utilize Google Fiber? · · Score: 1

    Here in Norway all electrical cables are installed inside plastic tubing, so you can pull out/replace them if you need to, with no need to tear down any walls. (BTW, we also do the same for water pipes: They are always installed as pipes-in-pipes, with a central drain point for the external pipes: This way any leak will be contained and you can fix it by pulling out the broken (usually due to freezing in winter) pipe and replace it.)

    When we built a new home a few years ago I specified that the electricians should put in spare conduits between the main breaker room and every other room in the house, except bathrooms, this way I could pull whatever cable I would need.

    Terje
    PS. The sad part of the story is that the installation company had never done anything like this in a residential building before and they messed up badly, omitting the spare conduits to important locations like the living room/entertainment center. They ended up giving me a substantial rebate but I'm still a bit pissed off. :-(

  23. Re:BT, DT... on The Frustrations of Supporting Users In Remote Offices · · Score: 1

    You are right, if it had been a pure Dos problem those would have worked, this probably means that the partition table was the victim, but I obviously don't remember all the details now. :-(

  24. BT, DT... on The Frustrations of Supporting Users In Remote Offices · · Score: 1

    Many, many years ago (1986 or so?) we had a branch oil exploration office in Iran, surveying new oil fields close to the border with Iraq.

    Getting any kind of computer gear in or or out of the country was "difficult", and the best possible data connection was an extremely expensive 256 kbit/s satellite line.

    One day I was told to help, over a bad phone line, a guy down in Teheran whose PcDos computer had crashed:

    I was able to figure out that his crash had modified/overwritten the Boot Block on his hard drive, but that he did have a bootable Dos diskette available, so I sat for about 45 minutes on the phone, talking him through the DEBUG commands needed to load the boot block and manually modify it back to how it should have been, then write it back.

    It worked on the first attempt. :-)

    Terje

  25. Mastery has to be (at least partly?) subconcious on Soccer Superstar Plays With Very Low Brain Activity · · Score: 1

    When grading expertise on any given task/process, the top level ("Master") is usually defined to be when the person can not even explain how she is doing it, everything is automated to such a degree that "the solution was obvious".

    Magnus Carlsen used to play even faster than he is doing these days, but he explains that this is not because to takes him longer to figure out the best possible moves, but because he has to take the time afterwards to do all the required calculations to confirm his instinctual choices.

    He has also explained after some really complicated end games where he has kept on playing for small advantages, eventually turning "obvious draws" into wins, that "it was very easy, I just had to play the only possible move".

    I believe the foot/leg motor skills of a Neymar is comparable to those of a world champion orienteer: The best orienteers can run cross-country, through rocks, stones, windfall & vegetation, while studying an incredibly detailed map in order to navigate, making it impossible to focus on the ground while looking at the map. This means that the actual broken field running must use a small amount of brain capacity, all the movements are fully automated.

    I know that Petter Thoresen (former multiple world champion) once was told to do a training race in Germany while a champion Kenyan cross country runner would tail him to check his technique: Even while orienteering Petter could run fast enough that the x-c runner was dropped after less than a mile.

    Terje