Better HN
topnewbestaskshowjobs
Log inSign up

bArray

7,485 karma · joined Mar 14, 2016 (10y ago) · 2,314 submissions

Why jump in one pond when you can dip your foot in many?
Submissions

comment 6y ago · link · parent

I've trialed several video conferencing apps in the last few weeks (Skype, Zoom, Hangouts and others), Jitsi Meet is the only one I've been able to have a video call on with my low-bandwidth, high-ping network. They've done a superb job for my use-case, I'm very happy with the result.

comment 6y ago · link · parent

I really wish phrack.org had an RSS feed so I can keep on top of their latest papers.

comment 6y ago · link · parent

It's simple enough to work well, cheap to produce, can be transported easily - very cool.

Can we expect a ventilator machined from a block of aluminum next?

comment 6y ago · link · parent

> If this fails, the patient can die.

If these patients receive no help, they die anyway. Given the choice between almost certain death or some experimental piece of hardware - give me the experimental hardware.

> I can't imagine any hospital or doctor careless enough to

> connect one of these to a patient, even in this current

> emergency.

I'm sure they will go through accelerated testing.

> The smarter idea is to ramp up existing proven designs,

> not reinvent the wheel and basically do a publicity stunt

> about your engineering talent.

Retooling has an enormous cost too (time and money) - yes the design will be proven but you won't nearly have the tools or expertise to implement them.

I'm not a Tesla fan-boy by a far shot, but I don't think they deserve this hate for what is clearly a good effort on their behalf.

comment 6y ago · link · parent

I love how Unix concepts have been around so long that their initial representations and assumptions of time will soon break. I wonder if the engineers at the time thought that programmers in the future will run into such issues. Perhaps 64 bit time will also cause some headaches in the far future!

I was also trying to think of other computing implementations/assumptions that have shown their age. We've see a decrease in support for 32 bit CPUs, we ran out of addresses in IPv4, much security became obsolete - any others that come to people's minds?

comment 6y ago · link · parent

Yes yes yes! I was literally thinking to implement this myself, but didn't have time. It's a shame doesn't appear to be open source though - I might still end up creating one.

comment 6y ago · link · parent

I'm sure if we start a Twitter storm about it, we can get him cancelled. /s

Personally I think it was just observational, perhaps they were the only women in the place, so they were the exception. From what I know, historically nurses have been mostly female - but would be interested to find out if this was different.

comment 6y ago · link · parent

Are we supposed to pause comedy until this virus is over? Potentially we could still be dealing with this till Christmas. Hell, give it another year for people to begin to come to terms with the misery surrounding the virus. When shall we start comedy again?

On the other hand, I want to see even more jokes. Yes, the situation is crap, so even more the need to raise everybody's spirits. If you don't want to see jokes, log off for a day, some insane Doctors said it won't actually kill you.

I would suggest that jokes that lessen the current virus or deaths surrounding it would be in poor taste, but each to their own. I personally won't be making morbid jokes, but I'm not going to fetch the pitch forks out of the garage to go seek revenge from anybody who does.

comment 6y ago · link · parent

A good heart rate sensor - If you're getting into REM you should see your heart rate decrease, if not then you're likely not getting the benefits of proper sleep.

I wake up a lot in my sleep, so generally I have been looking to reduce my average sleeping heart rate through exercise, diet, sleeping positions, etc - which has been quite successful. if you chose this route, remember to change one thing at a time and leave enough time to measure the difference.

Another thing that could work is simply having a motion-detection camera. The more time the camera spends active, the more you moved that night.

comment 6y ago · link · parent

On that coronavirus timeline it would be good to see:

* Wuhan throw a party to celebrate the lunar year

* Almost the entirety of China goes on holiday for the lunar year

* New Year holiday

* Border lock downs of various Countries within that timeline

comment 6y ago · link · parent

KISS - Keep It Simple Stupid

Half the reason why most websites look awful is because somebody tried to be too clever and missed an edge case. Basic HTML renders fine in most cases.

comment 6y ago · link · parent

I do a "one tin" bread process (less cleaning after) - everything gets mixed and cooked in the bread tin, with some oil added last to stop it from sticking (and adds a nice tasty crust).

The process is (white or brown):

1. Fill tin half way without flour

2. Add some salt (to your taste)

3. A small layer of yeast on top (I experimented to find a few shakes of yeast is enough)

4. Pre-mix the dry mix

5. Mix with luke-warm (warm to the touch) water (keep adding water until everything is mixed)

6. Allow to rise for half hour

7. Glaze with oil to prevent sticking (all the way around)

8. Throw in an oven (from cold) at ~180 degrees

9. Wait 30-50 minutes (depending on the oven)

Experiments that have worked out well:

* Add a light dusting of salt to the outside

* Add seeds to the outside

* Bury lumps of cheese deep into the top of the bread

Benefits are:

* Great testing fresh bread (great having the butter melt into warm bread)

* Exercises your hands quite well

* Very cost effective + ingredients keep for a very long time

comment 6y ago · link · parent

I remember as a child our school were offering £20 to student teams wanting to run a business for a week, with the team that turns over the greatest profit being the winners. Unfortunately as we were limited in skills and ability, the best project was a car wash.

I wish they run these types of projects in Colleges and Universities, where students are more skilled and motivated to work further out of the box. I would have loved to have been given £20 to buy a little server, a domain, etc, to build some small product over the course of a month with some friends. Hell, turn it into a coursework for programming, project management, etc.

This kind of thing seems like a low-cost, high-value exercise for students to begin to understand the difficulties of business (most will fail - but that's okay).

comment 6y ago · link · parent

I thought of a fun exercise: Take the original Linux kernel, study it and slowly build upon it without looking at the current Linux kernel.

My thinking is that it could be quite interesting to see how different people evolve the kernel - maybe some interesting ideas result.

comment 6y ago · link · parent

Mail sent :)

comment 6y ago · link · parent

Hi there, I'm in NZ too.

> Unfortunately, tests here in New Zealand cost 3000 NZD,

> and only people who have travelled recently AND show

> symptoms are allowed to be tested.

So they are assuming that they don't infect people either on the plane or when they land? This seems like dangerous thinking considering that the world is currently very aware of how contagious this is.

Also are you saying that it's $3000 out of pocket for the person infected? Or is that costed to the government? I think the US could be very heavily affected as people are not wanting to get tested in fear of associated health costs.

> I would love to see a web app where anecdata like this

> could be shared on a map (checkboxes of symptoms,

> severity, locations, number of people in groups).

100% this. Like the earthquake data that is collected from reports. Could also be a good opportunity to share good and up-to-date advice about the latest best practices.

I've not got a background in web-apps of any kind, but if you want some help to throw something together let me know.

comment 6y ago · link · parent

I think the US government missed a trick by not making the logo for the United States Space Force [1] the logo of John Titor's military insignia [2]. (Although I do appreciate the Star Trek looking seal nevertheless.)

[1] https://en.wikipedia.org/wiki/United_States_Space_Force

[2] https://en.wikipedia.org/wiki/John_Titor

comment 6y ago · link · parent

A reason to buy a little extra would be simply to avoid going into populated areas (i.e. shopping). I think shopping is a very likely place to contract a virus given the number of times people handle the same items without washing them (think trollies, baskets, food on shelves, checkout machines, etc).

That said, toilet paper in general has been driven by media hype 100%. I think I remember some early stories where idiots purchased tonnes of it and emptied the shelves. I think the reason for toilet paper being purchased so much is because of it being randomly reported on in the beginning and that it's so cheap. A person on a modest income could easily purchase an entire shelf of toilet roll, whereas you're unlikely to see such things with higher cost items that have to be consumed within a certain time.

comment 6y ago · link · parent

> Rice and a good rice cooker.

I like rice, but am concerned by the number of people who don't wash it (arsenic) [1]. Then you have the issue of reheating/leaving to cool [2].

With the amount of idiocy going around it seems like a massive risk. Pasta is very difficult to mess up, worst case you're just going to get some crunchy or over-boiled pasta.

[1] https://www.recapo.com/the-doctors/the-doctors-diet/the-doct...

[2] https://www.nhs.uk/common-health-questions/food-and-diet/can...

comment 6y ago · link · parent

> mostly pasta

Sensible choice all things considered. I think instant noodles are also a pretty good bet, I personally make a noodle soup with vegetables to bring up the nutrition a bit. I would also add frozen vegetables to the list as it keeps for ages and balances out most meals, whilst still being quite good for you.

comment 6y ago · link · parent

> Without that irresponsible leak, and the irresponsible

> reaction of people trying to "escape", this total lockdown

> would probably not be necessary.

The leak was far from ideal, but I still think Italy would be in the same situation. I suspect there were already an un-contained spread in the South before the lockdown in the North.

> People sometimes are right shits.

This is still true, but I am not so sure they can be completely blamed. When people are scared they act irrationally and this should be incorporated into any plan.

comment 6y ago · link · parent

Just spoken to an Italian friend, apparently they got a few hours notice before this was enforced (much more kept under-wraps than the previous quarantine of Northern Italy).

Expect other Western European Countries to follow this pattern as the number of cases increase [1]. I would specifically be looking at France, Spain and Germany as potential next candidates.

If people here haven't already, I would recommend not leaving your shopping to the last minute and to stock up on a few extra supplies to help not exhaust the local food-chain when people do start panic buying.

[1] https://www.worldometers.info/coronavirus/#countries

comment 6y ago · link · parent

It's hard to argue a feature I haven't seen, but just the fact you are able to program the feature means you were somehow able to break it up into a series of steps. Okay, breaking it down wouldn't produce something workable in itself, but it should produce something measurable, testable even.

For example:

Step 1 : Extract relevant data

Step 2 : Massage data into the correct format for graphing

Step 3 : Graphing tool visualization for simple example data set

Step 4 : Write tests for graphing/visualization

Step 5 : Plug real data into graphing tool

comment 6y ago · link · parent

Wait... Is the US really charging for the tests? If they want to stop the spread of the virus, the test needs to be free.

Actually, go one step further, they need to begin random screening. A lot of people are not presenting severe symptoms and therefore are not going to the hospital, but are still carriers.

comment 6y ago · link · parent

I think one method would be to ensure you don't have the full key, i.e. you have some select friends, each that have part of the key (with some redundancy) - all unaware of one another and potentially all unaware that they even have part of the key.

Then you position your friends over multiple jurisdictions so that they cannot legally compel all of them to play along.

comment 6y ago · link · parent

An encrypted volume (fixed space) should even remove the white space. After all, knowing the size of a file contained within could leak information about its contents.

I imagine the only way to detect a volume would be to have it decrypted (enforced by law enforcement), to take the supposed volume type and files within and then re-encrypt with the same data. If your volume and the supposed clone are different, it would suggest that you have hidden another volume within.

comment 6y ago · link · parent

> One thing people should include in commit messages is why

> the change is being made.

In a perfect world, there would be a massive document with each commit, specifying exactly how it behaves, all the possible edge cases considered, why it was implemented, other implementation choices and a justification for why this one was selected, etc, etc.

I think the reality of the matter boils down to a few points:

1. Commits are not read that often and if they are, it's usually recent history. If they are being read very much in the future, then the "why" may not even make sense either.

2. Unbounded limits on commit message lengths leads to some people waffling in their commits. If you can't explain it in 80 characters, you should very much consider breaking it down.

3. Usually it's not possible to isolate a commit from the context of the commits around it.

4. Usually it's not possible to understand a commit without the larger context of the system.

Generally if some implementation requires an explanation, it can be better understood as a comment next to the implementation in question.

comment 6y ago · link · parent

> Though I will say that git has one big glaring problem

> with merge commits: they are effectively black boxes, and

> when you've have a big merge conflict, many git tools

> don't tell you how that was resolved in that merge. I

> recently came across a merge that wiped out some of my

> changes with no clear reason why. I redid that merge and

> there was no merge conflict at all, so it's still a

> mystery what happened there.

Hmm, I don't think a merge magically removes the need for testing. If I build a feature A that replaces feature B, and another programmer builds a feature C that relies on some aspect of feature B, when merging, although it will merge and compile fine, it's possible it is still broken.

This is a good argument for well defined interfaces, but it's possible to see how a successful merge may not produce a successful source.

As for things disappearing, I think there is some edge case where it looks like one branch deleted something after you made some change to it. Generally it's best to not have people working on exactly the same part of code. On the plus side, you have a full working history, therefore can recover :)

comment 6y ago · link · parent

> Some features are just fundamentally complicated, [..]

> Fortunately, that doesn't happen very often for most types

> of development work!

Every problem should in theory have some of breaking it down, otherwise we have no hope in programming it. We should be able to break it down far enough that it can be reasonably sanity checked. If the feature is too complicated then you're asking for bugs.

From an objective/goal stand point, we also need some way to measure our progress and be able to evaluate whether a pivot is required. It's very easy to get stuck in a problem for a long time if we have no external measure.

comment 6y ago · link · parent

I think Gitflow is the larger picture, but I think most teams can afford to merge parts together.

I run a small team and we typically will just use "feature" and the master branch. If it compiles and passes the basic tests, it's master worthy. If it passes more heavy testing then it's tag worthy. Features can sometimes be bug fixes depending on the size.

Typically we try to merge branches in less than two weeks to prevent some kind of merge hell.

The assumption that master is somehow perfect is wrong and it shouldn't be treated as such. In my opinion tags are really for commenting that there's something interesting about a commit (i.e. "we ran this for 2 weeks at full load and no issues observed"). Again, tags also don't say there are no issues, it just says there was something note worthy.

1
525354
78