News for hackers. Stuff that matters.

eatfish

You forgot the stage light effect. Mysteriously Apple give a free fix/service program for the 13" models but not the 15" models. Kind of sucks if you had a 15" model that started to go bad.
If you consider that Facebook bans around 5B accounts per year (https://www.forbes.com/sites/melissaholzberg/2021/03/22/face...).

At this point that's more noise than signal. Not ideal for you but I can see the problem. For whatever reason you met the bar for requiring more validation. If they had let you in then another N'000 fake accounts would have also passed the automated system. Someone else would be posting here, Reddit or Twitter explaining how Facebook had let in some bot and was posting fake and untruthful stories, on the internet no less.

Re:DESQview/X: Forgotten mid-1990s OS from the future on Wednesday December 01, 2021 @03:12AM (#29401827)
True, and I think Quarterdeck (and Pharlap, Rational, etc.) developed the VCPI specification that allowed those DOS extenders to work cooperatively. Some of the early DOS extenders took over the entire machine and did not allow that.
Re:DESQview/X: Forgotten mid-1990s OS from the future on Tuesday November 30, 2021 @05:06PM (#29398110)
Around that time DOS programs were still being written to fit within 640KB of memory. However PC's were starting to be shipped with 2, 4 or even 8MB of RAM - memory really was a solution in search of a problem at that point. Windows 3.1 was the primary application for all that memory. But what if you didn't want, or need, to run Windows 3.1? Well that's where DESQview fit in. You could task switch between DOS programs instead using all that sweet memory (but not really, because DOS doesn't multitask, so 4 switchable ttys of DOS programs is a better description)
Vaguely related: there's Firecracker which boots in 125ms on x86 but that's as a VM, so it's an apples to oranges comparison. From what I recall Firecracker powers AWS Lambda so it's an interesting project in that respect too.

https://firecracker-microvm.github.io/

Re:Apple Is Listening on Monday June 10, 2019 @12:00AM (#20143825)
Not the OP and I wouldn't say I'm a fan but I've made some peace with it by putting a membrane cover over the top and so far: (a) not one dust related casualty in the past 18 months and (b) it subdues the clackety-clack of the keys into something that's actually quite pleasant.

However, the touchbar...still a pointless gimick.

I expect they correlated logs from several sources, maybe the guy connected via ssh to Apple's servers at the same time his mac accessed software update or something. If he sent all traffic down the VPN it'd show the same IP address at Apple.
Don't do this to the space bar! I used the same trick as the video to fix/clean several keys out and had a pretty good feel for what I was doing.

However the stress/weak points on the spacebar are quite different and you're more likely, as I did, to lift the entire butterfly mechanism out. You will not get this back in again. It's $700 to get the thing fixed at Apple but you can buy replacement keys for $100 per shot online.

Re:Android Studio 3.0 Release Notes on Thursday October 26, 2017 @09:46PM (#15564966)
That's not a fair comment and you know it.

Yes, instrumentation adds overhead. The absolute numbers cannot be used to determine peak performance but that's never the intention when profiling code.

Instrumentation rarely modifies the execution profile to the point that the numbers are 'worthless' or 'random'. My rule of thumb is that self times near the leaves of the callgraph are more accurate than self times further up the graph but having some indication of timing is important.

Furthermore with something like the call chart in AS3 you are often looking for outliers that you can't see when looking at an aggregated view of the profile. A function that has an average of 1000us might be running alternately at 500us and 1500us and you want to see that. It may indicate an unknown performance bottleneck, maybe a call to OpenGL is causing a GPU sync for some reason. It's rare that the instrumentation overhead would dominate major effects like that. Having a number available is important for this as you may be comparing invocations/looking at different parts of the graph at different zoom levels etc. Having a number available is the only solution.

Furthermore, where do you think the instrumented profiler is getting numbers from in the aggregated views? Answer: exactly the same place that the callchart gets it's numbers from. In essence you are saying all instrumented profilers are inaccurate and reporting bogus numbers, demonstrably untrue.

Re:Android Studio 3.0 Release Notes on Thursday October 26, 2017 @09:58AM (#15558816)
Only played with it a bit so far but it seems to me that the call and flame charts are now missing any timing information. Unless I've overlooked it you can't actually see how long a function takes to execute - defeats the purpose of instrumented profiling surely!
Re:Atlas, the Next Generation [video] on Wednesday February 24, 2016 @01:25AM (#11164929)
When the robots become self aware that guy from 1:25 has it coming.
Re:Nintendo CEO Satoru Iwata has died [pdf] on Monday July 13, 2015 @01:30AM (#9876584)
Actually, Nintendo were releasing 3D games even before the PS1. Starfox was the first poly 3D game from Nintendo and was released in 1992, at least a year, maybe more, before the PS1.
Re:What makes Nim practical? on Saturday January 24, 2015 @08:15AM (#8939514)
I think it would be a lot more palettable if Nim enforced one of those coding conventions per module, while letting users of that module reference it any way they liked. e.g. my team could exclusively use camelCase and the compiler enforced that in our modules, while the same code could be handed off to some other team that exclusively uses snake_case.
Re:PowerVR SGX code leaked on Monday November 24, 2014 @12:26AM (#8651168)
It is not other vendors that you need to be worried about. For example, when joining Khronos (OpenGL, GLES and others) you get royalty free permission to use any technology in Khronos' specifications and you, as a vendor, have to offer your tech to other Khronos members for free. I wasn't involved in the DirectX side of things but I imagine Microsoft operate a similar IP framework. There is no practical way to be a GPU vendor today and hoard your IP.

Patent trolls though. A different story. In 5 years we were sued twice (that I know of) by trolls. On both occasions the trolls had some trivial enhancement to a well known technique. I imagine they are operating a mud slinging operation where eventually something sticks. Once it does then either (1) the cost of licensing this 'new' tech is priced less than legal costs or (2) the troll is looking for testimony from some respected entity that the tech is innovative which gives them validation to go after the next biggest vendor up the chain.

Re:OS X Yosemite on Tuesday June 03, 2014 @01:21PM (#7841488)
Stop pulling numbers out your ass. The specs for the MBA are online and it draws 6.5W with the display on.
Oh, I'm not dismissing Rust. I think my overall point is that nothing is ever going to perfect. Plan for imperfection.
Sorry, I'm not limiting the discussion to SSL vulnerabilities.

A remote code exploit is as bad as a memory leak.

I posted these two: CVE-2013-1493 and CVE-2013-0809 in another reply. These 2 were memorable to me just because visiting a page (or a compromised page) would allow the exploit to proceed without any password/prompt/warning.

.NET isn't something I work with but that's good to hear.

Maybe you could tell me why this one doesn't count though? http://technet.microsoft.com/en-us/security/bulletin/ms10-06...

This is just the first I found. Sorry I'm not being awkward, I just don't work with CLR/Silverlight. What in your mind prevents this remote execution exploit from being serious? CVE denote it as a 9.3 and Microsoft claim it allows remote execution on a server too (under some circumstances).

That is true, but I don't think this invalidates my central point that the rational response to heartbleed is to update your contigency plans. The irrational response is to plan the perfect world.

After 20 years of Java we still don't have our perfect VM. It still sees critical security vulnerabilities. I don't think I'm picking on Java unfairly here. Java is a well written code base, it has plenty of unit tests, a proper code review process, a sound architecture. Pretty much all of these have been put forward as ideas that would 'cure' the OpenSSL project. Yet it doesn't seem to be a perfect cure. At some point no matter what your language, VM, OS is you are going to experience something similar.

1. I think a lot of people believe Rust will just type-check any old program and tell you when it has faults. So you can start with a bit of Ruby/C/Python, translate it to Rust and presto, all your bugs are exposed for the world to see.

In practice Rust's type checker accepts only a _very_ small subset of correct programs. I've been in a position to write some decent sized Rust code recently and it takes a shift in your mindset to start writing decent Rust code.

Even now there are patterns I'm unsure how to model in Rust. Arena allocation is a good example because it was partly the cause of Heartbleed too. Arena allocation in rust seems to require unsafe pointers and unsafe code blocks. You can look at Rust's standard library and see this.

2. The point being that the Rust language exposes unsafe code blocks and pointers. At some point you're going to hit those blocks (if nothing else in 3rd party code) and you're back to square one: You need to trust unsafe code that it is correct. It doesn't matter if that code is a VM or unsafe code.

*edited for some legibility.

But even 'safe' languages have unsafe VMs. There is no question that over the years these VMs (or the runtimes) have had equally severe vulnerabilities.

The thing that really sets heartbleed apart is not the details of the bug, it's the scale of the 'infection'. OpenSSL is a core dependency of so many distributions and of so many pieces of software.

I think we could argue for lots of different solutions (diversity of implementations, safe languages, more tests) and all of them might be good in one way or another but none of them are a silver bullet for any possible bug either.

I think the take away is that you need to in a position to upgrade any part of your software stack at a moment's notice not just the obvious top-level (e.g. Rails/Django/Jetty).

Re:Mt. Gox has posted a new update on Monday March 03, 2014 @04:51AM (#7332883)
That's the hack. It probably transfers more bitcoins somewhere.
Re:Show HN: Snapbugz – The easiest way to discuss bugs. on Thursday February 06, 2014 @06:35AM (#7189825)
I thought it was neat that they let me email myself with a reminder. This is an MVP, it's just the right response.
Re:A 30 minute introduction to Rust on Tuesday January 14, 2014 @06:35AM (#7056470)
Agreed. My experiments with rust have been uphill because I've been fighting with lifetimes, ownership and borrowing.

For the most part I failed to see that I -needed- unsafe code in some situations. Instead I was trying (failing) to annotate my code to ridiculous levels with lifetimes. It was really frustrating.

I don't think the current docs do a great job of putting unsafe in a suitable perspective. It's somewhat downplayed IMO.

Still, I've learned now and it's been pretty pleasant after that.

FWIW I've been doing c++ for maybe 18 years, writing device drivers, game engines, compiler development. I thought rust was made for me but it's been tough, much more so than any other language except maybe SML!

Re:Apple fined for price fixing on Monday December 30, 2013 @09:54AM (#6984809)
Is this for good or bad in the Taiwanese market? I can't imagine carriers in the UK trying to lower prices or give a better deal without persuasion from outside.

When the first iPhones were introduced it had the first affordable data plan I'd ever seen in the UK. I think o2 we're asking around £50/month for some tiny data plan on my Nokia N95, on top of the contract cost(there was no data bundles). The iPhone was £35 month on contract, phone and unlimited data.

Here's the first result from Google: http://www.cmu.edu/patent-lawsuit/ CMU vs Marvell.

Here's an article from Stanford law school: 'Are universities the new patent trolls?' http://papers.ssrn.com/sol3/papers.cfm?abstract_id=980776

Universities often (and unfairly IMHO) claim rights on graduate research precisely to monetize and act as patent gatekeepers.

Re:Steam Controller on Friday September 27, 2013 @11:56PM (#6460865)
Yes, played entire Portal/Portal2 on it. It was fine. Maybe you should be railing at game developers that port to the Mac but then don’t update their acceleration curves to fit the platform. That’s the problem, when games are developed on Windows with the Windows mouse curve and then never adjusted on the Mac port.
Google are blacklisting Microsoft. But they can't say that so they're whitelisting everyone else.
Re:China Mafia-Style Hack Attack Drives California Firm to Brink on Thursday November 29, 2012 @09:40AM (#4847887)
>...decrypted the encrypted versions of his passwords by looking at them. I see.

I think this means the hashed passwords. Microsoft have had several vulnerabilities in this area. Just entering a password to browse a server caused Windows (prior to Vista) to store the LM hash. An LM hash can be reversed in a matter of seconds.

Re:Federal judge tosses Apple patent lawsuit against Motorola on Tuesday November 06, 2012 @09:03PM (#4751836)
In your opinion. Your opinion is obviously in conflict with 3 million other people last weekend. Perhaps you're wrong.

Older »