|
qntm posted:cygwin's uninstallation instructions involve manually editing the registry, it is literally malware Win10 linux support is no less malicious, imo. It's gonna be broken rear end poo poo for years.
|
# ? Mar 30, 2016 22:46 |
|
|
# ? May 25, 2024 13:59 |
|
i don't know why the announcements are all "bash on windows!" since that's been around for decades. the actual new thing is elf binaries compiled for linux running natively on windows
|
# ? Mar 30, 2016 23:11 |
|
Plorkyeran posted:i don't know why the announcements are all "bash on windows!" since that's been around for decades. the actual new thing is elf binaries compiled for linux running natively on windows elf binaries? I'll believe it when I see it. most likely they are pe binaries, because the windows kernel can only natively load pe, and can only create a process from a loaded pe. I mean it's not impossible and it would simplify the toolchain a lot (nobody wants to maintain a COFF linker in tyool 2016 when ELF is native almost everywhere), but recompiling makes more sense. elf is a little hairy to get working in windows, and a lot of stuff in windows assumes pe executables natively loaded by the kernel I'm super curious to see how microsoft realized my life-long dream but I'm also afraid that ship has sailed and I probably won't be able to muster the will to look too deep into it when it's released
|
# ? Mar 30, 2016 23:23 |
|
I'm a little anxious because I'll finally get to see unix over windows as done by an actual team with the required skills, budget and possibly insider knowledge. I want to see how they solved the worst issues (probably in suboptimal ways because the kernel guys would never let usermode unix people put their dirty paws in their internals) on the other hand, I'm super out of shape, I've never done any windows development in years, nor any reverse engineering in even longer (but considering how microsoft works lately, they'll probably release all the source code), and looking into this feels too much like work to do it in my spare time. I'll probably have to finally let it go and find another hobby/dream
|
# ? Mar 30, 2016 23:29 |
|
this feeling is the felling you're getting old, isn't it
|
# ? Mar 30, 2016 23:31 |
|
10x wrote some design docs that called for passing callbacks everywhere but basically reimplemented promises when i asked him about it he told me that promises obfuscate what's going on and can fail in odd ways so instead pass callbacks everywhere always
|
# ? Mar 30, 2016 23:32 |
|
for some reasons not worth getting into I decided to add a quick "print sql query results as nicely formatted plain text" feature to one of our semi-internal tools and i figured this was a case where it'd be faster to type it up myself than to look up and import a pretty printer of some sort like ten minutes later, I looked at the function I wrote and I was a little disturbed. this is what happens to your regular coding when you've been toying with f# on the side for months: code:
|
# ? Mar 30, 2016 23:52 |
|
is that what visual basic looks like? gross
|
# ? Mar 31, 2016 00:48 |
|
HoboMan posted:is that what visual basic looks like? gross that's vb.net I think, vb6 is far far worse
|
# ? Mar 31, 2016 00:51 |
|
qntm posted:cygwin's uninstallation instructions involve manually editing the registry, it is literally malware that's not the definition of malware in any case, you only have to manually edit the registry if you have manually, from the command line, installed a specific, rather obscure package that is explicitly advertised as doing low-level fuckery. i have never known anyone who has done this the actual method of uninstalling cygwin, in practice, for 99% of users, is: click on c:\cygwin64 and press delete.
|
# ? Mar 31, 2016 01:24 |
|
but why are we talking about linux in the terrible programmers thread? let's talk about terrible programming instead. for example, right now i'm parsing html with regular expressions
|
# ? Mar 31, 2016 01:26 |
|
Soricidus posted:for example, right now i'm parsing html with regular expressions i͏̱͉̣̝ͅ ͉̜̟͈dǫn̹̙̯̘'̡̥̜̖͍͈̯̜t̯̫ ҉s̨̼e̙̘̼͖͙e̸͓͓̩̖̳̠̫ ҉͓̻͍̮͖͉ͅw͇̥̠h̡͖̥̘̖a̧t̵ ̘̩͖̮͓̞ͅth̬̳̫͎̮ͅe͕̖͔ ̫̬͙̹͙̺̼b̛̟̲̟͎̭i҉̖g ̭͖͙̦̝̙̗d̝͔e̺͘a̩l̛̮̙͖̮ ͎i̥͎̥̤s̴͕
|
# ? Mar 31, 2016 01:30 |
|
ok, I've seen a few more details and they're actually running linux executables in windows. no idea why they went down this route (no, I have a pretty good idea why, but I don't know if the tradeoff will be worth it, unless they make the unix syscalls available from windows processes too)
|
# ? Mar 31, 2016 01:44 |
|
CommunistPancake posted:so uh how is it cool? it's just the Windows NT POSIX layer resurrected with some new APIs layered atop it it's like when OS/2 added Win32s API support so they could run Windows apps too, nobody is developing for the base OS because it's poo poo garbage so they added a compatibility layer for a different poo poo garbage OS. but unlike when OS/2 added Win32s API support, nobody is developing software either the base or compatibility layer. great job!
|
# ? Mar 31, 2016 01:48 |
|
hackbunny posted:welp I have no reason left to live there's an entire world outside the cesspool that is Windows and the septic field that is Linux your mad skills would be most welcome in it
|
# ? Mar 31, 2016 01:49 |
|
Soricidus posted:but why are we talking about linux in the terrible programmers thread? let's talk about terrible programming instead. no you're not
|
# ? Mar 31, 2016 02:10 |
|
piratepilates posted:that's vb.net I think, vb6 is far far worse vb6's Date object's default format is the string representation of the date and time. when you add some interval to it, it implicitly converts the value to the units the inverval is in, adds it, and converts it back. consequently there are all sorts of little off-by-n errors and we instead use an api that offloads date calculations to the server where things can be done in UTC and then sent back to the client.
|
# ? Mar 31, 2016 02:38 |
|
hackbunny posted:ok, I've seen a few more details and they're actually running linux executables in windows. no idea why they went down this route (no, I have a pretty good idea why, but I don't know if the tradeoff will be worth it, unless they make the unix syscalls available from windows processes too) kernel extensions?
|
# ? Mar 31, 2016 02:42 |
|
Shaggar posted:no its not. its dumb as hell and utterly worthless
|
# ? Mar 31, 2016 02:45 |
|
uncurable mlady posted:kernel extensions? two in fact, and they ship with windows 10, meaning they aren't limited by the user mode kernel API and they may not be limited by the (public) kernel API either. they may be terribly serious about it this time
|
# ? Mar 31, 2016 02:46 |
|
hackbunny posted:two in fact, and they ship with windows 10, meaning they aren't limited by the user mode kernel API and they may not be limited by the (public) kernel API either. they may be terribly serious about it this time wow
|
# ? Mar 31, 2016 02:57 |
|
one operating system, twice the security vulnerabilities
|
# ? Mar 31, 2016 03:36 |
|
Blinkz0rz posted:10x wrote some design docs that called for passing callbacks everywhere but basically reimplemented promises hm
|
# ? Mar 31, 2016 03:38 |
|
my first programming gig had me maintaining an ASP (not .NET) site that used VB6 COM objects for database access. often had to reboot the server when updating the COM objects when the database changed.
|
# ? Mar 31, 2016 07:08 |
|
Soricidus posted:for example, right now i'm parsing html with regular expressions mods, ban this chucklefuck
|
# ? Mar 31, 2016 07:57 |
|
rustlords, how do i make this work? i dont think i have ever seen a language that didnt promote integers in my entire lifecode:
i tried putting casts everywhere (let color_num: u32 = (self.red as u32)<<16+(self.blue as u32)<<8+(self.green as u32); ) but i guess rust isnt smart enough to know that a u8 shifted 16 bits cant overflow 32 bits because it made a fuss about this still. (is shift left just totally worthless in this lang?) i got it working with this but i am pretty sure this is the stupidest, shittiest line of code ive ever written in my life and i'm sure there has to be a better way code:
|
# ? Mar 31, 2016 08:06 |
|
Soricidus posted:but why are we talking about linux in the terrible programmers thread? let's talk about terrible programming instead.
|
# ? Mar 31, 2016 09:39 |
|
Corla Plankun posted:rustlords, how do i make this work? i dont think i have ever seen a language that didnt promote integers in my entire life if you get a runtime 'shift operation overflowed' panic, it did actually overflow either add more parentheses or use an operator with lower precedence Rust code:
Rust code:
fwiw it looks like the tutorial is hinting towards something like "0x{:02X}{:02X}{:02X}" so you don't have to bit shift
|
# ? Mar 31, 2016 10:39 |
|
https://careers-redhat.icims.com/jobs/51097/senior-software-engineer---mobile/job This looks good
|
# ? Mar 31, 2016 12:45 |
|
this is the least egregious thing he's done but he's a ruby guy through and through and tries to replicate ruby paradigms everywhere else even if there's a better option
|
# ? Mar 31, 2016 12:48 |
|
Corla Plankun posted:rustlords, how do i make this work? i dont think i have ever seen a language that didnt promote integers in my entire life im not familiar with rust but shouldnt it be u32?
|
# ? Mar 31, 2016 13:15 |
|
HoboMan posted:is that what visual basic looks like? gross JOKES ON ME MY NEXT TASK IS TO DEBUG THIS THING DONE WITH VBSCRIPT
|
# ? Mar 31, 2016 15:41 |
|
ok but like the i keep getting LoadForm function is not found becausecode:
Visual Basic .NET code:
e: lol turns out ie ignores vbscipt by default now HoboMan fucked around with this message at 16:07 on Mar 31, 2016 |
# ? Mar 31, 2016 15:48 |
|
HoboMan posted:JOKES ON ME MY NEXT TASK IS TO DEBUG THIS THING DONE WITH VBSCRIPT oh god Real talk: the only reason I could wrap my head around old sites written in classic ASP/vbscript was because I had several years experience developing PHP sites. They're like different sides of the same poo poo coin.
|
# ? Mar 31, 2016 15:51 |
|
i can't understand this project at all. visual studio crashes if i try to compile and run it but it's currently being used in production???? also if it's being used in production maybe me fixing the function call not happening will break everything even worse gently caress gently caress gently caress fuckfuckkkkkkkkkkkkkkkkkkk
|
# ? Mar 31, 2016 15:57 |
|
HoboMan posted:i can't understand this project at all. visual studio crashes if i try to compile and run it but it's currently being used in production???? what errors are you seeing from the compile, or does visual studio seriously like 100% just lock up and crash? does that happen even if you build without running it? keep in mind that if your vb code is like a COM or ActiveX object thats intended to be run embedded inside of another control or website or something it probably wont run from source on its own. youll also need to include the hosting object in your project and make that the startup object instead of your little piece.
|
# ? Mar 31, 2016 16:12 |
|
HoboMan posted:i can't understand this project at all. visual studio crashes if i try to compile and run it but it's currently being used in production???? nah you're screwed
|
# ? Mar 31, 2016 16:13 |
|
i got it to work by just compiling it and then running it after. but if i run it i just get a list of the project files in my browser. i just want some debuggin tools man e: ps yes vs did just lockup and crash HoboMan fucked around with this message at 16:28 on Mar 31, 2016 |
# ? Mar 31, 2016 16:23 |
|
HoboMan posted:i got it to work by just compiling it and then running it. but if i run it i just get a list of the project files in my browser. So, debugging classic asp/vbscript is not for the faint of heart, but it is definitely doable. If this is one of those web site non-projects, it's annoying. But yeah, what I remember doing is choosing "start without debugging" so that you got the site running there on your dev machine. Then, "Attach to process..." and make sure you enable Script debugging. Find the iis process that is running the site. Might help to load a few pages with some vbscript, then it'll show up in the process list with Script. Once you're attached, you have to load some pages and you can go to the Solution Explorer and it will list all the loaded files and scripts under debugging. You have to set your breakpoints there, NOT in the source files themselves. Then just reload your pages and you should hit those breakpoints and remember to use Watchs to get values of variables and whatnot if that helps.
|
# ? Mar 31, 2016 16:29 |
|
|
# ? May 25, 2024 13:59 |
|
I just quit and get another job when I get a merge conflict
|
# ? Mar 31, 2016 17:10 |