skysight-inc/HackerNews huggingface dataset:
Ok flat ground or a descent a recumbent may be faster (my experience is that most recumbents can’t keep 22-25mph on flat ground) but it won’t be faster climbing hills and they have a longer wheelbase and are quite a bit less maneuverable. On hill climbs the weight is the most obvious factor but I’d be surprised if you can generate the same amount of power in the supine position as you could in the standing position.

Since most bicycle racing is dominated by climbing hills, I don’t think anyone would ride a recumbent even if it was legal.
> ~1998, there were quite a few megabytes burnt on discussing Postgres vs. MySql. At the time, MySQL was not ACID compliant, and was (rightly) derided as a database shaped object, but not an actual database. It was faster, provided you didn't need get back the same data you put into it.

MySQL has come a long way since then though.
Docker recently has support for multi stage builds. So you can use one Dockerfile to define how to build your image (produce your jar and necessary other resources) and then copy them into a fresh container running off a more lightweight image that might not contain all the intermediates and your build tools.

https://docs.docker.com/develop/develop-images/multistage-bu...
Yeah, well, you know, that's just like, uh, your opinion, man.
This is such an obvious problem with such an obvious solution it's surprising that so many efforts to solve it have fallen on their face: Motorola Atrix, Microsoft Continuum, Ubuntu Mobile, Samsung Dex, et cetera.

A mid-range phone has more than enough CPU, RAM, storage, GPU to do everything 99.9% of consumers need to do: browser, email, word, excel, Candy Crush, even Fortnite etc.

Just plug it into a USB-C monitor, plug a keyboard & mouse into the monitor & voila all your issues with sharing a computer and syncing your documents have disappeared. Along with time & money cost of maintaining multiple computers.

So why has it failed? It's a chicken & egg problem.

The available solutions aren't polished enough to be suitable for the mass market, and the market isn't big enough for all of the app providers to polish their app to seamlessly adapt between such disparate UI paradigms.

Normally, tech goes through the bleeding edge. Early adopters put up with the lack of polish and provide the early market for development of that polish. But the phone as a single unit of computing isn't suitable for the bleeding edge. The bleeding edge is pretty much the only place that needs specialized devices.

Chromebooks had a similar issue, but found their path to market through schools.

What is the phone as computer breakthrough market going to be?

I see two possibilities, there are probably others.

1: Apple. I'm confident that Apple has prototyped this out and then deemed it "not ready yet". If/when they do it, it will be polished from day 1 and would drag app makers along with them, solving that chicken & egg problem.

2: Businesses. I could easily imagine several large businesses targeting their in house apps at a phone or phone-like device that can plug into monitor stations.
As I said elsewhere in this discussion thread:

I tried it this morning (lineageOS). Got the arm binary from github, `chmod +x`-ed it on my computer and scp:ed it over to my phone. Ran the binary and got a quick flash of the screen and a `exit status 1` [in termux].

Have not looked into it more than that. Since `browsh` depends on headless firefox, which is not in the termux default repository (it seems), I guess it won't work because termux does not have access to the firefox system app, if that even shits with the headless-functionality. (but here I'm just guessing, a work around may be available)

Would be cool to see working though.
> I find it depends a lot on my level of understanding of the project I'm working on. If I wrote 20% or more of the code, or if I was involved in the design, etc., when there is a problem I know just where to look and can get there quickly.

Well, I mean... Ever wonder why that is? Your understanding of the various states the program can get into is fresh in your mind. Come back to it in a year after not looking at it all that time and suddenly you're relying hardcore on your unit test suite to contain that same knowledge in "automated proof" form... OR you start spending a lot of time in the debugger to "re-understand" the system, slowly and manually... Or both.

If you need to use a debugger, it's because you are in some unexpected state. With full understanding comes full control and in those cases, no, you need neither a debugger NOR a test suite, but since a test suite on well-written code already identifies many possible state failures, I've found that leaning on that instead of a debugger works out better in the end.
Missing code review advice
I always mention the Michael Jackson smooth criminal patent. Is it easy to reverse-engineer? I don't know, it seems obvious once you see what it is, but it seems awfully clever if you don't know about it. A lot of people seem to believe that it would involve electromagnets, but the actual invention is more low-tech.
Keypads arem by far, the biggest target for this attack
Yes but still needs to have 5G for it to be viable for everyday for me.
New York City Wants to Track Street Vendors with GPS Units
>It seems like a limitation of this attack is that you must have the camera pointed at the keys ~1 minute from the last time it was used. (Presumably because the heat dissipates quite quickly.)

An attacker could just stick a camera into a dark corner of a room and have it run perpetually. Video exfiltration might be an issue but certainly not insurmountable.

RE: your second point: that's true, but the point of TOTPs is that they expire before they can realistically be guessed (assuming rate limiting on the TOTP server).
My use case for this is a device to consume media en route but also an emergency work machine (sure phpstorm won't be breaking any speed records on it but still, it will run on it decent enough). A laptop is a hassle on a plane. Tablet works better -- just hang it off the seat in front of you. Detachable keyboard works best for this. Almost always unnecessary but when you need it, it's there.
Surface Go takes on Apple, Google and it might just succeed
Huh. Neat.
Offload testing to the community, then push Core OS users to RH ....

I think I'll pick a Deb-based distro over this thing...
This is a fairly well known attack on ATMs with plastic keys, but last I heard metal keys make it nearly impossible to carry out.
Honest question: what are you talking about?
Something like

https://youtube.com/watch?v=9dG5KSD-8J4

>footage ... showing the moment the ship's cook was rescued from an air bubble on the ship, two days after the ship capsized
Keyboard sold separately.

I wish they'd been more clear about that, almost all the promotional materials show the new Surface with the Type Cover (keyboard) and pen. It feels deceptive.

I was more interested when I thought $400 would get me a complete Windows tablet/ultrabook. At $650-700, it's nice but not nearly as compelling.
Thanks so much for sharing -- I think I'm going to give Ubuntu Server a try -- Canonical has done so much for open source (as noted by the other comment) and a bunch of innovation lately -- LXD is something I've actually wanted to play with as well as a virtualization option, which I actually failed to set up on Container Linux[0]. I swear I'm not trying to blog-spam, I just legitimately have been dealing with this stuff lately and have been effectively swimming upstream by not using Ubuntu -- looks like I need to stop.

I was mainly worried I'd be spending time downloading noveau/radeon drivers and associated packages on a server with no attached GPUs. I've been leaning towards languages that compile fat binaries (and running with docker regardless), so this is why I'm a little wary of Ubuntu bringing too much to the table. Also, it's been a long time since I ran Ubuntu on a personal machine, I am still a little worried about the risky the dist-upgrade process can be.

Basically all I feel I need is ufw, docker, ssh and was worried that Ubuntu brings too much along for the ride.

[0]: https://vadosware.io/post/trying-and-failing-to-get-lxd-runn...
> People can live over 60 days without food, so maybe that part isn't so unexpected

It's not a physiological problem. It's a psychological one. When you ate everyday all your life, not eating is scary.

> I believe after 48 hours severe dehydration sets in...after 3 days...kaput.

You can live more than 3 days without water. Either with training, of because the conditions help (you don't move much, temperature and humidity are favorable, you don't eat, etc).

There are cases were human lived for 9 days without water.

But they had water near them so that was out of the equation.
most of the issues i have encountered and that i've heard peers complain of stack up to human-error and the inability to adequately plan for change...doesn't seem to matter what database or framework we're talking about...
> I always thought that their purpose was to eliminate trade secrets: people are going to invent stuff whether you want to or not, but without patents, they'll take the secrets to the grave.

Except that if you look at the history of inventions you'll notice that quite frequently several people invented the same thing independently at almost the same time (the phone for example).
So the risk of losing a 'trade secrets' isn't that high..
I assume the diver probably had lights. So at least they had some warning. But yeesh, seriously!
CodeFights Becomes CodeSignal, Launches the Coding Score for Developers
Well, it is companies listed on the S&P 500 so privately held companies aren't included.
9 automation testing tools for web applications
Trade secret is becoming less and less issue these days. Nowdays information spread and leak like crazy.
This is the ideal use case IMHO
Which ORM do you use?
Yes, but that piece of German legislation is (IIRC) specifically concerned with websites and not domains so has nothing to do with whois - which I think is the previous poster's point in distinguishing between the two. It does not dictate putting correct (or any) information in whois, nor does putting correct information into whois data satisfy (or otherwise release site owners from) its requirement to include correct contact details on your site if it has any commercial nature.
Children trapped in cages? Is this happening a lot in the US?
"How do you answer your phone if it is powering your desktop?"

You'll have a camera & speakers or headset either integrated into your monitor, or plugged into it, just like almost every workplace computer does. So you just click the green "answer phone" button.
That sounds like a very creative idea.

What I do is call a regression test every x minutes. If it fails, set a flag to save/store the html everytime we crawl pages. Now we can go back and process these saved pages when we fix our crawler
If you're reading the Windows Devices Blog, you know what the Surface is. If you don't know what the Surface is, you're reading about it on CNN or some other news site that will include a paragraph about what the Surface is.
I don't know. I never felt I wanted one device for everything. It would be average at every task.

In my pocket, android phone without Google Services. No way I want this to be Windows.

In living room, an iPad for Netflix, light games and light web surfing while in sofa. I don't want Windows for this purpose either.

Kids room - gaming computer. Windows. Version 7. It's good at this. Best device for powerful gaming.

My work room. Linux laptop and a MacBook air. The macbook is great for banking and other tasks where Linux can't do it. Otherwise I enjoy Linux as my daily work horse.

Multiple devices are great!
Why do you think debuggers are so necessary at the metal when they aren't further above the metal?
Facebook's Push for Facial Recognition Prompts Privacy Alarms
The only complication is if you want to use Meeseks (https://github.com/mischov/meeseeks) which requires the Rust compiler and runtime be installed because it has native bindings. Meeseks is useful because it's a bit faster than the default Floki (https://github.com/philss/floki) and because it can handle very malformed HTML.

As for Elixir itself, here's a quick example:

```

# Assume this contains 1000 URLs

urls = [....]

# This will utilize 100 threads; if the second parameter is omitted, it will use threads equal to CPU cores. For I/O bound tasks however it's pretty safe to use much more.

results = Task.async_stream(&YourScrapingModule.your_scraping_function/1, max_concurrency: 100)

```

It's honestly that simple in Elixir. For finer grained control the line count is little bigger -- but little. Not hundreds of lines for sure.
That’s like saying we should send soldiers to go fight people if there isn’t a real war happening becuse there might be one in the future.

Suggesting that this incident was a good thing because it helped the rescue teams train is a bit odd.
How many ground breaking innovations has China had? How many has the west had? Case in point, copying is not productive in the long run.
Ha, thanks for that!
Keeping Counts in Sync
>Thinking of nuclear weapons, why is there too little mainstream political support for unilateral nuclear disarmament in western democracies.

MAD has kept the peace better than anything so far. It may be uncomfortable for a variety of reasons but the fact of the matter is that nuclear powers don't get in shooting wars with each other and nobody picks a fight with a nuclear power no matter how small.
Benchmark your SQL database by generating Schema-compliant mock data in minutes
That's not due to the GDPR.

The GDPR is about informed consent. Do you want a domain? Yes. Great, now we need your name, and we'll put it into the WHOIS. Do you consent? Yes. Great, here's your domain. No! Okay, then you might try a different TLD, that doesn't require WHOIS publication.

The part that the GDPR is very much up to the courts, is that whether WHOIS publication is necessary for the function of the domain. Because if not, then it can be argued that it's an undue burden and it should be a separate thing, so the lack of consent for it must not mean domain registration rejection. However, ICANN thinks differently about the issue.
> Visitor is the only way I know of dealing with it in C++. Once you do it enough, Visitor starts to feel like a pretty natural way to extend a class without modifying the class.

Are you talking about traditonal OOP visitor pattern ? It's pretty terrible, when compared to std::variant ; imagine for instance that you want to have a way to draw the rect that contains a given shape without changing your shape class: https://godbolt.org/g/34KyMw
Oh, absolutely it has! Even if its query planner is... suboptimal[1].
It's even held up as an examplar of stability[2] :D

[1]: Yes, I'm nitpicking.

[2]: https://www.youtube.com/watch?v=b2F-DItXtZs
on HN you get down voted for asking for evidence.

two clains were made:

* that the NSA as compromised all major tech

* the us gets it's grubby hands on all your data

in support of which no evidence was presented. a user kindly linked me to a Wikipedia page on PRISM. However, that program is only ISP data, requires a warrant for domestic purposes.
That sparks a link to a nice little story: A couple of years ago in IJmuiden (a Dutch harbor town where I used to live) a containerload of 'old Dutch masters' was seized by customs. Inside endless copies of famous Dutch paintings, meticulous work made for peanuts by very talented Chinese painters who had learned to copy from their masters as well as ours.
Yeah metal reflects thermal IR like a mirror.
Yea, I'll 2nd that. Ansible is immensely pragmatic and capable. Been very happy with it.
>Space is so big that it’s nearly pointless to travel for place A to place B because place B likely won’t have anything place A won’t, especially if we are talking on a solar system scale, so traveling to another solar system is nearly pointless.

What the heck are you talking about? We're not talking about humans making nearly-identical colonies with the same chain stores like Starbucks; different planets are going to look radically different, especially if we find planets with life, as it's quite possible life will look radically different on other planets where it evolved differently.
Where I live in South Africa the local Springbok deer herds were so large that they were once recorded to take 5 days to pass a camp.
grammar nerdery: anonymous means "without a name". So, there's no such thing as an anonymous twitter account.
Indeed: I recently ran into a bug where a field was inserted as a string in some cases and an integer in others. A simple fix, yet more work than I would have had to do had I just configured the field properly in the first place.
When the founder and the devs do the UI/UX design – a case study
The coach then will be an american living in Thailand, half the team will be girls, the sport will be american football instead of soccer, one of the rescuers will be a woman who happens to be an ex-girlfriend of the coach, there will be a bad guy from the government or some company that wants to leave them in the cave because it's cheaper... and Elon Musk's device will save the day.
Simple Menu Class – Example of Modern C++17 STL Features
You don't need to bring Twitter's relentless schoolyard bashing here. The escape tube was a misfire - nobody used it, and it was too late, and Musk promoted it way too much on Twitter - but would you have preferred Musk ignore the people who messaged him to help out?

You point out two people. Both sacrificed things selflessly - for Kunan, it was his life. For Musk, it was a little money and a few hours. You do not need to negate one sacrifice in order to celebrate the other.

Your sarcastic attitude is incredibly unpleasant, and I would personally never hire or contract someone that converses in the manner you have. It obviously gave you a dopamine rush to write that little diatribe, but good luck turning that temporary feeling into genuine goodwill or income.
I agree with your initial point: A single explicit hierarchical structure will never please everyone all of the time: There are too many implicit relations that could (and arguably should) be captured.

It might be tempting to try to maintain multiple directory structures, making use of hard or soft links into the code base, but this sounds like it might be fragile, not to mention hard work to maintain.

I am sure others have also tried to abandon hierarchical file systems altogether, placing the design into a database instead. This also seems like a lot of work, although I can see the attraction.

My solution is to embrace the conflict and take an opinionated approach to the hierarchy -- one that enhances and supports the development process -- but to supplement that with generated HTML documentation with multiple different hyperlink-based navigation schemes.

At some point, I also plan to integrate a javascript text editor into these HTML reports, at which point the whole contraption will have transmogrified into a sort of Kentucky IDE.
you are being somewhat flippant, but you are getting at something I often wonder about. why is it considered reasonable to spend so much money (and a life) to occasionally rescue a small number of people in a weird predicament? Elon musk was ready to drop about a million dollars on this problem; similarly, I often read about the US Navy retasking entire warships to respond to small maritime emergencies at an hourly cost I can't fathom.

is it callous to ask whether there isn't a more efficient (from the perspective of actually helping a significant number of people) way to allocate these resources? there are a lot of lives that could be changed for way less.
Free version has the same binaries as the paid version, released the same day.
Steam engine?

Gun powder?

Paper?

Movable type?

Clocks, compass, alcohol and on and on.

Really this is a 'What did the Romans ever do for us?' type of question.
I am against (all) patents on the following grounds:

The article talks about first-mover advantage.. it seems to me that the case for or against patents depends on how you model it.

If you model it as a single-shot prisoner's dilemma, then without patents, there is no incentive to make result of research public. This is a classical argument in favor of patents.

On the other hand, if you model it as a many-rounds prisoner's dilemma, then even without patents, it makes sense for companies to have a strategy which makes some results of research public, then hopefully piggyback on the research that was done by others and also published (that is, mutually cooperate).

It seems to me that the second strategy can only be viable if the results of the research are "infinitely divisible", that is, companies can make arbitrarily small steps in opening up their research.

However, I don't see any evidence that the research is NOT infinitely divisible, thus it seems to me that patents are not really needed for the latter to happen.

In addition, interestingly, economists generally approve patents as needed for someone to make the first move, but they don't feel the same about similar issues that happen in the market. For example, somebody needs to explore new market first or make a capital investment in a new field - economists do not call for government support in that. This convinces me that the rationale for patents is somewhat hypocritical defense of status quo (caused by rather arbitrary choice in the game theoretical model).
I understand why they don't feel the need to increase frequency (it's actually easy enough to buy a tickey for next day travel) but I don't understand why they don't run all the 'fast' trains at the faster sub-5h speed.
One-box stream processing with CSP
> Nobody thinks you can start from a completely blank slate and learn something comprehensively in five minutes.

Clearly you haven't met any of the bosses I've ever had in the past 25 years.
Any good tools for visualising software architecture?
That's been exactly my experience. Most time is spent connecting or waiting for the server response (TTFB). Using an async I/O event loop approach in combination with EPOLL/KQUEUE you can handle thousands of concurrent connections. You then push the response to your worker nodes, which process the data in a multi-threaded fashion. Stream Processing Frameworks like Apache Spark or Storm work great for that.
I HAVE 100% STRIKE RATE AT SOCCER BETTING
Hello,
I a master tipster, i charge British Pound(GBP) 25 per tip.
I give you tip, you use it and then you win , after that you pay GBP 25.
i have 2 clients currently and i would like more clients.
my tipster guarantee winning.
i give 1 or 2 tips per week, this is because my soccer tips guarantee winning.
My Facebook link is https://web.facebook.com/ismail.musa.357
if you are interested to be my client then private message or direct message me in Facebook.
Thanks for reading my sales ad.