News for hackers. Stuff that matters.

77544cec

Re:An idea from physics helps AI see in higher dimensions on Thursday January 09, 2020 @07:07PM (#22007250)
- I'm a developer.

- Huh ?

- I build websites types on an air keyboard.

Re:Electrical Ground Current Event Detected in Norway on Wednesday January 08, 2020 @04:06PM (#21995802)
Think about this: this guy may well have doubts.
Yeah I always sound like an ass this is why I have a lot of problem finding a job. However once I'm hired I really do work 70h a week for 38k€ (per year, yes) but still am treated like a piece of shit (the reason for that is pure discrimantion but I won't dwelve into this). Then I leave, and they ask me to come back, still treating me like a dog.

I wan to kill myself and I want to kill you.

https://www.youtube.com/watch?v=axWt4HVT7iY&t=3m57s

Relevant Google Scholar link to what he did during the last 20 years:

https://scholar.google.com/scholar?q=novikov+earthquake&hl=f...

Re:Electrical Ground Current Event Detected in Norway on Wednesday January 08, 2020 @08:33AM (#21991236)
Triggering earthquakes is a thing. This dude has devoted his whole career to it.

http://www.ihed.ras.ru/mg/novikov.htm

Chill out, I'm one of them, I don't care.
Actually I'm considering dropping out of the industry and starting a crime career. I have been in touch with someone who'd be interested in operating drones to deliver haschich from Morocco to Spain.
Oh and I never downvote
I code a lot, work 70h per week and am looking for a job. Contrary to 9-to-5 programmers I have built really complex systems (like a debugger or a sql engine). I can find an optimal solution in 10 minutes for almost any code wars challenge > 4 kyu. Who is hiring ?
Re:Clojure: `every-pred` and `some-fn` on Sunday January 05, 2020 @07:47PM (#21965490)
For those that are interested, I gathered in a gist some functional combinators I have been writing over the years.

As a personal name convention, I use '|' (the piping character) as a suffix to name any function returning a function, which includes function combinators. Thus the naming of these functions becomes straighforward: 'every-pred' becomes 'and|' while 'some-fn' turns into 'or|'.

Example:

    (filter (and| pos? even?) nums)
    (filter (or|  neg? odd?)  nums)
More: https://gist.github.com/TristeFigure/acd689f3c57e840ebb9f8a6...
Re:Clojure: `every-pred` and `some-fn` on Sunday January 05, 2020 @07:41PM (#21965465)
Vs:

    (filter (and| :admin? :mod?)
            people)
and:

    (filter (or| :admin? :mod?)
            people)
Re:Clojure: `every-pred` and `some-fn` on Sunday January 05, 2020 @07:20PM (#21965344)
Indeed this is one of the first steps Paul Graham goes through in On Lisp.
Fuck that attitude. This is why I'm considering switching careers.
Re:The Fallacy of Premature Optimization (2009) on Tuesday December 31, 2019 @12:26PM (#21922697)
Optimising code without taking into effect the context it runs in is what makes it premature. For instance, the complexity of the calling code, or even some situation where it will never matter in practice (efficiently sorting UI elements, which must be few to be relevantly called UI).

And there is early optimisation, when you know upfront the hill is steep because of the sheer amount of calculation involved in the very nature of the project (gamedev, big data, etc). And this can lead to low level optimizations (e.g McCarmack's fast inverse square root) or architectural measures (distributing code accross computers).

Premature Architecture ?

Re:Russia deploys Avangard hypersonic missile system on Saturday December 28, 2019 @11:58AM (#21899976)
> First, let's establish some terms. Hypersonic is, obviously, supersonic on steroids. But while "supersonic" has the clear cut definition of being faster than the speed of sound (Mach 1), hypersonic is a little fuzzier. Generally, hypersonic speeds are the point at which the molecules of air that surround the aircraft start to change by breaking apart (dissociation) and/or picking up electrical charge (ionization). These things don't happen at one particular speed, so the term "hypersonic" instead refers to the point at which they start to meaningfully affect the mechanics of flight—generally accepted to be Mach 5, or 3,836.35 mph in conditions of 20 degrees Celsius at sea level.

Source: https://www.popularmechanics.com/flight/a28426/hypersonic-sp...

Re:Recursion and Fractals on Friday December 27, 2019 @08:31AM (#21891206)
This is how I understood the notion of Hausdorff dimension when reading Mandelbrot's book.

Pick a stick to measure the length of the curve. As you break it into smaller sticks, you can fit them in tighter niches within the curve, and your measure of the curve's length becomes greater and greater. In the case of the Koch curve, breaking your stick in 3 means you'll be able to measure a length 4 times greater.

Re:MISC: A homoiconic language based on maps on Saturday December 21, 2019 @06:49AM (#21850859)
Befunge is a stack-based, reflective, esoteric programming language. It differs from conventional languages in that programs are arranged on a two-dimensional grid. "Arrow" instructions direct the control flow to the left, right, up or down, and loops are constructed by sending the control flow in a cycle. It has been described as "a cross between Forth and Lemmings."[1]

Source: https://en.wikipedia.org/wiki/Befunge

    v>>>>>v
      12345
      ^?^
     > ? ?^
      v?v
      6789
      >>>> v
     ^    .<
Re:Airbnb Isn’t Uber, Says European Court of Justice on Friday December 20, 2019 @06:45AM (#21843406)
Uber sets the price. That's the point.
Re:Bill to crack down on robocalls passes Senate on Thursday December 19, 2019 @07:15PM (#21840648)
It did in my country (where you can't make up a phone number).
A tutorial is to an integration test what a how-to guide is to a unit test.
Re:Bill to crack down on robocalls passes Senate on Thursday December 19, 2019 @04:32PM (#21839552)
Yes. I almost set up a "phone center" with the OSS asterisk package on a raspberry-pi. Basically the raspberry takes the call and waits for a few second silently, before forwarding the call to your phone (and only then it starts ringing). This way, robocallers hang up and your phone never rings.

Instead of waiting, you can also send control sounds to make the robocall believe the call has ended.

Re:Bill to crack down on robocalls passes Senate on Thursday December 19, 2019 @04:23PM (#21839480)
Collaborative filtering is better than law IMO.

My phone company shipped a phone app in the app-stores that you're supposed to use in replacement of the default phone app. It comes equipped with collaborative filtering to weed out robocalls: when one rings your phone, the phone app displays it as such as well as the number of people who have reported it.

I used to have one robocall a day, but not anymore. It looks like this simple technology has made robocallers give up.

Re:Short-lived light sources discovered in the sky on Thursday December 19, 2019 @04:07PM (#21839311)
There is also recurring novae (objects that have been seen to experience multiple nova eruptions), and the idea that our sun might be one of them.

https://en.wikipedia.org/wiki/Nova#Recurrent_novae

Older »