skysight-inc/HackerNews huggingface dataset:
I'm adding this to my bucket list. This was one of the most memorable books of my childhood.
In the mid 1980s, Microsoft did offer exclusive rights to someone to sell DOS in Japan. The seller did a bad job. The deal had to be unwound after 4 years.
I'm not interested in your irrelevant pet political issue: FWIW, I'm far from an advocate of reflexive govt action or high military spending. Neither of those views warrant misleading implications about tax dollars going to nukes and not social services.
Ask HN: Help me give away 2.5k kids play animal costumes
Hi HN,

I have an interesting problem for you guys. One that has been much harder than I expected it to be. I got into manufacturing kids clothing and was much too ambitious with my factory orders. In short, I have about 2.5K costumes that I need to sell or give away by February (before Amazon’s long term storage fees kick in). Ideally I want to recoup some of my investment so I can this side project going (I now have time to devote to it) but happy to give them away to a good cause.

I thought about donating them because they are high-quality and could keep a lot of kids warm (and kids love them) but I’m looking at 50 50lb boxes for 2,500 costumes. I can’t scalably ship this many to myself and deal with them. Further, my local Salvation Army doesn’t want more than 100. Here’s a few of the links. I can have Amazon dispose them for a minimal cost, but this seems like a waste. Any ideas?

Clownfish: https://www.amazon.com/dp/B0157XI1GO

Wolf: https://www.amazon.com/dp/B0157Y9VDU

Bear: https://www.amazon.com/dp/B0157X7W6E

Reindeer (had a fulfillment issue, now solved): https://www.amazon.com/dp/B0157WOKKQ

Snowman: https://www.amazon.com/dp/B0157WD79G

America superhero: https://www.amazon.com/dp/B0157VOJB2

Sheep: https://www.amazon.com/dp/B0157YG7K0
That might be the chorus when it comes to selling new languages, but there is no reason C could not be compiled with memory safety. It is not done because by the end of the day people don't care for safety much.
I always felt that Objective-C was a great take on a "better C"... Definitely not conceptually better in the ways that Rust is, but simply better for a lot of the practical things where C suffers the worst.

Obj-C was an appealingly simple extension to C from the compiler point of view, but for a long time it was hobbled by the runtime/framework situation, as the NeXT/Apple runtime wasn't open source.

Just as that compatibility hurdle was getting fixed by open source efforts around 10 years ago, the iPhone happened and Apple went nuts with extensions to the language... It used to be that Objective-C proponents would brag that you can learn the syntax in 5 minutes if you know C. Now the language is filled with uncountable double-underscored keyword warts and @ declarations. Today's Obj-C looks more like an intermediate format for a Swift->C compiler rather than an evolution of Obj-C 1.0.

I understand completely why that happened. I just wish that Obj-C had gained more of an open source foothold when the opportunity was there, so it wouldn't have been so dependent on Apple's stewardship which eventually killed it as an independent language.
MS does provide an alternate startup routine that parses the arguments before entering main().
This is a good thought experiment. I'd like to expand on it.

The author points to these items:

- The value they expect to gain for themselves by attempting the attack.
- The probability of getting caught.
- The punishment they expect to receive if they do get caught.

They then make the argument that it's disadvantageous to try to maximize the probability of getting caught or increasing the punishment (items 2 and 3).

Legalizing cybercrime would have some positive effects, for sure, but also many negatives, as discussed.

What if we tried to minimize "value they expect to gain for themselves by attempting the attack"?

Here's a twist, I'd like to consider minimizing that by breaking it down further. There are two important components here:

1. the value
2. the who (the boundary of what's included as part of "themselves")

I don't think it's easy or viable to reduce the value gained, but what if it were possible to change the definition of "the who"?

I look at myself as an example here. I personally have very little interest in harming others. Even if I were in a hypothetical situation where I knew I could do something with low chance of being caught and/or low punishment, I still wouldn't take advantage of that situation. In fact, I would really enjoy being nice/white hat in such a situation. But it's not because the value is low, it's because I consider "myself" as the overall humanity and not just myself the person who's typing this comment. My goal is to maximize the benefit for everyone by creating net positive value. I know that if I could to DDoS or steal money from someone, even if it's risk-free or legal, I still wouldn't do it just because it doesn't benefit all of humanity (even if it benefits myself)... the value as I see it is overall negative (I gain less than someone else loses).

So I wonder if it's possible for more people to look at things that way, where they try to maximize value for everyone rather than themselves. Can we increase people's empathy? But most importantly, if everyone behaved this way, would that actually be better for us, or would absence of selfish behavior and competition be harmful?
Indeed. But my point is that the idea that immidiately presents itself when you think "zero-cost abstraction" is wrong.

>What you do use, you couldn’t hand code any better.

And that will never be true: if you know exactly as much about your usecase as the abstraction, than that might be possible, but that is almost never the case (which was my second point).
I did a bit in the link above
Am I wrong in thinking this will shortly kill Adobe Connect, WebX, Chat Roulette, IRC, every other messenger platform out there?
The traffic mismatch is not due to any filtering by Google. Most people useing some sort of ad-blocking technology have Google Analytics blocked by default, preventing any traffic info being reported.
Fingerprints for PreCheck, but if you sign up for Clear they also get your retina scan. Clear isn't gov't, but in sure they share data.

Not sure what is required for Global Entry
Cyber attack on electric utilities
I make a good standard of living for my location and I don't really ever spend money so I'm saving it for retirement. If I invest it through standard channels then that mainly benefits the 1% because they control investment banking.

I'm thinking that one of the most disruptive things we could do is to invest our money in nonstandard channels. For example, promote systems that solve problems once and for all through research and then place the solutions into the public domain. A handful of engineers working over the span of months or a few short years could automate everything from wifi mesh networks to drone delivery to robotic home gardens. In a very short time we could remove basic need dependency from the system. Kind of like "a penny saved is a penny earned" on steroids.

Once people are not dependent on a system that tends towards wealth inequality, it would give them the leverage to demand a basic income because they could choose to no longer buy the goods and services from which the 1% derives its income. I'm not saying that members of the 1% are bad, just that whatever benefits they bring society will likely be commoditized like everything else when full automation provides cheaper (or free) alternatives.
Heh, by coincidence, I had recently written two posts about DSV, and had mentioned the same TAOUP DSV link you gave above:

Processing DSV data (Delimiter-Separated Values) with Python:

https://jugad2.blogspot.in/2016/11/processing-dsv-data-delim...

The example program in the post lets you use either a "-c delimiter_char" or a "-n delimiter_ASCII_code" to specify the delimiter for your DSV data being processed by it.

and

[xtopdf] Publish DSV data (Delimiter-Separated Values) to PDF:

https://jugad2.blogspot.in/2016/12/xtopdf-publish-dsv-data-d...
Last time CSVs came up I was downvoted without comment for mentioning HDF5.

I know the CLI tools could use some improvement, and a vim plugin would be nice, but are there other concrete objections?
Frankly, the only thing notable about it is that Kevin Rose is doing it. It's a clock. I think it'll age off HN naturally and quickly.
So true. After 25yrs using pcs/unix/macs, I've come to conclusion that it's deliberate on Microsoft side.

They create much more closed, difficult and obscure technology which needs, training, certification and lot of care (services provided by Microsoft).
Much easier solution is to develop a standard for meta-field, which will describe CSV features used. Example:

#!CSV: escape=:\\', quote='"', quotealg='c-like', separator='\t', eof='\n\r', comment='#', encoding='utf-8'
foo bar baz

Such standard (Lets call it mCSV) can be incorporated into existing solutions. Moreover, existing files can be converted from/to a proprietary flavor of CSV to/from metainized CSV.
There was also an encrypted SMS/MMS feature, but that was removed in 2015: https://whispersystems.org/blog/goodbye-encrypted-sms
But the way that you use Option might differ from the way you use NULL, resulting in costs in the implementation that may not exist otherwise. This is unlikely for that exact case, but very common with other abstractions.
I played a ton of games this year, but most weren't released in 2016. Of those that I played, I'd rank them as:

1. Pyramid Arcade
2. Quadropolis
3. Medici (reprint)
4. World's Fair 1893
5. Eko
6. Animals on Board
7. Control

That being said, I own several 2016 games I haven't been able to get to the table yet: Oceanos, 13 Days (Cuban Missile Crisis), Codex, Circular Reasoning, Glux, Santorini, Mechs vs Minions, and Imhotep. All of which I expect could possibly add to or replace something on the above list.
Well, that didn't take long.
Uh, the 84% that does go to services? I should have known that correcting an inaccurate insinuation would only bring out those who are incapable of thinking without their preferred political lens.

If someone says "taxes go to social services" and is responded to with "no they go to nukes" it's entirely relevant to point out that something like 6x the spending goes to services than to the military.

For those of us who aren't desperately trying to pattern match everything into a tired old political script that they have a hope of comprehending: I didn't say anything about whether I think it _should_ be higher or lower.
They're all easy to look up on Spotify, and the article was much better for listening to them at appropriate points.
Have experience using it as a VoIP app. The main issue with it, is that there's constant regressions, with no real stable version.

For example if a new Android device comes out you can run into issues regarding gain and echoing, they also maintain a list of pecular devices which don't strictly adhere to standards (Mostly Samsung devices). So you end up having to upgrade to a later version. Which ends up causing regressions in many other devices which previously had no issues.

I am ofcourse talking about Google's WebRTC. The best thing to a stable version, is the commit hash used in chrome, but they have just as many regressions as any other version. Building it is also a bit of a pain, although no where near as bad as it used to be, but once it's set up it does the job quite well.
What if we legalize guns?

People would live in fear, and crazy people could shoot up schools and movie theaters, whenever they want to.

Oh, wait that's reality in the USA.
I think you're somewhat right. Anecdote != data of course, but here's mine.

Grew up in a rural area, of about 3K people. Lot of farmers, and this was the '90s so lot of broke farmers. (Family farming economically collapsed in the mid '90s and is hard to make work even today).

(Big alcohol problem. County next county over had a huge _huge_ meth problem. Got the impression they were a former logging/mining town, then things got Bad.)

Heard a lot of stories about folk whose pride wouldn't let them use welfare, and some "avoid charity of any kind" people. Kind of folk where it'll be a hard pill to swallow to use charity to feed your family. (They'd do it, but only when things got bad and then only once or twice)

I'm not sure what would happen to these people if you said, "Hey, here's $30,000/year for free (avg income, today, of that area), for nothing, when you broke your back for $15,000/year last year."

It's going to be an interesting day when these people want to work, NEED to work to earn money (because elsewise it's charity, and you've failed as a man (woman?)), but there are "no" jobs for humans. Unless suddenly magically employers start paying good money for 6 hour/week blue collar minimally training positions (so probably not robot repairfolk, although maybe). But this is a dream because (late stage) capitalism.
Oh yeah, great I idea. Now insert sorting somewhere between the pipes and use at least one filename with '"' character. Good luck with your xargs. parallel handles all this automatically, you don't even have to know there might be any problems with escaping here.
Can the Phishing Menace Be Reined In?
> Can we increase people's empathy?

Psychopaths exist. What do we do about them?
I don't exactly understand why you feel compelled to mention it. Is HDF5 a kind of CSV? If so, what is there to recommend it in particular?
On being blacklisted by Google
I'm not a native speaker so 'mental strain' might be a bit overblown expression for this. I'm also from a culture where tipping is not common so for me it's also a cultural difference to deal with.
> Not directly related to your question, but I suspect pigz and gnu parallel would dramatically speed up your current command-line technique, if you are on a multi-processor machine.

I was using pigz :-)

> I presume your cut is required because of other potential row conflicts, so one last thing you might test is the timings of putting cut after the fgrep instead of in front of it. This can be counter-intuitive but might make a difference for you.

The cut was actually bro-cut which is a lot faster than cut. I couldn't use grep -> cut because it would find the value I was looking for in other fields. awk '$5 == 23' or such would have worked, but awk is slower than bro-cut too.

> If you are using sort to do your "count_distinct", try to make sure that sort's temporary files are on a different hard disk from the files you are reading.

I wasn't.. The number of unique values easily fit in memory, so I used a short python program that also counted the frequency of the values.

> Speaking of which, the disks you are reading off of will often be your bottleneck when processing large files through command line pipes.

It's a gigantic freenas box over 10G ethernet, so mostly the time is spent uncompressing the data and ignoring all but 2 of the columns, which is why data stored in a columnar format would be a lot faster.
Woman finds $14.7M in her bank account
What Do the World’s Poor Think About Child Labor?
Silicon Beach dev school's Curriculum
Upvoted. Despite the sibling comment (+ thread) explaining quite well (thank you) about "dread" and "holy dread", that's not something everyone is knowledgeable about, and as such the title can appear to be "baity". Especially as a non-native speaker, as well as someone not into devotional music and its history, this comment was appreciated, and it was what made me decide to read it, which I'm glad I did! Thanks!
Since when was argument passing ever done with DDE? This structure dates back to DOS and starting programs with INT 21h: http://kipirvine.com/asm/articles/ExecChild.pdf

You know, in all these years I've never bothered to find out how DDE worked, having used COM instead, and now I find: https://msdn.microsoft.com/en-us/library/ms648774.aspx and it's a terrifying abomination built on wparam/lparam.

> In this world, the command line, the pipe philosophy and the 'less is more' mindset were not only not welcome, they were the adversary.

I agree that this is Microsoft's greatest heresy and also an effective tool against interop.
A New Softmax Operator for Reinforcement Learning
Goriak: A simple golang Riak KV client with reflection
Self-describing data is generally a bad idea. If you can't get programs to agree on the original document format, what makes you think you'll be able to get them to agree on this meta format?

EDIT: The right solution is the simple one. Follow RFC4180 exactly. Reject everything that doesn't match it.
Where does lineage mean that? I've never seen that definition.
there's also a lot of argumentation in the vein of reading Ender's Game as apology for fascism and in particular the holocaust: http://peachfront.diaryland.com/enderhitlte.html#postscript
> Making the punishments more severe is a poor idea too. We've see again and again people being prosecuted under cybercrime law for "crimes" that shouldn't have been crimes.

This is bad logic, increasing punishments does not necessarily mean more innocent people get caught.
Writing Software is Hard
Case in point:

https://www.youtube.com/watch?v=eiYoBbEZwlk

Maybe we need to use your sharp tools point with that video. It drives the point home with even experienced people losing fingers to their tools followed by tech modified to prevent it. The demo also never gets old. Just too badass.
> Really? I've been assuming that addressing people by first name--even people you've just met--is now the default, at least for the United States and Canada.

Nope.

> I know that it used to be rude to address someone by their first name unless you knew them well.

Correct.

> But I thought that the etiquette has changed completely: First name is fine and last name sounds rather formal. Do others have a different experience?

Outside of school/university it's simply presumptuous. Don't do it.
"Usually" permissions on /proc/$pid/environ are way more restrictive than on /proc/$pid/cmdline.
> Today, people embark on careers in their 20s that disappear in their 40s and 50s. Such a pace of change is distressing. Consider how many people drive trucks for a living. In another generation, that job will be 90% wiped out.

I am having a hard time coming up with areas where careers come and go in 20 years.

Truck driving isn't one, it's been around since the 1930s and only really aggressive predictions suggest its passing by 2030 - which is more than long enough.

It would be more convincing to name careers that had both come and gone, rather than which are scheduled to go soon. But everything I think of is more properly categorized as a sub-type of a larger career. Punch card operators and VB6 programmers aren't tied to those technologies, they are generic computing professionals who happened to use a technology stack which has gone away.

Can you think of any examples of complete career fields which have disappeared?
I did some analysis and think batteries will be somewhere 1-1.5 MWh for tractor trailers. 3 MW would still take 20-30 minutes to charge that. The middle ground isn't very useful as delays on deliveries lose a lot of money. Even an hour long delay cuts into profits. Unless you can charge at .5-1 MW, its not any more useful than just charging overnight.
I've played skee-ball quite frequently and done well using this banking method (as taught to me by my grandfather!). But I'm not sure why it's better. Do you know what makes it easier when banking as compared to rolling the ball straight?
"Guess what language are the patches usually in." Patches are most likely to be in the languages used most in the most popular projects. That's just the rational prior.
Enchanting the Desert: Visualizing the Production of Space at the Grand Canyon
I thought he looked amazing when still and I didn't realize right away what was going on. It was when he started moving his face and walking that it became obvious. There's still a long way to go in making human motion appear more natural. It's still too "smooth" when rendered.
Zero-Collateral Lotteries in Bitcoin and Ethereum
I'm not entirely certain, but I think it was a reference to installing apps from the app stores rather than side -loading.
Netgear Router Login
I am in desperate to be able to log into my netgear router to unblock my device from the router. I've tried using the url http://192.168.1.1/ but it's hopeless. The username and password won't work. Username: admin and password: password. It won't work. I tried using cmd but here are the results:
Last login: Tue Dec 27 13:37:49 on ttys000
Luiss-MacBook-Pro:~ Valerie$ ipconfig
usage: ipconfig <command> <args>
where <command> is one of waitall, getifaddr, ifcount, getoption, getpacket, getv6packet, set, setverbose
Luiss-MacBook-Pro:~ Valerie$

Where is the router's information? How can I log into my router settings? Please, I need help
Yeah, the genre was good for non-standardized things like names and (to a lesser extent) time, but file formats have specs and reference implementations. Refer to those.
> The implication here being that Rust is adequate, I take it?

I think the implication here being that Rust is an improvement. Perhaps not even Rust is adequate, depending on one's needs, but it is at least a step in the right direction.

> Yes, C has no safety. If my code has a hole, it will be noone's fault but my own. And that's the way I like it

This is the way you and so many other C programmers "like it". As a result, buffer overflows, use after free bugs, and other completely understood reoccurring bugs continue to plague the CVE database in the form of new RCE vulnerabilities.

Maybe you're the promised child, the next Buddha, who will usher in a new age of secure C.

> I was troubleshooting some code today

Oh, you're a mere mortal like the rest of us.

Look, I get it, you don't want to give up the "power" of C for the improved memory safety of something else you don't yet understand. But you could really simplify your argument to: "I don't care much about safety, so C is fine." And, hey, you know, that's actually a legitimate argument.

I care about safety. I recognize I am mortal, so I have my code reviewed for mistakes. I recognize my reviewers are mortal, so I apply static analysis, unit tests, fuzz testing, and integration tests to catch the mistakes my reviewers won't. Even these are fallible, so I apply all the latest and greatest mitigation that I can - ASLR, stack cookies, W^X, the works.

If there's a hole, it will be the "fault" of me, my coworkers, the authors of the tools we use, and so many more. This is a step in the right direction - towards how just how I like it. Where one mortal may fall, perhaps a team of them shall succeed.

And yet it's still not enough.
PrivateBin
Little Dots, Big Ideas: Transforming the Humanities with Geo-Spatial Analysis
> I wonder what's meant here. Is it just a matter of rounding or is there more to it than that?

Many colour spaces are non-overlapping, ie. one colour space has colours a different colour space simply doesn't have, so converting between them is often lossy and thus non-invertible.
Sorry, my mistake. I was thinking of Scratch.
I haven't tried them, but I've come across a few libinput gesture drivers:

https://github.com/bulletmark/libinput-gestures
https://github.com/iberianpig/fusuma
Why doesn't the government protect people from cybercrime? You can openly threaten, harass, and slander people with no penalty. You can steal things from people - even from the institutions that are fundamental to democracy - with very little risk of punishment.

It's the wild west; government has abandoned it's responsibility to protect its citizens and institutions, and for some reason very few people object; they accept it as the norm.
Yes for the same story but the point of view is different.
Yes thanks to kickstarter I've enjoyed many board games that I otherwise would not have even heard of. It's offered an alternative path to production thats led to many great games.
The DSL's generate it themselves I believe. Here's Ivory for instance:

http://ivorylang.org/ivory-introduction.html