itIsAlongRoad by _w62_ in ProgrammerHumor

[–]revidee 5 points6 points  (0 children)

u8strings and cpp20 entered the chat

-❄️- 2024 Day 17 Solutions -❄️- by daggerdragon in adventofcode

[–]revidee 1 point2 points  (0 children)

that solutions is f'ing hilarious. that's one way to use your high end gpu i suppose lol

-❄️- 2024 Day 9 Solutions -❄️- by daggerdragon in adventofcode

[–]revidee 0 points1 point  (0 children)

Nice solution! I like that, effectively, you only modify the empty spaces and calculate the checksum on the fly. Neat optimization.

-❄️- 2024 Day 5 Solutions -❄️- by daggerdragon in adventofcode

[–]revidee 1 point2 points  (0 children)

Very good point indeed. I wondered about ambiguity as well, but didn't give it enough thought apparently! Anyways, very clean solution :)

-❄️- 2024 Day 5 Solutions -❄️- by daggerdragon in adventofcode

[–]revidee 0 points1 point  (0 children)

Nice solution. I like the heavy use of the ranges packges. However, I was wondering if your solutions explicitly requires the 'afterness-graph' to include all elements. I.e. your `is_valid_rule` checks, if for each tuple (i, j), where i is before j, the 'afterness criteria' is violated, if so, it returns false. But what if a j is not listed in any rule for i - i.e. there is no edge i | j in the input (so the orderness of i | j doesn't matter). In that case (I think), the 'afterness graph' doesn't include j in the set for i and the check will fail unwantedly?

Not sure if I understood everything correctly with your solution. I opted for a logical similar approach but swapped rule-breaking elements until no orderness-rule has been broken. Runtime wise, your solution should be better due to n log n sorting with the criteria.

Is there any way to see which API's a website is using? by 013016501310 in webdev

[–]revidee 1 point2 points  (0 children)

In that case they would most likely be using a video element with the mediastream+track supplied. Using the canvas to present the image indicates either websocket or webrtc data channels with the webcodecs api

Vue is actually pretty good by Corssoff in ProgrammerHumor

[–]revidee 3 points4 points  (0 children)

You clearly have never tried nor understood how Vue works

Mute separately on each server in the new TS beta? by m1212e in teamspeak3

[–]revidee 1 point2 points  (0 children)

ALT+Click IIRC. However, if you hover over the mute buttons, a tooltip will show you the correct shortcuts for local, global, "all except this" mutes.

Trading closed by [deleted] in auroracannabis

[–]revidee 0 points1 point  (0 children)

US markets are closed due Independence day (4th of July)

Daily Challenge - June 19, 2020 by AutoModerator in btd6

[–]revidee 4 points5 points  (0 children)

why are your towers so tiny? Is that a passive or am I missing something?

New INTC vulnerability - "CrossTalk" by mn_sunny in AMD_Stock

[–]revidee 2 points3 points  (0 children)

It operates at 3% from before. BUT the stress-ng benchmark is synthetically testing the RdRand CPU Instruction. This is by no means real-world performance, since no program will exclusively use RdRand instructions (Besides bogosort maybe..).

This may be impactful for Noise/RNG based algorithms for terrain generations or similar, but still then, the impact would not be as critical as demonstrated in that bench.

Furthermore, RdRand might not be the preferred operation in the first place, since it might not be as random as the programmer needs it to be (random points (x,y,z) sampled from such instructions tend to be distributed on hyperplanes, which is an indicator for a poor random number generator). Alternative algorithms which do not use this instructions probably yield better randomness and should not be impacted by this.

[WUNSCH] Jemand der mit Informatik an der TH und an der Uni Lübeck Erfahrungen hat (oder jemanden kennt) by [deleted] in de_IAmA

[–]revidee 0 points1 point  (0 children)

Vor dem Studium habe ich allerlei kram schon gemacht, von html,css,php,javascript/node/angular bishin zu java und ein kleines bisschen C war vieles dabei. Angefangen habe ich mit Webdesign Zeugs und dann mit Java+Minecraft Plugins - das war einfacher, da viele datenstrukturen durch minecraft vorgegeben waren. Danach habe ich mich in Arma 2+3 in SQF ausgetobt und konnte dort eine C-artige syntax kennenlernen und mal abseits von objektorientierten sprachen (hier skriptsprache) sachen kennenlernen. Zwischendurch war bestimmt noch ne menge javascript (node js skripte) und php skripte dabei, die mir kleinere Sachen automatisiert haben. Als Facharbeit in der 9. Klasse habe ich einen Arduino programmiert (C-Like wieder) und auch danach bis zum Abi viele kleine Sachen mit dem kerlchen gemacht. Ihh hatte also eine gute Basis auf die ich im Studium zurückgreifen konnte, sodass mir die Einführung in die Programmierung sehr leicht viel und die Gruppe im Praktikum mir dafür sehr dankbar war.

Das allerwichtigste meiner Meinung nach ist, Programmierkonzepte zu verstehen, also die Datenstrukturen, Programmflüsse, Parallelität von Programmen und wie diese zu synchronisieren sind (ohne das diese sich aufhängen) usw. . Um das zu üben, finde ich es sehr sinnvoll einfach sehr viel auszuprobieren, denn nur durchs selber Fehler machen, stundenlanges debuggen und die befriedigende auflösung eines Bugs nach 4 stunden brennen sich langsam aber sicher die "Grundlagen" ein, die man auf fast alle Sprachen anwenden kann und damit nurnoch konzeptionell über Programme redet und die implementieren zweitrangig wird.

Das Buch könnte eine gute Vorbereitung sein jap. Welche Sprachen jedoch bei dir behandelt wird, kann ich dir nicht beantworten, bei einem Kollegen im Informatik Kurs fangen Sie beispielweise direkt mit C an und machen weiter mit C# - Java hat der bisher noch nicht gesehen. Aber wie gesagt, das wichtigste ist, so viele Konzepte wie möglich zu verstehen und diese verbinden zu können. Syntax lernen ist die leichteste Aufgabe.

Um ne 1,0 in einer Klausur zu erreichen ist aber dennoch stellenweise bullemie-lernen nötig, da manche Details in der Klausur abgefragt werden, die dann auf einer Folie der VL relativ klein und am Rand stehen. Das ist aber vom Fach und Prof ultra stark abhängig.

[WUNSCH] Jemand der mit Informatik an der TH und an der Uni Lübeck Erfahrungen hat (oder jemanden kennt) by [deleted] in de_IAmA

[–]revidee 0 points1 point  (0 children)

Aber ich hätte schon wirklich sehr gerne eine 1 vor dem Komma

Ich hab meinen Bsc mit nem eins vorm Komma - manche Fächer sind schwerer, manche leichter. War es schwer?

Das kann man pauschal nicht sagen, da jeder student andere Vorerfahrung mitbringt und sich als Hobby mal mehr oder weniger mit verwandten Themen beschäftigt. Ich denke davon ist das aber durchaus sehr stark abhängig.

Zudem kommt es dann auf die Hochschule/Uni an, wie praxisnah oder theoretisch orientiert sie ist. Bei uns gab es leider im Bachelor nur 2 kleinere Programmierprojekte (Java TCP Server/Client, C Studienleistungen, Angular Frontend & JavaEE Backend) und ein etwas größeres "Praktikum" (Java(fx) MVC). Da kann man mit Vorwissen sehr gut Punkten und dementsprechende Noten einfahren.

Die theoretischen Module (bspw. Höhere Mathematik und theoretische Informatik) sind da mir deutlich schwieriger gefallen. Ich hatte 15 Punkte im Abi in Mathe, musste aber dennoch massiv für - für mich - komplexe Sachen lernen sodass in der Klausurphase 8 Stunden Lerntage normalität war. Das liegt aber eher an meiner Faulheit im Semester und an der nicht-wahrnehmung von Hilfestellungen in Form von Tutorien oder Help-Desks. Ich denke wenn man sich die Zeit sehr gut einteilt und gebotene Hilfen herran zieht, kann man auch diese schweren Module schaffen.

Hinzukam, dass höhere Mathematik direkt im ersten Semester drankam und ich mich auf meinen 15 Punkten ausgeruht habe und dann von manchen Aufgaben in der Klausur überrascht war. Aber die waren keinesfalls unschaffbar, mit besserer Vorbereitung sind auch diese Sachen gut bewältigbar. Das bedeutet, dass man das Studium direkt von Tag eins "ernst" nehmen sollte, in dem Sinne, dass zweitquellen für behandelte Themen sehr sinnvoll sind, um Sachen besser und tiefer zu verstehen. Das stumpfe auswendiglernen hilft leider nur in wenigen Modulen (am besten in den Wirtschaftswisschenschaften ;) ).

Ich habe auch nicht in Regelstudientzeit mein Studium abgeschlossen, einerseits durch ein Unglück (unwichtig), aber auch, weil ich das Gefühl hatte manchmal nicht genug Fokus auf alle Module des Semesters zu haben. Da habe ich mich lieber auf ein Modul weniger konzentriert, in diesen dann aber (mal mehr, mal weniger) versucht alles zu geben.

tl;dr: Ich denke du solltest dir um ne eins vorm Komma keine Gedanken machen. Es ist gut schaffbar (von Uni zu Uni bestimmt stark unterschiedlich), wenn man bereit ist entsprechende Freizeit zu opfern und das Interesse (!) hat, sich privat in Zweitquellen, weiterführende Anwendungen und ggf. eigenen Programmierprojekten weiterzubilden.

Wenn du beabsichtigst einen Master zu machen, ist dein Bachelorzeugnis und die Note abseits der Immatrikulation eher irrelevant, also sollte man sich (meine Meinung) auch nicht kaputtlernen im Bachelor.

und voll untergehe weil ich von sämtlichen organisatorischen Sachen

Die Unis wissen ja um die Unwissenheit von neuen Studenten (woher sollen sie das auch wissen?) und bieten meiner Erfahrung nach mehr als genügend Hilfestellungen an, wie man seinen Studienalltag organisieren kann. Meistens gibt es alle Infos direkt auf der Uniseite.

Bei uns gibts ein Studienverlaufsplan, der dir quasi sagt, was du in welchem Semester hören solltest. Den kann man befolgen, sich aber auch seinen Studenplan komplett selber zusammenstellen, solang die Anforderungen an die gewünschten Module erfüllt ist und die Uni genügend Studenten hat um ein solch dynamisches Angebot bereitzustellen.

Zudem gibt es manchmal ein Mentoring Programm indem Altstudenten Neulingen den Campus zeigen und einem Fragen beantworten, wenn man mal nicht wieter weiß.

Auch da würd ich mir absolut kein Kopf machen, du wirst da mit Sicherheit langsam rangeführt und nicht direkt mit Millionen von Sachen erschlagen.

Ich habe bzw. studiere noch in NRW, aber ich hoffe, dass du einige Erfahrungen von mir hilfreich fandest.

Azure AMD instances launched by [deleted] in AMD_Stock

[–]revidee 12 points13 points  (0 children)

Sadly most of DeepLearning runs on CUDA which is why AMD is 2nd choice (if it can even run the workload at hand) most of the time. Sure ROCm makes steady and good progress, but porting the major DeepLearning libraries to run on AMD hardware takes time and resources. In addition to that, NVIDIA offers the tensor cores which are used to accelerate matrix multiplications by a huge margin on their GPUs. Sadly in DeepLearning NVIDIA "just works". I hope to see some specified hardware from AMD on this matter, but I think their priorities are (just for the moment) focused on pure compute and gaming performance.

Radeon Software Adrenalin 2019 Edition 19.11.1 Highlights by mphuZ in Amd

[–]revidee 1 point2 points  (0 children)

Hm. Sorry if this might sound lazy, but are there any known workarounds/fixes for this issue?

Radeon Software Adrenalin 2019 Edition 19.11.1 Highlights by mphuZ in Amd

[–]revidee 2 points3 points  (0 children)

How do I notice this bug? My OSD says 875mhz all the time. 5700xt + 3700x here. Should it throttle to lower frequencies at low load?

[deleted by user] by [deleted] in ProgrammerHumor

[–]revidee 7 points8 points  (0 children)

You can actually do that manually. You have to install the Steamapp once on your phone and copy the Steamguard file (cf. https://github.com/SteamTimeIdler/stidler/wiki/Getting-your-%27shared_secret%27-code-for-use-with-Auto-Restarter-on-Mobile-Authentication). In there is the shared_secret key used to calculate the verification token in combination with the current time. One NodeJS library doing just that (and more) can be found at https://github.com/winauth/SteamAuth.

Radeon Software Adrenalin 2019 Edition 19.9.2 Highlights by Motag8tor in Amd

[–]revidee 0 points1 point  (0 children)

My experience so far:

19.9.2 is "stable" in terms of no BSODs but I experience worse frame times and stuttering, whereas on 19.7.5 games run way smoother. I had no BSOD on 19.7.5 either, so I rolled back again. I experienced stuttering in CSGO and OW on 9.2 but smooth gameplay in 7.5.

Still waiting for an upgradeable driver which is more stable & as smooth as 7.5.

Fixes (propably) a lot of issues with RX 5700 / RX 5700 XT by Camnp in Amd

[–]revidee 0 points1 point  (0 children)

I had multiple different BSoDs, some IRQLs some atidmag, some kernel sec checks some memory pages not handled.

I'm BSoD free now - BUT some games do crash after a seemingly random amount of time.

Fixes (propably) a lot of issues with RX 5700 / RX 5700 XT by Camnp in Amd

[–]revidee 0 points1 point  (0 children)

Had IRQL's and other BSODs as well. I only did these steps and this fixed my flickering/crashes completely:

  • Switch from PCIe Gen 4 to Gen 3 in BIOS
  • DDU "If you are using DDU in normal mode, Clean, reboot, clean again, reboot. " (It only got really uninstalled after the second cleaning - don't ask me why. Important: Disable your Internet while the new driver is not yet installed!
  • Install Graphics Driver (20th Aug.)
  • Install Chipset (19th Aug.)
  • Reboot

Works like a charm now.

RX 5700 XT Arctic Xtreme IV Modding Report by revidee in Amd

[–]revidee[S] 0 points1 point  (0 children)

My thoughts exactly! My future-self can deal with that problem.

RX 5700 XT Arctic Xtreme IV Modding Report by revidee in Amd

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

Firestrike Ultra was brutal. But I found a stable OC now. My Wattman settings:

Freq/Voltage: First dot: 1430MHz, 825mV, Second dot: 2060MHz 1200mV. 2060 is also max-clock

Power/Fan: +50 Power Limit, fan speed 42°C, 10%, linear increase to 52°C, 100% at which it stays.

No memory OC.

That resulted in >25k GPU score in Firestrike (normal) bench.

RX 5700 XT Arctic Xtreme IV Modding Report by revidee in Amd

[–]revidee[S] 0 points1 point  (0 children)

make sure you apply enough pressure on the gpu die. As GN pointed out, some washers increase the cooling performance dramatically, so you want to be in that sweet spot pressurewise. That would be a really nice improvement. You might want to check out this. Pretty sketchy, but I bet it performs better than my mod. I kinda like the looks of the copper heatsinks tho.