HackerLangs
TopNewTrendsCommentsPastAskShowJobs

aidenn0

29,811 karmajoined 18 anni fa
e-mail: <my username>@geocities.com

Submissions

Engineers do get promoted for writing simple code

seangoedecke.com
1 points·by aidenn0·4 mesi fa·0 comments

I Hate Journalism's Culture of Casual Calumny

jessesingal.substack.com
4 points·by aidenn0·8 mesi fa·0 comments

comments

aidenn0
·9 minuti fa·discuss
Not to mention they are spending an awful lot of money on developing anti-satellite missiles for having a working directed-energy weapon that can do the same.

I'm sure they are experimenting with directed-energy ASAT technology though, because why wouldn't they?
aidenn0
·6 ore fa·discuss
IMO All it exposed was writing past the end of buffers.

There was no memory corruption previously due to partially to luck, and partially to heavy testing (which would have exposed most forms of memory corruption).

I think it is fare to say that the change was a cause of the vtable corruption occurring, since without the change it didn't happen.

Once this is discovered, you need to rethink your change plan for the next release; if you back out this one change, your software will return to a working state. Whether doing that, or fixing your buffer overflow is the correct thing to do depends on a lot of specific factors.
aidenn0
·ieri·discuss
Many problems can be solved with either macros or higher-order-functions. The advantage of macros is two-fold (macros also have disadvantages, and Lisp allows you to use either solution; deciding which to use is often a matter of taste):

1. Syntax can be more familiar

2. Performance (to the extent that there is overhead for functions-calling-functions).

For example, let's consider a hypothetical lispy language that doesn't have a short-circuiting "and" operator. Macros would let you implement something to used like this:

  (and (foo x) (bar y))
Higher order functions would require you to do something more like:

  (and (lambda () (foo x) (lambda () (bar y))
More noise, and more work for the optimizer (or in the worst-case, more work at run-time). Languages that rely heavily on higher-order-functions will tend to have terser syntax for anonymous functions. For example in javascript you might do:

  and(()=>foo(x), ()=>bar(y))
aidenn0
·ieri·discuss
Japan has a history of train-driving sims: https://en.wikipedia.org/wiki/Train_simulator#Driving_simula...
aidenn0
·ieri·discuss
What I described was for bugfixes, not features. Features were set in stone way before this.

I also maintain that it is impossible to know which changes depend on other changes. In one case, applying a bugfix that changed the order of allocations at startup caused vtable corruption somewhere else because it changed how much padding a particular malloc() call was returning, and someone was writing past the end of their allocation.

[edit]

Also note that what you described is not CI; things are developed on their own branches and not integrated immediately.
aidenn0
·ieri·discuss
It also means that if you subtract two timestamps, you might not get the actual time between them. Though this is also true of most ways of representing time (TAI being a notable exception).
aidenn0
·ieri·discuss
Next we need someone running on a platform promising "Truth, Justice, Freedom, Reasonably Priced Love, and a Hard-Boiled Egg"
aidenn0
·l’altro ieri·discuss
I didn't work on this project, but I've been involved with similar ones.

There is a process for getting a change into version control. Each change needs to have a (virtual) paper trail: motivation, risk analysis, sign-offs &c.

If you can't get something into VC quickly, you can't really do CI.

The obvious solution would be to have an integration branch that doesn't need the process to get in, do CI testing on that branch and then make the process for merging to the real branch.

I've never seen this done personally, but I have been told some places do it, and then you end up with "Change X, which got approved had a dependency on Change Y that didn't get approved and we didn't realize it until now because Change Y was put in the integration branch before Change X"
aidenn0
·l’altro ieri·discuss
My 18 year old daughter is the same (and also can't read an analog clock). Despite me using "quarter to," "quarter past," and "half past" regularly throughout her life. And we having analog clocks in most communal spaces in our house. And we drilled her on analog clocks for two summers in a row...
aidenn0
·l’altro ieri·discuss
In one of the MD boarder counties (Montgomery maybe?) it at least used to (and may still) be illegal to posses even sparklers or fountains. And they were serious about enforcing it. Cops would stake out VA fireworks stands and radio in license plates to cops in-county. Since even possession is illegal, it's a confiscation and fine the moment you cross the boarder.
aidenn0
·3 giorni fa·discuss
Thanks, I was like "that looks a lot like a slipped sheet-bend," but could tell that something wasn't quite right.
aidenn0
·3 giorni fa·discuss
Bowline is inappropriate for anything that you need to apply tension to while tying (like your gym shorts).
aidenn0
·4 giorni fa·discuss
Neither my parents nor my wife's parents have their desktop connected to their router. The cable modem isn't even in the same room as the desktop.

[edit]

If it matters, my mom no longer has a desktop (she uses a docked laptop now), but it is true of the docking station and was true of her previous desktop.
aidenn0
·4 giorni fa·discuss
So similar origin to the Imperial acre; which it is very close in size to:

  You have: 175*24m^2
  You want: acre
   * 1.0378426
   / 0.96353724
aidenn0
·4 giorni fa·discuss
I didn't know what ESP was; from some googling, it appears to notify you when someone is aiming at you?
aidenn0
·4 giorni fa·discuss
A 5 port 2.5GbE switch would upgrade this to 5 total ports (4x 2.5GbE), and costs less than $100. If you only need 1GbE then it's even cheaper.

Outside of home-labs, it's rare for me to see any devices connected to the LAN side of a wireless router these days, and more than 1 (i.e. the non-portable device that is closest to the router) is exceedingly rare.
aidenn0
·5 giorni fa·discuss
I haven't lived in Indiana in over 20 years, but is the law for mortars still:

Legal to posses

Legal to buy and sell

Not legal to use

That was always a bit silly to me. Stores would even have you sign a waiver that you weren't going to use them in Indiana.
aidenn0
·10 giorni fa·discuss
One corollary:

Your students will be mad right away if you teach them the terse syntax, but mad later if you teach them the verbose syntax.
aidenn0
·11 giorni fa·discuss
https://thecontrollab.com/

Note that the footprint of the store is very small, and CRTs are very large, so "no room" doesn't mean they have a lot. Presumably if they were flying off the shelves though, they would make room.
aidenn0
·11 giorni fa·discuss
Just a week ago, I called up the local games store to ask if they wanted my 19" CRT (for free) and they said they didn't have room for any more CRTs, so I'm going to take it to e-waste.