Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

mystes posted:

Maybe it's time to disable javascript until this is fixed.

not a problem when the web is just used to present structured documents

Adbot
ADBOT LOVES YOU

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

eschaton posted:

not a problem when the web is just used to present structured documents

i have bad news for u

Zemyla
Aug 6, 2008

I'll take her off your hands. Pleasure doing business with you!

The link is dead. What did it say?

creatine
Jan 27, 2012




Zemyla posted:

The link is dead. What did it say?

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



lol

AWWNAW
Dec 30, 2008

wait with the CPU flaw you can read remote computer memory via web rear end? if so that is very nice

aardvaard
Mar 4, 2013

you belong in the bog of eternal stench

it appears it can be done with just javascript

repiv
Aug 13, 2009

AWWNAW posted:

wait with the CPU flaw you can read remote computer memory via web rear end? if so that is very nice

google managed to do it with plain javascript

webass would just make it slightly easier lol

AWWNAW
Dec 30, 2008

I feel like everything is possible again. 2018 here we go!

Shaggar
Apr 26, 2006
wasm makes writing code easier and faster which would include exploits. you can still do it the old slow way w/ javascript if you want.

Cybernetic Vermin
Apr 18, 2005

surely not even this thread can make meltdown/spectre a reason to talk about webasm

suffix
Jul 27, 2013

Wheeee!

Cybernetic Vermin posted:

surely not even this thread can make meltdown/spectre a reason to talk about webasm

N.Z.'s Champion posted:

also SharedArrayBuffer w/ webworkers will be pretty good too i think.

shared buffers were killed dead to mke it harder to time things

DrPossum
May 15, 2004

i am not a surgeon
im more of a webboobs guy

HoboMan
Nov 4, 2010

https://stackoverflow.blog/2018/01/11/brutal-lifecycle-javascript-frameworks

Janitor Prime
Jan 22, 2004

PC LOAD LETTER

What da fuck does that mean

Fun Shoe
https://www.scala-lang.org/blog/2017/04/01/announcing-skala.html

quote:

We are very proud today to be able to reveal that Dotty, sometimes referred to as “Scala 3”, will now officially be known as, “Skala”. And for the first time, we are delighted to announce that Skala will be adopting German keywords and syntax.

quote:

Martin goes on, “One aspect of Scala’s keywords I always liked was that val, var and def were all the same length, so identifier names would align vertically. It just looked beautiful! We’ve managed to retain that property with the new keywords, unveränderliche, opportunistisch and verfahrensweise, whilst giving each of them more character, and indeed more characters.

Xarn
Jun 26, 2015
As far as computer related april jokes go, not bad.

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

are there any languages in production use that have or at least support keywords in various languages?

TOPS-420
Feb 13, 2012

applescript originally supported 'dialects' so that the same script could be presented in english, french, or "programmer dialect" with curly braces but only the english dialect ended up shipping

NihilCredo
Jun 6, 2011

iram omni possibili modo preme:
plus una illa te diffamabit, quam multæ virtutes commendabunt

carry on then posted:

are there any languages in production use that have or at least support keywords in various languages?

excel

suffix
Jul 27, 2013

Wheeee!

carry on then posted:

are there any languages in production use that have or at least support keywords in various languages?

C

pseudorandom name
May 6, 2007

lol

code:
_ZN8iloveyouIS_S_S_S_S_EIS0_S0_S0_S0_S0_EIS1_S1_S1_S1_S1_EIS2_S2_S2_S2_S2_EIS3_S3_S3_S3_S3_EIS4_S4_S4_S4_S4_EIS5_S5_S5_S5_S5_EIS6_S6_S6_S6_S6_EIS7_S7_S7_S7_S7_EIS8_S8_S8_S8_S8_EIS9_S9_S9_S9_S9_EE

There Will Be Penalty
May 18, 2002

Makes a great pet!

carry on then posted:

are there any languages in production use that have or at least support keywords in various languages?

http://search.cpan.org/~dconway/Lingua-Romana-Perligata-0.50/lib/Lingua/Romana/Perligata.pm

tef
May 30, 2004

-> some l-system crap ->

carry on then posted:

are there any languages in production use that have or at least support keywords in various languages?

scratch

VikingofRock
Aug 24, 2008




pseudorandom name posted:

lol

code:
_ZN8iloveyouIS_S_S_S_S_EIS0_S0_S0_S0_S0_EIS1_S1_S1_S1_S1_EIS2_S2_S2_S2_S2_EIS3_S3_S3_S3_S3_EIS4_S4_S4_S4_S4_EIS5_S5_S5_S5_S5_EIS6_S6_S6_S6_S6_EIS7_S7_S7_S7_S7_EIS8_S8_S8_S8_S8_EIS9_S9_S9_S9_S9_EE

Did this come from some template metaprogramming monstrosity? Because my TMP fizzbuzz produces this excellent identifier:

code:
__ZN6stringIJLc49ELc10ELc50ELc10ELc70ELc105ELc122ELc122ELc10ELc52ELc10ELc66ELc117ELc122ELc122ELc10ELc70ELc105ELc122ELc122ELc10ELc55ELc10ELc56ELc10ELc70ELc105ELc122ELc122ELc10ELc66ELc117ELc122ELc122ELc10ELc49ELc49ELc10ELc70ELc105ELc122ELc122ELc10ELc49ELc51ELc10ELc49ELc52ELc10ELc70ELc105ELc122ELc122ELc66ELc117ELc122ELc122ELc10ELc49ELc54ELc10ELc49ELc55ELc10ELc70ELc105ELc122ELc122ELc10ELc49ELc57ELc10ELc66ELc117ELc122ELc122ELc10ELc70ELc105ELc122ELc122ELc10ELc50ELc50ELc10ELc50ELc51ELc10ELc70ELc105ELc122ELc122ELc10ELc66ELc117ELc122ELc122ELc10ELc50ELc54ELc10ELc70ELc105ELc122ELc122ELc10ELc50ELc56ELc10ELc50ELc57ELc10ELc70ELc105ELc122ELc122ELc66ELc117ELc122ELc122ELc10ELc51ELc49ELc10ELc51ELc50ELc10ELc70ELc105ELc122ELc122ELc10ELc51ELc52ELc10ELc66ELc117ELc122ELc122ELc10ELc70ELc105ELc122ELc122ELc10ELc51ELc55ELc10ELc51ELc56ELc10ELc70ELc105ELc122ELc122ELc10ELc66ELc117ELc122ELc122ELc10ELc52ELc49ELc10ELc70ELc105ELc122ELc122ELc10ELc52ELc51ELc10ELc52ELc52ELc10ELc70ELc105ELc122ELc122ELc66ELc117ELc122ELc122ELc10ELc52ELc54ELc10ELc52ELc55ELc10ELc70ELc105ELc122ELc122ELc10ELc52ELc57ELc10ELc66ELc117ELc122ELc122ELc10ELc70ELc105ELc122ELc122ELc10ELc53ELc50ELc10ELc53ELc51ELc10ELc70ELc105ELc122ELc122ELc10ELc66ELc117ELc122ELc122ELc10ELc53ELc54ELc10ELc70ELc105ELc122ELc122ELc10ELc53ELc56ELc10ELc53ELc57ELc10ELc70ELc105ELc122ELc122ELc66ELc117ELc122ELc122ELc10ELc54ELc49ELc10ELc54ELc50ELc10ELc70ELc105ELc122ELc122ELc10ELc54ELc52ELc10ELc66ELc117ELc122ELc122ELc10ELc70ELc105ELc122ELc122ELc10ELc54ELc55ELc10ELc54ELc56ELc10ELc70ELc105ELc122ELc122ELc10ELc66ELc117ELc122ELc122ELc10ELc55ELc49ELc10ELc70ELc105ELc122ELc122ELc10ELc55ELc51ELc10ELc55ELc52ELc10ELc70ELc105ELc122ELc122ELc66ELc117ELc122ELc122ELc10ELc55ELc54ELc10ELc55ELc55ELc10ELc70ELc105ELc122ELc122ELc10ELc55ELc57ELc10ELc66ELc117ELc122ELc122ELc10ELc70ELc105ELc122ELc122ELc10ELc56ELc50ELc10ELc56ELc51ELc10ELc70ELc105ELc122ELc122ELc10ELc66ELc117ELc122ELc122ELc10ELc56ELc54ELc10ELc70ELc105ELc122ELc122ELc10ELc56ELc56ELc10ELc56ELc57ELc10ELc70ELc105ELc122ELc122ELc66ELc117ELc122ELc122ELc10ELc57ELc49ELc10ELc57ELc50ELc10ELc70ELc105ELc122ELc122ELc10ELc57ELc52ELc10ELc66ELc117ELc122ELc122ELc10ELc70ELc105ELc122ELc122ELc10ELc57ELc55ELc10ELc57ELc56ELc10ELc70ELc105ELc122ELc122ELc10ELc66ELc117ELc122ELc122EEE5valueE

rjmccall
Sep 7, 2007

no worries friend
Fun Shoe
it's just a demangler stress test. in fact it's actually a bit of a cheat because it's not a valid mangling at all; there's no production that takes successive template-argument lists like that

if it was source code it would be something like:

C++ code:
iloveyou<iloveyou,iloveyou,iloveyou,iloveyou><iloveyou<iloveyou,iloveyou,iloveyou,iloveyou>, iloveyou<iloveyou,iloveyou,iloveyou,iloveyou>, iloveyou<iloveyou,iloveyou,iloveyou,iloveyou>, iloveyou<iloveyou,iloveyou,iloveyou,iloveyou>><...><...><...><...><...><...><...><...>
note how it just applies more template arguments to a type that's already a template application

also the c++ kind system doesn't allow templates to be directly applied to themselves, only to specializations of themselves. to apply a template to itself as a template template parameter you'd need a infinitely-kinded template. this isn't meaningfully restrictive, you can easily express that kind of recursion because template instantiation uses late binding, it just has to be indirected somehow to satisfy the kind system

pseudorandom name
May 6, 2007

yeah, the lol is that the end result is a 4 gigabyte string and crashes your demangler

VikingofRock
Aug 24, 2008




pseudorandom name posted:

yeah, the lol is that the end result is a 4 gigabyte string and crashes your demangler

Oh yeah that is pretty lol

feedmegin
Jul 30, 2008

carry on then posted:

are there any languages in production use that have or at least support keywords in various languages?

To be honest, as I understand it it's pretty much expected that if you're a programmer, worldwide, to be any good you've got to know English - at least well enough to read it. Pretty much all the technically references, Stack Overflow, etc etc out there is going to be in English. At that point, having language keywords in English as well (and everyone worldwide being able to instantly understand what they're looking at in anyone else's source) is just kind of the way to go. I could see it being different for something like AppleScript that's supposed to be used by 'the common man' but anything above that? English.

mystes
May 31, 2006

The English words used for keywords aren't usually that meaningful in themselves and it would probably make it more confusing to have multiple versions making it harder to look stuff up.

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

TOPS-420 posted:

applescript originally supported 'dialects' so that the same script could be presented in english, french, or "programmer dialect" with curly braces but only the english dialect ended up shipping

AppleScript actually did ship the French and Japanese dialects, you could choose your language from a pop-up and your code would change immediately

the “programmer dialect” was never actually finished and it’s unclear to me whether it was C-style or Pascal-style

I should do some legwork and see if I can track down some of this stuff, see if maybe I can get some of it released as a historical thing like the QuickDraw, MacPaint, and DOS 3.3 source code were and like the Lisa source code is going to be

(then someone could do a C++/Java dialect and a Lisp dialect!)

mystes
May 31, 2006

Just imagine if every page in Microsoft's .net documentation had to have versions for each combination like "Japanese vb.net .net core 2.0" and "Esperanto fsharp .net framework"

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?
that’s not really how AppleScript dialects worked though

the language itself supported the dialects, because it converted to a dialect-independent representation (that’s how you could change dialects on the fly)

then individual terminologies mapped dialect-independent commands and classes to provided by classes and extensions into a human language, and simultaneously provided documentation for them

so sure, you’d have the language proper documented for each dialect, but that won’t change much over time

and then you’d have the libraries documented for each language—but the libraries literally carry their documentation with them, so that’s not really so bad either

where things get weird is if you have a terminology that only supports one dialect (like those provided in most third party applications’ scripting dictionaries), you wind up with a script in Japanese or French dialect that has a bunch of English intermixed for the classes and commands, like loanwords

it’s better than switching to raw four-character codes representing classes and commands inline though, as happens when no terminology is present (e.g. when you open a script without an application it targets installed)

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



smh if you don't program in Fjölnir

BobHoward
Feb 13, 2012

The only thing white people deserve is a bullet to their empty skull
applescripts english dialect is an abomination, they should’ve finished the programmer dialect and not shipped the any of the pseudo natural language bullshit

Notorious b.s.d.
Jan 25, 2003

by Reene
could have been worse

apple was also working on an english-expr version of lisp, replacing s-exprs (parens) with english syntax

for all of swift / objC's syntax shittiness, nothing sucks as bad as dylan

Notorious b.s.d.
Jan 25, 2003

by Reene
even the name "dylan" sucks

like "dylan," itself, man, woman, or language, is a metonym for suckiness

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Notorious b.s.d. posted:

apple was also working on an english-expr version of lisp, replacing s-exprs (parens) with english syntax


what? i can't even imagine this it sounds horrible.

Notorious b.s.d.
Jan 25, 2003

by Reene

MALE SHOEGAZE posted:

what? i can't even imagine this it sounds horrible.

it's not quite as bad as it sounds, but it ain't good

https://opendylan.org/about/examples/hello_world.html

code:
Module: dylan-user

define library hello
  use io, import: { format-out };
end;

define module hello
  use format-out;
end;

Module: hello

format-out("Hello!\n");

Notorious b.s.d.
Jan 25, 2003

by Reene
lol this is the first gis hit for "apple dylan"

Adbot
ADBOT LOVES YOU

rjmccall
Sep 7, 2007

no worries friend
Fun Shoe

Notorious b.s.d. posted:

for all of swift / objC's syntax shittiness

lol u loving dambass

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply