skysight-inc/HackerNews huggingface dataset:
Add dedicated bike lanes and reduce car lanes. Now cars can sit in traffic more and go 10mph all of the time. Problem solved.
Thanks! That's brilliant.
It's all the magic and the cost to run it which is why I think languages like golang are gaining popularity.
Would recommend Oracle's official Java trails : https://docs.oracle.com/javase/tutorial/
Must be so difficult for them sitting down in a temperature controlled environment with audio entertainment burning massive amounts of non-renewable energy while taking up much more than their own width in space in an already cramped urban environment. I'm really feeling for the driver here. It's definitely the cyclist causing all the congestion in the first place.
I used to work on this treadmill, it sucked I agree.

Nowadays I still write Java, but it's much more pleasant, all deployed to the cloud, no messing around with application containers and all the Java EE stuff.

It's nice, it works, it's simple. Granted, I'm fortunate enough to not have to maintain legacy Java applications so my perspective has been skewed somewhat, but I think it's worth mentioning that "modern Java" has moved a long way from what it used to be.
The perfect is the enemy of the good?
See, you got off the train at peak abstraction crazy. I don't blame you for the association given what you saw then, but there's no reason that you have to write Java that way, and most people don't anymore.
Just forget that EJB, Websphere, Weblogic, JTA, CORBA, and a few other things ever existed, and having a positive feeling about Java should cause little cognitive dissonance.
You might be interested in dhall[0] and dhal-to-nix[1] which provides a really neat haskell-like language that compiles to nix.

[0]: https://github.com/Gabriel439/Haskell-Dhall-Library
[1]: https://github.com/Gabriel439/Haskell-Dhall-Library
How does the cost of implementing and supporting SaaS clients compare to other ways?
Churn in excess, is often people voting with their wallets!
There's no way for them to guarantee that to you. It's just 100% marketing wank. If you want privacy use Tor or similar.
Community could be larger if all these petty things were resolved :) But I understand, forking is definitely not an option.

So, if only gradual changes are allowed, I would have started with:

- making semicolons optional

- commas for implicit array literals (e.g. "a", "b", "c" in lieu of ["a" "b" "c"]

- something to do with 'with' / 'in' syntax.

In fact, I can live with anything, except non-optional semicolons. Is there a possibility to infer them?
The flaw in Lisp
Show HN: Voyager 3.0.0 can create Prometheus Service Monitors for Kube Ingress
I might buy this for Go if it was available, this looks interesting!

Note that I'm mainly interested because my current editor of choice does not have the full suite of tools I'm used to for Go. I used to use Vim, and vim-go has such an excellent suite of tools I don't think I'd buy this. However, I've since switched to Kakoune, and the tool support is quite young and I've not had time to improve it myself. So this tool (at the $100 self employment pricing) is a nice fit for a tool I'm on the fence about. At $200 I don't think I would, but at $100 I think I would.

Anyway, just providing a bit of feedback. Looks really nice!
>The IDEs are top notch

IDEA is phenomenal. Netbeans is just OK, and Eclipse was awful all the times I tried it. Bloated UI, slow startup, and difficult to configure. Maybe things have changed since I've used it, but at the time, it was agonizing.
How does due process work? Could anybody just murder anyone else and give a credible defense of "I thought that guy was a poacher?".
Part of the horribleness of this label - input hack is while the semantics of those elements may not be apparent visually, they are very apparent and intrusive to a screenreader user.
Read up if you can afford to lose sleep tonight:

https://theamericanscholar.org/our-nuclear-future/#

GIven that "cyber attacks," that is remotely tampering with telecom equipment, are as old as the Arab Israeli war of 1948, I'm not ready to be reassured by the antiquated hardware the US and Russia use for C&C
The original article is also entirely free of statistics or sources which was kind of my point. My comments were intended as a counterpoint to the unsupported assertion in the article that the increased cycle traffic observed in a two week trial would translate to a sustained increase and to the unspoken assumption that increased cycle traffic is clearly and obviously a good thing and worth the costs and negative impacts on other road users.

The dangers of cycling itself are pretty well known I thought, it is far more dangerous than driving, e.g. http://www.bbc.com/news/uk-england-39856219

I don't know of any figures comparing the relative risk to pedestrians of cyclists vs cars. I would expect that pedestrians are less likely to be killed if hit by a bike than a car but I would also guess that adjusted for relative miles traveled you are more likely to be hit by a bike as a pedestrian than a car. Certainly as a pedestrian in Vancouver I am more concerned about bikes than cars due to the silence and lack of respect for the rules of the road I mentioned.

If the changes made here were based on solid research, I never saw it presented to the public. It was just 'Cycling is great! And green! Yay cycling!' and PR shots of the mayor on a bike to justify the money spent and disruption to other road users caused.
Farewill: Fix your will with lovely notes and Spotify songs
The language is so simple you can learn all of it in a day. Read through chapter 15 in the nix[1] manual and that's it.

To me it doesn't feel weird at all: I can't think of any feature that was new or surprising when I started using it and I am not the biggest expert of functional programming. You have to learn more about the standard environment and tools if you want to start contributing to nixpkgs and write your own packages but if you only care about configuring your system nix is as difficult to learn as say, JSON.

[1]: https://nixos.org/nix/manual/#ch-expression-language
Well, right, but we are not talking about an academic paper here, we talk about practically convenient language. If syntax is unimportant, we could leave Nix files as is -- semantically, it is a good programming language. But judging from the comments, I am not the only one who thinks that syntax and overall esthetics are important.
Walmart to Vendors: Get Off Amazon's Cloud
You can keep your ads, I'll keep my adblocker
Except by reading that comment, you can tell if the function was implemented correctly or not.
Given the name, I would expect this to be related to or built on Lua. That doesn't appear to be the case. Is this echo accidental?

"Traditional software development is broken by design" is a pretty strong claim, but the only support is a bunch of over-broad anecdotal claims about what "always" happens. That's a bit offputting for some of us.

The phrase "Category Oriented Programming" is used like it's common vernacular, which I don't think it is. Is it related to Category Theory? The text seems to imply that the idea of mixing functional programming with message-sending objects is novel. It really isn't.

"Unmatched performance and safety". Yeah. You want to be careful about that claim. Going to need to see the independent evaluation results.

That said, for those who value diagrams highly, this looks interesting. I wonder at what level of complexity the abstractions start to leak.
I'm sorry, I don't have an answer for you. I'm just frustrated that all of these threads end up tilting at the "damn drivers!!!!" windmill instead of blaming the actual problem, which is trying to combine car and bike traffic, which cannot be done on most US roads as currently designed.
Why JPMorgan thinks Walmart may go head-to-head with Amazon to buy Whole Foods
Interesting that they say "raise corn" and "grow chickens".
It means they fucked it up. There needs to be a second process that immediately throws a window up when the main browser crashes so that there is no crash. It just keeps running. It's that simple.
Ah, thanks for clarifying that; I'd just assumed it was timing from a quick skim.
Some specialists, if you have time, please explain me in few words, why they can't just disassemble products they need to check?
It is definitely not difficult to learn, just somewhat hard to read and visually unappealing :)
> which you should for many reasons but chiefly performance and security.

Why would you use nginx for security? I see over 100 CVEs for nginx.

This isn't exactly unexpected. Nginx is an incredibly complicated piece of software written for performance in C. That's basically the trifecta of security badness.

If you want security, why not use a (possibly slower) simpler product written in a safer language?
Low-carb diets mimic effects of GHB
If the Internet moved as fast as the fastest thing in existence it would be faster. That's brilliant.
You do need Comment Reflower.
Can't it just accept two different syntaxes (if really necessary for disambiguation, perhaps requiring people to put some magic string at the beginning of the file to request the new syntax)?
Wow, I thought I was going to read an article about optimizing your code for size, finding ways via assembly to beat your compiler, etc. What's actually in the article are basic "best practice" things that every developer should be doing anyway. I'm glad the article exists, but as a mobile developer, if this stuff is news to you, you might need a wake-up call.
A lighter weight alternative to Spring Boot for small projects is Spark Java.

http://sparkjava.com/

It just works, if a little unfortunately named, but you can get a nice little application up and running quite quickly.
Isn't containerization / Docker meant to solve this problem of configuration managers leaving machines in an unknown state? Nix seems to be a bandaid to config management solutions and is yet another kinda config management solution.
Guys, stop breaking the world! /s
I use conda every day in my professional deep learning practice and it's a HUGE time saver. I can't press enough how I'm sure it's already saved me weeks if not months of package butfucking.
How Theresa May's Decision for a Snap Election Backfired
Vehicles turning right is a big problem in the Netherlands as well. Not so much that they block intersections, but that bikes going straight have priority over the vehicle turning right, bikes take priority and then get in an accident. It doesn't matter who was right if you are dead.

In my experience, separate bike lanes are great for long stretches of road without intersections. Also quite safe on intersections with traffic lights if the bikes have their own dedicated time slot. (That's not always the case)

But when bikes going straight are encouraged to pass right turning vehicles on the right, it becomes a serious risk.
Yes, milliseconds. The difference there is because routers above you most likely are a carrier grade equipment like Cisco gear with ASIC based switching. This is what you can expect from big ISP in a big city, and less likely in networks serving more remote suburbs.
How do you cope with syntax errors ? e.g. saving garbage tex as source code ? And reversely, can you have visual informations that can't be pretty-printed as text easily? (e.g. nodes without names)

How do you expect the visual syntax to integrate with VCSs? Do you have an algorithm and UI to present visual conflicts? How is the layout after a Git merge?

Cheers
Drivers still run inside kernel. What was changed in Vista is that the kernel tries to detect when kernel data structures that should be immutable are changed, which some drivers do.

The idea of non-privileged drivers is neat, but in general is not worthwhile because the driver has to somehow access the hardware, which for significant amount of device/platform combinations leads to access to arbitrary memory locations.

Edit: perfect example are GPU drivers, which are for a long time typically composed of small priviledged kernel driver and all the complex logic in userspace. In many cases the interface between these two components could be abused to get code execution in kernel context (in 2k/xp times there was even RCE in kernel context triggered by displaying properly crafted image in IE)
For companies like Amazon and Walmart, there's no such thing as cheap enough especially when it's tied to shipping.
B2B customers: how they impact your startup in every way – Part 1
Bookmarks are there so that I have to cycle through 12 windows, saving each one into a bookmark called "DELETE ON 6-23-2017 IF CHROME DOES NOT CRASH, JUST AN EMERGENCY SAVE 1", for the first window, "DELETE ON 6-23-2017 IF CHROME DOES NOT CRASH, JUST AN EMERGENCY SAVE 2", for the second window, and so on through 12 windows?

I think we can all agree that that's a LITTLE silly, wouldn't you say? It takes more than a minute to do so. Let me ask you this then: should it take me a full minute to do this? Could I at least have a way of automating this?

There is no way to save a set of bookmarks with every open tab in every window. Or let me know how to do this so I can at least automate it.
Is Your Job About to Disappear?
Another thing I've been thinking about in the past is how do you preserve formatting when translating between visual/textual. Eg, if I place a visual node and then edit the text, does it preserve my visual layout? This is important because I've used Max/MSP in the past and I would logically lay out the code by function to make it easier to comprehend. Similarly, preserving whitespace in the textual form even when editing the visual form.

I don't know if or how luna handles this, but its a concern that I've had trouble with when I was thinking about something similar in the past.
No algorithm is secure by design against these DPA attacks. They exploit data-dependencies.

The only 'provably secure' (e.g., on paper (+)) countermeasure you can apply to these symmetric schemes is something typically called masking. You can view masking as using secret sharing techniques to split up all intermediate computation into independent operations. To defeat masking an attacker needs to be able to re-combine the data dependent information leakage associated with all the split components. This is always a possibility.

Thus it becomes a risk/cost tradeoff. The more you mask, the more secure you become, but at a cost of speed/area/power draw.

(+) It's decidedly non-trivial to implement a masking scheme such that you get the theoretical security. This is an active research area.
tl;dr: They were down there talking about math one afternoon and the owner of the deli was trying to take the order from one of them and he was a little bit too preoccupied with mathematics to fully engage in the sandwich ordering process.
What OS?

All OSes vulnerable to wannacry are still under support.

Contrary to popular belief, wannacry will not spread to windows XP, it will just crash it. It will run on it if you fire the executable manually, but it will not infect an XP host through SMB.
Interesting. For the cyclists out there, would you pay out of pocket for a bi-directional elevated bike/walk-run track, with access from every street intersection, Japanese-style underground bike garages and automatically-cleaning showers/toilets at public transit intersections? If so, how much? I would, at $0.25-0.50 per mile, $0.25 per hour storage, and $2 per use of showers. I don't know if that would pencil out even in heavy cyclist commuter traffic, though.

I envision a high-tech track that uses redox batteries around its foundations, replaceable solar panels around the sides, is very brightly-lit, uses every 10 meters PTZ lenses on fiber optics leading back to a centralized, multiplexed bank of 2K and 4K video cameras backed by a deep-learning vision system, and easily-accessible emergency boxes every 20 meters to put female customers at ease. Emergency boxes vend bike repair kits (tire, chain, hex wrench, etc.), vend first aid kits, have an omnidirectional microphone listening for calls for aid, and of course a Big Red Button. Water is captured, filtered and stored for a cleaning robot to use later to maintain the track, solar panels, and awnings. Clear awnings automatically come out of housings, then raise and lower to shield from excessively-hot sun and inclement weather. Cleaning robot runs along a high-speed rail hanging on outside of track, multi-purposed to perform simpler replacement-style maintenance duties (replace vending supplies, replace awning, etc.).
If only Haskellers knew that "a blog post" and "type definitions in Hackage" are not documentation...

Also, the comma-first syntax like

{ foo = "bar"

, baz = "qux"

}

drives me nuts. In the name of all good things in the world, why?
Can you spare 15 minutes?
My ISP and their shady pals would be like "this one likes free standard-def pr0n and gmail, let the bidding start at $0"
Unless you just setup your own VPN? Or maybe trust external auditors? Or otherwise spend time actually looking into service providers before giving them your money?
Yeah, speed isn't the primary focus, more of a byproduct

I don't understand what this has to do with a free internet, routing doesn't have any affect on that
> Configurations in Nix are written in a full-fledged programming language, featuring all manner of primitive datatypes (numbers, strings, file paths, etc), anonymous records and first-class functions. This is a very big deal for writing configurations in the large. Functions allow code reuse and abstraction, two crucial ingredients without which writing out configurations by hand would become unwieldy.

Off topic but this brings up a good point I've been curious about for a long time. Does anyone know why VimL is such a terrible language?

It's fascinating to think what potential it could have with a modern language natively supported like this. The use of Python/Lua etc seem like complicated hacks on top of it, not to mention the API with tons of globals.
Javascript frameworks. Try timing the loading of a text-only or text/html/css site, then your favourite site built with React or Angular.
They don't read to me as contradictory at all, though I have to say the second one you quote is kind of ambiguous as to what it's trying to say. They both seem compatible with the belief that in an industry with sexism problems, Uber's problems are worse than most.
Cloning Jetpack Joyride in Unity
Sudoku puzzles are created both automatically and semi-automically / modified by hand to make them more elegant or enjoyable. I've bought a few sudoku puzzle books that usually discuss it like an art in the preface.
Bottom quoting means you read the answer before the question, breaking the logical flow of conversation. Not trimming means the messages have a vast amount of text to skip over each time.
> In that case, could one not also argue that the pope shitting in the woods is simply the pope repaying the food debt he took on by nature?

Well the validity of that comparison would be whether the woods would be annoyed if the pope shat somewhere else.
You mean Ajit Pai's FCC or Tom Wheeler's FCC? Because under Pai, they seem to be rolling back all the regulations meant to control the industry and seem to be very much under their influence.
Million dollar loans aren't really that strange for farmers. It is definitely a lot of money, but usually it's secured by assets that are objectively valuable themselves (land).

My father in law started out as a humble hay farmer in the middle of nowhere in Utah, but he could easily retire on the appreciation and equity he built in the land he owns alone (though he's the type that would never sell it, and he's already rich).
So, if it is still connected to the Internet and its vulnerabilities haven't been patched, how long will it take for the malware to reinfect it?
I am only talking about the syntax. Semantically, Nix absolutely rocks.
Why is it gated behind SMS?
It's a best practice to dump cocoapods?
Thank you for sharing your opinion! This will be exactly what we will be interested in when deciding what language to tackle next :)
JD.com invests $397M into luxury marketplace Farfetch
High-Performance Browser Networking is a phenomenal resource. Highest possible recommendation.
https://hpbn.co
W2ui:JavaScript UI library
How to run the native macOS slack client and Not electron
But not for 4 years straight without a break?
An example of the easy 6x6 puzzle instead of starting with a very hard 10x10:

http://binarypuzzle.com/puzzles.php?size=6
Or even just let cab companies compete on price, maybe with some limits. When they could compete on price in Budapest it's true that a lot of tourists got ripped off, but it was awesome if you could afford one of the more expensive companies. Once they introduced uniform pricing the better companies got flooded with calls and availability dropped... and tourists still get ripped off, but probably less often and usually when coming from the airport.
I'm not familiar with Italian road signs but I'd interpret that sign to mean the exact opposite: pedestrians only.
Let L be a group.

I actually guffawed at that one. I am SO going to use that.
Loadable components – React code splitting made easy
C++ may not be uniquely good for this but most desktop apps you are using are written in C++. When you add C all your operating systems are written in C/C+, most web servers and databases are.
If the 3x slowdown from the infrastructure were eliminated, each round-trip-time being 3x faster would affect all the protocols above, and we could immediately cut the latency inflation from ~37x to around 10x, without any protocol modifications.

The page this article is published on makes 87 separate network requests to 19 different domains. Even with a great deal of the content cached, it takes 7 seconds to reload over my WiFi today. This is because I'm using an ad blocker; without one, the page makes more requests to more domains and transfers more stuff, slower.

It seems likely that cutting bloat would have a much bigger impact on responsiveness than infrastructure upgrades. Cutting bloat would produce benefits even (especially) in times and places where signals or infrastructure are marginal. Cutting bloat could mean your old phone or tablet computer could browse the web tolerably instead of ending up in a landfill. Cutting bloat from a website today produces a benefit, for all visitors, worldwide, today. Improving infrastructure may be a good investment, but cutting bloat is a force multiplier.

The responsiveness of the web has been adjusted to optimize the number of eyeballs that see ads. If a site is too sluggish, people leave, but a site that's too fast is leaving money on the table. How many advertising, tracking, and affiliate domains would a web page like this connect to, if latency were cut by two thirds?
I can add something about Milan that could explain those data. Milan has some water channels going at least halfway into the city. Some bicycle roads follow the channels and they don't have many intersections. Some 10 miles each way are believable. People doing 10+10 miles each day on those roads could be the kind of people that also record their commutes with Strava. However people that have to commute on normal roads shared with cars probably can't be that fast.

I live inside the city and I never mount my bike computer when moving around in there. The normal cyclists that use a bicycle to go shopping probably don't do more than 12 km/h, twice as much as a fast pedestrian. Obviously they don't record their journeys.

So, still skewed data but with an explanation.
This is a common countermeasure. You need to be aware that you maybe just be moving the problem. In settings in which key agreement techniques aren't used you'll be deriving new symmetric keys from an initial secret using a KDF. You now need to make sure that the KDF is DPA-resistant.

Forward secrecy is defined with respect to key agreement schemes and not symmetric crypto per se.