Better HN
topnewbestaskshowjobs
Log inSign up

syncopate

116 karma · joined Dec 23, 2010 (15y ago) · 40 submissions

Submissions

1.

Discussion on Feedback for Go Memory Regions(github.com ↗)

2 points · by syncopate · 2y ago · discuss

2.

Japanese Typewriter(youtube.com ↗)

2 points · by syncopate · 3y ago · discuss

comment 3y ago · link · parent

sqlite's test suite is substantial and not open source, I doubt you could really fork it in a meaningful way

4.

CMU Database Group YouTube Channel(youtube.com ↗)

3 points · by syncopate · 5y ago · discuss

comment 6y ago · link · parent

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!

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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?

10.

A Tour of the Acme Editor (Plan 9) by Russ Cox (2012)(youtube.com ↗)

1 points · by syncopate · 9y ago · discuss

comment 9y ago · link · parent

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)

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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]).

14.

Tantalum Renderer: 2D Light Transport Demo in WebGL (2015)(benedikt-bitterli.me ↗)

4 points · by syncopate · 9y ago · discuss

comment 9y ago · link · parent

It was on posted as Show HN six days ago but didn't generate any discussion: https://news.ycombinator.com/item?id=14512531

16.

Daisy: A private blockchain where blocks are SQLite databases, in Go(github.com ↗)

105 points · by syncopate · 9y ago · 30 comments

comment 9y ago · link · parent

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?

comment 12y ago · link · parent

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++.

comment 12y ago · link · parent

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.]

comment 13y ago · link · parent

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).

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Any ideas why PowerPCs stalled in performance? Is PowerPC really an architectural dead end?

comment 13y ago · link · parent

I tried to register but it seems that one has to have a UK address for that. That's a pity...

comment 13y ago · link · parent

It should be noted that on the official llvm irc channel (#llvm@oftc.net) 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...

comment 14y ago · link · parent

My favorite feature is that zsh offers vi mode when editing your commandline, just press ESC.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

For Linux, there is a program called nocache, which does something similar to this:

https://github.com/Feh/nocache

comment 14y ago · link · parent

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.
12