New around here? Register your SA Forums Account here!

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
pseudorandom name
May 6, 2007

ARP timeouts?

Adbot
ADBOT LOVES YOU

pseudorandom name
May 6, 2007

that isn't viable for disciplines that use math

pseudorandom name
May 6, 2007

Shaggar posted:

incredible. why does anyone use go?

C++ doesn't have a decimal type either

pseudorandom name
May 6, 2007

lol if you didn't learn sort functions by implementing graphical versions of them using BGI in Turbo Pascal in high school

pseudorandom name
May 6, 2007

companies try to shove their apps down your throat because Apple was clever enough to put ad blocker support in Mobile Safari

plus web pages can't demand access to your contacts and sit in the background monitoring your location history and run facial recognition and extract location data from your photo library and listen to your music choices on your microphone and do all the other things that are the hallmarks of the modern app experience

pseudorandom name
May 6, 2007


nah, this is bog-standard christianity

pseudorandom name
May 6, 2007

yes

pseudorandom name
May 6, 2007

it’s called JSONx

pseudorandom name
May 6, 2007

that’d just normal Christian eschatology

pseudorandom name
May 6, 2007

there’s a nice scripture in revelation about god destroying those who destroy the earth that no christian knows because they’re all heretics

they’re all too busy having dominion over the land and the creatures and their wives

pseudorandom name
May 6, 2007

converts are always the absolute worst

pseudorandom name
May 6, 2007

web developers who reinvent any kind of browser-supplied UI control should be stabbed in the nuts

pseudorandom name
May 6, 2007

eschaton posted:

if your HTML doesn’t represent hypertext documents where the semantics are straightforward and the styling is purely an aesthetic matter, then what you’re doing should not involve HTML, you should write a native app

you keep saying this, but if it actually happened macOS would be even more useless

pseudorandom name
May 6, 2007

hey tef you’re famous
https://twitter.com/id_aa_carmack/status/1075857848016560130?s=21

pseudorandom name
May 6, 2007

NihilCredo posted:

I didn't even know jvm had its own serialisation format, I was talking exactly about converting an inline class to json / xml / whatever.

Is the runtime representation such that a serialization library can recognize an inline class and automatically convert it to and from either { "personAge": { "age": 15 }} or { "personAge": 15}? And if so, is there a recommended convention or did they leave it to the main library authors to decide?

the runtime representation precisely stores the exact object graph and the reason you don't use Java's native serialization is that precisely representing the object graph is a arbitrary code execution vulnerability waiting to happen

pseudorandom name
May 6, 2007

Beamed posted:

who the hell's high school had programming courses

mine

pseudorandom name
May 6, 2007

hello fellow 1998-1999 high schools student

pseudorandom name
May 6, 2007


https://www.youtube.com/watch?v=srme0p3oxFo

pseudorandom name
May 6, 2007

the Infocom source dump claims that the compiler for that source no longer exists

pseudorandom name
May 6, 2007

CRIP EATIN BREAD posted:

actually its very good. kqueue is better but whatever.

https://idea.popcount.org/2017-02-20-epoll-is-fundamentally-broken-12/ https://idea.popcount.org/2017-03-20-epoll-is-fundamentally-broken-22/ :toot:

also https://medium.com/@copyconstruct/the-method-to-epolls-madness-d9d2d6378642

pseudorandom name fucked around with this message at 22:56 on Apr 19, 2019

pseudorandom name
May 6, 2007

it doesn’t have a good epoll now

but don’t worry, you can do AIO polls now

the AIO part of AIO is still crap, though

pseudorandom name
May 6, 2007

% In writes to memory, % i just reads the stack.

pseudorandom name
May 6, 2007

what if my build system is completely declarative?

pseudorandom name
May 6, 2007

Symbolic Butt posted:

the weirdest thing about han unification is how they didn't even bother to put a language variant tag/modifier (like you can specify skintones with a modifier on emojis nowadays?)

so trying to input and get the correct variants was an awkward task

"ok I'm typing japanese here-- hey wait why did the font reverted to chinese in the middle of the text"

I feel like it got way better with time but at the beginning it was just a confusing mess, for what it's worth I've heard similar experiences from native japanese people.

they introduced the language tags in Unicode 3.1, deprecated them in 5.1, and removed them entirely in 8

emoji flags use the same tagging mechanism, but with 🏴 instead of an invisible language character

edit: to clarify, one of the ways emoji flags are encoded is by partially reusing the language tagging mechanism, there are at least two other methods

pseudorandom name fucked around with this message at 01:20 on Jun 18, 2019

pseudorandom name
May 6, 2007

eschaton posted:

crash when dereferencing nonexistent vtable

you want

code:
Foo *p = malloc(sizeof(Foo));
new(p) Foo;
p->Initialize();

I think it'll work if Initialize() isn't virtual and does the placement new itself

pseudorandom name
May 6, 2007

close() can fail with EIO

pseudorandom name
May 6, 2007

Ploft-shell crab posted:

ah gently caress


is there a nice writeup somewhere on this?

https://lwn.net/Articles/752063/
https://wiki.postgresql.org/wiki/Fsync_Errors
https://www.youtube.com/watch?v=1VWIGBQLtxo

pseudorandom name fucked around with this message at 07:09 on Jul 28, 2019

pseudorandom name
May 6, 2007

brand engager posted:

I was looking at that code some more today, and there are these macros named like PRODUCTNAME_INTERFACE_BEGIN, PRODUCTNAME_INTERFACE_METHOD, and PRODUCTNAME_INTERFACE_END. the fuckin interface end macro is just straight up defined as
code:
#define PRODUCTNAME_INTERFACE_END }
and the other two just expand to a pretty normal struct declaration line. These are used all over the place instead of just typing the declarations and it completely fucks up intellij. I can't highlight the type names and search for usages because it doesnt recogize something like some_type_name in PRODUCTNAME_INTERFACE_BEGIN(some_type_name, name); as a symbol. These macros don't save time or anything what the gently caress was wrong with whoever decided to do the whole codebase this way

it might be cargo culting the COM interface declaration macros or something, and if you used a good IDE it'd see right through the macros

pseudorandom name
May 6, 2007

that was a good thing to copy from Microsoft Access

pseudorandom name
May 6, 2007

remember the intel xml accelerator?

pseudorandom name
May 6, 2007

mystes posted:

This just looks like the output from a decompiler.

a decompiler would synthesize temporary variables to make it easier to understand

edit: acutall, ciaphas please run it through ghidra or something

pseudorandom name
May 6, 2007

Sapozhnik posted:

Msvc compiler is pretty good though isn't it?

the backend is good, the frontend was designed by the marketing department

pseudorandom name
May 6, 2007

time counts from humanity landing on their local satellite moon

pseudorandom name
May 6, 2007

leper khan posted:

why would anyone want that in the standard?
reading the proposal, a 2D graphics API isn’t enough for modern user interfaces and our glorious C++-to-WebAssembly future has not yet arrived

pseudorandom name
May 6, 2007

and the actual proposal appears to just wrap the platforms existing web browser control without specifying behavior, which is useless

it does talk about XHTML though, so you know the author is up to date with web technologies

pseudorandom name
May 6, 2007

Soricidus posted:

plain make is like python. it’s fine for small things and then your thing becomes big and you really really wish you’d used something else in the first place

(also significant whitespace I guess)

at this point I build all my small things using meson

pseudorandom name
May 6, 2007

pointsofdata posted:

i think, but am not sure, that the issue is that the web search is slow, so you don't see the results while typing, then when it returns it get prioritised for some reason?

no, slow search results are hidden entirely, that’s why typing in “update” returns no matches at all but if you close the Start menu and then immediately reopen it and type “update” again it’ll match “Check for Updates”

pseudorandom name
May 6, 2007

Soricidus posted:

I also have questions about why, exactly, searching for fundamental system commands like that would be slow

it is a separate search provider because they're synthesized rather than existing as files on disk

why does the search provider load slowly? because gently caress you that's why

pseudorandom name
May 6, 2007

hell yeah image maps but worse

Adbot
ADBOT LOVES YOU

pseudorandom name
May 6, 2007

Buck Turgidson posted:

so if the lone maintainer of some project disappears or gets hit by a bus, someone's basically just got to figure it out from the source code?

c.f. https://roy.marples.name/archives/dhcpcd-discuss/0003457.html

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