« first day (2390 days earlier)      last day (729 days later) » 
01:00 - 23:0023:00 - 00:00

1:07 AM
> thanks for the downvote by the way lol couldve gave some constructive criticism just saying...
^ can we get a couple of commas here, please?
 
Also an apostrophe
 
aaand some capital letters for dessert
 
Sounds NLN :-p
 
@RyanM well... it's an answer
 
...ah
Well, sounds like it could be removed.
 
1:13 AM
definitely. Here's the gem (it's only a part of it!):
0
A: Web3 .GetReserves() is spamming my console

Chunky Pandaafter some rethinking and testing i noticed that my state changes where causing an infinite loop. I literally just learned how to use UseEffect seconds ago and it solved my issue. if anyone has the same issue and does not understand what im saying just ask and ill post the code. thanks for the do...

Each of the 4 lines is, individually, a self-contained gem
 
oh dear. It's not even quite NAA, just...a mess.
 
quite so. Sometimes NAABot catches... peculiarities
 
Flagged as unfriendly or unkind by a human:
Updated the Answer! — anmol.majhail Nov 4, 2018 at 14:56
 
Uhhhhh
 
brrr, definitely U/U - how dare they comment! /s
 
1:17 AM
Yeah I don't understand why people flag things sometimes.
 
Didn't you say once that you found that people will flag just about any comment under their posts as U/U
I have a vague recollection of something along those lines
 
Oh yeah, but also like...random comments on other people's posts from three and a half years ago?
I suspect a misclick, actually. The flagger is otherwise solid.
They probably meant to flag NLN.
 
@RyanM seems like a subcase of the "if there is a form, someone will try to submit nonsense sooner or later" rule
@RyanM misclick makes much more sense
 
I added a dedicated NLN flag button to fix that
I also have a button that sends @Natty fetch links 22 because I once did @Natty fetch 22 and pulled over 1000 post ids
 
1:43 AM
@HenryEcker that's why I dislike positional parameters...
 
Apparently it failed to parse 22 and defaulted to just @Natty fetch which pulls all pending post ids (and there were a lot)
So now I have a button
 
@HenryEcker heh, yeah, likely. Honestly, I usually go look up the manual every time I want to send a command to one of mine out of fear of doing something like that :)
 
I do too and somehow I still end up messing it up when I type it out
 
true that. And don't get me started on Git commands...
 
2:03 AM
It's fun to suddenly get 20 rep out of nowhere for a self-answered question from 2020 that has had 2000 views and finally was found useful.
So close to 7K. Also about to get Copy Editor gold badge. My candidate score will soon increase by two whole points!
 
About 20 of each reputation and edits. V Cool :)
 
I'll probably knock out those edits right now on the burn
 
 
2 hours later…
3:57 AM
Comment excerpt of the day: "don't be toxic men it's not league of legends"
Runner-up: "im just a highschool student typing random stuff and expecting it to work"
 
4:24 AM
@RyanM I guess you've been doing SO wrong, you already made it to diamond
 
hehe
I'm more of a HotS guy myself.
 
I'm pro playing as many random games as possible. Currently going through the new Lego Star Wars. It has been quite enjoyable so far.
 
@HenryEcker Do we need to send you a mod message about voting-to-close spam as garbage?
 
@CodyGray I mean sure. I could use the follow up MSO post publicity
 
@cigien They're all serious. This one, too, was serious. We expect users to follow them without objections. Saying, "Nah, I think voting to close spam is useful, so I'm going to keep doing that" would be completely inappropriate and may well earn you a suspension. The fact that in this particular case your response is going to be, "Doh! Of course, good point" does not make the message less serious, it just makes it not controversial.
Although I didn't send the message discussed in the MSO post, and it's not the same template I use, the vast majority of users to whom I sent the message have basically said exactly that. Or, more specifically, they've indicated that they've completely overlooked the existence of the spam flag option, which suggests that the messages have been a fantastic educational tool.
@ZoestandswithUkraine /s/an/a whole series of
 
4:36 AM
I've also sent a mod message containing "You're not in trouble or anything, just...[don't do the thing you did] next time." when I wanted to clarify that it wasn't a huge deal.
Although I suppose if they'd kept doing that I might have suspended them eventually, but I'm pretty sure they wouldn't have even without the message...
 
@cigien It's for any official communication between the user and moderators. That's what this is/was.
The hope is that, in 90% of cases that mod messages are sent, there'll be no need for a suspension, so we don't really think that eventuality over each time. The message in this case is purely advisory/educational. I think it's extremely unlikely we'll ever suspend anyone over it. But that's not a reason not to tell people that the way they're currently using the system is sub-optimal and ask them to correct this.
 
I think Bhargav describing it as a black mark is an overstatement. Moderators will read the history to see what the message was about. Generally there's a summary, though that requires a userscript to do consistently.
I'm never gonna say "oh that account has been messaged 5 times in the past, guess I'll suspend them for a while for this offense without seeing what those messages were about."
 
@DanielWiddis Oof! OK, thanks, good to know. Thanks for the update. I've got a ridiculous number of things on my plate at the moment. I keep meaning to read and reply to your email, but... yeah.
@RyanM Exactly, no, of course not, and I'm absolutely certain Bhargav never would have done that, either.
 
@CodyGray also if you want an intro on that Xbox thing lemme know. :)
 
@DanielWiddis Yeah, would be appreciated. Gotta find the time first. Bear with me? :-)
Undo recently shared how to get some free Oracle Cloud credits, and I did sign up for that, so I need to look into migrating over to that. My needs are very minimal in terms of bandwidth and CPU time, so it shouldn't be a major problem.
 
4:45 AM
Sometimes the message/annotation is "hey your suggested edits aren't great maybe stop code formatting things" and sometimes it's "this is the 50th ban-evasion sockpuppet we've deleted for this person". Big difference in handling :D
 
I will probably be setting up my own personal AWS account for fun and can probably spin up a VM to share... will let you know
 
Oh, OK. Would be nice. I'll try to look into the Oracle thing and see what I can find out about how that works.
I haven't actually looked to see what I'm using in terms of credits, but I suspect it's extremely minimal.
 
well for azure whatever it is is under the quota I have. :D
for AWS if I've got a VM for my own purposes and you want to share it that's not even an issue.
 
@RyanM Even if all messages were extremely serious, we would still have to look at the specific messages to see what the offenses are for. If someone's been warned/suspended 3 times for rude comments, and then we catch them engaging in sockpuppetry, it doesn't really make sense to jump straight to a 1-year suspension for sockpuppetry. They've never been warned about that before. So I don't really know what Bhargav means or why he's saying that.
@DanielWiddis I assume this means you got a new job at Amazon, though, right?
So... congrats!
 
Yeah, true, though if you've been told 3 times to stop being rude and you pick up sockpuppetry as your new hobby instead, you're still probably getting more of a suspension than someone who's never done either.
But definitely agreed that it still matters whether you've been warned about the specific thing before.
 
4:52 AM
@CodyGray Yes, I formally accepted the offer today, starting june 6.
So soon this will be my life.
 
Congrats!
 
Thanks! I'm dreading the next month at my current job telling the team that's like family to me that I'm abandoning them. I know I'll get over it and it's just business, but.... it's always hard to leave a good team.
 
@RyanM Yeah. It wouldn't be merely a warning, but it wouldn't be 1 year, either.
@DanielWiddis Ah, so that's a bit different from what you have been doing, which was more like DevOps, right?
 
@CodyGray Not really dev ops. More... well, hard to describe. Really, we're deprecating an old system and in theory (and my running joke) is that we were working to eliminate the need for our team to exist.
Which we are... somewhat successful at. Other than the politics of people inventing reasons to stay around.
Big picture wise, Azure has this awesome well funded system and team.
We (Exchange) have this old antiquated, state-of-the-art-in-2015 system that sucks.
The correct answer is for us to move onto Azure's system, change a few config files to customize, and be done.
 
@DanielWiddis Yeah, I, also, didn't know the right word to use. I more of meant, it sounds like now you'll be directly writing code, whereas before it was my understanding you didn't really do that.
 
5:01 AM
Unfortunately that would eliminate about 100 jobs and a few senior managers so they are inventing obstacles to prevent this.
@CodyGray Ah, that! Well, yeah, I can write code but really I'm mostly going to be doing design work for junior engineers to write code for. I can do scrappy prototype stuff, though, which is what I do best.
Probably a metric ton of code review and talking in issues and such.
But it will be in a language that people outside of one company use. One of my biggest frustrations in my current team is that if you don't know C# or Powershell ... nothing works.
It's a bubble.
 
Plenty of people outside of MS use C# and PowerShell, though. Likely just as many as use Java, no?
 
Well they use C# and PS to interact with MS products no doubt. :)
 
Eh, sure.
But lots of people interact with MS products
 
yeah.... but I also like macOS :)
At the end of the day it's all the same I suppose. Personality-wise, though, I'm really fond of making software that's platform agnostic (hello Java) and cloud-provider agnistic (hello Opensearch)
 
Isn't C# supposed to be platform-agnostic?
 
5:12 AM
Is it? I thought it was just Windows-API-flavored Java
 
Hah
No, that wasn't the design intention.
The only thing even remotely Windows-flavored in C# is the .NET BCL, which is not even directly related to C#.
 
I feel sorry for R. It was a pretty cool language before Python stole all its best features.
 
I’m voting to close this question because this doesn't belong on Stack Overflow — saurabh 34 secs ago
Still spam...
I see why those mod messages would be helpful
 
5:28 AM
@HenryEcker Thanks, user has been educated.
 
6:04 AM
User education program commenced. :-)
 
6:23 AM
In which the Unfriendly Robot catches Ryan being mean to spammers that can't see the comment anyway because I deleted their account first:
 
 
3 hours later…
9:23 AM
It's sometimes amazing to see how short a question's life can be:
Posted 2 minutes ago, closed 2 minutes ago, deleted 1 minute ago. Viewed 9 times.
In timestamps that's posted 2022-05-06 09:18:32Z, closed 2022-05-06 09:19:08Z, deleted 2022-05-06 09:19:30Z. It was visible for 58 seconds. It was open for 36 of them.
 
@DanielWiddis Really! And what I should do now?) I don't want learn this f... python, but where I'll find a place with R? 😡
 
9:54 AM
Do data analysis, not software development. Plenty of data analysis folks still use R.
 
@CodyGray I must prepare a fallback. And learn something simultaneously. In the frames of R - i can do it with C/C++ (Rcpp package)
JS is attractive, but extremely many contenders on the market.
 
"JS is attractive" said no one ever
 
In that list, js on the first place
 
The list of "awful languages that people use anyway"? Yeah.
 
a lot of pro JS dev these days is actually TypeScript
 
10:04 AM
XD
 
@RyanM "pro"
 
Well, then what can be my backup plan?) My spare language 🤔
 
What are the "con" JS devs using these days?
 
depends what you're looking to do, really
 
Judging by question on SO, people who use TS don't even know basic stuff about it. Nor JS.
 
10:07 AM
@CodyGray whatever this is supposed to be, I think.
 
@CodyGray Most stuff where the name includes ".JS" I suppose.
 
@VLAZ You'd think that about Android, too, based on SO questions...
 
All the "pro" Android developers these days are using Swift? :-p
 
I occasionally get annoyed comments on my "You can't write Jetpack Compose components in Java" answer complaining about the lack of Java support.
I just, uh, don't engage...
 
What is supported?
 
10:09 AM
Kotlin
 
BTW, is Java still the "default" language for Android apps? I know it used to be but later on it was possible to write them in Python or other languages. I'm wondering how widespread non-Java development is for Android.
 
It uses a Kotlin compiler plugin to perform a number of compile-time transformations, so it really does need to be that compiler.
@VLAZ These days, the "default" is becoming Kotlin.
It has excellent interop with the Java-based ecosystem, though.
 
So I've heard.
 
It compiles to JVM bytecode as well (in addition to other targets).
 
Kotlin is on my ever growing list of technologies to learn.
 
10:11 AM
It's quite good.
Like anything, it has its flaws. But overall, it's great, and very actively being improved.
 
I have to hold on my way for the present. If i will jump like a frog from language to language - i ll know only air and dust )
 
Air and Dust? I've never heard of those programming languages.
 
= nothing )
 
Dust isn't nothing
 
Near nothing)
My english still isn't nice)
 
10:20 AM
Have you considered LISP? You certainly like parentheses.
 
@CodyGray Some of them are so "mild" they hardly count
(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
 
@ZoestandswithUkraine the LISP room is that way, this room is strictly for fun hattening.
...I admit that I didn't actually check what that was replying to before making the LISP joke.
Apparently programmers are too predictable.
 
@CodyGray lisp, first version was developed in 1958 😲
 
I(((((m s)or(ry(, I(( cou()ldn((t hea(((r you()()() ov()))er th((e) sou))nd (((of par))ent(h)ese)s
 
Anybody still uses it? 😁
 
10:24 AM
Well, yeah. Emacs is built around it
 
Isn't Hacker News written in a LISP dialect?
 
@ZoestandswithUkraine Very popular language
You are mocking me 🥺
 
@ZoestandswithUkraine Yeah, but nobody uses Emacs :-p
 
Lots of people use emacs
More people use it than Neovim
 
I don't think so. I haven't seen an eMac in years.
 
10:28 AM
by 0.31%, but still!
> (equivalent to $1,660 in 2021)
 
today in "moderators confusing people":
 
When tech is so old their prices have to be adjusted for inflation
 
@RyanM Hmm... Conflict of interest? Aboos of mod powerz!
 
Today in "bad mod flags": "asdasdasd"
Not even kidding, that was the entire message
 
Goodbye, guys 👋
 
10:33 AM
bye o/
NAA of the day: "Sorry, I am now using this thread as a communication for my classmates. We are writing a test on TCP. They need my help"
 
"We need to use TCP to save Gotham"
 
There wasn't even any communication in the 2 hours since it was posted.
I guess they must've confused it with UDP?
 
10:51 AM
@ZoestandswithUkraine Or maybe "We need to use TCP to kill the Batman"
 
 
2 hours later…
12:57 PM
@CodyGray Noted, thanks.
 
1:14 PM
I love when people post "I added the changes to my code , closing ..." as an answer, then edit the answer into the question.
At least it makes the problem fixable I guess.
 
1:56 PM
> It looks like I don't rank highly enough to suggest closing this as a duplicate, but it is actually a duplicate of:
user has 2k rep.
 
2:17 PM
@RyanM Good morning?)
How many hours did you sleep?
 
I plead the fifth.
 
What??
 
@RyanM Your puny little amendment doesn't work here
 
5th amendment to the U.S. Constitution
lol
New phrase for me, thanks
Guys from America, what do you can say about "Tucker Carlson Tonight"? Does he tell the truth?
 
2:36 PM
Not from America, but FOX in general is essentially completely unreliable; particularly Carlson
 
@ZoestandswithUkraine Who is more reliable?
 
/shrug, american news in general are heavily skewed away from the center. There's a whole map here: adfontesmedia.com/interactive-media-bias-chart -- Reuters, though I'm not sure if they're actually american, is widely acknowledged as neutral
 
@ZoestandswithUkraine Thanks, nice resource. I'll explore this more
 
A lot of the mainstream media sources in general are skewed, but at least still within the "square of reliability". At least it isn't flat-out propaganda
 
 
5 hours later…
7:44 PM
@ZoestandswithUkraine Yes, like with news from Ukraine now. A lot of fakes about situation there
 
Particularly from Russia, yeah :')
 
The end of this conflict shows the truth. But after this case we contemplate a new, more bigger and horrendous conflict: China vs Taiwan.
 
Hey @manro, sorry I was somewhat preoccupied yesterday.
 
China is extremely unlikely to attack Taiwan though
 
Okay, call me when you're done with politics...
 
7:55 PM
@Turing85 Hello, glad to see you
@Turing85 we are done ;)
 
👍
 
@ZoestandswithUkraine 50/50. But we are done ;)
 
ofc I have to write a space behind the Emojo for it to show...
 
@Turing85 Did you have a lot of politics speeches at the work?)
 
I had exactly 0 politics speech at work, just the way I like it
 
7:59 PM
Your wife is indifferent to the politics too?
 
what wife?
 
Your :) I thought, that '85 is your year of birth.
 
it is
and again: what wife?
 
I thought, that you have a wife. But if you haven't - this question is closed and we continue to talk about something else
So
I don't know, what to say) Today, Daniel has shattered me about R.
 
Who's Daniel?
 
why did this shatter you?
 
 
R has only 5.07% of use
 
so?
R is a very specific language. That automatically means that the userbase will be smaller. That, howerver, does not mean that the language is bad or useless.
 
It is bad, in some degree it will be tougher to find a job. Also python has stolen some its features
 
8:23 PM
Hm I think I mentioned some while ago that Python is popular with the analyst-/big-data-/ML-guys 😀
 
Python is popular everywhere
why
how
nooo
 
don't ask me. I don't like Python. In my opinion, it's messy.
Dont like those dunders.
And I don't like that the indentation matters.
 
Yes, I agree, 'agglomerated' language
 
Well... every language that has a certain age is "agglomerated". Just look at Java and all those functional changes with lambdas, streams, ...
 
Should we make our code more 'plain'? Or we can use all novelties of a language?
 
8:30 PM
Why does it matter? In my opinion, the important part of code is readability.
 
@Turing85 a little gaslighting - are you saying that at some point Java can become a decent language? :)
 
@OlegValteriswithUkraine It could
You just need to remove all the bad parts
 
@OlegValteriswithUkraine I am saying that java became a decent language 😛
 
Or, as I like to put it, start over
 
@Turing85 nice comeback 😇
 
8:33 PM
... and resource requirements? Speed, RAM using?
 
Java got more right than it got wrong. Of course, there are parts that are bad (I am looking at you, generics). But we have this in every language.
 
@ZoestandswithUkraine at which point we arrive at the ship of Theseus problem :)
 
@manro With java? No problem. Performance is great, especially when the hot compilation kicks in. And ram... if we are really concerned about RAM, we can compile to native with, e.g., GraalVM or Mandrel.
 
12 MB of RAM wow
 
8:54 PM
The german word for "concrete" is "Beton". I am watching a polit-satire. "Louis Beton" (instead of Louis Vuitton)
 
@Turing85 small piece of trivia of the day: same thing in Russian, btw
 
ha-ha. By the way, this word came from french
 
just like House numbers...
@OlegValteriswithUkraine The name, or the prices? Or both?
 
@Turing85 the name :)
Which is unsurprizing given heavy French influence
 
In Russia as well? That's a new one for me. I knew that Romania had heavy influences form italy, but I didn't know that Russia had heavy influences from France...
 
9:06 PM
@Turing85 during the imperial time, mos noblemen actually spoke French and many couldn't even properly speak Russian
 
Lingua Latina
 
@OlegValteriswithUkraine okay. Interesting...
so that's why most american can't speak proper english: they're still in their imperial time 😃
 
@Turing85 here's another kind of thing most forgot "thanks" to the Soviet era - most of our leaders during the imperial period were either German or with close ties to
 
9:45 PM
@ZoestandswithUkraine Can you make sure you let China know they're not supposed to do this, based on your probability assessments? kthx
@Turing85 I knew I liked you! :-)
 
@CodyGray despite of all the Garbage I am collecting? 😉
 
@Turing85 This... does not even come close to my experience.
 
Which one of those? There are two main topics in this message of mine.
 
That performance is great, and there are no speed or RAM utilization problems...
My company has multiple Java applications that redefine existing and create entire new categories for "bloatware".
 
Well... you can misuse all systems. I have a customer project, written in Java, that - only by starting it, eats 4 GB of ram.
 
9:49 PM
Yeah. Something like that. That's from "misuse"? How do you misuse it to force it to go so horribly wrong?
 
In fact, that project was the reason I ordered an additional stick of RAM
 
The main JAR file is something like 1.5 GB. (Note I'm not involved in development of these apps, mercifully, so I've no idea exactly what goes into making it that size.)
 
Uh I don't know. How about wirting a database query with 45 Joins, returning 100k+ entries, with giant objects?
@CodyGray WHAT?
Okay, that are totally new dimensions for me. I thought that our 150MB jar is large... but that...
 
I only handle the fall-out: installer, backups, release control, ... :-/
 
@Turing85 what the heck does it do on startup to eat as much??
 
9:52 PM
okay, let me phrase it like this: If we compile to native with GraalVM, we basically compile the JAR down to an executable (all libraries included, the GraalVM compiler is actually really smart and does heavy dead code elimination). For normal-sized projects, the executable is about 150MB. That is large for me.
@OlegValteriswithUkraine Don't ask. Too much. And I am not even sure I know everything it does at startup.
 
Yeah, does it do that database query at startup? And then... save the results forever?
@Turing85 I guess I am too unfamiliar with the broader ecosystem. I am completely unaware of these tools, and we definitely don't use them at my company, nor did I use them in the one actual Java thing I wrote/maintain, which is a bot for SE.
 
@CodyGray No. But it reads some JSON data at startup and stores it permanently. Those objects, however, aren't really that large
 
@Turing85 holy cow... Chrome under load does not need as much
 
@CodyGray The process is known as "Ahead-of-Time compilation". To do that, we have to obide by some rules. The major ones: no reflection (or you have to configure GraalVM to not eliminate code that are only called by reflection) and closed-world-principle, i.e. not loading code after compilation.
 
Yup. Heard of "ahead-of-time compilation". :-D
I would consider myself something of an "ahead-of-time compilation bigot", in fact.
 
9:57 PM
@OlegValteriswithUkraine We had problems with our pods crashing regularly in a scheduled job. Even today I am not entirely sure why it crashed, but I was able to isolate a monstrous database query that returned a huge result set. Locally, the query ate up to 12 GBs of RAM and took forever (I never let it finish). I was able to"fix" this by splitting the query into two parts.
@CodyGray C(++) guys at it again ^^
 
@CodyGray wait... I thought you were a JIT bigot
 
I mean a thing I prefer above all others.
 
@Turing85 12GB of data in-memory? sheesh
 
Why would these queries take so much RAM?
 
@OlegValteriswithUkraine yes, 12 GB of data in-memory. Streamed directly from the database.
@CodyGray Have you read the part with 45 Joins in a query?
Unoptimized. Duplicates over duplicates.
 
10:01 PM
Unpopular opinion: all developers need to spend time doing embedded programming, where it's a surfeit of riches when you have a full 256 KB of memory.
 
@CodyGray Depends on what you define as "embedded". Is a 6502 "embedded"?
 
@CodyGray not necessary if you ever heard of the "don't read huge files in-memory, use streams" commandment
 
I think there's a certain distinction between most programmers. One group likes to work close to the hardware, manipulating bits and bytes, and another group likes to hold the hardware at least an arm's length away. I think both are important, and the 2nd group may not need that kind of "intensity" with hardware.
 
(I myself count as one of those persons that likes to keep the hardware at an arm's length, although I like to tab into it from time to time recreationally)
 
10:05 PM
@Turing85 Sure, that'd work. Man, that entire zero page, though! You'll end up so spoiled.
 
@OlegValteriswithUkraine Persistence layer of this application is a nightmare.
@CodyGray hehe I have something for you
 
@OlegValteriswithUkraine Yes, letting your OS buffer it for you is a good idea. :-)
@Turing85 I like to do both?
 
@CodyGray I never said that those sets are disjoint 😀
@Turing85 that project actually shows one of the most annoying parts of java: no calculations with types < int...
 
@CodyGray they already know. It's not probability, it's complex geopolitics with a hint of seeing Russia lose rather substantially. The odds they invade from static risks alone were already minimal, but the various observations from the invasion of Ukraine are plenty to back them off
 
@Turing85 To be more specific: I like abstractions. I want to use them everywhere I can to make things simpler and easier to reason about. I heavily build abstractions. But, at the same time, I also want: (A) to understand what is happening under the hood, and (B) to ensure that those abstractions don't add significant runtime/efficiency cost, which is why I love ahead-of-time compilation.
And, yeah, I also enjoy doing a bit of "retro" programming to get closer to the metal.
 
10:12 PM
And an invasion would require a noticeable increase in their military deployment, and last I checked, that hasn't happened. I hope it stays that way
 
@Turing85 Err... which language does support calculations with types smaller than int? The CPU doesn't support this, so any language that appears to do it is just converting everything to the native integer type, doing the arithmetic, and then casting it back down at the end.
 
@CodyGray IIRC, C++ does.
 
No, definitely not!
 
byte + byte = byte
 
byte + byte = int
 
10:13 PM
oO
really?!
 
Yeah.
 
yikes.
Go does, I think
 
You know how if you try to output a byte/uint8 to the console, it'll get interpreted as a character, which is probably not what you intended? A relatively common trick in the C++ world to make this work correctly is to output +value. That is, apply the unary plus operator, which does nothing, other than have the effect of converting it to an int.
Since everything smaller than an int is converted to an int for arithmetic.
 
Uh... "the right thing" defined as an output of 20? Yeah, C++ would do that, too... That's also what happens if you do: int a = 10; int b = 10; print(a + b);
 
10:16 PM
@CodyGray I don't know if this is related, but one of the biggest flaw - at least in C - was the "definition" of bool values
 
Because C says a bool is the size of an int (usually 4 bytes)?
 
@CodyGray the type is the important part. This wouldn't work in Java.
 
Oh. You mean that Java doesn't implicitly widen?
 
@CodyGray Because there is an auto-conversion from bool to int and vice-versa.
@CodyGray yes. You'd have to explicitly cast the result back to byte.
 
@Turing85 Yeah, C and C++ definitely do that. Which... ironically, is one of the only things I think is actually a design flaw in C++.
Not necessarily safe widening promotions, but the implicit conversions between signed and unsigned are awful foot-guns.
 
10:18 PM
The project I linked was written with bytes first... and everything was FULL with casts.
 
Freaking Java loves its deeply-nested folder hierarchies... I am still clicking to try to find the code! :-)
 
you know github1s?
 
Nooo
 
go to the github-url
and replace github with github1s. Enjoy.
 
Oh, holy crap.
That's awesome.
Wow.
If you have commit privileges, can you edit here?
(Sorry, this totally overshadowed whatever your Yane project does! :-p)
 
10:21 PM
haha it's fine ^^
No, afaik, it's read-only
 
Yeah, makes sense. Still awesome.
 
and free.
And, afaik, they are working on the same for bitbucket and gitlab.
 
So this is actually an online instance of VS Code? I didn't know that existed, either.
 
Hm... Red Hat has an online-workshop where they are using Eclipse Che through the browser, hosted on an openshift
@CodyGray And yes, that's afaik, that's exactly it.
 
Does Microsoft provide in-browser VS Code for free?
 
10:28 PM
I have no idea.
 
The fonts are so bad that I can't tell whether this is "ls" or "one-s".
 
well click on the image
If this doesn't help, you may wanna visit your Eye specialist
 
Not in your image. I meant on their website/GitHub.
 
lgtm
@CodyGray that's not java btw. That's actually maven.
 
"java ecosystem"
obviously the language doesn't care
But all the programmers do it
 
10:40 PM
well... it does somewhat since packages must be aligned with the folder structure
but then again... the way one structures the packages is personal choice. I like to compartmentalize a lot. So many small packages for me.
 
It's not that things are packaged, but that there are so many empty or nearly-empty folders.
I heavily use folder hierarchies when they make sense
Oh, it stands for "1 second".
"ls" would make more sense.
 
So much clicking
There's a "deployment.yaml" file in a "deployment" folder...
Was this approved by the Department of Redundancy Department?
What also drives me sorta nuts is the existence of many files with identical names in different folders. That's just asking for trouble.
And is also impractical due to simple things like editor tabs showing the filename.
 
10:58 PM
@CodyGray given that Monaco powers VSCode, it's no surprize it exists
 
I know Monaco as the fixed-width font Apple used on Macs back in the day :-)
And also the country in Europe.
Are the VSCode servers located in Monaco?
 
01:00 - 23:0023:00 - 00:00

« first day (2390 days earlier)      last day (729 days later) »