skysight-inc/HackerNews huggingface dataset:
Flavor: Ubuntu Desktop

Headline: a more up-to-date apt-repository

Description:

I'm tired of having to add PPA:s for when I need fresh copies of software. I've never not needed Latex, Python, pip, Gradle, etc. now for most of these apt-get works fine but not LaTeX, Gradle so for now I have a bunch of scripts that I run, for instance https://github.com/leksak/settings/blob/master/install-tex.s...

I'd look to CoreOS for inspiration on how apt-get could be revamped
I think it's playing on a meme of "Kim Jong Il looking at things" and similar.
I don't understand why everyone focuses on efficiency. (Okay, it makes sense in the U.K. with their combination of high population density, high latitude, and awful weather, but for large parts of the world it doesn't.) Total watts per dollar (including mounting hardware, cabling etc.) is the figure you should focus on.
ClojureScript Unraveled
This might be aggravated by this DKMS bug which was found in v2.2.0.3, which incidentally is used in Ubuntu 16.04 LTS, and maybe other versions. It doesn't remove old initrd files in /boot which lead to full /boot issues and subsequent update problems

I manually removed a bunch of old initrd images the other day.

http://askubuntu.com/questions/616512/purging-old-kernels-fa...

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717584

They've got a bug reported upstream. We need this fixed in Ubuntu
Hi downvoters, I don't understand what's negative about this post. Please leave a comment so I can improve my posting style. Ok thx --falsedan
It does provide the feature of optional typing, as I just said. I spent my formative years developing in a language with optional typing and really grew to like it. I think it's a great concept that has missed the mainstream somehow.

Besides from that the syntax is completely different, being inherited from C.
Sorry if I came out this way, but this is my honest answer - the data is cheap... being a lazy person, for me everything is a risk/reward... $100 to back test any trading strategy I can imagine up to 20 years back is the best risk / reward, much much, better than to go and start trading "for free" on a fancy app on a $500 phone with a "small account" I can "afford" to loose...
Little Boy was 0.7 gram mass equivalent, Fat Man was 1.0 gram. So you are looking at almost three times Hiroshima or two times Nagasaki.
They don't, or shouldn't have to. Brokers that offer generous margins do something typical brokers do not - they auto-liquidate when you fall below minimum maintenance margin. Most retail brokers would give you a friendly phone call and let you liquidate the next day or so.

Next, forex markets are so heavily traded they have a virtual guaranteed stop. That is, if you set the order you will get it filled no worse than that price.

The only way a broker gets hit is a sudden currency drop, like the Swiss franc did a few years back.
The US Navy uses much of this as well. For example, here's an aircraft carrier launch from inside the "bubble" (the control area that actually triggers the steam catapult). The officer repeats the mantra aloud for each aircraft and points at the people he's checking. If you watch a similar video taken above deck you can see each responsible person point at the system they are monitoring before giving the thumb's up.

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

The comments have an explanation of each phrase in the mantra (e.g., "104 set match" refers to a steam power of 104 (units unclear) and that it matches the board for cross-checking).
I always saw GPD's devices as the natural progression of the Pandora:

https://www.newegg.com/Product/Product.aspx?Item=9SIA3525789...

GPD Win Game Console is the World's First 5.5 Inch Handheld PC / Gaming Console Based on Windows 10 System. Equipped with a 5.5 inch capacitive touch display that supports 1280 x 720 pixels. Powered by Intel Atom X7 Z8700 64 bits Quad Core 1.6GHz(up to 2.4GHz) processor, and 16 units Intel HD Graphics. Besides, it has larger storage (4GB RAM and 64GB ROM) for your using, all features provide you wonderful gaming and using experience.
That's the case for Pragmata Pro which this font was 'inspired' by.
Syncing does not need cloud features built into a password manager.
Whenever I need to remember to do a one-off thing in the morning, I just leave my car keys next to (or under) something that will remind me. That way I literally can't leave without remembering to do it.
Or it's just silly and the people working there like to have a little fun like everyone else?
At this early hour, I miss high quality desktop apps with low-latency user interfaces. And high density. And a consistent look in all applications.
It's too bad this targeted a language that's actually useful, as opposed to something like brainfuck. For me the joke fell flat because of it. I would've loved to see this kind of investment – alas, such are the follies of this day.
The sad thing about this joke is I kinda miss this UI ...
Please cite the exact flaws of the experiments that claim to show the existence of antimatter.
In the spirit of highlighting other, non-Clojure, lisps to look at, I'll mention Racket.

Compared to Clojure:

- Not hosted (on JVM)

- Similar disposition on nudging you toward functional programming

- Less syntactic sugar (some of Clojure's sugar I find nice, but is divisive for some)

- Older

Compared to CL:

- One canonical implementation. This is good (consistency) and bad (choice, variety)

- More biased toward functional programming than CL

- People seem to think Racket's macros are more powerful than CL's, but I'm no macro-master

- Package management (raco) feels much more pleasant, subjectively, to me.

- Develop in Emacs or DrRacket; the latter being a pretty decent IDE for newcomers and others who'd haven't seen the true light of Emacs.

- Newer, feels newer

I started carving off small chunks of time a few years ago to try and hear the music of the spheres everyone talks about with lisps. I started with CL, then tried Clojure, and have mainly been dabbling in Racket these days. Subjectively, Racket has been the best beginner experience by far. As for hearing the music of the spheres, I'm still waiting.

EDIT: I forgot Rackjure! Racket is also a framework for building new languages (languages that are compatible with Racket, generally). Rackjure adds some of the Clojure-isms to Racket and seems to be used by a number of packages

Also, Typed Racket is another such variant of Racket that uses types for safety and performance reasons.
spectacles testicles wallet & watch (originally a joke about the sign of the cross, but it's how I remember everything when I leave and also some fun blasphemy for the whole family)
Yup, all done in HTML and CSS!
Especially with somewhat-diversified assets like SPYders or index funds.

At least, it's worked reasonably well for me for the last 20 years.
I do the almost the exact same thing, minus the pad. I repeat "keys, wallet, phone" (in that order) as I touch each one when I'm leaving.

Bonus, when you get into a good enough habit of doing this, you even do it automatically when you're drunk.
Thanks. I'll look into that.
I liked the appearance, but it felt "wrong" to write OSS code using a closed source font. I understand that many will disagree and I'm fine with paying for such things. If nothing else, it meant it would be a special snowflake I'd have to install on my system instead of adding it to the list of packages I just install everywhere.
On the other hand, if you're looking directly at a vehicle and _pointing_ at the vehicle, you're more likely to actually _interact_ with the driver of the vehicle if they're alert. If they point back, you know they see you. If they don't, did they truly see you or do you just assume they did? Now you're more alert than you were before.
Any? Certainly. How much I would not want to say — my opinion is that UKIP created the dissatisfaction that they fed upon for votes. But that's just opinion.
Calendaring gals too.
I'm confused. You had a good time with C but trouble with shell? I was strongly under the impression that 90% of Unix shells were strongly inspired by C semantics. Return codes, quoting, strings in general, etc. You maybe could even try csh if that was better.
Here are a couple of thoughts:

- I used to spend a lot of time stuffing things into variables and then trying to operate on those, which is how you do things in imperative languages. Shell is better thought of in dataflow terms, i.e. pipelines. So I started using pipelines more and more.

- The corollary is that you start thinking more about data (passing between pipeline stages) and less about control flow.

- Compare an if statement in C, for example, to an if statement in a functional language. In C an if statement has no value per se, but in functional languages if "statements" are actually expressions that have a value:

f :: A -> String
f x = if isFoo x then "foo" else "other"

In shell an if statement is just another command, so you can do things with its "value", i.e. its stdout:

if do_test
then
cat file1.txt
else
cat file2.txt
fi | grep pattern

Because I was so used to thinking of if statements as just control flow, I never used to think of piping them to another command like that.

Also if you think carefully, that last pipe to "grep pattern" has the flavour of partial evaluation in functional programming.

- I tend to think more in terms of building up an execution environment these days, in the same way that lexical scope works in regular programming languages. In shell, of course, that means command invocations, sub-shells, etc., because the shell doesn't really have good lexical scoping. The simplest example I can think of is executing some commands in another working directory with a sub-shell:

(
cd $dir
run_test > "${f}.log"
)

You could compare it to RAII in C++ or with- style macros like WITH-OPEN-FILE in Common Lisp.

Those are just some examples.

EDIT: Also, have a read of the links in chubot's post: https://news.ycombinator.com/item?id=14012453 . That's the sort of mentality that will change your approach to shell programming.
That's very nationalistic and disingenuous of you, to hold an individual citizen accountable for their country's political failings.
I think here the main issue was that the company hired programmers without any kind of actual technical screening. It kind of seems quite likely that in this case they would end up hiring developers, that they would come to regret later.

Questions like what you code for fun or what technical sites you browse are all fine as supplementary discussion points, but they are in no ways going to be indicative of whether the person knows how to code, unless you actually ask them to code.
I do this (subvocally) when hopping between dev and prod. "I'm looking at production. I'm checking this query is the one I think it is. I'm running it now. I'm closing production."
As I finally decided to move away from LastPass (giving Enpass a shot) and tried to delete my account, I noticed in the advanced settings that the option "Keep track of login and form fill history" was automatically turned on. This may be just to show you the "most recent logins" in the app, but nonetheless I think this setting should've been a bit more easier to access
> That's just the definition of an antiparticle - same as the particle put opposite charges.

Well, a bit more is needed. If a particle has no charge, then it is possible for it to be its own antiparticle, but it is not necessarily so. The photon is neutral and is its own antiparticle. The neutron, on the other hand, is neutral but is distinct from the antineutron. It is still an open question whether the neutrino is its own antiparticle.
Best of April Fools by Tech Companies 2017
It's a form of reinforcement. We've all seen flight attendants going through pointing drills during a safety briefing before takeoff. Pilots do this too when walking the ground for preflight checks.
CERN claims to have created anti-hydrogen atoms in 1995 [1], and Fermilab confirmed the claim shortly after by doing the same thing.

You're perfectly free to doubt these claims (for whatever strange reason), but doing so would be pretty arbitrary, unless you consistently distrust the entire scientific establishment, in which case, your "bullshit detector" is badly broken because it keeps reporting too many false positives and needs to be retrained.

[1] https://home.cern/topics/antimatter/antimatter-cern
I used to have a doormat that said "mobile phone, keys, wallet" (in Swedish) https://s-media-cache-ak0.pinimg.com/originals/7f/58/df/7f58...

These days I just tap my pockets. I freak out if I do that check when I happen to be holding onto my phone or keys
Doesn't this only work for PPAs that are in Launchpad? And doesn't Launchpad have extra limitations that third-party repos don't?
Another quote from the article:

> According to MTA spokeswoman Amanda Kwan, conductors were quick to adapt to the new system, and within two years of implementation, incidents of incorrectly berthed subways fell 57 percent.
#1 is absolutely the biggest one for me and #3 is a solid second.

I have a Macbook Pro with retina and stopped using linux simply because I couldn't get a good resolution on my laptop and monitors. And then when traveling (flights etc), ubuntu chewed through battery probably 3 to 4x as fast as OSX so I wasn't good for that either. As a result, I have been on OSX for a couple years now but would love to be back on ubuntu some day.
Simulation is not an experiment. Everything which involves a probabilistic calculation is not an experiment but a simulation.

But go ahead, which experiment confirms existence of antimatter?
Forgot it is 4/1. Time for my annual day off of social media because of stupid things like this.
Douglas Engelbart: Mothet of all demos
Theory: Any task benfitting from this can be fully automated without a very intelligent program.

In the meantime, let's swallow our pride and do this, seems like a good idea.
Show HN: Dial-A-UPC – A barcode telephone directory service
int f(int x, int y) {
return x << y;
}

This is undefined for SOME values of y, namely those bigger than 31 (on platforms where int is 32 bit; adjust where different).

This is caused by two facts:

a) The arithmetic operation should be compiled to a hardware shift instruction where possible

b) Different architectures do different things when shifting by an amount bigger than the word size:

- on ARM, the "y" operand is evaluated mod 32

- on x86, if y is greater than 31, the result is 0
> western nations hardly place anything over greed and capitalism

That is... more or less what the GP said:

"we western nations place our greed and capitalism over our morals"
K-Means clustering and Elbow Criterion
Redesigning Recurrent Neural Networks
Iosevka is my default font in visual studio. Actually it looks better with clear type than pragmatapro and Input fonts.
Like clash [0]?

[0] http://www.clash-lang.org/ ?
You can't let go of the American upper middle class conceit that you are your job. Many people find meaning, worth and dignity outside the workplace.
"Stock Symbol, Date, Open, High, Low, Close, Volume"

Sounds like fun for those that like technical analysis.
What are your opinions with this type of authentication
When looking for something I use my phone's torch and point on the floor. Last time I found back a little magnet lost by my kid in the 50 metres of alley to our place. So yes I guess it works to force the mental focus.
apt-add-repository is not installed by default.
In Cycling Proficiency lessons in the UK in the 1980s we were taught to point and say our intentions at roundabouts and junctions.

I still so and it often earns a wave of thanks from drivers. I assume that forcing the subconscious lip-reading onto the drivers is part of the 'connect as humans' psychology
Bus drivers and taxi drivers do it sometimes too (depending on the company), so probably he's a professional driver who just thought it was a good idea. I won't speculate on what he was saying, though.
If you search for the "File Management" section in this doc, you can see an example of what he's talking about.

https://media.readthedocs.org/pdf/idris/latest/idris.pdf
What you just said introduces a bit of a conflict with your claim that strategy is important. Sometimes you need to take calculated risks (i.e. always be reasonable, don't lose all of your assets, don't get addicted) and 'lose' money to learn how to make more money.

I think it is very noble of you to weigh your needs against the needs of others. Charity and how you should exercise it is a very interesting subject, and there are many many ways to do it optimally. See Givewell, Watsi, Mindsmatter etc. Since you are reading this, I assume you are doing reasonably well in life, so, and this is my personal view btw, you do need to give something back to those in need. However, don't let that prevent you from investing in your own education - it will very likely enable you to do more.
They did spend a fortune marketing Java when Smalltalk was poised to be THE new enterprise language.
I know this is just a bunch of kids taking the piss, but little things like this make a boring day working on the train a bit happier. Thank your local transit workers if you have them.
This is the same as they do for climbing. "on belay" and so forth. I think it's also like trigger discipline for firearms, in the broader sense of developing habits that make accidents less likely.
Git commit murder
Was this written by an AI?
I've lived in Japan off and on for a number of years. "Pointing and shouting," and other similar gestures, are used all over the place. I typically heard it referred to as "yubisashi kakunin," which basically means "confirm by pointing with your finger." I've seen elevator attendants do it when operating the buttons, and cashiers will verbalize the counting of change, and hand it back in a very animated way, which I believe is the same sort of thing.

Where I live, I think a company would have to really work to get their employees to do it, but in Japan, it seems to have become a part of the culture. My wife, who is from Japan, does it while she's cooking to make sure she hasn't left anything out.
Could they put anymore ads on that site ;) but funny
...Plus anything metal on/in you would be violently ripped out. This would make the fields used for a typical MRI look mild by comparison.
I agree on both counts. My first experience with shell was the fact that 'foo=bar' works for assignment but 'foo = bar' doesn't. Surely that must be a mistake! Why would anyone design such a silly language?

I got past all of that, and I also see people struggling to accomplish things that can be done in 30 seconds with shell. My main language is Python, and for certain tasks it just can't compete with shell. Believe it or not I think I once wrote a Python script to do what "find | sed -i" does.

Now I'm back in the "who would design such a silly language" mindset, and I am designing and implementing a new shell. You might like some of my blog posts:

"Pipelines Support Vectorized, Point-Free, and Imperative Style"

http://www.oilshell.org/blog/2017/01/15.html

"Shell Has a Forth-like Quality" http://www.oilshell.org/blog/2017/01/13.html (on HN previously)
You more or less answered your own question. The very fact that they are able to misinterpret the standard is sufficient proof that the standard lacks a clear and complete semantics. If the standard were formalized, it would not allow misinterpretations.

Think of simple mathematical equations: you can only misinterpret them if you don't know enough mathematics, the equation itself allows only one meaning.
Ask HN: What are some good blogs/books on positioning yourself as a developer?
One of my favorite blog posts is by Patio11 where he talks about how you should position yourself as a programmer (i.e help the business make more money)

The blog post can be found here http://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-programmer/ which goes into various details of why you should not call yourself a programmer.

Does anyone have any more books on the topic?
My experience with Tokyo (I only visit about once a year, live in Kyushu) is the trains there are always off-schedule due to "accidents" :/
Ubuntu Launchpad bug here regarding DKMS leaving old files to fill /boot:

https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1515513

You can add yourself to the list of people affected to increase the Bug Heat and get this issue fixed.
My bullshit detector is quite simple actually. When I see a mathematical simulation (a probabilistic model) instead of a directly observed and measured natural phenomena we probably dealing with a socially constructed bullshit.

It is the same kind of crap as CDS or any other modern sect but in theoretical physics - the way to earn a decent living by bullshitting mere mortals.
Trying ASP.NET Core on the Google Cloud Platform App Engine Flexible Environment
In Japan they might be a little delayed. In Boston the trains just don't come at all. One time I was stuck on a train for four hours because a switch was frozen (normally a 40 minute trip).
Robinhood's average account size is much smaller than the traditional brokerages, so they're not making much (if any) per client. I don't know if waiting for your clients to get rich is a viable strategy these days because these clients might jump to better options in the future.
I sympathise, but I seriously recommend looking at the UK government's attitude towards encryption and privacy before you jump here. They mean well, but… well, the support material for the IP act reads like their understanding of the internet hasn't changed since 1998.

Part of the Investigation Powers Act is that particular ISPs will be required to store an unspecified dataset related to your browsing history for 12 months, and that they have to keep secret the fact that they are doing so.
I get tuning out on 4/1, but what's stupid about this? I think it's kind of neat.
> the code quality should be decent

Using LLVM requires that your code is in pretty decent shape before it goes in, really. LLVM is great for replacing your own actual instruction selection, scheduling and assembly, but you can't generate LLVM IR naively from a high-level language and expect LLVM to do anything sensible with it. You seem to basically need a language-specific IR and optimisation passes before you start to think about emitting LLVM. See Rubinius - it implemented a Ruby JIT using LLVM and is often slower than the standard Ruby interpreter!
No the author Richard Eng has been doing a ton of short marketing blog posts trying to get more attention for the language and appears to have an April Fool's sense of humor. He's also been talking about Go a lot which is very different than Smalltalk in all but the simplicity aspect.
I'm a greaat developer, but a terrible sysadmin. I just don't have the mentality for it. I can pick up pieces, and I know the hardware, but I'll never me a good sysadmin. I have a lot of unix experience, but setting up my own laptop is always a beast of effort. I don't want to ever setup a continuous integration systems with source repo. I'll make a mess of it.

However, if you haven't had networking experience in college, you went to a terrible program. I had exposure to networking (at Cal) in 3-4 classes.
The biggest issue I've had is with engineers with strong opinions strongly held. A lot of time they're unwilling to compromise and do things their way 100% of the time.

Recently I had an engineer on my team who would never pattern match in a project. He would always introducing new patterns everywhere he went. It was all just an unwillingness to be flexible.
RE S-Algol, it actually stands for St Andrews Algol. I developed a javascript transpiler as my final year project (2016) which is incomplete but there are some working examples here: https://goo.gl/TjbwML .

I found the project fascinating. Of course this a completely different language to Idris, the only real relation is that it was also developed in St Andrews.