skysight-inc/HackerNews huggingface dataset:
Simple, arrest and charge the girl for making false accusations, with a minimum of 20 years in prison. Raise a legal fund and sue the hell out of the city, naming the prosecutor as chief in a conspiracy of abuse of power and corruption, also with a minimum of 20 years in prison.

This is nothing but corruption and pure evil, and unless you stamp it out, another poor fellow like this one (who was only interested in being a good citizen to a potentially vulnerable girl; remember Hannah Graham), will get his life destroyed by similarly evil people.
One type not mentioned is when you are kind of internally vocalizing (singing, but making no sound, just matching the pitch with your vocal cords without blowing any air) along with the song. While doing this when the singer goes to a pitch I would not be able to follow it makes me feel strange in a pleasant way.

Björk - Yoga does this to me repeatedly starting from around 00:37.

Sometimes you can do this not only for actual lyrics, but other instruments as well. Try to "sing internally" the instrument in the song Röyksopp - Vision One starting at 1:48.

This is euphoric to do while high.
...my playing off your sarcasm...

Oh no, you attempted two-level sarcasm? That simply won't work here. b^)
No, I am absolutely serious. If you're going to be an asshole about women, I don't want you in Lobsters. We already have enough of those elsewhere.
All? No. He never said all, and that's an unfair way you're phrasing the argument. You're deliberately setting it up so that anyone who disagrees with you is immediately painted as blaming the victim. That's not what this discussion is about and you know it, so shame on you. He said you're more likely to. But in some cases, the situation could have been improved to the point where the outcome could have been completely different if the person had complied with the officer. I'm not saying the cop was right in any of the cases, but if I see a semi truck barreling down the freeway into oncoming traffic... I have the right-of-way because I'm in the correct lane, but you'd better believe I'm going to get out of that truck's way. Because absolute best case result there is that I will die a quick and painless death.

I was in Madison WI when Tony Robinson was killed and saw some of the protests against the police. It was interesting to me that the spirit of the protests weren't harmed by the fact that Tony had assaulted people on the street then tried to kill the police officer responding to the incident.

Sitting in jail innocent and alive is always better in my book than being gunned down in the street by a scared and trigger-happy cop.
Performance. Stored procedures are fast, meaning it will be longer before you need to scale out.

That was once the case, but every major DB now caches execution plans for commonly run queries.
I believe you are misunderstanding what I did. At no point did I change an object's type or change its behavior. All I did was change the object's implementation in order to make it more efficient. Being able to redefine the class effectively allowed me to JIT compile the code by hand.
Yep, at 3 am and had to do the drunk walk despite not having drunk a drop that night. I've also heard of the "license plate light was too dim" excuse.
This sounds really interesting! Do you have by any chance a link to some useful resources ?
Even if music can be “auditory cheesecake,” I don't believe that that's an adequate explanation for it.

The book “Why Do People Sing: Music in Human Evolution” proposes a theory that's both outrageous but also has (I believe) a ring of truth to it.

The following article summarizes the theory: http://www.meltingasphalt.com/music-in-human-evolution/
Yeah, stuff like this reminds me of why OpenBSD even exists: because Theo got kicked out of NetBSD for being unable to stop making personal attacks on the mailing lists.
Another +1 to learning the business domain and the jargon associated. I work in the real estate software industry, and our Rails app is nothing but models of leads, agents, brokers, properties, etc. Knowing that an Agent belongs_to a Broker and a Broker has_many Agents is invaluable and obvious once I understand a bit about how a real estate brokerage works.
I think there's the expectation that they should view their jobs more seriously than that of, let's say, a porn director or toy designer.

They are different from the rest of us, in the same way that those who are border patrol officers, paramedics and military officers are. Not only does your job greatly influence your persona but you should be expected to take your job more seriously depending on the subject matter you're dealing with.
Netflix and the Napoleon Dynamite Problem (2008)
You have a production server that uses an ORM. You push some change that change the database table. The class redefinition code updates all instances of database objects, and the ORM kicks off an automatic migration[0] so the database and the objects are in sync.

[0]: e.g., using Crane http://eudoxia.me/crane/
Now TV – Getting Through ‘Game of Thrones’
> the solution given seems overly complicated for the problem at hand

The Hello, world program also seems kind of complicated for what it does. Who wants a program that prints a greeting on stdout and exits? Best to regard this problem as the simplest possible one to demonstrate the mechanism. A problem that really warrants it would be far too complicated to present without going into a lot of irrelevancies.

> redefining classes at runtime seems like a really bad idea

My experience with class redefinition comes from Smalltalk, not Common Lisp, but I am pretty sure they are somewhat similar. You really need to have experience working with an image-based language as an image-based language [1] to understand why such functionality can be useful. Additionally, I think you'll find that class redefinition is not intended to be something that would ever make it into production. Regard it the same way you might regard a debugger's feature that lets you change the value of a variable when at a breakpoint then resume execution: something that lets you continue with the invocation of a program you have a lot time and effort invested in, say hours worth of computation building up internal data structures, which you would lose if you had to make a one-line change, recompile, and start the execution again from scratch. It's a powerful piece of functionality that should probably be used sparingly, but when you want it, you really want it.

[1] I.e. not frequently recompiling from scratch and invoking afresh each time, but just updating those bits of code you've changed, and keeping the data already built.
You're correct. They're claiming an algorithm to solve an NP hard problem in polynomial time.

I was thinking of "if this paper is a contribution to eventually proving/disproving P=NP...", but failed to express that.
Usually the property owner requires someone to have renters insurance in the US which covers dammage to an apartment.

UK has the same thing and I assume so does the rest of Europe. http://homelet.co.uk/tenants

Includes cover for accidental damage to your landlord’s property or furniture

I'd you mean failure to pay then that's a seperate issue, but does not risk 100+k property.
And therein lies the problem.

It is in the VC's interest to push more and more people to take risky bets - this gives them more horses to bet on, while managing the risk through diversification. For the individual horse (or er, engineer), this still remains a risky proposition.

Which becomes far less risky if before you launch in the startup world, you take a couple of years after graduation to work for a well known and reputed company (say google). That will guarantee a soft landing if your startup experiment fails, which is very likely.
There's also a significant unknown cost from the level of uncertainty surrounding the effect of climate change. It could be drastic, or it could be mild. We don't know, but we're rolling the dice anyway due to inaction.
I don't think anyone would redefine classes as part of the normal operation of a running production system. At most it'd happen during the initial startup.

The obvious case where you'd do it though is during development. Development in CL is generally image based. You start a new Lisp instance, load up the code once, and then just modify the running system by redefining functions or, indeed, classes.

There's a couple of exceptions. One is upgrading a running system without taking it out of service. That's less tempting these days when everything is distributed anyway, but might be relevant for very long running batch jobs that run into some kind of problem halfway through the problem. The other are systems which are effectively configured through code.

And of course class redefinition is a pretty vanilla dynamic language feature. The only bit where CL is special is having a well defined protocol for upgrading "old" objects to "new" ones.
They're targetted at government and enterprise, not hobbyists.
There's something very wrong when you can control the brakes of the vehicle via hacking the infotainment system... :(
Falling ice hazard is highest in the spring, with temperatures above zero and ice accumulated over winter.
This is the reason why the entire push for "Yes Means Yes" style laws and Title IX prosecution is terrifying. At some point it would simply be optimal to record your own surrounding for your own sake, lest you end up as a juicy target for rising democratic prosecutor or attention hungry "Activists". its not the "Surveillance State" americans should really be worried about, but their own DAs and bureaucrats in Department of "Education".
LWN comments are an object of scorn even from purely Linux-oriented developers who present at conferences. It's almost a running joke lately on conference videos on Youtube.
I have to say though that New Paltz and its environs are a place whose loveliness far outweigh the dickish-cop and puking-frat-boy problems. I think if you're white and don't look student-age, you'll mostly be left alone. If amazing nature (the Shawangunk ridge), tight-knit community, lots of small businesses, a tiny walkable downtown core surrounded by what feels more rural than suburban, and vocal lefty-but-not-too-lefty culture mean anything to you, then do give it some thought.

And the locals will tell you where the trick half-mile-long speed limit drops that you'll never notice until you're pulled over are.
On the other hand, I had to write for some software that supported both Oracle and Postgres (many deployments, new using Postgres and old migrating over time to Postgres) and it was a chore. All tests had to be run in both, SQL was 'same but different' with different types, and for perf reasons there was tonnes of hinting, which obviously pg ignores so overall performance was very different.
> Probably going to get downvoted to oblivion but redefining classes at runtime seems like a really bad idea - surely this just leads to undefined behaviour within your type system.

Technically, databases are doing that all the time - at least the more advanced ones like Firebird and PostgreSQL - you can transactionally change the schema, even while the DBMS is running, and you do not expect to lose old data in the process. The data gets even updated lazily. Interestingly, there's at least one database (AllegroCache) that uses this similarity between heap update and on-disk data update to great advantage to blur the distinction between transient and permanent data further still.

> If I pass an int to a method I don't expect it's type to be changed by said method.

"Ints" are immutable, largely even on a meta-level. Most of them (fixnums) in any program are even direct (not pointers), so no mutation would affect any callers as a side effect anyway even if it were possible. At best you can redefine methods specialized on numeric classes.

But I'm still learning these things, I hope I'm not spouting some nonsense here.
I conceed. Some good points there.
Soo... we should be celebrating she is even in the building?
You're right. Century is silly. A tractable algorithm for P = NP would be the single greatest discovery of science. Implications would dwarf gravity and DNA.

(Side note: until scott aaronson says otherwise, this paper is wrong. )
eh you already got hired, I would relax. Its not like they expect you to start and already know everything. Plus, take time to be away from a computer before you are locked into one full time.
Nintendo Wins Patent Case Filed Against Nintendo 3DS and Other Hand-Held Systems
"it's often about picking from what's available ... instead of what's optimal."

That is true and is good life advice. However poorly it correlates with reality, a semi-comical mythology has sprung up that startups are only for young urban white male brogrammer ivy league grads in a handful of cities but only if they have rockstar abilities. Oddly enough an aspect of the mythology is there's a shortage of programmers and no one knows why, which is also pretty funny. Note that every other employee at a startup is fairly average and thats OK, only the programmers are held to this weird standard.

If normal people want to play baseball, then the a marketplace opens based on whats available, and most of us play on parks and recs fun leagues, or the Y, or pickup games at the park. However, the mythology is that The Best Pitcher In The World gets to select what major league team he plays for, and similar individuals are the only important people worth discussing.
From the article...
"I can add that the emphasis on design patterns reflects limited imagination and creativity."

Quite strange that this is mentioned. From my understanding, many jobs out there require a developer to know XYZ in order to hire them. Many jobs place emphasis on a college education. Many jobs incorporate best practices and standards for developing and testing software (or at least strive to). So, why the bad blood for design patterns?

As a developer I see two different worlds -

1) Rudamentary Development - to the book design, implementation, testing

2) Hacker Life - experimentation and unconventional design, implementation, testing

Both has its place in any project. You may need a quick hacker fix for one project while the other may need a well documented/tested approach.

On my end, I haven't really learned much about Design Patterns. That's not to say that its wrong, just never sat down and learn them. I wish I had. I think it will actually improve my skillset and imagination quite a bit. The reason why is that there are things that these patterns may take care off automatically so that the developer can free up their thoughts and energy towards creating new solutions.

Like the old adage from those Kung Fu movies: "Learn everything I teach, then forget them". Meaning, discarding the standards once learned (thoroughly) may lead to mastery and evolution of the subject.
There are many, many objectives for which the F1 rules need to account. Competitive balance is one of them. Providing interesting and relevant technical challenges for automakers and teams is another (and was a major driver behind the recent switch to hybrid engines). In addition to those, you have safety, spectacle, cost-containment, logistical considerations, and about a thousand other goals that need to be incorporated. The FIA takes incredible flak for whatever they do because there are myriad tradeoffs between these objectives, and it's impossible to balance them all in a way that makes everyone happy.
>I've wondered about doing this before for copy protection

Something similar -- using functionally-equivalent machine language instructions instead of synonyms -- was (is?) used by the shareware A86 assembler[1] to detect unregistered use.

From the A86 manual:

A86 takes advantage of situations in which more than one set
of opcodes can be generated for the same instruction. [...]
A86 adopts an unusual mix of choices in such situations.
This creates a code-generation "footprint" that ... will
enable me to tell ... if a non-trivial object file has
been produced by A86.

[1] http://eji.com/a86/
> There’s not always a stark tradeoff between something done fast and done well.

Yes, there is: https://en.wikipedia.org/wiki/Project_management_triangle, and to have both requires more money (resources).

This article also doesn't seem to have been written by an engineer. I'd love to get a more technical perspective on how to move fast.
He was comparing the anonymity and risk factors.

You were looking at regulations, which doesn't really work. Drones/Airplanes and Bikes/Cars are two different beasts. If you wanted a real comparison, look at driving an automated empty car on the road and a car on the road. That would be an apt comparison.
Sweet I'll sign up for a trial at that time! You should add a "contact me when english version is released" form.
I don't know if I can. What do you mean by concrete?

For me, as soon as I use language, it is symbolic. So even if I were to describe the shape of a rock to you, it is still not a concrete example, unless I give you the rock.

Maybe that sounds absurd, but I am being serious. Can you clarify?
For the example you gave in response to my first reply the GPL license would have permitted them to do as they please. No-one forces a license on you, you choose what license your original code is under. If I would like to prevent my code from being taken and profited from that's also my right. The fact that you can choose what license your code is under is freedom. The non-permissive vs permissive license argument is a moot point, because the very arguments supporting permissive also support the right to use a license such as GPL.
Ask HN: Single board computer instead of vagrant
I use vagrant to virtualize my work environment.
However I think it would be cool to have some kind of a headless SBC with a quad core processor (maybe i7) where I could have everything hosted.
This way I would have very good performance and still keep it separate from my main computer.

I have considered using a cloud provider, but i like having the computer on my desk, and also using a cloud host I have to think a lot more about security than if it lives inside our firewall.
> Where are the SAP and IBM programmers?

Probably running the big-ass ERP systems [0] on big-ass IBM mainframe iron on behalf of Apple and Google....their dirty little secret no-one is allowed to talk about.

:)

[0]: https://en.wikipedia.org/wiki/Enterprise_resource_planning
Then find out what your team in particular works on right now, and learn about that.
Electronic Arts DeluxePaint early source code
I can't say what you were trying to do, but I've had to set up SELinux several times, and it's always been a fairly simple iterative process:

1. enable permissive mode

2. test application

3. check audit logs for any complaints

4. if no complaints, you're done. enable enforcing mode and test again.

5. otherwise, evaluate the complaints and fix the issues, either by tuning fcontexts (often, a simple path equivalency is enough if you're installing things on nondefault paths, as is common.) or by creating a custom policy module (audit2allow helps), then go to 2.

It's work you should do anyway. Securing an environment is part of setting it up.
The short version is, if this is correct (which is exceedingly unlikely) then either quantum mechanics is wrong or whether P=NP has just become irrelevant. This is because, as Scott Aaronson is often forced to tirelessly point out, an inability to build a Quantum Computer must also show Quantum mechanics to somehow be in error. If instead, we can build a Quantum computer and this result is true then the universe has suddenly become an incredibly more interesting place (for one example, building this would also solve AI).

The result also has consequences for quantum computation specifically, in that it also takes care of the negative sign problem, which arises when simulating certain kinds of important quantum many body systems.

And last but certainly not least, all those press releases breathlessly proclaiming Quantum computers work by trying a gazillion possibilities at once (with no worries about the plausibility of actually reading out the correct answer with a non-negligible probability) weren't so far off after all.

All in all, either there is a mistake hidden somewhere in the preprint or this is the greatest scientific achievement since Evolution invented Human Level intelligence.

See here for intuition on why NP-complete problems if at all solvable without brute force, should also be efficiently solvable: http://windowsontheory.org/2013/05/06/reasons-to-care-in-hon...
>I never felt like I was being deliberately goaded. At worst, they may have been hoping for me to make a mistake.

That sounds like being goaded.
At a traffic stop, they are asking you questions for three reasons.

1. To find out who you are.

2. To decide if they should give you a ticket or let you go.

3. To try to get you to give them permission to search you and your car, or to get you to say something that gives them probable cause to search you and your car without your permission.

Whether it makes sense to answer a question or not depends on the reason behind that question.

If you refuse to answer the #1 questions, that is your right. They can then arrest you, and hold you until they can figure out who you are.

They cannot arrest you for not answering the #2 or #3 questions, and you should definitely not answer the #3 questions. Even if you never use illegal drugs or engage in any other illegal activity, a passenger may have accidentally dropped something in your car.

If you don't answer the #2 questions, you are almost certainly going to get the ticket for whatever they pulled you over for. If you want to get off with a warning, you have to give the officer some reason to not give you a ticket, and that's hard to do without saying something (especially if you were actually violating a traffic law).
Laughed out loud reading that title. So clever.

I once implemented a steganography system to manipulate the ordering of class files in a java jar file (they retain order therein).

The "distance from alphabetically sorted" was calculate-able as a BigInteger. That BigInteger was encode-able to a text message. Hence, a text message could be hidden in the ordering of the class files (assuming there were some reasonable number of class files - and there usually is)
If you want a debugging tool, try http://rr-project.org/
My App, easymind the first social voting app
I never understood why a guilty verdict is a "win" rather than a truthful verdict.

It really drives home that as far as the justice system is concerned, we all belong in prison.
Can Jet.com Take on Amazon and Win?
Is it not widely known that sharing your salary with co-workers is protected by U.S. law? I get the impression that workers in general feel the idea is taboo or will get you in trouble...
One time after a night drinking in Pasadena I noticed that cops were sitting just down the street from the multi-story garage in which I had parked. I slept in the car for a few hours and avoided problems.
NUKED - reason: stolen from P2P
Is the girl currently being charged? How many years is she gonna spend in prison?

Remember people, "war on women".
Burn your select tags – EpicFEL 2014 [video]
No mention of LIQUi|> (pronounced liquid) in this list. http://research.microsoft.com/en-us/projects/liquid/ MSR claims to have the most advanced / fastest quantum computer simulator.
What are you talking about?!