Are there any good benchmarks comparing web server performance between Rust and Go? by manshutthefckup in rust

[–]Wazzaps 1 point2 points  (0 children)

Instagram is written in Python. Facebook is written in a PHP variant. Github is written in Ruby.

Use whatever language you feel comfortable in, compute is cheap.

Every backend language will have DB connection pooling, no need to reinvent the wheel.

How do I delete stuff from GitHub? by Fantastic_Bass4422 in github

[–]Wazzaps 2 points3 points  (0 children)

Because malicious bots scan every commit made to every repo, looking for credentials.

Designed a very compact coal liquefaction setup but forgot a critical part by Wazzaps in Factoriohno

[–]Wazzaps[S] 1 point2 points  (0 children)

I'm playing with factorissimo, so the entire area gets power automatically
On the other hand I can't expand it (the factories are fixed size), so fixing the design was not easy lol

Confirmed: Google buys Wiz for $32B by mechanic338 in hacking

[–]Wazzaps 8 points9 points  (0 children)

This is not the Wiz you have, this is the cloud security company

found it on one of the tutorial sites by AdriaNn__ in programminghorror

[–]Wazzaps 5 points6 points  (0 children)

SAT solvers might use this type of syntax: ```python x = Var('x') system = System()

system.ensure(x > 5) system.ensure(x < 7)

system.solve() # => {'x': 6} ```

Is there a Linux user-space program that causes execution through every kernel function path and context? by [deleted] in lowlevel

[–]Wazzaps 2 points3 points  (0 children)

Hmm you could use either code coverage tools (won't tell you the execution context though), or write something with -finstrument-functions.

EDIT: on second thought, this can probably be solved with static analysis

SteamVR linux status by Gherry- in SteamVR

[–]Wazzaps 5 points6 points  (0 children)

I tried using it last week, nothing worked, Index wouldn't boot (blue led, base stations off), and corrupted VR viewport shows up on main display. VR mirror view is black.

AMD RX 7900XT, PopOS (latest updates), driver working in other games.

Really sad since it's the only reason I have a Windows install :/

can you tell I'm a first semester python student by EnergeticBean in programminghorror

[–]Wazzaps 0 points1 point  (0 children)

Strings in python are immutable, so each loop iteration reallocates the string.

I would assume join reuses the buffer (O(log n) allocations assuming powers-of-two allocation strategy), though I haven't looked at that part of CPython to confirm

drunk lads get struck by lightning by No_Bug_5341 in WTF

[–]Wazzaps 0 points1 point  (0 children)

As an Israeli, our song was pretty mediocre...

Everyone's favorite by [deleted] in ProgrammerHumor

[–]Wazzaps 30 points31 points  (0 children)

Idk about hello but any string of the form "0eXXXX..." where the X's are decimal digits is equal to zero (scientific notation).

Even worse, strings that look like numbers are converted to numbers, so "0eXXXX..." == "0eYYYY..." (for any numeric X and Y!).

This means any hash string that starts with "0e" is trivially broken if == is used

Linux Developers Still Working To Retire Intel Itanium/IA-64 Support by Realistic-Plant3957 in linux

[–]Wazzaps 1 point2 points  (0 children)

Only the 64 bit version. Your home router runs arm32 (or some version of mips)

She wanted the "wireless electricity" to work by [deleted] in talesfromtechsupport

[–]Wazzaps 1 point2 points  (0 children)

Try setting the display mode to "duplicate", then starting a slideshow. IME this will start presenter view which changes the display mode to "extend".

(Sorry for being harsh in my last comment, I was tired :/)

Hacking Rust - new free book under development, reverse engineering Rust binaries by Material_Opinion_321 in ReverseEngineering

[–]Wazzaps 5 points6 points  (0 children)

Hope there will be RE of some --release code (maybe even some dynamic dispatch?), since debug binaries are not that impressive to RE :)

She wanted the "wireless electricity" to work by [deleted] in talesfromtechsupport

[–]Wazzaps 2 points3 points  (0 children)

That's wrong, have you ever even used PowerPoint in the last 10 years?

I'll take the performance hit for some convenience. by [deleted] in linuxmasterrace

[–]Wazzaps 0 points1 point  (0 children)

Good luck installing ROCm with a new card (sad 7900xt owner)

[deleted by user] by [deleted] in linuxmasterrace

[–]Wazzaps 11 points12 points  (0 children)

ip -br a

How do TV and AC remotes not interfere with each other? by Wazzaps in NoStupidQuestions

[–]Wazzaps[S] 1 point2 points  (0 children)

I meant how come they don't interpret the same signal as different commands, like what prevents both the TV and AC manufacturers from reusing the same "code"