News for hackers. Stuff that matters.

syncopate

Re:Why SQLite succeeded as a database (2016) on Thursday January 05, 2023 @12:08PM (#34262931)
sqlite's test suite is substantial and not open source, I doubt you could really fork it in a meaningful way
I particularly like how it can predict hair styles. Not only how a barber would do dreads but also how they would color it and how they happened to brush their hair on a given day. Very impressive!
Isn't that called geofencing? It's been around for years. I always felt that the main reason e.g. Facebook wants you to use their app is to be able to supply data for conversions of geofencing ad campaigns, e.g. someone saw an ad for a promotion at some burger place and then actually came to close proximity of their wlan.
Re:Cutting Edge Deep Learning for Coders, Part 2 on Monday May 07, 2018 @07:12PM (#17017257)
I am not Jeremy but I have taken part in the current course and also took some lessons by Siraj (who also does lessons at udacity), Andrew NG, and Karpathy. I think all of them are awesome teachers. Like Siraj's lessons, the fastai course is full of practical examples, whereas Ng/Karpathy's courses are more theoretical. What makes the fast.ai course unique compared to Siraj (who covers a lot of topics very briefly) is that Jeremy delves into depth, taking a long time explaining things, so you have a lot of opportunities to understand what's going on. In the 2018 course there is actually not that much different content compared to the 2017 course, rather Jeremy took the time and tried to make everything easier for everyone to understand and built a better python library. Also another unique point about Jeremy is that he and Rachel want not only to teach people but rather inspire a community of people working together in teams. The fast.ai library will not be just a project for the course, it will be something that a lot of people will use and contribute to to make pytorch better.
If this project discussed here is using react and rust together, could I just use an react example for OAuth2 to get started with? Up to some months ago, there were no examples of using any of the Rust web frameworks with OAuth2.
I wanted to use rust for web development for a while but always struggled with just getting an OAuth2 example running in the past, has this improved recently?
Couldn't one try to at least limit the feedback loop by spreading sulfur over the affected regions by plane? (Simulating a volcanic eruption that reflects sunlight)
Re:Retguard: OpenBSD/Clang on Saturday August 19, 2017 @07:38PM (#15056219)
How does that work? Should the kernel walk the stack to change all the saved cookie values of the forked copy? I doubt the kernel even knows where the saved cookie values are stored on the stack. Also, that would make fork quite slow, depending on how the deep the stack was when the fork happened.
Re:Retguard: OpenBSD/Clang on Saturday August 19, 2017 @06:44PM (#15056053)
It increases the complexity of the attack. Usually, stack cookies make ROP harder these days but guessing the cookie only has a complexity of 8*256 (on OpenBSD), but xor'ing the return address with another value does increase the complexity even more. And that might be good news for programs that use fork a lot (like nginx) and hence don't get a refresh for ASLR/stack cookies for every request (like e.g. sshd on OpenBSD does [which does does fork/exec to ensure ASLR/cookies are refreshed]).
It was on posted as Show HN six days ago but didn't generate any discussion: https://news.ycombinator.com/item?id=14512531
Re:The Evolution of Code Deploys at Reddit on Saturday June 03, 2017 @01:22AM (#14475123)
When you deploy: Will you lose requests that are currently being processed while you restart the service? Also, will a server still receive requests while the new code is being started?
Re:Proxygen, Facebook's C++ HTTP Framework on Thursday November 06, 2014 @06:31AM (#8566578)
Hey, I am a bit late, but I wonder how you generally handle unicode in C++, since the language itself does not have much support for it. That's what always makes me weary of writing any kind of server in C++.
Re:Where should I start learning Assembly? on Wednesday January 29, 2014 @04:32PM (#7147095)
A good way to learn asm is through books but there are not many for current architectures (especially x64, except the official Intel manuals which are quite good but also hard to read). Nevertheless, there are some on ARM which I can recommend, namely: ARM System Developer's Guide by Sloss, Symes and Wright. ARM Assembly Language by Hohl. ARM SoC Architecture by Furber.

IDA Pro is the industry standard for reverse engineering but it also is expensive (like USD $2k). There is a free version but it doesn't offer 64bit, so not really an option for modern ObjC or Intel computers. As you've mentioned ObjC chances are you work on OS X. IDA pro is not working well on OS X (the recommended way is to use the Windows version via virtualbox and not the OS X version). Still, Hopper.app is a great alternative on OS X. Not as good as IDA, but it has a Python interface, GDB support, and decompile support for ARM, Intel (and some knowledge regarding Objc). And it's only ~USD$100. [There is also a Windows version of hopper.app but it seems not yet ready to use, as I've only heard bad things about it there so far.]

I'd say NVidia use closed source mostly to push Cuda instead of people trying to use openCL. E.g. their OpenCL driver imposes 3GB memory limits (or at least used to in the past) for kernels but with Cuda they will enable 64bit if necessary (on the same gpu hardware).
Re:DoS exploit crashes iOS/OSX devices using WebKit on Thursday August 29, 2013 @07:02PM (#6299199)
AFAIU, the length is negative but it is then treated as an unsigned integer by vDSP_sveD. So the function iterates over the given vector until there is a memory exception (As the length is very close to to UINT_MAX). It doesn't look very exploitable to me but it is surely annoying. I've found it a bit odd that neither TStorageRange::SetStorageSubRange nor vDSP_sveD do any kind of sanity checks for the values they calculate or which are passed to them.
Re:DoS exploit crashes iOS/OSX devices using WebKit on Thursday August 29, 2013 @05:22AM (#6294981)
I've been looking at the stack trace in gdb a bit. And it seems that inside CoreText TStorageRange::SetStorageSubRange calls

    void vDSP_sveD(double *__vDSP_A, vDSP_Stride __vDSP_I, double *__vDSP_C, vDSP_Length __vDSP_N)
with a negative length argument.
Re:IBM opens up Power chips, ARM-style, to take on Chipzilla on Tuesday August 06, 2013 @05:03PM (#6169153)
Any ideas why PowerPCs stalled in performance? Is PowerPC really an architectural dead end?
I tried to register but it seems that one has to have a UK address for that. That's a pity...
Re:LLVM Intermediate Representation is better than assembly on Wednesday July 24, 2013 @03:35PM (#6098542)
It should be noted that on the official llvm irc channel (#[email protected]) people do not like llvm's IR being called a "progamming language". Rather it's intended to be a representation of llvm's internal data structures. It may look similar to a programming language for sure but it's not the intent behind it. It's a representation that should help compiler engineers debugging their llvm-using parsers.

Also, if you've ever looked at clang's "-emit-llvm" output you will notice that there are some parts of the IR which are hard to be generated by humans, e.g. dgb by sequential number references.

See e.g.: http://llvm.org/docs/SourceLevelDebugging.html#object-lifeti...

Re:Zsh 5.0 released on Monday July 23, 2012 @02:25AM (#4279821)
My favorite feature is that zsh offers vi mode when editing your commandline, just press ESC.
Just some numbers, based on my hardware:

Lion OS X install on disk: 7GB

iOS 5.0.1 install: 1.7GB

My MacBook's RAM: 8GB

iPod Touch: 512KB

MB's disk size: 100GB

iPod Touch: 8GB

So: Maybe they removed 80% of the API in general because the iPhone/iPod touch is only 10-20% of a normal computer? Something had to go.

Re:Something is deeply broken in OS X memory management on Monday April 23, 2012 @04:07PM (#3880686)
For Linux, there is a program called nocache, which does something similar to this:

https://github.com/Feh/nocache

Re:Linux Creator Linus Torvalds Declined to Join Apple on Thursday March 22, 2012 @06:32PM (#3742385)
Anyone remember Jordan Hubbard, co-founder of the FreeBSD project? He joined Apple around that time. I am not really sure how he compares to Linus but working for Apple does not go well with wanting to be a public person.
Re:Why software sucks? on Sunday March 18, 2012 @09:45AM (#3719686)
who opens a ticket in the bug reporting database detailing what they want to do and then letting IT support do it.

Older »