News for hackers. Stuff that matters.

somacert

Re:NetHack 3.6.6 on Friday March 13, 2020 @12:28PM (#22568612)
Personally I would like to see shttp:// (http over ssh) as a valid protocol.

Realistically, I know this would end up being just as bad and broken as every other web tech.

However due to the superb openssh implementation I tend to view ssh as the superior transport technology vs tls

Re:Thinking Psycopg3 on Wednesday March 11, 2020 @08:56PM (#22552432)
Glorious, Thank you kind soul for listening to my slightly raving rant.

Now I feel several sorts of ashamed at missing what is kind of a core function.

salutes

Re:Thinking Psycopg3 on Wednesday March 11, 2020 @08:19PM (#22552240)
That vaguely touches (warning going off topic here, my apologies) my main problem with python. dict.keys() returns an iterator, this is all fine and good, very efficient I suppose, however, the only reason I ever use dict.keys() is so I can sort the keys and you can't sort an iterator so every single dict.keys() in my code base is in the form list(dict.keys()). And it is not even like you need the iterator. A dict works perfectly fine as a key iterator on it's own. /rant
Re:Please stop recommending Gitflow on Wednesday March 04, 2020 @05:02PM (#22488641)
I will admit I would not know the difference between gitflow and a hole in the ground. But that diagram looks an awful lot like the workflow you tend to pick up when using fossil.

  * The primary dev branch
  * branch and merge for feature development
  * long term branch for each release.
The authors only real concern appeared to be no rebase, and rebase is already a big no-no in any sort of distributed development, just adopt that attitude for your personal development.
Re:Gears on Wednesday February 12, 2020 @05:45PM (#22313635)
It's easy to lose track of in the face of scene graph vector formats like svg but you have to remember canvas + javascript can be thought of as a procedural cad system, that is, the epitome of drawing tools.

The svg is a static weak alternative to true procedural generation.

For reference the postscript language is the same way. hand written procedural postscript is an amazing drawing tool.

Re:The word “mafia” is never heard in The Godfather on Friday January 31, 2020 @03:01PM (#22205040)
The mafia is just government by other means, and "The government" hates the competition.
Re:Flight stats, entertainment, and trying to crack Widevine on Tuesday December 24, 2019 @12:10PM (#21873355)
Or as I like to call it, xkcd 1179 time
Re:Phoebus Cartel on Thursday November 21, 2019 @07:38PM (#21601352)
Marketing tends to follow a tick-tock model.

New and improved! (we made the box smaller)

25% more! (box back to normal size, price goes up.)

Re:Sourcehut's Year in Alpha on Friday November 15, 2019 @02:50PM (#21548117)
I thought ceph had a reputation of easy to run, at least compared to it's rivals in the distributed storage space. (gluster, lustre, et al)
Re:BZFlag on Thursday October 31, 2019 @02:41PM (#21412196)
darkplaces quake does this. see sv_cullentities_trace.

https://www.youtube.com/watch?v=hf94PbE-b9I

My understanding of Swiss neutrality (simplistic and very poor) is that the swiss mercenaries were too good and after they were finally defeated a ban on fielding mercenary companies was enforced and this lead naturally to the neutral stance Switzerland takes today.

https://en.wikipedia.org/wiki/Swiss_mercenaries

Except the pope, being the pope got to keep his.

Re:BLUF: A military standard to make writing more powerful on Friday September 13, 2019 @05:38PM (#20966882)
Makes sense, depending on complexity my email sections tend to be.

Executive summary: Summary: In general: Specifically:

Now I feel all sorts of validated for being pedantic about the whole thing.

My interpretation of the openbsd slides are that it acts as a sort of turing test.

If you are the sort that is excessively bothered by our use of the comic-sans typeface. Then perhaps you are not a good fit for our project.

More and more, I see the the continued use of cvs as sort of the same thing. It works and it weeds out people who care more about how something is done then what is done.

Well that's unfortunate, I tend to be rather militant about switching my syslog to something resembling rfc 3339.

linux /etc/rsyslog.conf $ActionFileDefaultTemplate RSYSLOG_FileFormat

openbsd /etc/rc.conf.local syslogd_flags="-Z"

Re:Rsync, GUIs, power, control, design, and decisions on Tuesday July 09, 2019 @05:06PM (#20396591)
The "Does not resume interrupted operations" gripe confuses me because that is the main reason I reach for rsync, I have a large tree of files I need to be somewhere else and if the transfer fails I would like it to not transfer files already transferred.

So I use rsync, which offers, as a core feature, resuming interrupted operation.

Re:OpenBSD Is Now My Workstation on Wednesday July 03, 2019 @06:59PM (#20349799)
Openbsd has a code of conduct. It's been there a while.

https://www.openbsd.org/mail.html

only half joking

As far as I can tell there are three acpi stacks/interpreters

Intel, This is the reference, most operating systems use this (linux, freebsd, macos)

Microsoft

Openbsd, yes the openbsd project is crazy enough to build their own acpi implementation, keep fighting the good fight openbsd.

Because have you seen the spec? good lord what a train wreak.

Re:A Camera Lens Made from an Iceberg on Thursday February 28, 2019 @02:29PM (#19274290)
Mainly mechanical

Top down you can put the the water in a small ice chest and the insulation will slow the freeze in the bulk. otherwise it freezes outside in

That ice floats may play some role, I am not sure if for or against.

I made a couple of attempts, just for fun, and found the ice chest necessary but never made a systematic study of the process.

Re:A Camera Lens Made from an Iceberg on Thursday February 28, 2019 @02:14PM (#19274156)
Making optical grade ice is not trivial. Not hard but I never did get good results.

Start with good water.

Freeze in a gradient(top down is easiest) half of your ice will still be garbage.

Explicitly: by gradient I mean put it in an insulated container so that it freezes starting at the top and ending at the bottom.

Re:Intuit Notice of Unauthorized Access to Tax Returns [pdf] on Tuesday February 26, 2019 @06:00PM (#19259213)
Not run by the irs.

whois freefilefillableforms.com Domain Name: FREEFILEFILLABLEFORMS.COM Registry Domain ID: 1532523225_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.godaddy.com Registrar URL: http://www.godaddy.com Updated Date: 2017-12-12T17:27:56Z Creation Date: 2008-12-11T19:53:30Z Registry Expiry Date: 2019-12-11T19:53:30Z Registrar: GoDaddy.com, LLC Registrar IANA ID: 146 Registrar Abuse Contact Email: [email protected] Registrar Abuse Contact Phone: 480-624-2505 Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited Domain Status: clientRenewProhibited https://icann.org/epp#clientRenewProhibited Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited Name Server: DNS1.QUICKEN.COM Name Server: DNS2.QUICKEN.COM Name Server: DNS3.INTUIT.COM Name Server: DNS4.INTUIT.COM DNSSEC: unsigned URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/

You are sending your data to Intuit.

Personally, I am a bit pissed that the IRS, a government organization with the sole purpose of collecting taxes, has no method for me to submit my tax return to them via the internet.

Scary, that is almost the exact code I came up with.

The funny thing is balanced parens can be recognized with with a state machine it is just ugly.

        state_data = {
                '0p':{
                        '(':'1p',
                        ')':'fail',
                        'END':'pass',
                        'OTHER':'0p',
                        },
                '1p':{
                        '(':'2p',
                        ')':'1p',
                        'END': 'fail',
                        'OTHER':'1p',
                        },
                '2p':{
                        '(':'3p',
                        ')':'2p',
                        'END': 'fail',
                        'OTHER':'2p',
                        }

                 ...
            }
Just make sure the state machine has as many states as you need paren levels.

I admit the moment that the math vernacular appears my brain seems to shut down, however after reading the proof that balanced parens cannot be described several times. It seems to depend on a couple things.

1 The string is allowed to be infinite the state machine not.

2 "But state(B, start, p) is the same state as state(B, start, q)!" why? the strings are defined to be different I see no reason they would be in the same state.

EDIT added analysis of article proof.

Re:A proof that Unix utility sed is Turing complete on Friday February 15, 2019 @03:50PM (#19174583)
sed -e 's/<[^>]*>//g'