skysight-inc/HackerNews huggingface dataset:
Similarly, lowest voltage ever to kill someone was 48V.
Switzerland is also tiny, making travel time less of a concern.
But when it matters, boy are the consequences dire.

One example: you work for the American government, and you witness something very wrong, very illegal going on. You'd better be sure, when contacting Laura Poitras, that you are indeed contacting Laura Poitras, and not some counter-intelligence operative from the NSA.

And it has to work even if you don't have Ed Snowden's skills. Without reliable crypto the rest of us can use, people will get caught, arrested, tortured, killed blackmailed… just for speaking up.

Maybe we don't want reliable crypto to be widely available. Maybe we want to have mass surveillance. But that's another debate. (Personally, I'd rather have everyone to have reliable crypto, and I'm willing to make wiretapping impossible in the process.)
I've never really understood why those particular 5 design principles became a sort of "top 5". Then I grokked dependency inversion and it really changed how I write code.

> And reading some more about it, I found this good article: http://qualityisspeed.blogspot.com/2014/08/why-i-dont-teach-...

That article bashes (among other things) IOC containers and mocking frameworks. I absolutely hate Spring IOC and mockito. But dependency inversion is not dependency injection. It wasn't until I got sufficiently fed up with Spring being everywhere in my Java code that I figured out how to hide Spring as an implementation detail.

This is where I ended up: https://sites.google.com/site/unclebobconsultingllc/home/art...
Same thing here. Sold my 2013 MBP and bought a Thinkpad X1 carbon. After a year of frustration, bought a used 2013 MBP.

Windows is somehow worse than it used to be. There's two control centers for some reason. Much more notifications and intrusiveness. Taskbar auto-hide doesn't work consistently. Updates install without permission. The big thing is the apps. Apps are getting much less functional (just like how the Settings app does a fraction of what Control Center used to do.) OneNote is a great example: the UWP version lost so much functionality compared to ON 2016, but the latter has been abandoned.

Weirdly enough, I never found a good PDF viewer. Acrobat DC is a slow and a battery hog. Edge/Chrome are non-functional (don't handle search properly on many PDFs). Many alternatives are .NET based on battery hogs. Moreover, since Edge/Chrome won't let you use a PDF plugin anymore, the workflow is completely broken. (Download the PDF then open it in a separate app.) I never thought that Preview would be the "must have" Mac app.

Oh, and the trackpad! RDP from a Mac into a Windows terminal server is a better mousing/scrolling experience than native windows on the X1 (which has an MS Precision touchpad).

Oh, and power management was real hit-and-miss. Sometimes I'd get a full 10 hours, and sometimes, under the same workload, it'd be like 6. The synaptics touchpad comes with a driver (even though it's supposed to be an MS Precision touchpad) that had some helper utility that would randomly go crazy. (If you killed it, it would restart automatically. Deleting the binary fixed that, and had no discernable affect on mouse behavior.)
I don't disagree though. Even though in much of my work performance is usually not a concern, I still run into plenty of situations where it really is. But I run into more situations where I probably spend more time optimizing when I don't need to. YMMV, obviously.
I still haven't seen that math work but am intrigued by the idea as too many people are being left behind today let alone as automation continues to proliferate.
Perhaps you got the "disgrace version" of GT 1030 with slow DDR4 in place of GDDR5? [1]

[1] https://www.gamersnexus.net/hwreviews/3330-gt-1030-ddr4-vs-g...
Well, it's both really. That's what makes it special.
In a sense it is the perfect example of "clear is better than clever", or perhaps "explicit is better than having buggy edge-cases"
> Phoenix is faster than Rails, however Ruby is faster than Elixir when doing CPU intensive tasks. Like parsing text.

What is your definition of slow or fast?

For example with Elixir it was possible to generate 5,000x random 19 character codes in 3ms on a 5 year old i5 3.2ghz desktop workstation. I don't know how long it would take with Ruby but for such a text / CPU intensive task, I'm quite happy with the performance.

Also parsing templates with EEx is ridiculously fast, because it's not treated as a string.
"rip off Java" - you do know where C# came from, right? Microsoft mated Java with something during the dark of the moon, and C# was the unholy offspring. Seriously, C# was a near close of Java, because Sun sued Microsoft over compatibility: https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis... . - See the Examples section.
Yeah. Second this. Apple is useless for machine learning. Get anything that can legit run CUDA and has Linux on it.
Google Inbox, Gmail is still not there.
>> As a consumer I can buy gold leaf for around $10 per square meter.

That leaf is probably an order of magnitude (if not two) thinner than your kitchen foil.
Interestingly, this is the mechanism by which the Astroid may actually make all of us richer.

It will require inventions and new technologies to successfully mine the asteroid, and those will give society access to vast new resources.
surprisingly a lot of the people there actually care about science and some people care about teaching
~20yrs Windows user and die-hard anti-fanboy of Apple, I'm almost considering switching to a Mac as the next corpo laptop (if not for unergonomic Mac keyboard layout and different shortcuts for everything, I'd have done it already).

While I'm happy with my personal Thinkpad, being nearly the only front-end guy on Windows sucks (missing out on various tools, and regularly having to fix slightly broken scripts etc.).

But above all, my corpo Dell is a misery (current status: malfunctioning audio drivers hence all audio sounds like 32 kbps crap; issues with external monitors when replugging laptop to the docking station; cherry on a cake is laptop going berserk while presenting at a conference, due to loose RAM; there's an issue like this every few weeks lately).

Current Dells have much better battery and are half as heavy as the previous generation, but I still wouldn't buy a Dell for myself, and sadly those are still the default Windows corpo laptops.
What on Earth Happened to Fortran?
This honestly seems like a pretty good compromise if it works out like you have described it.
Similarly, probably the main reason I really like JS... I can apply different paradigms to different areas of code where a given approach makes more sense in terms of understanding or cognitive overhead. JS debugging is relatively nice as well, though in some cases the tooling leaves a bit to be desired.

When I'm in C# by contrast, I often get irritated that I can't just have a couple functions that I can reuse, no, I have to create as static class, ideally in a namespace and do a bit more. I do try to minimize the complexity of my classes and separate operational classes that work on data, and data classes that hold values.
It's definitely true, though likewise, it's expensive to use locks in such places too. The main idea with Pony's runtime is that contending for an actors attention will certainly incur costs but independent pairs of actors should not, even during GC.

I also glossed over the I/O system and back pressure support which make the above discussion a bit more nuanced but my goal was to lay down some form of intuition around thinking in terms of progress in a system as a guarantee of the concurrency model.

Empirically speaking, there are real limits to what hardware will hide and plenty of room for leveraging knowledge of the system as a whole (esp. the memory model) rather than sticking to one set of abstractions. Pony is no exception here, though the co-design of various features might make that less necessary than it might be in other systems with similar properties as it matures.
I see this tool places a filetype signature in the first four bytes of each encrypted file. Doesn't this hurt plausible deniability?
Sure you know what `sum` means, and maybe even what `product` means.

`sum` is applying `add` repeatedly to a list.
`product` is applying `multiply` repeatedly to a list.

The thing is most people use `+` instead of `add`.

Also why use two different things for `add` and `sum`?

How about we use `+` for both `add` and `sum`, since they are basically the same thing:

1 + 2 + 3
[+] 1, 2, 3

While we are at it, let's make it so you can also do the same for `multiply` and `product`:

1 * 2 * 3
[*] 1, 2, 3

Or perhaps even make it so that you can use any associative infix operator:

1 ** 2 ** 3
[**] 1, 2, 3

1 < 2 < 3
[<] 1, 2, 3

(1,2) ⊆ (1,2,3) ⊆ (1,2,3,4,5)
[⊆] (1,2), (1,2,3), (1,2,3,4,5)

0 || 0e0 || Nil || 1
[||] 0, 0e0, Nil, 1

I'm sure you know what exponentiation means, but do you know what word you would use to mean repeatedly applying it to a list?
(If you know please tell me, because I sure don't.)

---

After you learn what `sum` means, you still have to learn what `product` means.

However once you learn that you can put any associative infix operator between `[]` and have it apply to a list, you've just learned one thing that is really both of the above, and also many more things.

This makes it quick to learn Perl6. You learn about one thing in one place, and that knowledge applies to everything everywhere.
(This is true about almost every feature of Perl6.)

---

If you really don't like the syntax, you don't have to use it.

# alias the `+` infix operator to a subroutine named `add`
my &add = &infix:<+>;

reduce( &add, 1, 2, 3 );

---

I would like to point out that this higher-order feature is basically the same one that allows `+=`.

my $a = 1;
$a += 2;

That is because `=` is a meta operator. Meaning it can take an infix operator as a sort-of argument.

sub infix:<IOP> ( $l, $r ){
$l + $r
}

my $a = 1;
$a IOP= 2;

$a *= 1;
$a /= 2;
$a max= 10;

I just taught you a second thing that you can now use for most infix operators.

What's more, is that you might have figured out that infix operators are just subroutines with a special name. I didn't even really mean to teach you that.

---

I mean sure a novice is more likely to know what `sum` means.
But they have only to read this comment to learn a much larger chunk of Perl6.

Frankly I want newcomers to Perl6 to be confused about `[+]`, because then they are more likely to come to a place where I can quickly teach them everything above.

(Teach a man to fish and he eats for a lifetime. Teach a man to use a net and he can feed his family.)
Uber and Lyft Use AI to Improve Ride Experience
My environment requires mostly access to several Windows Remote Desktop Servers and VDIs.

Curiously I use a Mac to access them because the Microsoft Remote Desktop for Mac has some niceties such as opening each RDP session in a new Mac Desktop and best of all I can very conveniently navigate from RDP session to RDP session with a Mac hotkey.

With Windows Microsoft Remote Desktop the whole RDP session switching experience is pretty cumbersome.

So I do all programming and LOB apps use on Windows RDP sessions.

On Mac only Internet browsing and RDP session management via Microsoft Remote Desktop.

So my iMacs are mostly thin clients.
I have not used my computer sence The april 2001 big crash, i tested to instal on Windows differrent Linux but it swollow to mutch memory and that ended The story as a Great User
Well, it has happened like this with TLS certificate validation. In theory, apps can use the system cert stores and you as a user can install custom root CAs if you want to find out what an app is actually sending. In practice, many apps have pinned certificates embedded to prevent that.

> it's just too complicated to be worth it

That's the point. It's complicated and costly today if you have to design your own protocol, run your own DNS proxy and be the target of outrage if someone finds out.

It won't be if DoH normalizes application-specific DNS servers and provides an ecosystem with infrastructure and tooling for it.
> In the course of the spring, YouTube drafted a new policy that would ban videos trafficking in historical “denialism” (of the Holocaust, 9/11, Sandy Hook) and “supremacist” views (lauding the “white race,” arguing that men were intellectually superior to women).

Cool. So YouTube will force that group of people off their platform and magnify the intensity of their echo chamber in the process.

To many of those "problematic" videos other people have created detailed responses explaining why they are misguided. Now the other group won't see those rebuttals because they're on a different platform.

Thanks to what passes for a "good" recommendation engine nowadays people are already mostly subjected to content they already agree with - instead of content that might challenge their views and make them a better person.

This will continue until nobody's opinion is challenged ever (and doing so won't be socially acceptable in any case). I hope to never see the kind of society this leads too, but I fear we might be entering the endgame sooner rather than later.
I think many people and teams (myself included) have pretty poor self-knowledge. You should aim to create the best product you’re capable of. Most people either over or under estimate that, and they’re left either never delivering, or spending the rest of their lives complaining about technical debt.
I'm in a similar situation, but I'm pretty sure that when my 2015 MacBook Pro dies, I will still be unable to find a Windows notebook with a comparable touchpad. Running Windows on my gaming desktop is tolerable, subject to the caveats you've outlined. But even with great software, Windows notebooks are still handicapped by poor hardware interfaces. I realized recently when I got a new Windows notebook for work that touchscreens exist and are popular on Windows notebooks because they partially compensate for the horrible touchpads. On my MacBook Pro, I still feel no need to augment the touchpad with a touchscreen.
That's not privilege, that's power.
IIRC many (most? all?) German companies have labor representation on the board of directors.
I don't know if that's entirely fair- orchestras have always been quite overwhelming to the senses, as have choirs and organs, IMO.

But those were rare, special events which people went to a lot of trouble to attend. Between those orchestral performances, people had to make their own music. Contrast that with today, when orchestral music can be background noise somewhere, accorded no special value.
Never meant to imply otherwise :)
> can't the city host it's own website with forums and everything

Of course it could... but with tight public budgets it would likely be implemented so poorly as to be useless.
> this criticism could just as easily be applied to AES

Not really, because the pitfalls in AES are more well-known. Moreover, there are widespread AES-modes that work pretty well. Really, once you have picked a mode of AES (besides ECB) the biggest pitfalls are 'only use a nonce once' and 'use HMAC (MAC-then-encrypt) if your mode isn't authenticated'. With AES-GCM, that last one drops off. With AES-SIV the first requirement drops, and AES-GCM-SIV has neither consideration.
Granted, AES-GCM and similar are not trivial to implement, but given there are test-vectors it is harder to accidentally publish a faulty version.

Moreover, much fewer people actually know how AES works. Especially compared with the amount of people who could essentially implement primitive (insecure) RSA from memory. This comes with many more attempts at RSA. Essentially because the distance between the insecure primitive and the secure systems using RSA is so incredibly large.
You can use external GPUs
Your right, I think I was wrong. They made a few similar mistakes, but what I described might be wrong.

They did not allow a digit in the key to repeat in the same position 2 days in a row, I just reread. If the key was "123" yesterday, it could not be "145" today, because the first position was unchanged.
Some classic rants and raves of the recently trying-to-do-better Linus Torvalds come to mind!
Guidelines sure, but programmers are extremists.
I think Maria Popova from Brainpickings expands on this topic pretty well: https://www.brainpickings.org/2015/03/16/boredom/
> That anecdote seems to be a story that was just made up.

It's true, although they changed the medium: https://news.ycombinator.com/item?id=19960342

> James Clear reached out to the authors of Art & Fear and this is his footnote: https://jamesclear.com/repetitions

> This story comes from page 29 of Art & Fear by David Bayles and Ted Orland. In an email conversation with Orland on October 18, 2016, he explained the origins of the story. “Yes, the 'ceramics story' in Art & Fear is indeed true, allowing for some literary license in the retelling. Its real-world origin was as a gambit employed by photographer Jerry Uelsmann to motivate his Beginning Photography students at the University of Florida. As retold in Art & Fear it faithfully captures the scene as Jerry told it to me—except I replaced photography with ceramics as the medium being explored. Admittedly, it would’ve been easier to retain photography as the art medium being discussed, but David Bayles (co-author) & I are both photographers ourselves, and at the time we were consciously trying to broaden the range of media being referenced in the text. The intriguing thing to me is that it hardly matters what art form was invoked—the moral of the story appears to hold equally true straight across the whole art spectrum (and even outside the arts, for that matter).” Later in that same email, Orland said, "You have our permission to reprint the any or all of the 'ceramics' passage in your forthcoming book." In the end, I settled on publishing an adapted version, which combines their telling of the ceramics story with facts from the original source of Uelsmann’s photography students. David Bayles and Ted Orland, Art & Fear: Observations on the Perils (and Rewards) of Artmaking (Santa Cruz, CA: Image Continuum Press, 1993), 29.
Just says in mice...
Same here. They should set a minimum FedCore wage and each county, not each state, sets a CoLA. So the local min wage would be FedCore + County CoLA. CoLA would ideally be the one of the residence of the worker.
Reading in other threads, it seems there are amateur bands that do allow for encrypted transmissions, correct?

In any case, it seems like a lot of the suggested use cases could easily be unencrypted digital messages with a crypto signature part for confirming the sender to control systems.
Perl 5.26.3, Ruby 2.6.3, Rakudo Star 2019.03.1 all running on OS X 10.12.6

use v6;
for 'logs1.txt'.IO.lines -> $line {
say $line if $line ~~ m/<<\w ** 15>>/;
}
Not really, the robot uses it in the sense that the machine learning algorithm will detect cabbages and tell if it's ready, and that information will be used by the robot to perform harvesting.

Of course, you can have end-to-end control of the robot via machine learning (they seem, for example, to use another camera for blade control), and at this stage you could be right but in the robotics community we always say that a robot uses machine learning, not the other way around.
Idris 2 programming language announced
Everything is possible in a world of "ifs".

In reality, you have a shit-ton times more bandwidth available via terrestrial (fiber) networks than RF spectrum could reasonably ever compete with.

A similar spirit is why we try to minimize low-quality RF usage (eg, sending some encrypted shit over the air, instead of the internet, just for "fun", in amateur bands).
No rule that I know of that sentience necessarily requires a supercomputer, either.

Coming from someone that thinks houseflies are most likely sentient at some level.
Only if it's a net gain in resources. There is currently a massive cost in resources and pollution for everything put into, or retrieved from, space. Hopefully that will change, though I doubt it'll ever reach 1-to-1.
> The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague. https://wikiquote.org/wiki/Edsger_W._Dijkstra

> Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? https://wikiquote.org/wiki/Brian_Kernighan
My thoughts went to corrosion as well. Rust (oxides, not the programming language) has a huge cost associated with it. Abundant gold could conceivably result in building materials that are much longer lasting. Certainly we could gold plate more things.
W(1): who is logged on/what they are doing
IMO one of the great benefits of working physically near your coworkers is the ability to sit in a room and discuss things. It never made sense to me that PR's would happen mostly over the internet when the person who wrote the code might be sitting right next to you. After in-person discussion, comments could be dropped in the PR as a reminder.
This sounds like a case where having an agreed-upon code style can remove a lot of conflict. Even if you personally don't prefer a particular way of doing things, if it's in the style guide, then there shouldn't be any argument.

Same things go for automatic code-formatters. If every file has to be formatted according to the canonical formatter, then you remove tons of chances for nitpicking. Your code doesn't match what the formatter outputs? You can't send your code out for review.

That way it's not personal; you're not saying "my way is best", you're saying, "this is OUR way".
they are also ignoring the fact that gold makes a small portion of the astroid. it has heaps of platinum, and other valuable metals which could revolutionize the things we do. I bet it also has heaps of silver, which I am told is better than copper just much more expensive
It is fairly simple to define advancement in an objective manner. The 'level of advancement' of a tech depends on number previously invented techs that enable it to work. The highest of high-tech, the integrated circuit, sits at the top of a huge pyramid of enabling technologies that make it possible.

As an example, a terra cotta pot has low advancement, since it requires perhaps a half dozen enabling technologies to make it work.

A non-stick aluminum fry pan is high advancement, requiring hundreds of previous inventions for it to be possible.
Two men enter a bar. One is taller than the other. Which one is taller? -1.
> because docker build does not allow you to temporarily mount the cached dependencies.

Why do you believe this point is relevant? If you can mount a drive then you can access its contents on the host, and if you can access files on the host then those contents are also accessible in a Docker build.
I assume the grandparent is making a (quite funny) joke about destroying the global economy by virtue of the delivery of the asteroid destroying the Earth.