News for hackers. Stuff that matters.

laxentasken

Re:New In Postgres 12: Generated Columns on Wednesday October 02, 2019 @08:07AM (#21135497)
Looking through the docs I cannot find the limitations for what you can generate (e.g. only simple column * column or more "advanced" statements like you can use in a update statement)?
Re:OpenVPN vs. WireGuard – A Short Comparison on Tuesday September 10, 2019 @09:34AM (#20927973)
Got PIVPN (openvpn) running on my raspberry pi. Went almost too smooth to set up.
Re:The Day the Music Burned on Tuesday June 11, 2019 @11:29AM (#20156293)
You're forgetting oink.
Re:Ask HN: Best way to do heavy csv processing? on Sunday October 21, 2018 @01:35PM (#18269065)
Yeah, sorry about that. Well the file will only contain changes that need to be reflected in the old file (which servers as a master). Usually the file contains around 120 fields which then need to be updated. Besides that I will need to update around 150 other fields that serves as descriptions of the original fields.

After that there is some appends of data to be done which usually is a couple of million rows.

Ask HN: Best way to do heavy csv processing?

I got a couple of big csv files (~5-10GB with millions of rows) that needs to be processed (linked to older files and updating the data etc) and then exported to new csv files.The data follows the relation model but just updating one field after dumping it into postgresql takes quite some time (doing a update on join) and I'm not sure this is the most effective tool/way for this kind of work....

( Read More... | 4 comments | on HN )
Re:Don’t Be Afraid of Pain on Thursday July 12, 2018 @10:44AM (#17515082)
“We know that worrying and giving attention to pain ultimately increases it. Staying active and moving is better than rest when it comes to chronic back and neck pain.”

This, this and this!

Hurt my back while working out in the gym and got scared since people in my family has been dealing with chronic back pain which has limited them in their life. So What did I do? I stopped working out. Took a long break and only did light exercises like the plank and other stuff. My issues stayed with me for some years until I decided to take up lifting again and dedicated myself to re-learning the lifts with focus on form and doing a strength program.

Also a good read on pain:

https://startingstrength.com/article/aches-and-pains

Updated with "The data is relational and as for now the size is ~400GB which I expect to grow around 3% each time. There wont be much reads as the tables will be exported for further process and the the writes will be in a controlled fashion as stated above."

Queries will only be done as spot checks to ensure correctness.

Ask HN: Database migration project – which database?

Hi! I'm tasked with migrating a existing db project from a proprietary database to "a better solution" as the current one is becoming quite unstable due to various bugs and the fact that it reached EOL years ago.The workflow is pretty simple: mass update existing records or appending new records once in a while (this will be done in a controlled fashion invoked by someone - no services) ->...

( Read More... | 3 comments | on HN )
Re:Learning Programming with Nim on Wednesday June 13, 2018 @12:10PM (#17304390)
Have you looked into Go?
Sorry, missed the tabs! But this looks really awesome! By looks of it there are recordings of the lectures already up..

Will for sure go through the materials. If you ever come to sweden, let me buy you a beer!

Any plans to put the course materials online?
Re:Backdoor with root access found from OnePlus phones on Tuesday November 14, 2017 @08:36AM (#15694811)
Found it on my Oneplus X. Maybe this is the time to try out Apple.
Re:Data Structure Visualizations on Monday October 16, 2017 @07:11AM (#15482384)
That it took me a whole weekend (not really but it felt like it) or the fact that I did it? Homework :)
Re:Data Structure Visualizations on Monday October 16, 2017 @04:08AM (#15481604)
Thanks for linking this. Spent my weekend implementing a reverse string function in MIPS and it never struck me that I could do it recursive instead.
Re:Ask HN: Who chooses the hurricane names? on Wednesday August 30, 2017 @04:03AM (#15130465)
"NOAA’s National Hurricane Center does not control the naming of tropical storms. Instead, there is a strict procedure established by the World Meteorological Organization. For Atlantic hurricanes, there is a list of male and female names which are used on a six-year rotation. The only time that there is a change is if a storm is so deadly or costly that the future use of its name on a different storm would be inappropriate. In the event that more than twenty-one named tropical cyclones occur in a season, any additional storms will take names from the Greek alphabet."[1]

First result on google btw: [1] https://oceanservice.noaa.gov/facts/storm-names.html

If you do work in CL for a living, may I ask what kind of applications and which area? The reason for my question is that CL (and racket) seems like a very good idea to put some time into but the market for such jobs is dead where I live (sweden). Or those jobs might be held by lispers on a lifetime ...
Re:Nymph: A slightly different version of C on Friday August 18, 2017 @09:46AM (#15046071)
Why?
I wonder how Porsche and the alike will adapt to that situation. Sure it will take some years before someone will start pushing it...
Re:The Common Lisp Cookbook on Thursday June 29, 2017 @06:24AM (#14662078)
Started looking at getting into Racket and CL after reading up on lisp and there is something about it that really bugs me, in a good way. Sadly the train seems to have left the station regarding positions where you use lisp where I live. All is java and C-flavors.

Ask HN: Going full MIT OCW

Inspired by "How MIT OpenCourseWare transformed a learner's life"[1] and the lack of "good" university courses that are available from remote location in my country I thought about doing some courses on OCW for knowledge and hopefully fun, hoping it might give back something in life and maybe increase chances for a new job.Here is my ordered list: 6.0001 Introduction to Computer Science and...

( Read More... | no comments | 2 points | on HN )
"When the service is free, you are the product" or something similar.
This really hit me hard. The man had a voice that is almost unmatched. Please take care of your loved ones and don't forget to ask them how they feel if you suspect something is off.
Re:What made Bell Labs special? (2012) [pdf] on Monday May 15, 2017 @09:40AM (#14341448)
This, really this.
Re:Microsoft Build 2017 [video] on Wednesday May 10, 2017 @11:37AM (#14308971)
"Find me the person who ate the last piece of cake in the fridge."

Older »