skysight-inc/HackerNews huggingface dataset:
Redis is no Access, but at least it goes to show that heavily-funded enterprise software is often worse, not better.

To me this smacks of academic eliteism. At the scale and density it is used, Redis is by definition not amateurish. Amateur means either unpaid or inept. Describing Redis as inept can only mean you've never used it and are unable to appreciate the incredible diversity of problems for which Redis provides truly excellent reliability, usability, and performance all at once.

Antirez succeeded in providing a great measure of all 3 of those traits all at once, and in a code base which is surprisingly easy to read and maintain.

To me Redis is in fact a modern marvel. Proof of what a 10x engineer can achieve when left alone to get shit done.
Neutrinos Hint of Matter-Antimatter Rift
Unexpectedly, it turns out to be pretty hard to explain anything from the adult world to a six year old.

It's not so hard to come up with some massively simplified analogies that can give an adult the illusion they understand a topic they remain fundamentally clueless about - pop science does this professionally.

It's something else entirely to teach specific professional domain competence to the point where someone can work as an expert among other experts.

Oversimplification and popularisation do STEM no favours. It helps no one to believe they understand string theory or climate change when they know barely enough math to add two numbers together.

A more realistic understanding of how hard physics and engineering are would mean more respect from the public, from law makers, and from other professionals.
New York Times Co. Reports a Loss, and a Fall in Digital Ad Revenue
I think feeling lost is a key motivator in life to do things. Do anything. Sure, it's ok to ask for advice, and it's ok to feel down and overwhelmed... Just don't let it control you. Go out and help someone in need. It will give you purpose, but more importantly it will give you perspective on your own life. You'll find that there are people out there who haven't had the same opportunities as you and you will have something to give them. Some knowledge, some advice of your own, or even just someone to listen to. Do one small thing every day. Read a book. Give something away. If you keep doing these things something will click and fall into place, and you will be on your way to filling that void. But actually it's not a void. It's natural for people to feel alone or lost. Keep your chin up my friend. The sun is about to rise and will soon shine warmly on your face. RU
Obviously having a new cool gadget was my big motivation, but for the useful things : knowing the exterior temperature, the time obviously (I removed my clock), I can play a game if I'm waiting for something for a few minutes, etc. But basically you are right, if I have my phone, it just takes almost as much time for me to do this things.
uBlock Origin also has eyedropper tool to select elements to block, works pretty well.
Learning the very basics about typography. Matthew Butterick created an online book called "Practical Typography" [1] that's a pretty quick and easy read. I've found that what he says about people being more likely to read attractive documents is true. Duh.

It's even made me think about making my source code more attractive.

The added bonus is that he also talks about his publishing system Pollen and that lead to me learning about Racket.

[1]: http://practicaltypography.com/
> I mean, if votes can be rigged in the US and any and all objection is silenced by friends in the Supreme Court, then what do you expect from Russia or Turkey, really?

What vote rigging are you talking about?
These stories are great. Java dev here. I love that you can do almost anything with it but this is such a strong case for deciding on Python as my second language.
This is probably over-complicated and would cause hard-to-diagnose behaviour, but here's a random idea: use a multi-armed bandit algorithm to pick which eviction policy to use.

You'll want to keep a queue of recent evictions. When you get a cache miss, check if the key was recently evicted, and if so, penalize the algorithm that evicted it. Otherwise, if after a period of time you don't get a cache miss, credit the algorithm that evicted it so it's used more often.

This way Redis would self-tune its overall eviction policy to the workloads it's presented with. The idea is that, hopefully, you wouldn't have to do as many upfront trade-offs between conflicting use cases.
I was going to jump on this one then I looked at the patent...

It is actually a patent for confirming your identity while doing online learning and the password part is just a way to quickly verify once you already verified via the longer form recently (so you don't have to type all the fields every time).

I'm not a lawyer but can someone explain to me how a patent like this can be used to enforce just the password part? It seems the password part was cherry-picked from the larger patent and is completely irrelevant without the supporting claims.
ΔΙΑΓΩΝΙΣΜΟΣ FREE FUCK 30 ΙΟΥΛΙΟΥ 2016 – escorts| athens escorts |call girls
I'm not nearly as adept at pentesting but out of curiosity, is there an established point at which you just don't go and farther? Like a point between "get a $5000 bug bounty" and "CFAA charges and prison time"? The author mentions this at one point but it seemed like more of a gut feeling of not being too intrusive.

When I read about this stuff, it seems like half of the articles end with some company either patching or not patching their security holes with some tester maybe making some money and the other half end with someone being charged for accessing public-facing data that wasn't meant to be accessed.
Could you expand on the problems you encountered?
Security: Sign every chunk served. Clients tampering with the chunks will invalidate the signatures. Not perfect, but not intractable.
I think the code for regl for filtering is here:
tex: regl.texture({
min: 'linear mipmap linear',
mag: 'linear',
wrap: 'repeat',
data: makeWireframeTexture()
}),

So the change would be to use 'linear' or 'nearest'. It's actually the mipmaps that are making things look blurry. Basically, the graphics card is scaling down the image and scaling it back up, which makes it blurry.
Don't build a DSL for a production system, period. Production quality DSLs are for academics and/or staff engineers that have enough time and resources to build and maintain them.

I don't know about you, but I have a constant backlog of features with tons of interesting problems to solve. There are places where I could build a DSL, but I am not going to because I would inevitably build something hacky and brittle that is impossible to understand and maintain (like JDSL).

I can't build new features, and increase the value of the system if my DSL is constantly breaking the system.

So don't do it. There is plenty of functionality on the .NET and Ruby platforms for me to model the concepts and objects in the domain without the need for a DSL.
> I would suspect they'll be at least 60% pro "Poles should definitely accept as much refugees as humanely possible".

You would be wrong. I don't think you can find 5% to support such position.

"Should Poland accept some refuges" - for that most probably, but still I don't think difference between sexual orientations is that significant. It's mostly about political views.
https://en.wikipedia.org/wiki/Florida_election_recount

Edit: Is rigging the wrong term?
Speed Traders Invade Sleepy Corner of England, Locals Bristle
> I highly recommend narrowing your window; as a general rule it will dramatically improve web typography.

That will have the side effect of knocking most sites into "responsive" mode, giving you less of a desktop experience than you believe you're getting.

My monitor is 1920x1080, a fairly standard desktop monitor resolution. Narrowing it back to 1024x768 or something will give you a poorer experience on most modern websites.

I do believe this "typographical style" is more relevant for printed material with smaller font sizes.
I'm not saying their code isn't shit, just that it is shit code that works (for some purposes at least). That is much different from not being able to generate code that works at all. I would say these guys can "code their way out of a wet paper bag". They will just make a royal mess doing it.
I see, so I guess Mint has some combination of drivers (kernel + nvidia) which just work for your system. Good for you! Thanks for answering. Maybe I will take a look into LM!
This is just making me remember the days when there were dozens of bookstores here in Cambridge, most of which are gone now.
Yes — hated every minute of riding uphill.

The greatest outdoor activity I ever had was skateboarding (I am 33, and started two years ago) — I really really loved it, could do it for hours, learning tricks and just moving through the city — right until I broke my ankle. :(
I've been trying to find some opinions on the "first rule", i.e. "Centering".

Phones and tablets are already a book-like viewport. Desktop browsers are a different matter, for these presumed reasons:

- most monitors in 2016 have lots of pixels along the X axis

- most browsers are maximised or run in full-screen mode

Joe Designer also has lots of pixels and/or a maximised browser, hence squashes content into a column.

Some do it wrong, which means some websites end up looking like a thin column of text on your cinema display.

What I'm getting at is this: I run my desktop browsers already in a book-like viewport (using Spectacle.app on Mac and XMonad on Arch Linux, or a simple resize-with-trackpad when I don't) so I'm a few keystrokes away from having to parse long lines of text. I don't really like it when website authors choose my viewport width on my behalf.

Choosing your own typefaces and colours - fine. Layout? Not so much. What do others think?
Reducing my carbohydrate intake, limiting workouts to 20 high intensity minutes, practicing better sleep hygiene, asking more questions and arguing less, taking vitamin D supplements, setting limits on gifts and travel, avoiding alcohol and limiting to 3 drinks maximum on any given night, cutting my own hair, buying rental property, realizing that absent mindedness is a symptom of poor planning, focusing on problems that matter, asking for help when I am guessing for solutions instead of working towards them, practicing empathy, abandoning black and white ideologies, setting clear limits with family, time-boxing HN and internet activities.
So, you want to work in security?
'Pearls Before Swine' Cartoon Mocking NSA Wiretapping Censored
The tale behind ice cream jingles
Hello antirez,

Indeed, I think the pseudo-LRU approach as you describe, especially when combined with a pool, is a pragmatic caching solution for when you don't want to make major changes to your codebase. You found 24 bits, you dedicated a small data structure off to the side, and those two in combination are a really good approximation of LRU, without a lot of code.

I'm obviously not as familiar with the guts of redis's implementation as you are, so I don't know all the ways that keys can be stored and what the implications for caching are. Generally a caching data structure can be used that references the cached data/objects (pointers, basically), so it could be external to how you otherwise store data. That may not be the right approach with a low-level C/C++ block caching server, but that's not what redis is, either. I think you would find that adding a separate data structure would help you out, but that's just naïve advice; I don't know the guts of redis so perhaps you can't store keys in a separate structure.

I also well understand that providing real-world software is an exercise in compromises. However, I recently discovered how horrible an existing LRU implementation performed in practice for my application (digital forensics) and spent considerable resources exploring alternatives. And what we really found out during all of this is that instrumentation and testing under a diverse set of input is necessary in order to make an informed decision. For some input, LRU was gangbusters. For others, it was lousy. I've also learned that sometimes it's necessary to put pragmatism aside and go off and implement the ideal approach; it can pay off.

Cheers,

Jon
This looks like a nice evolution.

It's a pity that the "deterministic serialization" gives so few guarantees; I have worked on at least one project that really needed this.

(Basically, we wanted to parse a signed blob, do some work, and pass the original data on without breaking the signature; unfortunately, this requires keeping the serialized form around, since the serialized form cannot be re-generated from its parsed format.)
"The main intent of introducing proto3 is to clean up protobuf before pushing
the language as the foundation of Google's new API platform"

Does anyone know if this means Google's public APIs will be proto3 based? I quite like protobufs.
Gotcha. The credit card fees are related to the customer.
It's a little more complicated than that, but see https://docs.google.com/spreadsheets/d/1UHMfzlmE7HXY_ph9BN68...
For an amazing sample size of 18 self-reports. The results will surprise you, especially #5.
I think the intention is to go figure it out. I don't know that we can say what it will be just yet.
You have to pay attention ;-)
Thanks for sharing your cool hack. I remember two similar projects a while back that caught HN's attention :

https://news.ycombinator.com/item?id=10204018

https://news.ycombinator.com/item?id=10801430

P.S. I'd be tempted to call it Jarvis. It's fun to swipe away icons in the morning :)
I'm sure there are scenarios where the limited range would be ok, just as I'm sure there are those where it would be unacceptable. I don't know enough about supply logistics to say what percentage of trips taken by different size classes of trucks have a range that would fit the capability. I just wanted to suggest that overall the limited range also limits the value proposition of the vehicle, just like for electric passenger cars. Diesel semis get around 6 miles per gallon, versus around 30 for cars, this suggests to me that the trucking application is even more sensitive to limited ranges than passenger cars.
"The most successful defined pattern is constructed around the executions of Unix shell processes performed by malware."

Syscall profiling will produce false positives. For example, some installer that invokes the shell to perform some tasks it could have done via syscalls directly or indirectly though some higher level library. His benign applications only included a single third party program. (Office 2011) Moreover, it seems he only collected data from running the applications, not while installing them. If he had collected data while installing a lot of perfectly legitimate software he would have seen a lot of shell invocations.

Syscall profiling will also fail to detect malicious code using techniques such as syscall proxying.

I think the syscall hooking angle has already been done to death and has consistently failed to achieve significantly better results than signature based detection. It's a great technique for an expert to monitor a system with, but useless for the average user who will not be able to investigate whether or the cause of an alert is benign or malicious.

[Edit: There's a bigger list of applications that were tested on page 91, listing which ones create false positives. It's unclear whether or not data was gathered during installation of these applications or just while running them]
I wish visual studio wasn't a requirement sometimes for writing C# - although it makes make it a decent experience.
You mean http://www.gonuts.io?
Maybe Subresource Integrity[1] would be of interest.

[1] https://www.w3.org/TR/SRI/
Why can't the article simply say that being a subject expert is required to teach a topic to someone to an expert level, however you also need to be an expert in teaching, in other helping someone build a model of the knowledge in their mind.
Both are required ?
> criticisms I've seen of OOP, that it too easily results in overly-complex software

With respect to other languages, many don't do OOP well ;]
Indeed in the OP video Alan Kay said "Object oriented programming never made it outside of Xerox Parc - only the term did" (1:06:40)

> Smalltalk encourages an explosion of complexity

Smalltalk is a fantastic prototyping language. Its easy to explore a new domain and get something working fast. Such an exploratory process can lead to overly-complex software. I guess the trick is to have the discipline to go back and do the "science" to distil and refactor.
But you can't automatically relay those capabilities to untrusted 3rd parties. And that's where the money is.
I ran into this too when fooling around with SyntaxNet. It hink the default size of the VM is 16GB. I kept running out of swap space even after bumping the ram on the VM up to 16GB.
Eating something similar to a keto diet (Mostly eggs, milk, coconut oil). Once you get past the adaptation phase, it's almost impossible to overeat. Starches (on their own) taste bland and the mix of fat and protein has such a saitation value that it's impossible to overeat to any near extent that a modern diet provokes.

Weightlifting but focusing on the work my muscles are actually doing as opposed to seeing a high number go quick. Three warmup sets and a high intensity failure set, with the warmup sets just training you to do the exercise in the proper form before you do it. Because a lot of people cheat the work their muscles are trying to do by crutching on momentum instead of letting their muscles have control of the weight. That would be a thing I wish I could indoctrinate into every every beginner. (DON'T COAST ON MOMENTUM)

Former smoker who has occassional cravings, liquid nicotine has been a life saver. Properly distributed, a giveaway of a three month supply would probably be the most cost-effective humanitarian mission for the homeless in the US.

Ignore most news. A radical acceptance that there's no point in paying attention to the equivalent of amateur illusions. It's a lot of central nervous system parasitics.
FWIW I was comparing like for like in both cities. I compared Back Bay new construction to SoMA new construction. Fact is, your money does go further in SF. It isn't intuitive because most of the housing stock in Boston is old, cramped, or needs significant repair...or all 3. But that doesn't come across when you compare aggregate sqft prices, it just looks like Boston is cheaper.
control/command k, 1 in sublime (code folding level 1) instead of doing it manually. duh.
If it were a survey of most temples/religious places per capita, I'll bet anything top 10 cities would be in India.
I also have a page to visualize German newspapers' tracking: http://news.dieweltistgarnichtso.net/posts/zeitungs-tracking...
> This would allow for protected content (DRM video, for example) to display securely, while allowing it to interact with other secure apps and services – and still allow for unsigned code.

Fuck you.
For the Love of Money (2014)
This almost feels pornographic, it's so good. In the particular the extreme counter-rotating example is so interesting to consider, but really exciting to see simulated. I just imagine the ergoregions of each body going absolutely nuts in those last few moments of merger.
Learning to use my brain while I ran.

I started out running for exercise. It would take a lot to convince myself to run, and then keep myself from wanting to quit. I got really good at tricking myself or rewarding myself after a run.

At some point, I think it was that I got in better shape, I didn't need that much motivation. I could go for a run and not think about the physical work of it. I could think about whatever, either letting my mind wander, or think through an issue I had run into. It became much more enjoyable.

I wish I had gotten to that point faster.
Important note for non-Haskellers: the library OP is talking about is part of the standard base libraries usually distributed with GHC. `text-icu`, while excellent, is not.
Automated testing.

There's loads of stuff written about dos/don'ts, TDD, etc. but doing some testing is better than none. It's not a silver bullet, and it's possible to get too caught up in tests to the detriment of the system; but you can cross those bridges if/when you get to them.
I think one of the things Yelp has caused (or, perhaps, needs to cause) is a change in consumer behavior related to bad reviews. I've learned, over the years, to disregard certain kinds of bad reviews[0] or not choose to avoid a company because it has a small number of poor reviews.

The Internet reminds of me of driving. Most people will scream at another driver for cutting them off on a merge -- assuming the driver was being aggressive and entitled (he thinks is time is so much more important than mine!). That same driver will find himself on a road, not paying enough attention, only to discover his lane is ending at the last second and expects another driver to let them in and understand it was just a mistake.

We scream because we don't see the other driver as a human being, just an angry caricature of a bad driver (and we're not actually confronting that driver directly). On the Internet, we'll rip a mom and pop or small restaurant business apart because of a server who had too many tables and one bad dining experience. That same person likely didn't talk to the manager or give them an opportunity to make the situation better because it's a lot less socially intimidating to hit Yelp and tear into them via a bad review.

[0] My favorite is "bed bug" reports at hotels. Practically every single hotel I've stayed at in the last few years has had at least one review claiming bed bugs (some with pictures for evidence). It's a problem pretty much everywhere and in those reviews I look for a hint about how the hotel handled the situation. If it was taken care of in a reasonable manner (regardless of what the reviewer feels was reasonable), I won't hold it against the hotel.
10 Actual Facts About Using Clone Scripts for a New Startup
Possibly related: RAID-CDN, it's come up before on this site: https://github.com/lorriexingfang/webRTC-CDN-raidcdn-sample
One thing I'd like to understand is if some of the improvements like less discrimination of minorities and getting rid of the death penalty were purely for EU relations and never supported by the AKP. Considering to reinstate the death penalty now is something I don't understand. Can someone who grew up and lives in Turkey explain? I recall that when they snatched the PKK leader they didn't terminate him, and he's jailed. So how come the death penalty is seriously considered an improvement in 2016?
Umm, no. That's only the first few paragraphs. The rest is about the side effects of things like green tea extracts, caffeine powder, etc.
Oracle to Buy Cloud-Software Provider NetSuite for $9.3B
Starting with the C's seems smart to me. A's and B's likely get many cold calls.
I thought it was because their NY office is closed and nobody would be there to maintain systems or assist in the event of any screwups.

But then again, that was just an assumption so I may be way off base.
I think you are vastly underplaying the Surface and the entire generation of so-called "hybrids". Also, the flat design movement affects everything now, not just the tech industry. Then there's the cloud...

Honestly, there's probably more examples, but the point is you're view is just a bit skewed.
This report is pretty comprehensive, but I think it's US-only. https://www.upwork.com/i/freelancinginamerica2015/