Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mhogomchungu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
mhogomchungu
11y ago
> int64_t ticks; // 100ths of a second I would go with uint64_t as it documents "ticks" as a variable that can not hold negative values and also doubles its range of positive values.
62.
▲
by
mhogomchungu
12y ago
> Why Go in particular? Its the new shiny thing.
63.
▲
by
mhogomchungu
12y ago
> char response[] = "HTTP/1.1 200 OK\nContent-Type: text/html\n\nlol"; isnt it better to write that as: const char* response = "HTTP/1.1 200 OK\nContent-Type: text/html\n\nlol"; ? Having the string
64.
▲
by
mhogomchungu
12y ago
> I think I remember reading about LUKS supporting TrueCrypt's container format - but that, of course, only works on Linux. "LUKS" stands for "linux unified key setup" and it is an "on-disk format" and
65.
▲
by
mhogomchungu
12y ago
There are independent implementations of TrueCrypt on-disk format like tcplay[1],cryptsetup[2] and zuluCrypt[3]. TrueCrypt,the binary application may break without further development but its on-disk format will continue to thrive as more a
66.
▲
by
mhogomchungu
12y ago
usually,yes
67.
▲
by
mhogomchungu
12y ago
> A woman's fear of unwanted sexual advances, assault, or rape from an unknown male when she's in a vulnerable position is entirely reasonable. not always : https://www.youtube.com/watch?v=EHCqz-J51IU&list=R
68.
▲
by
mhogomchungu
12y ago
> Sigh, this again... I'll reply, against my better judgement. a better judgment was to not bring up a controversial topic,not to bring it up and then not engage with those who are on the opposite side of the controversy.
69.
▲
by
mhogomchungu
12y ago
kiswahili lugha yangu ya kwanza kama mtanzania niliyezaliwa na kukulia dar es salaam,tanzania. kuna watanzania wengi tu hapa HN na walijitokeza kwenye thread moja miezi michache iliyopita. Siwezi kupost link ya hiyo thread sababu siikumbuki
70.
▲
by
mhogomchungu
12y ago
i just updated by linux box using apt-get and it reported: "Fetched 47.0MB in 2m3s (381kB/s)". Thats 3Mbps. This kind of speeds happen from time to time but long downloads or streams are usually capped at around 300kbps( arou
71.
▲
by
mhogomchungu
12y ago
Tanzanian here writing this from dar es salaam,Tanzania. I have never hear of this "smile" company so i looked them up and their prices[1] seem ridiculous. I use vodacom and i pay 20,000 shillings a month for unlimited internet.Th
72.
▲
by
mhogomchungu
12y ago
There is TrueCrypt,the binary application and TrueCrypt,the on-disk format. TrueCrypt,the binary application is the one that is dead but its on-disk format will probably live on as a cross platform on-disk format as there are other projects
73.
▲
by
mhogomchungu
12y ago
Qt/C++ users can now use futures with .then() and .await() constructs through this tasks[1] library. an example of .then() construct is here[2]. an example of .await() construct is here[3].What happens here is the following: 1. The fun
74.
▲
by
mhogomchungu
12y ago
what language do you think systemd should have been written in?
75.
▲
by
mhogomchungu
12y ago
Lots of people do not seem to understand the criticism of systemd. systemd = init system + a whole lot of other things. When people complain about systemd,they usually do not complain about what it does or how it does it in the init system
76.
▲
TrueCrypt is no longer safe
(linuxquestions.org)
10 points
by
mhogomchungu
12y ago
|
0 comments
77.
▲
by
mhogomchungu
12y ago
I assume that will work,but it will introduce two problems. 1. Keep a local copy means you will be the one paying for the bandwidth to serve it. 2. You will have to manually update your local copy everytime upstream makes improvements. Havi
78.
▲
by
mhogomchungu
12y ago
> how about new paradigm - context-oriented programming :) where, like "this/self" in OOP, ctx is always present. This is how OOP in C is done though usually its done with the context being an opaque object. Having functio
79.
▲
by
mhogomchungu
12y ago
A "pure" functional programming language has the problem you have identified and that is why haskel for a very long time was considered an academic language since it couldnt do anything useful as anything useful requires side effe
80.
▲
by
mhogomchungu
12y ago
>Would you say that the functional paradigm has started to gain more traction lately though? That is certainly true but I think more people will not shift to functional programming languages to do functional programming style programming
81.
▲
by
mhogomchungu
12y ago
TrueCrypt GUI is designed to be invokable by non-root users.I can not say "meant" because only TrueCrypt developers know what they actually mean with anything. Start TrueCrypt GUI from a normal user account and TrueCrypt will atte
82.
▲
by
mhogomchungu
12y ago
You need root privileges to gain access to a block device. You need root privileges to gain access to kernel cryto and other kernel managed resources. For a project to be usable to normal users,it need to be assessable to normal users and h
83.
▲
by
mhogomchungu
12y ago
I think i did,maybe you missed it. Let me repeat. It is a BAD idea to mount a user provided volume with "suid" options. Any mount tool that does this is using mount tool in a BAD way.I think i have said this already. TrueCrypt is
84.
▲
by
mhogomchungu
12y ago
>This issue isn't unique to TrueCrypt. This was mentioned upthread by wglb [0], but you brushed him aside with talk of "standard practice" It is not unique to TrueCrypt.It is an issue that arise when a front end to "m
85.
▲
by
mhogomchungu
12y ago
Imagine yourself a linux lab operator at a university somewhere and TrueCrypt is installed in the lab computers for students to use to access their TrueCrypt volumes.Most students will expect to have access to TrueCrypt,the GUI application
86.
▲
by
mhogomchungu
12y ago
>Authenticate each individual sector? Where do you store the MAC tags? There's an awful lot of sectors on a disk. Also: what does it mean to have a single corrupted sector in a file consisting of many sectors? openbsd does this with
87.
▲
by
mhogomchungu
12y ago
It sounds like you are trying to deflect the fault away from TrueCrypt.I looked at the link you provided and i opened a TrueCrypt volume with this command: [root@mtz zc]# truecrypt ./rrr.img ../ink -p xxx [root@mtz zc]# So i open
88.
▲
by
mhogomchungu
12y ago
What steps are involved when mounting a TrueCrypt volume? This is what happens when you mount a TrueCrypt volume using their GUI application in linux. 1. A TrueCrypt volume is unlocked by TrueCrypt. 2. The unlocked volume is mounted by True
89.
▲
by
mhogomchungu
12y ago
Its because you overrode the default option of "suid" with your "nosuid" when mounting.TrueCrypt does not do this and that is where the problem is. To reproduce the problem,use TrueCrypt with its default mount options,or
90.
▲
by
mhogomchungu
12y ago
There are "standard practices" when it comes to usage of the mount tool and TrueCrypt does not follow them and its inability to follow them is what leads to this privilege escalation. Another "standard practice" TrueCryp
More ›