News for hackers. Stuff that matters.

aleksei

Re:Working from Bed on Monday January 04, 2021 @01:29PM (#25635749)
Many people have had the same experience over the past year. There's three things that are usually suggested which might help you, that you've touched upon.

First, you should have a dedicated work space. A room is preferable, but you can make do by erecting sight barriers to your desk for example. The main idea is to make it easy to leave your work 'at work' and not be reminded of it in your free time.

Second, clothing. If you feel your day lacks structure make sure you're not lounging about in a tracksuit all day. Put on clothes you would wear to the office before work, and take them off at the end of your day. Wear shoes.

Third, take a walk before starting work and afterwards. A 20 minute walk will allow you to plan the day ahead and get in work mode, and will let you unpack the day and unwind after work. Ignore the rain.

So basically, make going to work a ritual (as foolish or unlikely to work as it may sound). You should also minimise distractions and control impulses to do non-work related things while 'at work'. If you can, consider getting out of the house for lunch or eat at your desk and not at the dinner table. Lastly, take part or try to instigate remote water cooler chats with colleagues to keep sane.

Re:Web Scraping Is Vital to Democracy on Friday December 04, 2020 @05:01AM (#25300713)
First of all I should think copyright only restricts publishing, not reading. Obviously if you put a price on your book I have to pay it, but that's a different issue.

Secondly the Internet is best viewed as a public noticeboard purely because of the way the protocol works. There's just no getting around that. I think you'd agree that putting up a notice on a street corner and then getting offended when people read it would be viewed as rather odd, if not something else.

Yeah, same. I find keeping my fingers on the home keys makes me twist my wrists outwards, which gets uncomfortable pretty fast. I mostly try to minimise wrist action in general.

I've actually had a Planck EZ for a few weeks now and I agree it's probably not very ergonomic for the classic qwerty touch typist, or at least not much better than a normal keyboard barring the programmability.

But since I don't do that anyway I find the keyboard to be pretty nice in terms of customisability and avoiding stretching.

In general I feel my hands are used most naturally in close proximity to each other (at roughly abdomen height) so I'm drawn to small keyboards with lots of modifier keys. A spherical keyboard would be pretty interesting to try out.

Re:SQL queries don't start with SELECT on Friday October 04, 2019 @05:25AM (#21156076)
Start every update and delete with BEGIN; and never fret again.
Re:The Octopus: An Alien Among Us on Thursday September 26, 2019 @02:55PM (#21084225)
Octopuses have been around for 300 million years, I think they've got survival and reproduction covered at this point. I would be careful of conflating shared culture with intelligence, especially in this context given octopuses are mainly solitary.
Re:GraphQL Performance Monitoring Is Hard on Saturday July 27, 2019 @07:16AM (#20541458)
> I'm usually surprised with all the comparisons to REST.

I'd say that's because you should mentally substitute RPC whenever you see REST. Basically everyone talking about REST APIs mean RPC over HTTP with nouns in the endpoints.

Re:Google’s new reCAPTCHA has a dark side on Thursday June 27, 2019 @02:27PM (#20297140)
Although you can be pro break-up-Google while using one, or even many, of their services.

So I don't really see the amusement.

Re:Scaling to 1M active GraphQL subscriptions on Postgres on Saturday June 01, 2019 @03:08AM (#20067777)
You aren't limited to a single database though, so you could stream your main database to a public facing one with a more stable structure.

But you'd have to handle changes through another API, or at least route them differently, and then worry about consistency so probably not ideal for all business cases.

Re:Oodi, Helsinki’s new flagship library on Tuesday February 19, 2019 @10:05AM (#19199388)
In my view libraries are simply evolving with the times, but perhaps I'm not yet quite so old after all. I like the idea that there's a public space for soldering, 3D printing, sowing, or just being.

I wouldn't really make sweeping generalisations on the state of Finnish libraries based on one modern example intended to be different. Besides, if we're going to have yet another library in the centre of Helsinki, why not make it different?

If you need to study the university library is just around the corner. Or the library of the national archives if you prefer a tomb-like silence. Or the one on Rikhardinkatu for the more classic milieu. Choice is good.

Aside from K&R, you might want to look at the Modern C PDF https://gustedt.wordpress.com/2016/11/25/modern-c-is-now-fea... for an opinionated but sane guide.

Also 21st Century C has been recommended, and it goes into tooling as well.

Re:Advent of Code 2018 on Thursday November 29, 2018 @04:37PM (#18564283)
Can you expound on that? What would you wish to know?
Re:‘Emerging’ as a Writer After 40 on Thursday November 29, 2018 @04:33PM (#18564250)
Can you please specify how life is different? I feel lucky not to have noticed.
Re:‘Emerging’ as a Writer After 40 on Thursday November 29, 2018 @03:55PM (#18563916)
There is no such thing as >40 terms of 18th century life expectancy.

What a ridiculous notion.

Re:NH judge orders Amazon to give Echo recordings in murder case on Saturday November 10, 2018 @02:28AM (#18420352)
Democracy has nothing to do with it. But yes, it's how most if not all governments operate.
Re:NH judge orders Amazon to give Echo recordings in murder case on Saturday November 10, 2018 @02:19AM (#18420329)
> What is it that users don’t realize?

You answered yourself in an exemplary fashion, but I'll state it explicitly (and simply). People don't think about it. I'd like to imagine anyone who realises the implications of owning such a device would refuse to own one, although I know I'm mistaken.

I don't mean that people should know better (although ofc they should), but new technology is all too easily likened to any household appliance nowadays. Alexa is a utility, for better and worse.

It's my opinion that we should very much attempt to educate the non-professional about the realities of these spy-machines, in much the same way we don't teach people about dishwashers.

As for the article: I find it morbidly curious that I could tell Alexa who is murdering me. A benign 1984 for now I suppose.

It's not confusing on purpose. Coordinating law, economy and movement of people across 28 countries is just fucking complex.
> Hand counts aren't particularly accurate.

Citation? Hand counts are as accurate as you want them to be. Just keep counting.

The problem with any form of voting that allows you to verify your vote was counted correctly, is that anyone can verify you voted 'correctly'.

The only way to ensure a fair election is to vote by paper ballot and have the count executed by anyone who wants to participate.

Yes, the university life portrayed in American tv shows is also quite unfamiliar to Nordics.

Your experience mirrors mine in Finland. You could enrol for a course and only turn up for the exams. No one cared whether you attended the lectures or the exercise sessions, you were simply expected to be able to apply the material by the end of the course.

However it depended heavily on faculty or even field. I think the humanists had to attend many of their lectures, while the exact sciences didn't have such requirements (although the physics department also insisted on handing in exercises; profs probably got tired of grading people trying their luck).

I felt I was lucky for the freedom I was granted, although I too felt I would have liked more face to face teaching for some courses (it also allowed for making poor decisions regarding priorities, though I have no regrets).

I think other students had the same sentiments, and difficult courses began having more free-form sessions in addition to lectures and exercises. I feel this is a pretty good compromise of sorts, as it allows for different styles of learning, and you could even hold a day job while studying, or live out of city etc. as you're not forced to be physically present.

Re:The epic rise and fall of the name Heather on Tuesday September 25, 2018 @11:42AM (#18067325)
It's not quite that simple: https://www.theguardian.com/lifeandstyle/2018/sep/21/oliver-...

Relevant quotes: > Muhammad was the 10th most popular name for boys, but if the alternative spellings of Mohammed or Mohammad were included, it would be about as popular as Oliver and its variants, such as Olly, across England and Wales, the ONS said.

> Muslims make up about 5% of the UK population, but Muslim families are more likely to call their sons Mohammed than any other name with an Islamic tradition, the data suggested.

Re:Millennials and Mainframes: How to Bridge the Gap on Thursday September 13, 2018 @01:37PM (#17980604)
To be brutally direct, why do you think mainframes should not survive "in the coming decades"?
> It doesn't need to be a service provided by a company in a foreign land, it can just be software you run on your own computer.

Problem is, in a worst case scenario ISPs could be compelled to proxy all traffic through government boxes for analysis. At that point any suspicious activity will probably be frowned upon.

Re:How true hackers write JavaScript on Wednesday September 05, 2018 @07:18AM (#17916869)
Perhaps this why HN still uses tables for presentation - nobody dares to change it?

There's also simply no reason to change it, it works.

TBH, if you've rolled your own time handling logic you were already in a special kind of hell. But time zone changes aren't that irregular, so it should be pretty straightforward for library maintainers to fix the timezones up.
If your job requires no interaction with the rest of society, that would work. As it is, people's lives ironically revolve around the clock and not the sun, so you're expected to be available from a certain hour of the day to a certain hour of the day regardless of the position of the sun.
Sitting in an office from the morning I couldn't give a toss when the sun rises. But I would like the sun to be up when I leave, so I could actually enjoy the sunlight.

But this does seem to be a pretty polarizing issue.

> Do we want Facebook to be the arbiter of what we are allowed to say to each other, or do we want them to be a neutral carrier for communications?

Facebook is a private entity that can do as they please. It most certainly is not a neutral carrier for communications, and to treat it as such is foolish.

Older »