HackerTrans
トップ新着トレンドコメント過去質問紹介求人

Doxin

3,128 カルマ登録 9 年前

コメント

Doxin
·5 日前·議論
There's a video of the prototype printing: https://www.youtube.com/watch?v=XB7iAFXCJQM
Doxin
·13 日前·議論
You can still share pre-DRM copyrighted work without running afoul of any laws. Stuff like lending out or selling VHS tapes. Copyright is concerned about copying, not about moving. Digital media just makes the line between copying and moving sufficiently blurry that companies get away with making moving impossible under the guise of making copying impossible.
Doxin
·16 日前·議論
Work on your reading comprehension. I never said anything was illegal. Spying means the act of keeping a secret watch for intelligence purposes. This is what they are doing. And just because it's legal does not mean it isn't wrong.
Doxin
·21 日前·議論
Increasing prices at busy times (i.e. surge pricing) is... to some degree defensible. Spying on people and charging different prices to different people for the same thing (i.e. surveillance pricing) is not. Can you imagine the mayhem if companies just straight up knew salary information for all of their customers?
Doxin
·30 日前·議論
Reduced test cases make it way easier to figure out what the actual bug is. E.g. a real world example is when I tested a "slugify" function with hypothesis. It almost immediately spat out this failing test case:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaẞ

Boy I sure do wonder what character could possibly be causing issues there. whereas without shrinking it might instead spit out something like

ЁЂЃЄЅІЇЈЉЊЋЌЍЎЏАБВГДẞЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп

Which makes finding the offending character a lot harder.
Doxin
·先月·議論
It's automatic. If you post and the title gets mangled you can go back and edit the title and it won't get re-mangled, but you kinda have to be paying attention and be aware of that.
Doxin
·先月·議論
It's also just sort of generally used as easily spotted value in a hex editor. similar to DEADBEEF, ABADBABE, CAFED00D, and probably a bunch more variations on the concept. CAFEBABE seems especially prolific, getting used for -- among other things -- poison value for memory pools in plan9 and MACH-O universal object files magic number[0]

[0] https://en.wikipedia.org/wiki/Hexspeak
Doxin
·先月·議論
There's playing the game as intended and playing to the rules. People who insist on doing the latter even after being asked not to are infuriating. I've got one friend who got himself permanently uninvited from board game night for these sorts of shenanigans.
Doxin
·2 か月前·議論
Except trams have, as far as I know without exception, specific traffic rules around them. A tram simply does not and cannot stop as quickly as a car (or indeed a bus) can. The reason that that's largely accepted is because the tradeoff is also that a tram can't really make any sudden unexpected motions at all.

If you get hit by a tram it is because you are in a place where you should have known the tram would hit you. The things are on tracks.
Doxin
·2 か月前·議論
I find this also heavily depends on which LLM you're using. I've found chatGPT is completely awful at getting corrected, it'll double down until the cows come home. Meanwhile claude will generally adjust its behavior without too much nagging.
Doxin
·2 か月前·議論
A linear ramp would work, but you can probably get to the end-point quicker if you're not going linearly. Something like

needle_position = needle_position * 0.9 + desired_needle_position * 0.1

is very easy to implement, easier than linear if you ask me, and should give it a nice damped movement. The constants can be tuned to go as quick or as slow as you like of course.
Doxin
·2 か月前·議論
except if := was the default then accidentally typing ":=" instead of "==" would be the easy bug to make.

:= was bolted on after of course, and I think that was a mistake, but no one asked me, nor do I expect anyone to ;P
Doxin
·2 か月前·議論
Maybe not. I don't know. I'm not a scientist. I have to err on the side of caution with these things because I don't know.
Doxin
·2 か月前·議論
not really? I have a habit of using the wrongest solder for my projects. The stuff I use currently was formulated for wave soldering, no clue why it comes in spools but it was cheap.

In general the formulation is more important than the brand, and the formulation isn't /that/ important either. If it's lead free, has a rosin core, and comes on a spool, you can probably use it.
Doxin
·2 か月前·議論
Splitting = and := in python is very intentional though, It makes writing bugs like this impossible:

    if is_logged_in=True:
        allow_access()
I've got... opinions on the way python separates statements and expressions, but there's some real benefits to it too.
Doxin
·2 か月前·議論
> Leaded solder is easier to work with for personal projects

it really isn't if you use a nice modern lead-free solder. you'll need your iron to be about 20c hotter, but it's not like the early days of lead-free where it'd flow all weird.
Doxin
·2 か月前·議論
A glass fiber pen is my go-to for cleaning groddy pads and pins and the like. Works a treat.
Doxin
·2 か月前·議論
I can make no claims as to the brands mentioned in the parent post, but a 3 second heating time isn't all that fast for a real nice soldering iron. Previous job had an iron that'd heat between you picking it up and moving it over to the PCB. That one was stupendously expensive from what I heard, but I can only imagine that tech has gotten a lot cheaper since then.
Doxin
·2 か月前·議論
Important to note that these days you really should use lead-free solder. You'll find all sorts of people going around claiming that leaded is better, but it's really not, and it's not worth the health risk. Your iron needs to be about 20c hotter than for leaded and your solder joints will look dull instead of shiny. If you find lead-free solder to not flow properly to be grainy your iron isn't hot enough.

Still wash your hands after using lead-free solder by the way. You don't want to be eating rosin or copper either.
Doxin
·2 か月前·議論
[dead]