skysight-inc/HackerNews huggingface dataset:
monkeypatching, instance checking and class-hook hacks aren't things I'd particularly value in Python, they certainly aren't deal-breakers wrt "major wins that Python was bringing you".

I've rarely needed to use these things - I'd sooner make use of multiple-inheritance and use mix-ins.

Compared to a language like Java, first the possibility of Mixins exists, as does Duck-typing.

Further, types are not mandatory, or statically checked. Is is the fact that you don't need to do this is Python that is a win. The fact that (barring some extension) you can't is not an advantage. Optional checking, and dropping verbosity (no check by default, not having to declare something unchecked) is the best of worlds.

> things always boil down to mere conventions that rely on trust of the system implementers

This doesn't mean you should try to reduce dependance on this trust. The less checking you do, the more likely a n issue slips through the net. Furthermore, not all infractions are the same, we can forgive small things. Not everyone should be able to modify import, or class-loading mechanisms freely, or without supervision.

> some kind of complicated static type checker that uses argument type annotations

You can make this argument for, say, jumping to Julia. Does a complication in implementing in Python outweigh the complication of an entire new language? You could argue Python 3 is exactly this...
15 of the worst places to drive in the United States
Apache Kafka 0.10 is released
Planetary Resources and Bayer Sign MOU
Little boys love cars like little girls love dolls. Cars has appeal far beyond the NASCAR set.
ctrl-r does a fuzzy search in the history and provides most of what I want out of the box. I wonder why this hadn't been mentioned yet.
You know it's bad when Texas is willing to investigate.

Source: am a long time resident of TX; it's business-friendly reputation is well earned, IMO.
Meson: Workflow Orchestration for Netflix Recommendations
Ugh, the number of dark patterns trying to cost me money just to purchase a damned ticket on Ticketbastards today.

Seriously by not clicking the right boxes I could have agreed to pay an extra $42 in add-ons/services for a $15 ticket that had its own $6 in fees added.
Agree! I am all for playing nice but I am also an advocate for freedom of speech. I fear we are losing that. The whole safe space movement was stifling freedom of speech and now this will hurt it even more.
$80/hour as a highly experienced web application developer on a medium-term contract.
> there's little the law can do to prevent people from agreeing to such things.

True, iff the customer was adequately informed about the offer in a way most people will understand. Contracts are not supposed to be a "gotcha" with extra terms buried in the fine print. If the installer only featured the "bait" and mentioned the adware behind a dark pattern UI or deep in the text of the contract, a judge could (and should) void that part of the contract.

> Maybe a requirement for certain disclosures to be made more prominent

At a minimum.

That said, the issue isn't really with the person that installs the software. There isn't a contract between the adware scammers and e.g. Target or Wikipedia.
AngularJS meetup? Yeah, that office was posh!
Right, where's XCode on KDE or GNOME? MIA of course. Where is the XCode equivalent IDE on GNOME or KDE? MIA, unfortunately.
Is anyone try this extension? On my Chromium doesn't work.
>No-one realistically sets out to create "a Google"

but lots of people unrealistically set out to create "a Google" and some of them succeed. Who never would have if they had had a realistic goal.

my goals are completely unrealistic. most people with such goals fail completely.
Silicon Valley Titan Peter Thiel Is Backing Donald Trump
This is probably it, thanks, I didn't know this could occur. It only happens when I copy the output of a particular command, not always, so I'm guessing it has a space.
Top Places to Advertise Your Blog Post Over the Internet for Maximum Exposure
If your program targets a 68000, and uses tags in the upper bits of pointer, and that program also hashes pointers, then of course you're going to reconcile these two facts: your hashing function will have to strip out the pointer tags.

Or perhaps not; it depends on whether the tags are immutable attributes. For instance if they indicate type, and type is immutable, then they can perhaps just be mixed into the hash. Under this design, the only way two pointers to the same thing can have a different hash is if you have a use-after-free bug: you're hashing a pointer to something that was de-allocated and re-allocated as a new kind of object. Two objects which occupy the same address at different times don't have to have the same hash, even if it is a pointer hash.

Looked at in another way, those tag bits, if they are immutable, effectively extend the address space. An object with tag 0101 and another one with 0110, all other bits equal, can be considered to be in different spaces (with the constraint that since they collide to the same physical address, they cannot exist simultaneously).
I don't know what it does exactly, but it always seems to lose history after a reboot. Either the last shell session to close overwrites the others, or they fail to save the history if not closed cleanly enough.
Cookies vs. Tokens: The Definitive Guide
Peter Thiel's support for Donald Trump is a bigger threat to press freedom
Fences aren't about privacy, fences are^ about property rights and defense.

^ mostly, yes, you can find exceptions even back in pre-history.
If one doesn't understand exactly how TLS works, this is the usual question regarding MITM. If there is "end-to-end encryption", just how exactly is it even possible to do MITM? In an ideal world, it just wouldn't be possible.

With the existing system, certificate "errors" that are really just "warnings" should not be allowed to be bypassed. The fact that certificate errors can be ignored is something that should never have been allowed to take place. Unfortunately with the historical fact that legit certificates were inexcusably expensive to obtain for internal/test projects meant that self-signed certificates became commonplace.

We're waiting for a genius to come up with a new strategy for encryption that doesn't rely on trust being determined by a third party entity (ie: certificate authorities). Letsencrypt is nice and all, but it's still just a free workaround for a system nobody really wants. "It's not possible to do it any other way" is just pseudo-speak for "nobody has invented a better way yet".

Why the strategy for encryption has relied on public/private keys for so long with no real alternative strikes me as odd. After 30+ years, nobody has thought of something else?
I've written a bash history server in go and it has saved me more time than it took me to write it.

It stores commands in a sqlite database. For each command it also saves the time, the user and the host.
It permits global search with some useful features (grep A/B/C switches, regexp, etc).

I wrote it to scratch an itch, thus the documentation isn't user friendly.
If anyone is interested, shameless plug: https://github.com/andmarios/bashistdb
Wow. When I started 20+ years ago in Toronto I made $30k. I can't believe that starting salaries are that low today. Within 3 years I was making > 50k but that's because I didn't know how to negotiate salaries. And a year later, I moved to Silicon Valley and my salary tripled (but my rent quintupled).

Starting salaries today at most silicon valley companies are ~100k or more.
Speaking in terms of the USA here.

Garbage. An almost complete waste of time and energy. For grades K-12 a lot of it is just babysitting, to give kids a place to be and keep them out of trouble while their parents are at work. I value my primary school education very little.

While I wouldn't go so far as to say that college is a scam, I would say it is often one of the poorest financial investments people make, and it's even worse because we trick naive 18 year olds into doing it. College is not for you to find yourself, and it's not for you to waste time pursuing a degree that can't help you support yourself and pay back the insane amount of debt you took on to go there.

The current generation of kids was told that you need to go to college or you'll be a failure in life. My dad constantly was saying that if we fucked up and didn't get into a good college we'd be "Making hoagies at Wawa". They say your major doesn't matter, it just matters that you have a degree - you can figure out the rest later.

It's a shame no one sits kids down and says - "Hey, you're about to take out one of the largest loans of your life, one that you'll have to pay many years, maybe even decades. Why are you doing that? What career do you want? Will this degree get you there? What can you expect to earn with this degree - can you pay down these loans with it? If your loans are X, you will be paying at least Y a month."

Most people I know did not get a talk like that from their parents, or high school teachers/guidance counselors. I wish they did.

Some things to improve the current system:

1. Not every kid needs to go to college. Are you bad at that book learning stuff? That's fine - push more kids into trade schools.

2. In the upper grades of primary school, focus on teaching kids the things that will actually matter and are useful. Financial things - how to do your taxes, how to use and maintain a budget, how to pay your bills on time. Life things - applying for jobs, finding an apartment, what careers pay best and how to get into them. Civil rights - how to protect yourself from the police. Real life things that will actually benefit them.

3. Encourage kids to do community college for two years then transfer to a real college to save money. The "college experience" isn't worth the price most pay.

4. Hammer it into kids' heads that unless you're going to MIT, Harvard or Yale, where you go to school doesn't matter. Your degree and the field you choose to go into matters a lot more. Require all colleges to provide what the average jobs and starting salaries are for all majors before a student is allowed to pick one.

Education is important, but the system we have today sucks.
Of course, if RDBMS vendors really cared about compliance with ANSI SQL, swapping out SQLite for Oracle or MS or Postgres would be easy. But they're mostly halfhearted about it.
Run the db in-memory when doing tests with sqlite.

In postgresql, open a transaction, and run each test in a subtransaction, then abort the 'top' transaction. This should be ~fastest.
Try this https://www.linkedin.com/groups/8267275
> I guarantee you this, there will come a time when we are banging our heads against a problem and there is a deadline looming and we’re tired and people are pissed at us and money and jobs and reputations are all on the line. When that time comes, we’re going to have to get into a boardroom, hop on a whiteboard, and figure things out. Fast.

False, that has never happened in decades of work in my experience. All "breakthroughs" I've had came to me in the shower or other solitary place. For most people, creativity does not spring from a gun to your head in a crowded room.
The rest of the piece falls apart from there.
So what else is new.

If you work at Facebook or Google you're benefiting directly from the similarly shady practices they used to grow on their way to being "pillars of tech" today.

Do you remember when at LEAST 20% of Facebook's revenue came from Zynga? Like less than 5 years ago? Many speculated it was considerably higher, but Facebook never provided a full accounting (1).

Or do you remember when Facebook literally had an "affiliate marketing panel" that they worked with at the C-suite level packed with guys selling weight loss affiliate slop? Almost impossible to find reference of it now, was well known in many circles and you can still see references of it here and there. (2)

Or maybe when Google was caught colluding with a notorious gangster when he turned state's evidence to demonstrate to the DOJ how quickly Google was willing to skirt around laws to sell illegally imported drugs? They were fined $500,000,000.00. Google was. (3)

50onRed is clearly engaged in scumb-bag advertising practices, but at least they keep good company.

(1) http://allthingsd.com/20120423/zynga-accounted-for-15-percen...

(2) http://www.shoemoney.com/2009/11/16/dennis-yu-rise-and-fall-... & http://www.jimcockrum.com/blog/2011/10/19/the-biggest-dog-in... & http://techcrunch.com/2009/11/01/how-to-spam-facebook-like-a...

(3) https://www.justice.gov/opa/pr/google-forfeits-500-million-g... & https://www.wired.com/2013/05/google-pharma-whitaker-sting/
Firefox exploit similar to the 2013 attack[0]

The zerodium price list has Firefox 0day at $30k[1] a pop - compared to $100k+ (today ~$1M) for Chrome

The long term solution for Tor Browser is to build on Chromium + Containers/VM + Isolating proxy

[0] https://www.wired.com/2013/09/freedom-hosting-fbi/

[1] https://www.wired.com/2015/11/heres-a-spy-firms-price-list-f...
I think the question of how you are rendering your voxels is a technicality. Redering voxels does not to my mind imply a specific rendering technique any more than rendering vector graphics does.
When I render a low resolution voxel image using vector descriptions of the cubes containing those voxels and then passing them through a rasterizer, is it still a voxel image? Certainly, because the image is natively described as a mapping from coordinates to present/not-present flags (and optionally color).

I can confidently say that the native description of the objects seen in that video is a direct mapping from 3d-coordinates to values. [Edit: So you can't just simply directly calculate an intersection point with a polygon. If you wanna cast a ray, you have to sample the mapping all along the way the ray is taking, in discrete steps, until you get a "hit". Optionally, you can then use e.g. bisection to get a more precise position of the intersection.]

For you edification, here's another video of a high-res voxel world. The voxel models used where converted from vectorized surface models. But the description of the models used by the renderer is a proper voxel description, maybe some octree-like thing, or whatever they came up with. https://www.youtube.com/watch?v=f3Ets6bWjEQ
Thanks very much!

Good question, but I don't have a good answer (perhaps too much of an idealist ...)
They don't, but they hire people who do. Otherwise why do they (and Google and Microsoft) spend so much time and money in D.C.?
There's a direct parameter to do that in one go.

HISTIGNORE="history:ls:[bf]g:exit:htop:ncdu:pwd:reset:clear:mount:umount:&:^[ \t]*"

Mine might be flawed though.
Neat !

Is there a package management framework for this ?

I would love to see some technical architecture documentation.
* No comments

* No line jumps

* Cryptic variable names

* Magic numbers

* Multiple return points in the middle of the function

Yeah, this code might be doing good things, but I wouldn't be thrilled to inherit it in a project. I mean it's not bad code per se, we all have written things like this; it's just not something to point at for exemplary code either.
Show HN: Android live streaming client over RTMP in pure Java
Here's this year's demo. Starts at 20:30

https://youtu.be/8LO59eN9om4?t=20m30s
While a public company answers to it's shareholders, it also has a responsibility to support the community it lives within, because often success can be directly attributed to where the company started. Aggressively avoiding taxes could very well be considered unethical by some parties.
Stanford has a culture where people do that.

Other schools don't. When I go to an A.I. seminar at Cornell it is usually a job talk for a student who is going to talk at Facebook, Google, Microsoft and then a bunch of schools. That is, if you leave the academic track to pursue a startup you are perceived as a loser, not a winner.
I recently had a bash hiccup causing the history to vanish. Not a problem for 90% of things but for a few long rsync commands (the one time crafts for you) it was a PITA. Or an opportunity in RTFM says the noob.
The article is great and I enjoyed it. It gives good insight into React and inspecting minified web apps, however I'd like to point out two other ways you could go about it.

Sometimes you can't get inside the application, because the JavaScript is scoped in such a way that nothing leaks out. In those cases you can make an extension that runs before any script on the page, and hijacks native JS such as XMLHttpRequest or WebSocket.

In other words, declare your own WebSocket, and pass everything through to the real one, while intercepting any data you're interested in.

Also for this specific case, you could use Chrome's built-in API for extensions to intercept requests.[1]

As a benefit in some cases these methods can be less prone to breaking changes in the web app, but the opposite can also be true.

[1] https://developer.chrome.com/extensions/webRequest
For Ticketmaster? That's odd, I deal with them quite a bit, and while they've definitely got a racket going on, usually they aren't opting you in for extra stuff (because you'll juts call to complain to their support and get it changed). I have seen them accidentally auto-select certain additions before, but that was a non-standard option on that event, and it was definitely a mistake.
Show HN: GoatAttack – Attack your friends with a flock of goats via SMS/MMS
Well the Toronto housing market is pretty bad... Too expensive for me right now. Currently living in a decent apartment though and it's not bad.

I'm sure the California market is worse though!
I don't want to ding this book, if only because the topic is well chosen and important. I was quite surprised that I didn't warm to it.
Hate to break it to you, but you seem to be delusional. The "observation" you made was not only false, irrational, but also simply irrelevant and rather detached. Just because you think things doesn't make them real, my friend. It's quite an important life lesson you may want to consider internalizing or you will continue going through life not realizing that people can see right through your nonsense.
Corel WinDVD Pro 11 Crack and Activation Code Free Download
Keystone: lightweight multi-platform, multi-architecture assembler framework
Why does the fact it can't run micropython and BLE at the same time put BLE out of reach?
DEC's 36-bit PDP-10 and -20 had hardware support for pointers-to-byte: A pointer had lower 18 bits for the (word) address, while the upper 18 bits had room for the bit-offset within the addressed word, and the bit-length of the "byte" being used. So, if you were using 8-bit characters, a pointer to the beginning of a string would roughly look like (0,8,addr). A special "load and increment" instruction would fetch that first character being pointed to, and increment the pointer to (8,8,addr). So, c=*ptr++ in one instruction! After the fourth fetch, the hardware would know to increment from (24,8,addr) to (0,8,addr+1). And, best of all, if you were using plain old ASCII (and assembly rather than C), as was common in the day, you'd use 7-bit chars, packing 5 into each 36-bit word. Or six 6-bit chars if you were only using upper case, as in file names.

So, casting one of these pointers to int the most natural way (leaving the bits alone) would not give you an easily subtractable representation.
Isn't this just an issue if there are too much writes?

And doesn't a WAL help with that?
Is it strange that I find the old "JET" the best? It uses the most hues (green, yellow, red and blue are all there), so things are the most distinguishable. The others are either only blue/green/yellow, or only purple/red/yellow.
I just don't really get why I'd want Android on my desktop/laptop. I can't imagine the interface being anything but clunky.
Win-win.
RAW noise, bricking, and unbricking a Sony camera
Repurposing your old iPhone as a FaceTime device for your parents
You lost your appetite because you thought someone was a spammer? There are a lot of companies that perform much worse ethical behavior that spamming (e.g. LinkedIn's existence is thanks to unwanted invite request sent to all your contacts, SocialCam abused Facebook OpenGraph so heavily they had to shut it down.) Just because they get away with it in secrecy doesn't mean it's not happening. So you can pretend you live in a world where majority of people are saints or their crimes are not as bad as something that is demonized heavily in public like email spamming but then again we why would you.
Open Beta of HyperDev
Are there many jobs in Burlington? It's beautiful there, I drove through last weekend.
> but who is going to pay you for completing that task (as a programmer) and reviewing every single update in the future

If you can't factor it into your costs of doing business (that you pass on to the client) then you either have to factor it into your costs of doing business (that you have to eat) or decide to take the risk of not bothering.

The risk is your's to take should you chose of course (or if you don't work alone the risk is your company's to take) and depending on the 3rd party involved that risk might not be particularly high (as others have pointed out the risk profile of relying upon Google is vastly different to that of a small add-in developer hardly anyone has heard of), but if the worst happens and you end up in court you won't be able to just dismiss it as "well, how was I to know?".

If you leak NDA covered client information through your use of a tool or service and the client finds out, "but you'd have never paid me enough that I could afford to be more careful" is not going to be a defence that will get you very far, unless of course you have paperwork that states they were aware (perhaps you included the time in your quote but they asked for that bit of work not to be done due to the expense).
What makes a good logo and what we can learn from Instagram
I think the idea of "net neutral" will be lost on most people. They will look at their previous years taxes and be upset because they have to pay more.
Why Goldman Is Warning about a Stock Market Crash
As have intellectual echo chambers. Everyone says they're open to opposing views but very few people want their opinions challenged. Everyone really wants a hugbox, Facebook just figured out how to give everyone on the planet a hugbox.
I think it also depends on how you learned to read -- for a couple of years as a child I mostly read the Tintin books. Over and over, until they fell apart. As a result, the graphical style of comic books just makes sense for me as a storytelling medium. Although Hergé set a pretty high bar, and I do find a badly laid-out page hard to follow.
Why is the take home so much less ($3550 less per month)? Are taxes that high in CA?
Is that billable hours, or would it be fair to guess at ~2000 hours/year, for ~160k/year?