News for hackers. Stuff that matters.

antisemiotic

I wonder what would happen if Carmack teamed up with Yudkowsky and his cult; Carmack's practicality with the imagination of people who non-facetiously talk about acausal deals with mulitiversal AIs could be a match made in heaven.
Re:Browsh for text-based internet browsing (2018) on Tuesday November 12, 2019 @01:58PM (#21516952)
There are extensions (at least for Firefox, but I think Chrome has those too) to always redirect to old reddit.
Re:Async-await on stable Rust on Thursday November 07, 2019 @09:57AM (#21473718)
That's just the "Pin" type, which is heavily used in async code behind (and occasionally in front) the scenes, but is by no means restricted to it.
Re:Facebook Libra Is Architecturally Unsound on Tuesday November 05, 2019 @08:30AM (#21452167)
I used to think that Libra is just an attempt to combine the transaction speed of blockchain with the trustlessness of fiat, I didn't expect the rabbit hole to go so deep.
Re:Undercover reporter reveals life in a Polish troll farm on Tuesday November 05, 2019 @02:35AM (#21450430)
Good old "anyone ineptly arguing against my core beliefs must be a paid troll": https://rationalwiki.org/wiki/Shill_gambit
>A compiler pass is not a compiler.

What is the difference, if there's one well-defined language before the pass and another after it?

>A non-optimising C to assembly compiler is not compiling to the same level of abstraction.

Neither are "transpilers", otherwise they'd be quite useless. Abstraction isn't a linear hirerarchy, in any case.

In that case surely you'd agree that there are hardly any compilers in wide use these days - more often than not the first step of a modern compiler is translation into a similar but less expressive intermediate language.

Or does it only count as "transpilation" if the intermediate representation is an already existing language, thus making the distincion purely based on the history of a language, not the implementation?

Fine, but by that logic, gcc with -O0 is a transpiler, and becomes a compiler again with -O2. Similarly, TS transpiles to JS, but, say, ClojureScript compiles to JS. And if a compiler is built with something like Nanopass, it's a sequence of transpilers that somehow become a compiler along the way.
"Transpilation" and "compilation" describe the exact same concept. From user's perspective, readable code is translated into runnable code. From theoretical perspective, code in a more complex language is translated into a less complex language while preserving semantics. From a compiler writer's perspective, it's a totem pole of compilers, with at least one middle-level language usually. Plenty of people use the term "compiles to JavaScript" to describe languages like TS or Elm. It's just some overly pedantic people insist on the term "transpile" when the target is also, in a completely unrelated way, used to write code directly by a significant number of contemporary programmers.
It's always "from one language to another", sometimes the destination is machine language. The output is generally not meant to be meant to be human-readable in any case. "Transpile" is an ugly and unnecessary word, please don't push it as "more correct".
Re:Tor Browser 9.0 on Sunday October 27, 2019 @07:27AM (#21369080)
The emphasis was on "why Facebook", not "why Tor".
Re:Tor Browser 9.0 on Sunday October 27, 2019 @04:08AM (#21368431)
What are the use cases for browsing Facebook through Tor? For me it sounds kind of like asking a prostitute for a hug.
Re:Sudo vulnerability on Sunday October 27, 2019 @02:58AM (#21368256)
Unless "user that was created with admin rights which were later taken away" counts as admin, then no. I always set up a separate admin account and hardly ever have to log into it to do admin stuff.
Re:Gitlab ‘rethinking’ third-party telemetry on Friday October 25, 2019 @09:28AM (#21354678)
DNT is pretty much the reverse of the evil bit (RFC 3514), but supposedly not meant as a joke.
Re:Gitlab ‘rethinking’ third-party telemetry on Friday October 25, 2019 @09:07AM (#21354533)
Twelve thumbs down and one middle finger. (I'm not a native speaker of emoji and I'm not sure what the 8 ball means). These are from employees?
Re:Stealing Ur Feelings on Thursday October 24, 2019 @03:44AM (#21342517)
Every educated AI knows that the best way to spot a criminal is too look for people staring directly at the camera, with a white rectangle below their face.
Re:Ask HN: What's a promising area to work on? on Tuesday October 22, 2019 @04:05PM (#21327989)
>An example might be in store retail analytics- a set up with a bunch of cameras that can detect what people are touching or otherwise interested in.

Because the one thing desperately needed in this world is even more surveillance?

Re:Typography of Neon Genesis Evangelion on Tuesday October 22, 2019 @12:24PM (#21325518)
>writers eventually admit

Excuse me sir, do you have a moment to talk about or lord and saviour, Death of the Author?

Re:Faces of Open Source on Tuesday October 22, 2019 @09:05AM (#21323137)
I heard he got axed while he was on a business trip to Mexico.
Re:NordVPN confirms it was hacked on Tuesday October 22, 2019 @03:04AM (#21321025)
IPv6 VPN is available for free from https://ungleich.ch/ipv6/vpn/ if you buy a VM from them.

Haven't tested it, just rembered datacenterlight from a HN thread about buying a mainframe.

Re:“We have no reason to believe 5G is safe” on Monday October 21, 2019 @09:30AM (#21312006)
I've seen wireless thingies that would beep when your order is ready at kebab joints. Since the basic principle is the same (1-bit signaling), I'm pretty sure it could be just as well rolled out right now, unfortunately.
Re:Lessons from the first fully automated hotel on Monday October 21, 2019 @07:19AM (#21310938)
Yeah, but the cleaner would need to earn at least minimum wage, while grad student will happily do it for free if it helps them with their PhDs. Might even thow in some perks for good behavior, like exemption from didactic work next year.
Re:The Exquisite Precision of Time Crystals on Friday October 18, 2019 @09:16AM (#21291082)
Sorry, I misunderstood then. But still, personally I think it's about as relevant as if the post was about dark matter, and someone commented "well, dark chocolate is also quite hard to detect if the fridge light goes off".
Re:The Real Reasons I Don’t Hire You on Friday October 18, 2019 @09:11AM (#21291057)
>Actually, it doesn't even matter. I also block Spolsky's image at the table tennis table.

That picture isn't even that bad, the one that shows up in firefox's recently viewed, with him making a creepy smile, is way worse.

Re:The Exquisite Precision of Time Crystals on Friday October 18, 2019 @07:59AM (#21290562)
Time crystals mentioned in TFA are an entirelly different thing from crystal oscillators.
Re:Librem 5 Aspen Batch – Photo and Video Gallery on Friday October 18, 2019 @06:44AM (#21290195)
Anyone got it and willing to share experiences? I have a preorder, but decided to play it safe and ask for a later batch.
Re:I Survived the “Destroying Angel” (2006) on Friday October 18, 2019 @03:35AM (#21289373)
Hm, I was already starting to think about some sort of portable chromatography kits to identify toxins in the field, but I guess your solution works too.
Re:I Survived the “Destroying Angel” (2006) on Friday October 18, 2019 @01:42AM (#21288975)
I think it really helps to be taught by someone who knows what they're doing. Where I live (Poland) it's common to have this knowledge passed down in families. I wouldn't dare to pick up anything based on a picture in a book.
Re:Why Isn't Functional Programming the Norm? [video] on Thursday October 17, 2019 @09:31AM (#21281828)
Careful, somewhere along that line you might even come to a conclusion that Haskell is world's most advanced imperative language, with the reprogrammable semicolons and whatnot.

Older »