--- Log opened Mon Jun 24 00:00:00 2019 |
00:02 | | Degi [Degi@Nightstar-rt69t3.dyn.telefonica.de] has quit [Connection closed] |
00:17 | <&ToxicFrog> | McMartin: right, but as a programmer, I don't really care what kind of hideous contortions the implementors had to go through to get this feature working, I care how it actually affects the way I write code |
00:17 | <&ToxicFrog> | And from that perspective, coming from languages where yield/resume is built in, this is shockingly bad. |
00:18 | <&McMartin> | Right |
00:18 | <&McMartin> | The objection I'm giving is the one that's antiquated and paranoid |
00:18 | <&McMartin> | Which is "I'm going to have a buggy program with no trace in my own sources" |
00:21 | <&ToxicFrog> | I mean, it also does that, but I think that's a problem with the specific implementation I'm using and not with the entire feature as a concept~ |
00:30 | <&McMartin> | Right; this argument regarding having to worry about the implementation literally goes all the way back to assemblers that let you define labels and modifies the opcodes appropriately, so it doesn't get a lot of respect~ |
01:03 | <&ToxicFrog> | autobuy.ns: Buying server spu3 (2097152GB) for $NaN |
01:03 | <&ToxicFrog> | something has gone wrong here |
01:12 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code |
01:12 | | mode/#code [+o himi] by ChanServ |
01:18 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
01:23 | <&ToxicFrog> | autobuy.ns: Upgrading server spu0 (8GB) to [object Promise]GB for $Infinity |
01:23 | <&ToxicFrog> | This is not really an improvement! |
01:27 | <&McMartin> | NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN Batman |
01:29 | <&ToxicFrog> | It's absolutely fantastic the way passing a promise to (sprintf "%d") throws but comparing an unrealized promise to a number silently succeeds |
01:29 | <&ToxicFrog> | I'm really enjoying this game but it's not doing anything good for my opinion of javascript |
01:31 | <&McMartin> | Doing inappropriate hobby work in C lately |
01:31 | <&McMartin> | It's been less inappropriate than the discourse suggests |
01:34 | <&ToxicFrog> | What sort of hobby work? |
01:35 | <&McMartin> | Lately, generating assembler source from tables of data or other informtaion. |
01:35 | <&McMartin> | More natural fit for Python, generally |
01:36 | <&McMartin> | At the moment, mostly necessary C work though, as I update my old input libraries from almost 20 years ago |
01:41 | <&ToxicFrog> | Ok, I think I have my basic automation up and running. |
01:42 | <&ToxicFrog> | SHODAN constantly scans the network for hosts with exploitable security holes. Anything it can get a root shell on is converted into an SPU (SHODAN processing unit). |
01:43 | <&ToxicFrog> | It uses the SPUs to perform distributed attacks against vulnerable systems, prioritizing them based on how much money can be extracted from them, how fast, and how much total processing power SHODAN has available. |
01:43 | <&ToxicFrog> | Hacks are calibrated so that the money on the server (and thus the money per hack) will gradually increase over time, rather than quickly strip-mining each server. |
01:44 | <&ToxicFrog> | And SPUs are automatically upgraded when new versions of the SPU software are written. |
01:44 | <&ToxicFrog> | Meanwhile, the autobuyer automatically purchases and upgrades VPSs (which are immediately subsumed by SHODAN) and hacknet nodes (which provide no computing power, but instead a slow but reliable trickle of income). |
03:19 | <@celticminstrel> | Since when does JS have sprintf |
03:26 | <&Reiver> | ToxicFrog: ... you named that software very appropriately, holy hell O.o |
03:29 | <&ToxicFrog> | celticminstrel: https://github.com/alexei/sprintf.js |
03:29 | <&ToxicFrog> | Reiver: it still needs work. It could, for example, be smarter about prioritizing targets. And of course it can't control meat at all. |
03:29 | <&ToxicFrog> | Yet. >.> There are hints that APIs for that become available later in the game. |
03:30 | <&ToxicFrog> | (a major part of the gameplay is acquiring and installing cybernetic augments for yourself, so...) |
03:30 | <&McMartin> | As a cyborg, you will serve SHODAN well |
03:31 | <&ToxicFrog> | P. much |
03:31 | <&Reiver> | good lord, that is impressive |
03:31 | <&Reiver> | What do cybernetics do? Boost your stats for hacking as SHODAN, or? |
03:36 | | Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
03:37 | <@celticminstrel> | WHY WOULD YOU DO THIS |
03:38 | <@celticminstrel> | I mean JS has much better ways of formatting strings, WTH would you want sprintf!? |
03:38 | <@celticminstrel> | You could use template strings instead, for example! |
03:49 | | celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
04:46 | | Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
04:46 | | mode/#code [+o Kimo|autojoin] by ChanServ |
06:34 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code |
06:34 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
06:44 | | McMartin [mcmartin@Nightstar-ipm463.ca.comcast.net] has quit [Connection closed] |
07:17 | | McMartin [mcmartin@Nightstar-ipm463.ca.comcast.net] has joined #code |
07:17 | | mode/#code [+ao McMartin McMartin] by ChanServ |
08:09 | | [R] [rstamer@genoce.org] has quit [Ping timeout: 121 seconds] |
08:24 | | [R] [rstamer@Nightstar-d7h8ki.org] has joined #code |
08:24 | | mode/#code [+ao [R] [R]] by ChanServ |
08:29 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds] |
10:27 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
10:27 | | mode/#code [+o himi] by ChanServ |
10:38 | | * TheWatcher arghs at co-workers who can't PEP8 |
10:51 | <&ToxicFrog> | Reiver: lots of things; so far I've seen increased stats or stat XP gain for various stats, cheaper or more productive hacknet nodes, and the ability to carry some stuff over across soft resets (installing augs are the soft reset mechanism) |
10:52 | <&ToxicFrog> | Also, I think SHODAN works, I had ~$150M when I went to bed and ~$5b when I woke up despite it crashing halfway through the night. |
10:55 | | Degi- [Degi@Nightstar-nqmkvp.pia.fu-berlin.de] has joined #code |
10:58 | | Kimo|autojoin is now known as Kindamoody |
10:59 | <&ToxicFrog> | ...and my VPSes are all now 1TB of RAM rather than the 16GB they had when I went to bed. |
11:04 | <@TheWatcher> | Uh |
11:04 | <@TheWatcher> | That's a slight increase~ |
11:04 | | Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Client exited] |
11:05 | | Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
11:05 | | mode/#code [+o Kimo|autojoin] by ChanServ |
11:06 | <&ToxicFrog> | It is! |
11:07 | <&ToxicFrog> | It looks like one unfortunate side effect of this is that sometimes it turns the full force of one of the 1TB servers against poor old foodnstuff, the tutorial server |
11:07 | <&ToxicFrog> | Which basically instantly vaporizes it and does away with the whole "slow sustainable growth" thing it's meant to be doing |
11:08 | <@TheWatcher> | XD |
11:09 | <&ToxicFrog> | Possible improvements: avoid targeting hacks if the SPU being targeted would steal more than 50% of the target's money; keep track of the total swarm power and penalize money-per-time based on (weaken+grow)/(swarm power). |
11:12 | <&ToxicFrog> | Despite these infelicities I just bought about $2b worth of augments and still have more money than when I woke up |
11:12 | <&ToxicFrog> | Time for a soft reset later today, I think~ |
11:22 | | Kimo|autojoin is now known as Kindamoody |
11:36 | | Netsplit Deepthought.Nightstar.Net <-> Golgafrincham.Nightstar.Net quits: @ToxicFrog, @Reiver |
11:36 | | Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @gnolam, @[R], @PinkFreud, @jeroud, @crystalclaw, Pink, @Pi, @ErikMesoy, @jerith, @iospace, (+5 more, use /NETSPLIT to show all of them) |
11:36 | | tripflag [ed@Nightstar-7pe1df.clients.your-server.de] has quit [Ping timeout: 121 seconds] |
11:37 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Operation timed out] |
11:37 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [Ping timeout: 121 seconds] |
11:37 | | JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [Ping timeout: 121 seconds] |
11:37 | | Tamber [tamber@furryhelix.co.uk] has quit [Operation timed out] |
11:37 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has quit [Operation timed out] |
11:38 | | Mahal [sid171286@Nightstar-ed0oqj.irccloud.com] has quit [Ping timeout: 121 seconds] |
11:38 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
11:38 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Ping timeout: 121 seconds] |
11:50 | | Netsplit over, joins: sshine, Reiver |
11:50 | | Tamber [tamber@furryhelix.co.uk] has joined #code |
11:50 | | Netsplit over, joins: Pink |
11:50 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
11:50 | | Mahal [sid171286@Nightstar-ed0oqj.irccloud.com] has joined #code |
11:50 | | Netsplit over, joins: PinkFreud |
11:50 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
11:50 | | JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has joined #code |
11:50 | | Netsplit over, joins: ToxicFrog, Attilla, Pi |
11:50 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code |
11:50 | | Netsplit over, joins: Kizor, jeroud |
11:50 | | tripflag [ed@Nightstar-7pe1df.clients.your-server.de] has joined #code |
11:50 | | Netsplit over, joins: iospace, crystalclaw, gnolam, Degi-, McMartin |
11:50 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
11:50 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code |
11:50 | | Netsplit over, joins: @ErikMesoy, &[R] |
11:50 | | ServerMode/#code [+oaooaooooaooooaooooaooqooao sshine Reiver Reiver Tamber VirusJTG VirusJTG PinkFreud Syloq JustBob ToxicFrog ToxicFrog Attilla Pi abudhabi jeroud jeroud iospace crystalclaw gnolam McMartin McMartin himi Vorntastic Vorntastic ErikMesoy [R] [R]] by *.Nightstar.Net |
11:59 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
12:00 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code |
12:00 | | mode/#code [+ao jerith jerith] by ChanServ |
12:13 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has quit [Operation timed out] |
12:23 | | Degi- [Degi@Nightstar-nqmkvp.pia.fu-berlin.de] has quit [Ping timeout: 121 seconds] |
12:37 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code |
12:37 | | mode/#code [+ao jerith jerith] by ChanServ |
12:48 | <&Reiver> | Soft resets let you upgrade your cyberware while technically losing your stuff in the progress? |
12:53 | | celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has joined #code |
12:53 | | mode/#code [+o celticminstrel] by ChanServ |
12:57 | | JustLurk [justbob@ServerAdministrator.Nightstar.Net] has joined #code |
12:57 | | JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [NickServ (RECOVER command used by JustLurk)] |
12:57 | | mode/#code [+o JustLurk] by ChanServ |
12:57 | | JustLurk is now known as JustBob |
12:57 | <~Vorntastic> | A common feature of idle games, yeah |
13:07 | | Degi [Degi@Nightstar-nqmkvp.pia.fu-berlin.de] has joined #code |
14:05 | | celticminstrel is now known as celmin|away |
14:23 | <&ToxicFrog> | Reiver: yeah. You keep your existing augs and add any new augs you installed, and you keep any upgrades to your home server (and anything non-plot-related on its disks), but you lose everything else. |
14:24 | <&Reiver> | huh. Does this fundamentally change what your new game experience is going to entail, or just let you bootstrap back up faster on the cash curve? |
14:38 | <~Vorntastic> | Why does this hacking game have str and dex |
14:39 | <@iospace> | typing speed? :V |
14:39 | <@iospace> | well, for dex anyway |
15:07 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
15:07 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
15:07 | | Degi [Degi@Nightstar-nqmkvp.pia.fu-berlin.de] has quit [Ping timeout: 121 seconds] |
15:25 | <&ToxicFrog> | Reiver: so far, bootstrap faster, but there are hints that later-game stuff causes fundamental changes. |
15:25 | <&ToxicFrog> | Vorntastic: some jobs require physical stats, as does the "infiltrate a building and steal corporate secrets" activity. |
15:28 | | * Vornicus can apply to be an employee of FoodNStuff! |
15:28 | <~Vornicus> | ...or a part-time employee |
15:29 | <&ToxicFrog> | The main difference, AFAICT, is that part-time gets you less XP/money/rep, but there's no penalty for early cancellation. |
15:29 | <&ToxicFrog> | For full-time if you don't leave it running for a full 8 hours you only earn half the reputation. |
15:52 | | Kindamoody is now known as Kindamoody|out |
16:45 | | * Emmy is unsure if legit game talk or IRL irony |
16:48 | <&ToxicFrog> | Emmy: legit game talk |
16:48 | <&ToxicFrog> | (the game in question being Bitburner) |
16:48 | <&ToxicFrog> | (which is mostly a game about writing javascript to play the game for you, hence its presence in #code) |
16:50 | < Emmy> | ah. funny. |
17:00 | <~Vornicus> | --well, I certainly get errors when I don't explicitly check for convexity first |
17:00 | <~Vornicus> | But Why |
17:06 | <~Vornicus> | --wild. I do get concave but "needs correcting" and that surprises me vastly. |
17:40 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
18:18 | <~Vornicus> | ....that triangle is backwards, what's happening |
18:18 | <~Vornicus> | okay I give up I need a nap |
18:46 | | Kindamoody|out is now known as Kindamoody |
18:54 | | Degi_ [Degi@Nightstar-1h2hhq.dyn.telefonica.de] has joined #code |
21:47 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
22:13 | <&McMartin> | https://twitter.com/jaredpalmer/status/1142800704580591617 |
22:19 | <~Vornicus> | "lately" I've found myslef working mostly in pure js |
22:22 | | Kizor [moryok@Nightstar-e0a4sm.utu.fi] has quit [Ping timeout: 121 seconds] |
22:27 | | Kizor [moryok@Nightstar-e0a4sm.utu.fi] has joined #code |
22:28 | | Kizor is now known as NSGuest9532 |
22:42 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
22:48 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has quit [Ping timeout: 121 seconds] |
22:49 | <&ToxicFrog> | I have probably written more JS playing Bitburner than in my entire life previously |
22:49 | <&ToxicFrog> | And as a result I now despise async/await rather than merely being abstractly unimpressed by them |
22:50 | <&[R]> | The API requires that you use them? |
22:55 | | abudhabi [abudhabi@Nightstar-fd1.39v.247.94.IP] has joined #code |
22:56 | | abudhabi is now known as NSGuest34168 |
22:59 | | NSGuest9532 is now known as Kizor |
23:00 | | Kizor is now known as NSGuest60297 |
23:00 | | NSGuest34168 [abudhabi@Nightstar-fd1.39v.247.94.IP] has quit [Operation timed out] |
23:02 | | NSGuest60297 is now known as Kizor |
23:05 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code |
23:05 | | mode/#code [+o abudhabi] by ChanServ |
23:06 | <&ToxicFrog> | Well, there's two APIs, NS1 and NS2 |
23:07 | <&ToxicFrog> | NS1 is simpler -- all Bitburner API functions are global and you can call blocking functions like sleep() directly and it just works -- but it uses some sort of javascript-vm-in-javascript implementation |
23:07 | <&ToxicFrog> | So it's an older JS (no let or of, etc) and it's hundreds of times slower than NS2. |
23:08 | <&ToxicFrog> | NS2 uses javascript module hotloading, so you get whatever JS version your browser has and it's much, much faster. |
23:10 | <&ToxicFrog> | The drawback is that you have to await blocking functions or your code just silently fails to do anything. |
23:10 | <&ToxicFrog> | (and if you have an infinite loop with no awaits the entire browser tab locks up) |
23:10 | <&[R]> | Can you just use the promises directly instead? |
23:11 | <&ToxicFrog> | You can, but then you're manually managing promises, which isn't really any better. |
23:13 | <&ToxicFrog> | Anyways. ToxicFrog's Happy Fun Rant Time over, back to getting bitburner to run headless |
23:16 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
23:38 | | Kindamoody is now known as Kindamoody[zZz] |
--- Log closed Tue Jun 25 00:00:02 2019 |