News for hackers. Stuff that matters.

seanmceligot

Re:Amex's FaaS Uses WebAssembly Instead of Containers on Saturday December 21, 2024 @12:08PM (#42480802)
"A key reason behind Amex's adoption of WebAssembly is that WebAssembly demonstrated superior performance metrics compared to containers."

Wasm faster than containers? I guess they mean under there specific circumstances. Rust or C on a Linux container running machine code should definitely be faster than Wasm bytecode.

Re:Starlark Programming Language on Monday December 09, 2024 @10:43AM (#42367237)
It would be nice if python would show types in the documentation. Not only do I need that all the time, it would show python was taking type safety serious.

For example, knowing the return type of a function is Union[DataFrame,Series] rather than simply DataFrame would save a lot of bad errors.

Re:Cutting videos in the terminal with chafa and FFmpeg on Monday September 23, 2024 @02:13PM (#41628910)
Download the executable? That's not safe. Even if your intentions are good, you're teaching bad security habits.
Re:Gitlab Duo on Monday April 22, 2024 @11:14AM (#40115191)
This happened to me Tuesday September 28th 2001 at 3:30pm. I know because I never rewrote the complicated e-paper code that I lost when my SD card died without a backup :(
Re:How to Determine the Error of an Air Quality Sensor? on Sunday April 14, 2024 @11:15AM (#40031704)
I was looking for this too, "site:airgradient.com calibrate" brings a lot of results, so it seems like they support it, but I haven't dug in yet.
Re:How to Determine the Error of an Air Quality Sensor? on Sunday April 14, 2024 @11:13AM (#40031686)
I'm glad to see there's an alternative to Airthings. The problem with them is they should be calibrated at least every year but they can't be, so they just deny that they ever go wrong and pretend the problem doesn't exist.
Re:Kobo announces color e-readers on Wednesday April 10, 2024 @01:39PM (#39993535)
I love the black and white boox as a low tech device. I do a lot more reading and a log less mindless scrolling on my boox tablet. There's also grayscale chrome and firefox plugins if you want to see what it's like.
Re:Fun with Kermit and ZMODEM over SSH on Tuesday April 25, 2023 @02:14PM (#35704448)
I still miss sz and rz when I ssh from a computer with no ssh server like nearly every windows box. If I remember right, sz = send a file from the server I'm in back to the client server. rz = receive a file from the client server.

You can accomplish the with a new scp session on the client server, but it's an extra step. I use this as a helper when for building the scp command.

function scppath() { echo $USER@$(hostname).$(dnsdomainname):$(realpath $1) ]

Re:Type-Level Programming in Rust on Monday October 05, 2020 @01:27PM (#24689862)
The SecureVec is nice. I've been waiting to see this become more common. Reminds me of this talk at ICFP 2010 on compile time Authorization checks.

http://jamiemorgenstern.com/papers/ml10sectyp.pdf

Re:Java 14 Feature Spotlight: Records on Tuesday February 04, 2020 @03:44PM (#22240740)
I switched to java from c in the mid 90's. I remember thinking how ridiculously wasteful it was to allocate an array on classes one at at time rather than as a block of memory. I think I was using berkeley DB at the time in c and it let you do that.
Re:Debuggers Suck on Wednesday November 27, 2019 @01:13PM (#21650355)
Break-point debuggers take too long in most environments (with a few exceptions). I use linters, compilers and type checkers as my first line of defense. Next, logging and unit tests. Lastly, I like to have in interactive command line REPL with good tab completion if one is available and not to difficult to setup.

In python, for example I use: pycodestyle, pyflakes, mypy and logging, and bpython.

For web apps, reload time is the most important factor. Work on reducing the time to compile, reload and test.

It seems to me that they would now do studies to find out what increases or decreases nucleotide production in cells. If, for example, you found out that capsaicin in chilli peppers increased nucleotide production, then that could be useful.
Re:The Yoda of Silicon Valley on Monday December 17, 2018 @10:10AM (#18699354)
I once had to write a program for a class didn't have access to a compiler. I wrote it all in notepad and double checked everything more thoroughly than I ever would have done otherwise. When I got the computer lab the compiler found one or two type-o's and the program ran perfectly the first time. The experience changed how I write code. It's worth trying out at least one time.
Re:The quitting economy on Wednesday July 26, 2017 @05:10PM (#14860394)
This quitting is completely forced in government work. Every few years the project will be turned over to an entire new group of programmers and system admins at a lower price. They often spend years trying to figure out how the code and configuration works and learn the business rules. It's sad to watch.
Re:Attachment theory is having a breakout moment on Monday January 09, 2017 @11:04AM (#13357286)
The simplest explanation I've heard of attachment theory is kids should be attached to parents securely enough that they are comfortable transferring that attachment to friends and relationships later. Too far in one direction and the child never leaves the parents side or the parent never lets the child grow up. Too far in the other direction and the child never learns healthy bonding and trust.
Re:Atlassian acquires Trello for $425M on Monday January 09, 2017 @10:00AM (#13356741)
That's been my experience working with JIRA the past few months. Bug after bug and always a bug report with someone begging for a fix and being ignored.