Better HN
topnewbestaskshowjobs
Log inSign up

problems

3,239 karma · joined Oct 3, 2016 (10y ago) · 1,374 submissions

Submissions

comment 9y ago · link · parent

> The hard part this time is all the closed source drivers. How did Linux solve that back in the 90s?

It never did perfectly. It's about the same as it is on Android currently. All the basic stuff works but you need proprietary firmware for a few things like WiFi and cell radio. Some even have cell radio working.

Replicant has done a good job doing this on Android devices, see http://redmine.replicant.us/projects/replicant/wiki/Replican... looks like they even have cell working on some Samsung devices.

If mostly-open is good enough though, flashing a stock AOSP build or LineageOS without GApps will get you there, you can install software from sources like F-Droid too.

comment 9y ago · link · parent

> perhaps now is the time for us to begin holding Google to the same standard we applied to Microsoft a decade ago.

The triggering factor for this was the worms though. No such similar thing exists in the Android space.

comment 9y ago · link · parent

I completely agree - that's why I encourage only sticking to basic questions and accepting fairly vague answers as long as they're in the right direction. Maybe your python knowledge isn't perfect, but you know how to solve it in another language. I'm good with that. Maybe you don't know the exact name of a data structure in the python standard library, as long as you can describe what you're looking for I'll point you in the right direction.

The people who don't know when to use a hashmap instead of a list of structs are the ones who concern me. So are the ones who just can't get started at all.

Sure, platforms change, languages change, but basic data structures don't, and basic OOP doesn't either. You've probably worked with many of the same data structures on many of those platforms and have a working understanding of OOP that you can describe - maybe not perfectly, but well enough.

comment 9y ago · link · parent

> Why would I be expected to write a merge sort when there are libraries for that? That's silly.

Definitely, work samples are better, for sure and there are other puzzles on there that are probably more appropriate for a simple challenge.

In practice I'd almost never expect you to implement a sorting algorithm and I'd probably bitch in code review if you did. However, on rare occasion for optimization you may need to - if you can't implement mergesort when you are given the algorithm and offered assistance in understanding it that probably reflects poorly on your ability to implement other things too and maybe to implement in general.

> Maybe I have a better understanding of some other aspect of your system than your team does but your questions will almost definitely fail to identify that.

Maybe you do, and of course you ask these kinds of questions too, work samples should be a main focus, but I immediately get worried if someone can't solve a basic problem and can't discuss programming using shared terminology - it makes discussing these things quite difficult.

> Likewise, one of the best programmers I know once defined Object Oriented Programming as "Imagine everything was a thing". And someone who speaks English as a second language might have difficult articulating the differences between two terms despite being able to code circles around you.

I'm not expecting a specific perfect answer, just a basic answer in the right direction for a question like that. "Imagine everything was a thing" is in that direction, I'd inquire more of course, but that's a good start. As long as you have a useful understanding so that we can have a discussion that's good enough.

comment 9y ago · link · parent

Yes, you're expected to be able to write basic stuff like most of these challenges without Google or StackOverflow.

There are some however here that you really shouldn't be, like remembering specific algorithms - if you're just memorizing 20 different sorting algorithm's exactly implementation, clearly that's not producing much if any value for you.

If someone however was to give you this Algorithm section https://nbviewer.jupyter.org/github/donnemartin/interactive-... and tell you to implement it, that would prove whether you had the skills needed to properly use Google and StackOverflow for anything but a direct copy+paste and could be a very good test for a programmer.

Basic data structures, knowing when to apply them and how to solve fairly straightforward challenges like "does this string contain any duplicate characters" when you have full use of Python's builtin data structures are completely fair interview questions in my opinion.

Just picking 1 or 2 of these questions that seems vaguely related to your work is enough, combined with asking some basic technical stuff like "What's the difference between a class and an object?" can weed out a shocking number of people, showing they don't even have conversationally useful knowledge about a topic.

comment 9y ago · link · parent

Yeah, its one thing to say victim blaming about something that's difficult or expensive (monetarily, freedom or time) - it's quite another to use it to discourage individual defense.

comment 9y ago · link · parent

> My city publicly lists assessing information if you own property. Many do.

People tend not to just browse city property listings for fun.

So why were they able to get to that stage - did they have your name? Why? What did you do to piss them off? Could you have done it anonymously?

comment 9y ago · link · parent

I do it myself. It's completely possible.

Get a PO box or pay a corporate privacy company to forward your mail.

Depends how you operate though I suppose. Unless you're running a physical business from your house you probably don't need to disclose.

comment 9y ago · link · parent

> We made Nigerian scams illegal. We defend against them partly by prosecuting them. We work hard to reduce the frequency and the impact of them.

And guess what? They still happen. We already have the laws to attack the kind of "troll" that shows up at your door in many cases - but guess what? It still happens. Ultimately the law only gets you so far. So we must defend against them in more effective ways - like individual knowledge.

It's a lot easier and more effective to guarantee safety with online matters when you behave safely online than when you start taking risks and expect the law, the website or whatever else to deal with the consequences. That's just wishfully naive thinking.

Yes, in an absolute sense, all harm should be blamed on the abuser, I don't mean to suggest otherwise. But the prevention potential is so much higher if you can attack it at it's destination than at its source - like using a firewall on your server instead of just saying "hacking is illegal, therefore no one will hack me".

comment 9y ago · link · parent

You're as much a victim here as someone who downloads a tiny executable off a filesharing network and thinks it's the latest movie or game. Or falls for a Nigerian scam. These are accepted facts of the internet. We defend against them. Just as much as publishing your address or information which can be associated to it should be.

Precautions are important. You can never rid the world of evil, but you can protect yourself from it, especially trivially in this case.

comment 9y ago · link · parent

Why was that information available on the internet?

That's the kind of risk you take if you make that kind of information available on the internet. Think of all the possible things someone could do with your address and assume those will be done. That's the type of precaution you should be taking.

comment 9y ago · link · parent

I think this actually explains a lot of what's considered "trolling" when it comes to political topics.

Many individuals stretching the truth for their side just a little bit adds up to a warped picture in total and gets blamed as if it's a goal.

comment 9y ago · link · parent

See, this is the problem. Don't blame it on "trolls", analyze where you screwed up and how you could have defended yourself better so you know what to do next time. Then open up shop under a different alias.

If you're not vigilant about your own security and safety, no one else will do it for you. Take responsibility for your own actions.

comment 9y ago · link · parent

> In my experience the vast majority of people are trustworthy.

Sure, but in quantity there will always be some people - even some of those normal, trustworthy people who feel particularly strongly about something and decide to go on the offensive.

There's nothing you can do about that, that "tiny minority" of abusers will always exist in any given situation involving enough people. Ignoring this effect is stupid. Trying to counter it is a waste of time and potentially harmful to speech. Defending yourself is the cheapest option, just do it. Tell other people how to do it.

Maybe I'm just a cynic, but I'm beginning to feel like the trolls are smarter than the people who whine about trolling in this day and age - they're able to defend themselves better at least.

comment 9y ago · link · parent

I hate this attitude of "blame everything on the trolls". You can't use your real name on the internet because using your real name on the internet is basically asking for trouble. You have to defend yourself in the same way you have to look at ads and read media critically and don't believe everything someone says on the phone or in the mail. It's really nothing new, it's just on the internet this time. Scamming and spectacle has always been a good play.

People are simply not trustworthy, especially in large numbers, the internet just provides more exposure, so "don't be dumb" applies even more. Defending yourself is simply part of living in society.

comment 9y ago · link · parent

Yeah, Windows support is better than Linux for it, but it's still pretty iffy. While IE and a few other things do, even stuff like Windows Explorer and OneNote doesn't handle multi-DPI well or even just runtime DPI changes in general, I'll RDP my box from a 100 DPI system and have my session screwed up when I come back to my system.

If you're making a decision about whether to make a purchase, don't make it unless you're prepared to do it all at once. Stick to ~100 DPI until you can make a commitment to go all at once.

comment 9y ago · link · parent

You're right, but even many builtin Microsoft apps - while they supported DPI scaling - did not support multi-DPI switching and rather than scaling properly just scaled pixels and looked blurry.

It's "not Windows fault", sure but it certainly makes it a worse experience than other platforms like OSX where multi-DPI is much more commonly supported.

comment 9y ago · link · parent

DPI scaling yes, but not multi-DPI, when dragging from a 100 DPI monitor to a 300 DPI one text should remain sharp and not blurred by scaling pixels. Or even vice versa.

comment 9y ago · link · parent

I'm a big fan of a lot of the work NPR does, but I disagree. I think applying this to the general population is a recipe for bias and disaster. Those agencies have their own slew of motivations which differ from others. Consider them as a source, certainly, but no less fallible than others.

If you hold a certain set of opinions then NPR/PBS doesn't "challenge" you much at all. I'm generally a lefty but I started reading libertarian slanted articles and I have to admit they've got some interesting points of view on things that I hadn't considered before - that's the sort of challenge you want. If you want to be challenged, look to the other side of the spectrum.

comment 9y ago · link · parent

Windows isn't the best at multi-DPI in general though either. Only recently did Firefox on Windows get multi-DPI support - not sure if Chrome does yet because I gave up on it and went to dual 4K because the scaling was easier. If you want to see really good multi-DPI support, OSX is really good at it with most apps supporting it out of the box.

Multi-DPI is kind of a hack in general though and is likely to cause issues unless applications have been tested for it very thoroughly, it causes serious issues on major frameworks like Electron and Qt - though both of their support for it is improving slowly. If you want things to work smoothly for now, try to stick to 1 DPI setting.

comment 9y ago · link · parent

It lacks many of the more advanced features like integrated debugging and deobfuscation and it isn't open source, so unless it happened to work better with a given executable I probably wouldn't use it.

comment 9y ago · link · parent

You're right - if they're zero day. If you don't update your VM and someone lugs some old ones around just to see you could still get bit. Like I said though, odds are actually very low and it's probably not as major of a concern as many people make it out to be.

comment 9y ago · link · parent

VMs are extremely useful for malware RE, but there are a few potential concerns:

- VM breakouts are a security concern. While fairly uncommon this is a risk. Most of that risk exists in drivers and VM acceleration tools and can be mitigated.

- Some malware packers will detect virtual machines and refuse to run. You can bypass this by cracking the VM check of course - but that can sometimes be harder than dumping it on real hardware, depending on the protection and specifics of the situation.

These are much bigger concerns if you're working with 0 day high level stuff and not just typical skiddie malware you pulled off usenet or a fake crack in a youtube video. Most of that stuff is just iStealer or a shitty DDoS-focused RAT and whatever "FUD" RunPE packer was on sale for the cheapest price on HackForums or similar that day. Some people will play this up to be a bigger concern than it realistically is - but a VM will protect you from the malware in almost every case I've seen. Just remember to keep your VM software up to date and avoid using unnecessary pieces.

My paranoid setup is a dedicated machine with 2 VMs, one victim VM and one router VM, quite similar to their setup there. The difference is, my router VM goes over Tor and doesn't allow traffic from the second interface out in any other way. I also use libvirt with kvm with as few extensions and drivers as possible to prevent most VM-based attacks.

comment 9y ago · link · parent

Looks good, one comment on tooling though:

Don't screw around with other .NET decompilers, use dnSpy.

https://github.com/0xd4d/dnSpy

It's fully open source, integrates with deobfuscators and includes a binary-level debugger which doesn't require VS separately. Plus it lets you patch assemblies and export debugged data easily which is how I extract most .NET-based packers these days.

comment 9y ago · link · parent

It's a lot easier to see many pollution problems and the harm often is more direct and quantifiable - with a privacy issue the harm is often abstract and harder to see.

I think privacy and pollution regulations can be good, but they need to be carefully tracked and aren't always effective.

The best solution for you is always to be a vigilant consumer. Something like this can be protected entirely by doing so. Pollution is harder to defend against. Using a VPN is a great strategy to mitigate these issues before they're allowed to happen to you.

1
222324
46