News for hackers. Stuff that matters.

partycoder

Re:Teachers Quit Jobs at Highest Rate on Record on Friday December 28, 2018 @09:17PM (#18781310)
tl;dr: Education rant. If you don't like rants don't read this comment.

7 hour a day have no motivation other than preparing kids for 9 to 5 jobs and depriving kids of their valuable time and potential.

Software used in education has a lot of room for improvement. A 1 man operation like 3Blue1Brown has done more for education than man-centuries of work in education software.

Kids spend years learning inefficient arithmetic algorithms. An 8 year old abacus user wipes the floor with an American teacher in mental math.

With respect to civics, kids learn about democracy in Ancient Greece but don't learn about corporations and lobbying, which nowadays has more weight than democracy.

A lot of adults today don't remember that Americans were given free land grants in the Mexican states of Alta California and Tejas (now California and Texas respectively, top American states by GDP) and then revolted against the Mexicans to later be annexed by the US. Similar story in Hawaii. The US set a shitty precedent in terms of respecting borders, sovereignty and immigration, creating the crisis that is now being weaponized today by corporations to transfer their blame to laborers that spend all their money in food rather than the true reason for our economic situation: trillions of dollars taken from taxpayers to pay "Quantitative easing" to the financial mafia and more trillions wasted in wars that achieved nothing other than make private defense contractors richer.

Kids won't learn about how the US Chinese exclusion act started the opium poppy planting industry in Mexico that later evolved into the humanitarian clusterfuck that is the War on drugs.

Kids won't learn about mass incarceration and its legal foundations like the loopholes that are possible by the 13th amendment to the US constitution.

Kids won't learn about mass surveillance by corporations and governments and how their privacy is being taken away.

Kids won't spend a lot of time thinking about compound interest and how it can make or break their lives, or how population doubles every 63 years and what will happen to us if this keeps happening.

Re:Please do not attempt to simplify this code on Thursday December 27, 2018 @08:23PM (#18774166)
> that smallness-of-file or smallness-of-function is not a target to shoot for

I disagree. Unless you are methodical and know what you are doing (like NASA or the authors of Kubernetes), it is hard to create large functions and files by keeping levels of detail consistent and not repeating code.

How do you test a function that has 100 unique outcomes? How do you safely maintain it to ensure it won't break? How do you even know it's working?

Re:Researchers are keeping pig brains alive outside the body on Thursday December 27, 2018 @04:24PM (#18772762)
If theory of mind is the issue, some pigs display some attributes that could be interpeted as theory of mind.

In any case, your argument fell apart because there is no metric you can pick to justify what we do to animals other than: it is wrong but it is the least of evils right now (from a legal standpoint), which is different to "humans are more important than pigs".

Your argument is a slippery slope that leads to very dark places: can the rich experiment on the poor?, can we experiment on the disabled or mentally ill?... if being "important" justifies abuse, we would live in a world of abuse.

That is important because when simulations can solve the problem, we could outlaw experimentation in-vivo.

Other cities offer one way tickets to CA cities to get rid of their homeless.
Re:Researchers are keeping pig brains alive outside the body on Thursday December 27, 2018 @04:08AM (#18768428)
> in the end, it will benefit humans. And we are more important than pigs.

Let's agree with you for a moment and understand what it really means:

- Let's say you are N times more intelligent than an average pig.

- Now let's say another species appears, where the average individual is N times more intelligent than you.

According to your argument, you would voluntarily subject yourself to experimentation, including getting your brain removed.

Of course you would not do that. So your argument is really about justifying the abuse of other species of mammals that cannot defend themselves.

Variations of that same argument were used to enslave, abuse and kill millions of people. It is sad your comment is the most upvoted. Our society sucks.

Re:Node.js Fundamentals: Web Server Without Dependencies on Monday December 24, 2018 @08:32PM (#18755325)
The crimes of these kinds tutorials:

- Downplaying the role of error handling

- Treating the subjects they cover as a black box

- Not warning that the code examples are not suitable for production

Seems nice except for the developer art. Kids are exposed to very high quality material these days.
Re:McDonald’s, Meet McPathogens on Friday December 14, 2018 @02:50PM (#18683996)
Have people use an app instead, problem solved.

The same people touched the entrance door handle anyways. And if you use cash you are exposed to the same germs.

Re:Show HN: Free and open-source home for art made with code on Thursday December 13, 2018 @01:45AM (#18670341)
A server can do way more.
Re:JIRA is an antipattern on Sunday December 09, 2018 @04:56PM (#18643525)
If you define and implement all user stories, in the end what you will have is: a functional prototype, not a product.

A finished product can be sold ethically, a prototype cannot.

If you resurrect those technologies they would die again right after.

Nobody cared about Windows phone and nobody noticed when it died.

It enjoys the same prestige as Microsoft Bob.

Re:They Rejected Us on Friday December 07, 2018 @01:17PM (#18630072)
You can reapply.
Re:Facial recognition: It’s time for action on Friday December 07, 2018 @11:58AM (#18629262)
Too late for China.
Re:Developer on Call on Tuesday December 04, 2018 @10:05PM (#18605394)
If your sleep gets interrupted 5 times the same night because of tech debt you are not allowed to fix, or if you are having dinner with your family and you get paged 3 days in a row, I guarantee you that you will lose your shit.
The engine used in Chrome is a fork of the one used in Safari, which is a fork of Konqueror's engine (KHTML).
Safari and Chrome are closely related.
It was a bad decision to make the logo similar to Internet Explorer, that alone is enough reason to not use it.

They can change the tech as much as they want. They can hire armies of engineers and make the browser 1000% faster than Chrome... but if they reuse the stupid logo it will fail again, and again, and again until they give up and forget that logo ever existed.

Re:Developer on Call on Monday December 03, 2018 @09:45PM (#18595634)
What you want is to have fewer outages. Penalization is a non-goal.
Re:The Friendship That Made Google Huge on Monday December 03, 2018 @09:23PM (#18595460)
It is refreshing to see an article celebrating collaboration.
Re:Developer on Call on Monday December 03, 2018 @08:59PM (#18595259)
That's what PMs are supposed to be for.
Re:Developer on Call on Monday December 03, 2018 @04:37AM (#18587482)
> no one has any problem being on call.

How do you know this?

Re:Developer on Call on Monday December 03, 2018 @04:30AM (#18587446)
An outage could be caused by infrastructure, by library code, by configuration, by increased activity, not necessarily your own software.
Re:Developer on Call on Monday December 03, 2018 @03:55AM (#18587314)
Waking up a developer should be done as escalation.

If resolving an alert requires to "turn it off and on again" you don't need a developer for that.

Stress and lack of sleep reduces cognitive performance (what you pay for when hire a developer) and kills employee morale.

If you have 2 similar job offers for similar companies, one requires you to be on-call, the other one doesn't... which one would you pick?

If you are having a very bad on-call week and a recruiter reaches to you, you will be more likely to talk to them, or will be more likely to ask for a raise or just quit.

The "skin in the game" argument sucks. Developers are not solely responsible for software quality. Deadlines are often not set by developers.

Re:Terminals Are Sexy on Monday December 03, 2018 @02:29AM (#18586981)
Re:Terminals Are Sexy on Sunday December 02, 2018 @05:05PM (#18584872)
"lexis" is the same as

    # unix
    wc -w

    # powershell
    Measure-Object -Word
Re:Terminals Are Sexy on Sunday December 02, 2018 @04:55PM (#18584816)
spacemacs and spacevim = slow

Can be slower than an IDE

Re:The Worst Measles Outbreak In The European Union on Sunday December 02, 2018 @01:28PM (#18583648)
You can all thank Andrew Wakefield, the physician that published the fraudulent paper that linked vaccines to autism.

"Immunization rates in Britain dropped from 92 percent to 73 percent, and were as low as 50 percent in some parts of London."

Then he directed a documentary against vaccination, making things even worse.

Re:Node.js for Embedded Systems on Saturday December 01, 2018 @08:47PM (#18580263)
The choice of node.js means putting developer convenience in front of everything else.

The end user does not care about developer convenience, cares about a working product that is reliable.

Re:Node.js for Embedded Systems on Saturday December 01, 2018 @08:29PM (#18580188)
The most significant form of garbage collection in the ECMAScript community is called npm.
Re:The deepest problem with deep learning on Saturday December 01, 2018 @02:12PM (#18578322)
Artificial neural networks, etc. are an abstraction that is inspired on a biological neural ensemble. With many differences...

Neurons are families of cells that come in many shapes and most of the time get oversimplified for didactic purposes. The processes involved in neuroscience are also oversimplified most of the time.

It is often said that dendrites are the input, axons the output, and that spikes are fired when a threshold is met... but that's not always true. The biological situation is full of special cases.

Then you have the way the network is formed. The amount of neurons and layers in a deep neural networks are just hardcoded in advance. That's not the case in biology.

Then you have volume: biological neural networks have many more neurons, and many more connections between those. For example each Purkinje cell (in the cerebellum) can have over 200k dentritic connections.

Older »