Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexkus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
alexkus
13y ago
Not sure, "define" only appears 10 times but "function" appears 19 times. It's probably because 'e' is more popular in the code and "define" has two of them. Looking at the decrypted code there a
62.
▲
by
alexkus
13y ago
OK, next pick a word you think will be in the output (it's php code so I'll guess the word "function" might be common). You then XOR each 8 character substring with "function", taking note of the position of th
63.
▲
by
alexkus
13y ago
But you're just looking for the text being in a certain range of characters. The first stage is determining the key length, you can do this by looking at the number of different character values in positions 1,2,3... then 1,3,5,... and
64.
▲
by
alexkus
13y ago
That was my original suggestion (awaiting moderation):- head -35185221 infile.xml > tmp.xml echo "<load address=’11c1385b’ size=’08’ />" >> tmp.xml tail -n +35185223 infile.xml >> tmp.xml
65.
▲
by
alexkus
13y ago
Works fine for me:- $ cat infile.xml 1 <load address=’11c1�����ze=’08′ /> 3 $ cat seddy.sed 2s@^.*$@<load address=’11c1385b’ size=’08’ />@ p $ sed -n -f seddy.sed infile.xml 1
66.
▲
by
alexkus
13y ago
Exactly. Writing libraries in C means you have to be much more strict than simple throwaway single execution binaries. What our company has ended up doing is wrappering most low level functions with the common code around it. For example, f
67.
▲
by
alexkus
13y ago
Bitcoin may end up a big flop[1] in the end (who knows) but without trying it there's no way to know, so expending all of this time and effort isn't wasted. Similar to scientific experimentation; the outcome, regardless of success
68.
▲
by
alexkus
13y ago
Interesting question. For the same hashrate then less electricity is going to be used given that ASIC mining is far more efficient that GPU mining. But the overall hashrate is still on an ever upward trend. I guess it depends on how many pe
69.
▲
by
alexkus
13y ago
Bitcoin mining could use any amount of electricity given that the block difficulty adjusts to the prevailing hashrate. If more people pile in to mining then the difficulty increases and total $$$ spent on electricity will increase. Converse
70.
▲
by
alexkus
13y ago
Article says 5500BTC.
71.
▲
by
alexkus
13y ago
> Some digging and there are advance tickets to Ely available for £5, and Ely to Stansted airport is £14 for a regular ticket. Yes, there are plenty of cases where you can find cheaper tickets by "splitting" the journey. Many c
72.
▲
by
alexkus
13y ago
https://bugcrowd.com/list-of-bug-bounty-programs
73.
▲
by
alexkus
13y ago
Diesel also has 1.17 times the energy density (by volume) of petrol/gasoline.
74.
▲
by
alexkus
13y ago
Suzuka has a bridge:- https://en.wikipedia.org/wiki/Suzuka_Circuit
75.
▲
F1 2014: All aboard the 'power train' - new rules explained
(bbc.co.uk)
173 points
by
alexkus
13y ago
|
193 comments
76.
▲
by
alexkus
13y ago
I think he/she was talking about the train tickets. Walk-up/on-the-day fares for train tickets in the UK are very expensive. Picking London to Edinburgh as an example (~400 miles in ~4.5 hours) you'd pay £125 off-peak and £15
77.
▲
by
alexkus
13y ago
> Are there hash algorithms which are upper and lower case agnostic? Or should I assume that they store a hash of both the original password form and a lower cased version? The hash may not be case insensitive, but I've seen plenty
78.
▲
by
alexkus
13y ago
By the looks of it the first layer of steak is made up of pieces of two steaks.
79.
▲
by
alexkus
13y ago
> The difference between America and England is that the Americans think 100 years is a long time, whereas the English think 100 miles is a long way. Having lived in both countries I think that's a good way of thinking about it (for
80.
▲
by
alexkus
13y ago
It doesn't exist. There is a tunnel in Aber that was used to store valuables (Crown jewels, etc) during WWII, but it's certainly not a tunnel all the way from London. Source: http://www.everythingaberystwyth.co.uk/
81.
▲
by
alexkus
13y ago
1HiMoM... wonder how long he waited to try and get that as 1HiMom... before giving up
82.
▲
by
alexkus
13y ago
Not just the meat that gets regularly inspected. Hence the "poo shelf" on many German toilets.
83.
▲
by
alexkus
13y ago
Their IPO was two months ago yesterday. September 27th 2013.
84.
▲
by
alexkus
13y ago
...we accept Bitcoin too!
85.
▲
by
alexkus
13y ago
Untested backups don't exist either. There are several horror stories of people going to their offsite tape backups to restore some lost data only to find that their backups didn't work due to a malfunctioning tape drive. Other st
86.
▲
by
alexkus
13y ago
If the only instance of a thing is on your "back-up" drive then it isn't a back-up.
87.
▲
by
alexkus
13y ago
If someone wants a 'weekend project': an interesting browser plugin would be one that undoes the effect of the penalties and reorders the page accordingly, it could even allow the user to choose the level of penalties enforced aga
88.
▲
by
alexkus
13y ago
> Not sure why the HN submission didn't link to the original post It's not a duplicate (as far as HN is concerned), the URLs are slightly different.
89.
▲
by
alexkus
13y ago
My night owl status was cured by having children. I no longer have a choice about what time I wake up. Semi-seriously though, there's nothing like having to fit something immovable into your schedule for sorting things like this out.
90.
▲
by
alexkus
13y ago
LMGTFY: http://www.urbandictionary.com/define.php?term=le+sigh
More ›