skysight-inc/HackerNews huggingface dataset:
Cracking simple XOR cipher with simulated annealing
We launched SoloKeys less than 1y ago. For content, we make hardware & firmware ourselves, we did a first batch in China and now we're manufacturing in Italy.

1) speed it up. We went from idea to shipping in less than 4mo, and I highly encourage you to aim for a much shorter timeline. You'll be late anyway (we shipped the 2nd product with 3+ mo delay), but that's fine.

2) don't worry.

3) rpi is a computer, it's pretty different from hardware. Can you prototype in arduino, for example? Can you do the board yourself? Otherwise you need a hardware & firmware person.

4) To reply to Shenzhen as well, you need to go where you are comfortable and have connections. If you search for a cheap contractor in a country you don't know, your risk to get screwed up is high. You should find the equivalent of a cofounder that partners with you to create the product, and late to manufacture.

I'm happy to talk more if you'd like, feel free to reach out directly.
That can happen when you remove a removable storage device, like a USB drive. You don't want to panic the kernel for that.
This is a fucking joke, right? Jazz dominated American music for ages and is as influential as the Blues. It's like making a post today titled "Why Americans Don't Like Doowop."

We get it, you need to feel important for knowing something cultural.

Also: "To be able to enjoy instrumental music, you must be able to appreciate abstract art, and that requires a certain amount of effort." Lol, okay. I listen to Skrillex. Therefore I am cultured.
Discussing improved hurricane protections is shifting the conversation to addressing symptoms rather than root causes. The conversation thread starts with the assertion that the US will be unable to take climate change seriously until a major city is lost.

While you make fair points, you're not disagreeing with general trends. Democrats have made moves to address emissions, while Republicans are struggling to admit there is even a problem. We do live in a Democracy, and politicians do have to work within the reality of what can be passed. The general public is the problem. Until the public has a strong appetite for addressing climate change, no meaningful change will happen. Any leader making bold moves prior to that is just going to be voted out. The scary conclusion at the root of this thread is that the public will lack that will until a major city is lost.
> The author has been programming since at least 2009

Which is to say, since the author was 12 years old if they followed a standard K-12 + undergrad program (graduated from a Utah Valley University last year it seems).

I think the irony in the article is that the author is very likely 22 or 23 years old and opining about how developers that have been coding for longer than he's been alive still just-don't-get-it. I guess you'd just expect this kind of article from someone with more experience in the field.

I did like this, however:

> Poorly designed software lacks conceptual integrity...It usually looks like a giant Rube Goldberg machine that haphazardly sets state and triggers events.

That is, it seems, the modern web :)
The rogue renter database already exists, it's called a credit check, and a list of landlord references for your last three addresses, that you include in your application.
It's kind of impossible to have it any other way. Ops is a cost center; you'll only have as many ops staff as you need to ensure your hair isn't on fire. And so ops staff only have enough time to solve problems with the most direct shortcut (usually by adding more components into the mix), rather than doing good Engineering to pay down the technical debt responsible for the problem.

If you have an infinite budget, by all means, hire developers whose jobs are to be prophylactic for ops tickets, by paying down tech-debt. But you'll have to guard that department with your life, because it'll be the first thing to be cut the moment anyone's looking to grow margin by shaving costs.
Assuming you're on a machine with curl or wget installed. I haven't used Windows in 20 years, but I don't believe it comes with either one by default.
Realism can be salvaged in a fully deterministic theory.

Note however that empirical science in a deterministic world is a strange concept.

Edit: However in my opinion empirical science in a nonlocal or nondeterministic world is equally strange, if you really think about it.
CGI and derived protocols actually got one thing right compared to the reverse-http-proxying of today: they pass request headers in protocol variables, not the other way around. In CGI, no amount of accidental misconfiguration would permit a request to overwrite custom request variables on the way from the server to the script.

I mean, it's probably possible to configure a server to escape the original request headers as ‘HTTP-<Header-Name>: value’ and add custom ones on top, but I haven't seen it done, and frameworks depend on the headers being there intact.
Do you have a list of biotech companies in Philly? I haven't heard of any (though I haven't really searched). I'm really curious how the tech scene in Philly is in general.
If the entire industry is exposed to the same risk and all get blown out then everyone gets a bailout or a pass on paying. That’s a feature not a bug
> If the kernel can't flush dirty write buffers, maybe it's time to send up a flag and panic in the kernel itself?

Being unable to write to a disk is a recoverable scenario, especially in some conditions. The most common cause of disk write failures is "someone yanked the flash drive out of the computer," and the recovery is "pop up a dialog telling the user to put it back in."
And the battle is long from over. The whole anti free speech crowd is just living on a similar effect. People who are so intolerant to weirdness that they want to censor it away just because they feel offended by it.
Rock: $40M

Ricky Gervais: $40M

Chappelle: $60M

Eddie Murphy: $70M

$210M for less than 20 hours of programming. Wow.
> writing code that can be deleted is an important skill

Are you saying "I can easily delete this code from the project" is a metric for modularity? That's really interesting, is it your own thought?
It basically says money is leaving China, and there are reasons to expect the movement to increase, so the government has put restrictions on money movement and is selling its international reserves.

There is no further detail on the restrictions or the selling. The detail is all on the capital movement.
So why did they do it in the first place? Regardless if they did it wrong they did it for a reason.
The Amazon argument is that they shouldnt be able to sell a store brand and rank it higher than a competing third party product.

Should grocery stores and Wal-Mart not be able to sell store brands?

Should Xbox Live and Playstation Network not be able to sell first and third party titles?

I think the argument is stronger against hardware manufacturers locking down their devices to only first party app stores, than against regular shopping. If I buy a phone from Apple I can only run the apps they approve, and when they stop supporting the OS, the phone doesnt unlock and allow me to install my own OS. Apple can obsolete hardware by strongarming a lack of updates to crucial banking and communication apps.
> Women weren't drafted because the government didn't mandate it. Trump avoided the draft by receiving a questionable diagnosis from a doctor.

For something to be justified it needs to be more than just government mandated. If the government mandated to only draft black men, would you call a black man with a questionable diagnosis of bone spur in the feet a draft dodger?

All of Trump's behaviour when it comes to the Vietnam war could be criticized without using the term draft dodger, especially without using it like it's usually used, i.e. with the implication that having draft dodged is bad, which imo is quite an hypocritical stance to have for someone opposed to the Vietnam war.
Bergson it is thank you!
F*ck off, that’s my point.
Yeah my neighbor. She comes from China, goes to school at a local university has no relatives here except a brother also in school. First thing she did was buy a house. She also drives a BMW 3-Series. How? When I asked, her parents sends her money every month. Her parents put the down payment on the house. Everything is in her name. So it happens quite often
That's not what I'm defending. I'm attacking "same old Microsoft" as a content-free, /inaccurate/, /ill targetted/ and /boring/ comment.

"Downvoters should explain" well that "defense" is my explanation. It's not the "same old" behaviour, it's different, what it is the same as .. is other current day, much loved technology companies.

Except for specific ways it's better in Microsoft's favour - this is more explicit and easier to opt-out of than Google Analytics, Doubleclick (owned by Google) or Google+ social media tracking beacons, for one, or "talking to someone who uses gmail" which is super frustrating, for another.
It seems market forces are already working to do that with out the need for government intervention.

Many Companies (walmart, Amazon, Target, etc) have all raised their companies minimum starting wage to well above the federal minimum, some even to $15

This is correct way for wages to raise, not by government demand
And every other Unix. There's nothing Linux-specific about this post.
I am aware. Take out your earplugs when you take the 5-10 minute break you should be taking regularly throughout the day anyway because sitting and staring at a screen for long periods of time is also deleterious to your health :shrug:.
it's sort of an interesting problem in intention - if the reason why the expression

"isDone = isDelivered and isNotified" was written is because the programmer saw
"if isDelivered and isNotified:
isDone = True
else:
isDone = false;"

and thought I can improve that, then what they have done is managed to wrap the checking and assignment into one expression, they are logically now doing two things in the one line - it just so happens that they can do that because one of those things was not really necessary to do.
Huge number of car t and gene therapy companies. Spark therapeutics, carisma, tmunity, limelight, century just launched with a 250 million round. Lost of Penn spinouts basically.
No, it's my first one, perhaps it's obvious by looking at some aspects of the API and site, but did my best I could given my 'limitations'. Would love to hear some feedback on it.
Look, if you believe in the sanctity of the network layers, sure. I don't. In a TCP/UDP scenario, to me UDP is the packet layer because that's how I'm using it. If I am doing TCP/IPv6/UDP/IPv4, which I have actually done in real life when IPv6 access required that you set up a tunnel over UDP/IPv4, I am free to think of IPv6 as the level 3 protocol because that's functionally what it is.

As for ARP vs ND, when I do

bind('localhost', 5555, 'TCP')

I really don't care whether localhost is IPv6 or IPv4 or pidgeons throwing rocks with notes.
> The one thing you never really do, as an ops person, is reach into the black-box components

I'm sorry, but just no. That's far too strong general statement. I've done quite a bit of sysadmin/devops style work over the years, and also worked with many other people who've sent various kinds of fixes upstream. Sure, third party software isn't always easy to fix, but it depends on what the alternatives are. You probably need to do an immediate workaround as well.

I would say that's an important part of why open source have had such a strong following among sysadmins, the ability to fix things. One could even say that diving into large pieces of software and exploring issues is the most rewarding part of the job. Just don't tell them I said that.
Thanks — fixed
They're not booleans in ruby, python, js; they're objects that can be null.
That depends if there is a ratchet in said market. Housing availability has a large leverage in sticky upward prices, especially with large amounts of low interest debt availability.
I remember reading an article about the obsession with Chinese money in Vancouvers housing market was totally overstated since it was in the single percentage points.

People just can’t accept there’s a ton of people who want to live downtown than ever before (reverse ‘white flight’) and the housing market is incredibly constrained in supply for a ton of other reasons that can’t be blamed on foreign boogiemen.

Not to mention those small percentage of foreign investors are making regular Canadians wealthier than they ever would be normally which goes right back into the economy which creates jobs and industry for other Canadians. The solution then is increasing supply or not expecting to live in a big place whole living in expensive downtown areas, not whining about demand.
More recently, the Netfirms team started another free service: https://www.sync.com/about/
My standard for writing "good' code is...

- can my team read & understand it now

- would my team likely be able to read & understand it later

Earlier I wasted a lot of time trying to impress people with clean code, only to later learn those people were never going to care. Now I'm more in the camp of getting it done, which is a heck of a lot easier when you work on a team, and at a company, that shares enough of my values. Getting hung up on "what is good?" is a waste of time, because everyone cares about different things. When you ship stuff, the people who don't care don't speak up don't, and the people who do care do. When the people who care speak up, that's when you have an opportunity to learn what is important to them.

Don't write complete crap, and don't try to make everything. Just try to be productive and not ridiculous, what that means will vary from project to project.
Your polished diamond is someone else's stinky turd, and vice versa. For example, I initially learned to write code while hanging out with people who really valued testing everything and aggressive decomposition (e.g. a line of code should only do one thing). I wrote code like that on a new job, and the team hated the number of classes and functions I was asking them to read in a code review.
How might a $15 minimum wage might affect the current (engineering) internship system?
Almost every non-software engineer I know earned $15, or marginally more, during undergraduate for internships related to their field. If minimum wage jobs are price-competitive with an internship, what is the impact? Will large employers of engineers raise internship pay? Will they continue to hire as many interns?
I like classical Unix applications for non-interactive stuff.

But I feel they do not compose well for interactive things. After being a long time user of e.g. Mutt, I switched all my workflow to Emacs and I couldn't be happier.

Emacs is a great text-oriented environment. Actually, a text-oriented Lisp VM.
> helps reveal its simple and elegant semantics

JS semantics are neither simple nor elegant. There's a reason there are whole books dedicated to avoiding certain parts of the language, and it's not the syntax.

For example, the syntax of the == operator is trivial. Its semantics however is complex and inelegant (it looks like an equality operator, but it doesn't express an equality relationship).
Are you talking about Uber drivers or is that some shared car service?
The page was revised in April, so it may be a reference to Ikea leaving the country off of a map: https://www.cnbc.com/2019/02/11/ikea-reportedly-apologizes-f...
10% down in Texas metro cities. Considering buying a house, but may wait for complete recession to hit first
"Alaska Field Production of Crude Oil" would be a less helpful title, and it seems...redundant to write a blog post solely to make the observation follow convention.
I think its a correct statement if you see Android/Chrome as having displaced Windows/IE as the way the majority of the word consumes the Internet/Web.
Randomized trials would be difficult...
Win10 runs like crap on 2GB. They only support it to appease the bottom end of the market and stave off the threat of alternative low cost platforms.
Apollo 9: Flown National Aeronautic Association Flight Certification $1 Bill
I wonder what they are eating.
The whole premise is flawed. We know certain people are more prone to heart disease or need more of this or that. If that's the case I can't see how some sort of conclusion can be made about when to eat. Some people are going to work better with breakfast and others are going to work better without.
> In JavaScript, this is often indicated by new Promise inside a .then().

I have found myself doing this sometimes, why is it considered bad practice?
I'm going to go out on a limb and say you're not the typical user. Besides, in your case it would be a matter of selecting "hide from everyone" in the drop-down.
What if we just took a bunch of old steel I-beams, cut them into sheets, ground and polished them flat, then scanned with a scanning tunnelling electron microscope and looked for evidence of interaction with dark matter? You could run an experiment with observations going back to the production of the steel... 100+ years of data at the get go.
AVX is SIMD, and each AVX register is a large number of bits (256 or 512) that is packed full of a given data type, which can all be operated on at the same time with the same instruction. So if you have a 512 bit register, that could hold either 16 32 bit floating point numbers, or 32 bfloat16s. In the latter case, this means every instruction you do is operating on 32 different values.
Everyone hated TPP now we are realizing TPP prevented exactly this by forcing trade agreements between the East Asian countries including China
Cold blooded doesn't mean that they are in environment temperature. The larger the animal, the hotter it tends to be, and the better infrared cameras do.
Yes, apparently -

>curl
curl: try 'curl --help' for more information

>where curl
C:\Windows\System32\curl.exe
DSVPN does not seem to support PFS [1] which would immediately disqualify for any purpose for me.

[1] https://en.wikipedia.org/wiki/Forward_secrecy
I still do a fair amount of CGI; it's just fine for low traffic simple web services. Startup time for the script isn't awesome, to fix that you want FCGI or SCGI or whatever. Apache's default MPM these days is event (or worker) which scales CGI pretty well. Beware that it's not thread safe, so if your CGI script is doing something multithreaded it will break. (Related: if you're doing something multithreaded, it's time to graduate from CGI).
Maybe we should differentiate "users understand and don't care" against "users don't understand and don't care".

On one hand, a TOS usually describes privacy implications. On the other hand, there's no accountability that a user has understood or even read the TOS. Is it unreasonable to assume people will read the fine print?
You are downvoted quite hard but I wonder about the same underlying question. How stable are investments in these countries? How independent are these operations from arbitrary governmental decisions?

Or is for these states after the Oil Curse coming a solar curse...
Bianca Devins: the teenager whose murder was exploited for clicks
Ha! No, but thank you for the smile. (For folks who didn't catch it, I meant to say "etymology".)
Apple: No Macintosh Forks. But the iPad
Usually I've ventured into the code and made a bad enough attempt to fix that the devs are galvanised into doing it right. Filing a ticket usually not enough table stakes to get your voice heard if things are worked around.
Really? He clearly has vision trouble.
I had an important project while working for a big company. I was the only person writing code and I had to coordinate with and wait for approval from 4 different managers only one of which had technical background (and was the busiest). Oh and each of them was paid at least twice as much as I was.
The hash isn't even necessarily transmitted, and it's often partial hashes at that.
This comment breaks the site guidelines. Would you please review https://news.ycombinator.com/newsguidelines.html and use HN as intended?
I'd say that point 1 is more De Morgan and Karnaugh than code.
This study [1] might relate to it: Intermittent Fasting in Cardiovascular Disorders—An Overview.

In section 7 the authors expose pros and cons of intermittent fasting, specifying that for elderly individuals it might be associated with an increased risk of cardiovascular disease, while for the rest of the population it is generally associated with a decreased risk.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6471315/
Memes – Be Aware of Them
I read the whole piece and wanted to look at the interfaces of the library but couldn't find a C implementation. I don't know where to look for the interface in rust or go. I think the most basic requirement for a networking library is a working C/C++ implementation.
Simple is good, but I get paid to work on applications with complicated business logic and requirements.

If business logic and specs were simple, I, and most of the industry would be out on my ass.
Are you sure about that? Certainly at least some of the synced information is encrypted before sync by default (passwords).
Remember Lincoln Stein and CGI.pm?

https://en.wikipedia.org/wiki/Lincoln_Stein

I wrote a Perl module (Smil.pm: https://metacpan.org/pod/Smil) that mimics his, wrote him about it, and it was thrilling when he responded.
I initially had the same reaction, but I don't think that's the author's intentions. He's saying don't use sleep() and cron to constantly poll if some asynchronous thing has completed, have a proper event fire at the end and handle that. Don't think that's in conflict with what you like about your systems :-)
According to new data from Statistics Canada, immigrants own 43 per cent of all residential properties in Toronto and 37 per cent in Vancouver, while making up 46 per cent of Toronto’s population and 41 per cent of Vancouver’s. An additional 4.8 and 3.4 percent of residential properties have foreign owners in Vancouver and Toronto respectively. And these statistics do not seem to include people coming in on student visas.

https://ca.finance.yahoo.com/news/immigrants-canadas-highest...

Even without students the numbers are pretty high comparatively. In contrast, "of all the metropolitan areas in the [United States], Miami had the highest rate of immigrant homeownership (26 percent), as well as the largest percentage of immigrants in its population (41 percent)."

https://www.nytimes.com/2018/11/15/realestate/immigrants-and...
20mbps is raw DTV over the air, that is how much bandwidth my tuner detects while watching tv from my HDHomerun. When I encode using plex or something similar, my bandwidth can get as low as 500kbps but usually averages 1mbps. Below 500 and artifacts become noticeable. When I increase cpu for x264 encoding, I can get 384kbps comfortably (at the expense of superheating that box)
It isn't (isDone = isDelivered) and isNotified, it's isDone = (isDelivered and isNotified). It's just an expression being assigned to a variable.
The Munger Operating System (2016)
If it is weakly iterating, it would just pass through and not kill anything.
I make IoT devices and everything I do is closed by default. You want to reprogram it? Hard reset the hardware physically by removing the battery and then you need to know the exact GATT UUIDs and acceptable values to do anything.
have to take into account environment, oxidation
Then he is an absolute idiot. The engineer could be sickly and be sick 20 or more days in a year, but only take the minimum allowed (to not lose her paycheck).

I'm down with flu, stomach issues, gout and a few other things far more days in a year than the company's paid sick leave. And while I might not take all of them, and go to work sick, it's within the rights of anybody to do so.

If the company is offering 10 paid sick days, and he is discriminating based on using those, then he should be sued to extinction...
They aren’t choosing.
if you've got removable disks on your servers, valhalla was lost long ago!