skysight-inc/HackerNews huggingface dataset:
Startup friends,

Zana is offering a free 7-day intensive boot camp to kickstart your startup. It’s designed for those who are searching for how to synthesize user feedback into actionable changes for their company, at any stage of the startup journey.

Click the link, snoop around.

It features Silicon Valley experts including Steve Blank, Cindy Alvarez, and Julie Hamwood.

I hope you all find this useful!
Python SQLAlchemy works a bit like this, if you use it that way:

query = session.query(Products)

if limit:
query = query.limit(limit_val)

if offset:
query = query.offset(offset_val)

Sort is a bit tricky, but as I'm a noob at SQL Alchemy, I had some not-so-pretty boilerplate code implemented for decorating queries with custom sorts. But essentially it boiled down to:

if sort_type == SORT_REVERSE_CONST:
sort_obj = sort_obj.desc()
else:
sort_obj = sort_obj.asc()

query = query.order_by(sort_obj)

And if you want to search through dynamic tables, change the initial query instantiation to something along these lines:

query = session.query(retrieve_db_object(table_name))

And to execute:

return query.all()
Did it offer to do a traditional dance set to gamelan music?
I can understand that, but if it doesn't bring anything new, there's no point in mentioning it here.
> art without an audience is simply selfish folly.

That's like, your opinion, man.

I've heard Watterson does indeed paint, and has showed his paintings to immediate friends and family. There were rumours he was actually exhibiting, on a very small scale and under pseudonym, in his own little community.

"An audience" does not mean "a mass audience". An audience of one (his mother, for example) is still an audience.
The phrase "what is beautiful is good", a.k.a. "lookism", was coined by Dion, Bercheid, and Walster in 1972. Of course there are also many studies since both supporting and refuting the theory.

A excerpt from a meta-analysis of the topic by Eagly, Ashore, Marhijani, Longo from 1991;

Whether physical attractiveness is more important to per-
ceivers of one sex than the other is not entirely clear. In view of
Feingold's (1990a) meta-analysis showing that men place greater
value on physical attractiveness than women do, especially
when romantic attraction is considered, it is possible to argue
that physical attractiveness could be a more powerful dimen-
sion in men's than women's implicit theories of personality.
However, the research we review on the physical attractiveness
stereotype was not carried out in the context of romantic rela-
tionships. Moreover, the question addressed in research on the
physical attractiveness stereotype pertains to the meaning in-
ferred from attractiveness cues, not the importance of attractive-
ness. Men and women may differ in the importance they ac-
cord to attractiveness even though they infer similar meaning
(e.g., social competence) from attractiveness cues. Particularly
in view of evidence that the content of gender stereotypes
differs little for male and female subjects (e.g., Deaux & Lewis,
1983,1984; Eagly & Steffen, 1984), we suspect that the physical
attractiveness stereotype is widely shared in American culture
and is therefore little affected by variation in subject character-
istics, including subject sex.

For lighter reading, "Blink" (Gladwell) is salient but not exactly scientific.
That sounds awesome. Just from my own experience, having some intermittent activity throughout a day can help a lot. Walks can help for small breaks, and then you can maybe go for a jog during lunch, and maybe a jog/cycle for coming to and from work. Not to mention naps for people who get that noon slump.

I wouldn't be surprised at all if having such facilities, and allowing for naps, would have a measurably positive effect on the work environment. Assuming of course that the people who work there are willing to and wanting to use such facilities.

Some people might be very active and healthy in their free time, but I wonder if allowing for more healthy habits during those 8 hour stretches of often very sedentary work would even be a boost for those people.
MyBatis

Does MyBatis have an API similar to what I outlined above?

Because the page that you link to shows a horror that I can't even begin to describe:

<select id="findActiveBlogWithTitleLike"
resultType="Blog">
SELECT * FROM BLOG
WHERE state = ‘ACTIVE’
<if test="title != null">
AND title like #{title}
</if>
</select>

SQL mixed with proprietary XML soup?
Talk about combining the worst from all worlds...
This simple demo wouldn't be very good at noise rejection, but the general idea could be extended to reject noise very well. One option is to use a wider-band signal, like a pulse or a chirp. Signal processing techniques could then be used to extract the doppler while strongly rejecting noise. Another option, especially if you want multiple devices using this technique to work near eachother, is to use code division pulses (the same approach as CDMA). These kinds of pulses aren't that good at rejecting noise, but can be made very effective at rejecting other devices using different codes.
> because "no DNS security at all" clearly does work.

No it does not work. I have been the victim of DNS poisoning with a flood of requests that almost took my server down.

If DNS poisoning is so easy then DNS is not working correcting. If you want to get rid of DNSSEC then you need to say how you would fix it instead.
> Any program running “correctly” in strong mode should run unchanged as ordinary JS. Thus, strong mode programs can be executed on all VMs that can handle ES6, even ones that don’t recognise the mode.

This worries me. If it's running "correctly", then sure, it will run elsewhere. But if it hits something that Strong Mode considers "incorrect", then things diverge, and other browsers will execute something different.

This can be avoided if Strong Mode just issues warnings, not errors. Which seems sufficient, if the goal is to inform people about stuff they should optimize.

For those that want more rigorous checking, browsers could add a developer mode, in which those warnings become errors. This way, there is no risk of production code working differently on different browsers.

We have seen "use strict" cause errors in production. Avoiding that with "use strong" seems like a safer path, with no significant downsides that I can see.
I agree with the commenters who argue for the value in a library that wraps strings that happen to be SQL statements, but none that I saw touched on this point: I think most users of such a library will have to know SQL. These libraries seem to have a one-to-one matching between concepts in them, and concepts in SQL. Hence, the point is not protecting developers from learning SQL (because you can't, for these needs), but in finding the least painful way of integrating SQL into the application logic.
Slightly off topic, I was messing around with the triangulated lines demo, and I get this rendering glitch:

https://imgur.com/FPEaVTC

Anyone know the reason behind this? I'm guessing it's sort of triangle bounding error where something is being divided by a tiny divisor. It happens when I draw the snake in an arc, then retrace the arc from the same angle but in the opposite direction.
This - I'm suprised this isn't the highest voted comment here. Let me buy this, I'll keep a few in my travel bag.
> I would assume Algol derivatives were already quite competitive, given that quite a few OS were implemented in them.

Yes, and PL/1 for systems programming in Multics and IBM systems, etc. (We won't count Burroughs since they literally designed the hardware to be programmed in Algol.)

That shows my comment was far too imprecise; it must have to do with different segments of the industry or something.

> back when coding for home computers, if performance was an issue, Assembly was the only option (Z80, 68000, x86).

Indeed.
Pair programming with daily shame meetings where you have to justify your job by how much work you did yesterday.
Is it cold where you live? Vitamin D may help last you till summer. If not, consider a vacation ;)
+1 million

Really hard problem that needs to be solved real fast? Call me on my cell phone if a fire breaks out, otherwise see ya tomorrow.

If I had a private room (or even a cube on a quiet floor) I'd stay at the office instead.
> well before the Boston Bombing, and nobody caught the Tsarnaevs.

They were on the radar but you really can't arrest someone until they do something.
Because hotel room is probably 30-90 minutes away when you discover you left the wristband behind.
I'm assuming the original story was actually told as a joke, where the "128" number was intentionally misleading until the punchline at the end where he incremented the number and "payed it forward".
I had the same revelation in an actually quiet library v. libraries co-opted by study groups.

The first time I studied in a quiet library, I was blown away by my ability to sustain a flow state. The atmosphere, the minimalism and reduced distractions helped tremendously. That said, I had to keep my guard up and avoid falling into a routine of "going to the library" with the expectation of GTD automagically. To that end, I would consciously sit in different places (to mix things up) and make sure I had a To Do list which I worked through.

Edit: Another key revelation is the expectation that if someone needs to make/take a call, it was expected for that person to step OUT of the room. Remarkably, this was the status quo.
Could we get a mac app too. I'm tired of Sunrise.
Stock Ticker for the Terminal on a Raspberry Pi
Agreed. I don't get it, why are they so popular? Some psychologists came up with this lame idea and now everyone runs to implement it. Crowded open spaces are distracting any time you need to concentrate. They impose a feeling of a factory and monotonous work.
Ask HN: How much does it cost to develop an ios app?
I want to develop an ios app and am curious about rough cost estimates. The app will need to have the following specs:

-email/username or facebook user authentication

-the ability to connect with other users

-the ability to send messages to other users

-integration of ~5 3rd party API's

-Complex backend database integration

-7-10 screens

Also if you know of good online resources for this information it would be great.
Clinton's Private Email System Gets a Security “F” Rating
Yes if you have one MongoDB database that uses `title` and another one that uses `post_title` then you have to adjust your code for that.

Guess what. Same thing applies to SQL.
Do you think it is illegal or unethical for the CIA to just explore these capabilities, or to develop them and use them only in a targeted way, subject to appropriate oversight?
Set up a system that limits expenditures. $40 a day max, but previous extra rolls over. Or $20 a half day. Make a few simple options with the ability for a more adventurous parent to customize it.
Really cool, Ritesh!

How are you monetizing/planning to monetize?

Also, how are you approaching the space differently from http://buildingrobotics.com/ ?
That's sort of the Catch-22. A guy simply can't ask a girl he likes out. A girl who's unqualified feels slighted because a guy is interested in her. What has this world come to?
Oracle's success is due to their aggressive expansion into business applications. Their database products have been taking a hammering as enterprises moved to data lakes and horizontally scaled databases like Casssandra.

Your argument would've made sense a few years ago but not now.
Elastic Acquires Elasticsearch SaaS Provider Found
And the downside is now you need to spend effort maintaing and debugging your custom query builder.
I'm not sure you know what that word means.
Very cool idea, but unexpectedly my girlfriend started screaming and didn't let me keep the sound on for more than a second or two. She said it was a terrible noise and gave her a headache.I didn't know it but it appears she can hear 22 kHz.
if a cure for aging was discovered, how would we deal with the population getting too large?

perhaps mandating that people who take the drug can't have children?
> I agree that we need a DNS privacy solution, one that hopefully doesn't eliminate the existence of caching infrastructure.

Please do take a look at what the folks are doing within the DPRIVE working group of the IETF:

https://datatracker.ietf.org/wg/dprive/charter/

They are working on mechanisms to bring privacy / confidentiality to the "last mile" of DNS connections. Any input you have would be useful. (There's a link there to a mailing list to which you can subscribe.)
Google Adds Song Lyrics to Top of Search Results,Points Searchers to Google Play
The Samsung Galaxy S6 Has the Best Smartphone Display So Far
Almost without fail, switching between my personal and work email accounts causes the app to hang and I have to force-quit it. A fix for that would be nice.
You might want to check out Rust. It was developed to be a C++ replacement, and it does have RAII.
Sure.

What's wrong is, after it's clear the advances are unwanted (a single but firm "no" is sufficient), continuing to make them. What's also wrong, though a lesser wrong since the signal can be missed, is the initial hitting on someone who has already signaled they don't want to be hit on. Wedding bands once served as a great social signal for this, "Don't hit on someone with a wedding band" is a simple rule to observe and follow, but marriage is dead, so it's not as useful. "Don't hit on co-workers" is also a simple rule to observe and follow, but come on. Enforcing that would eliminate a lot of happiness couples derive from such relationships, whereas enforcing the wedding band rule when marriage meant something wouldn't.
Kinda like when 'Office Space' and 'Idiocracy' had a bastard child.
office -> cube -> open floor plan -> next?

Beehive.
The Emoji Keyboard – Hardware+software Solution Brings Emoji to the Mac
It's not my impression that you're making fun of it, but that you're trying to excuse it as an inconsequential "accident" instead of incompetence. Accidents like that don't happen without causes like incompetence or negligence or malice. Accidents like that are a symptom that something is deeply wrong.
Tech startup vocabulary explained for real
One of my favourite anecdotes about open offices is 22m in to this video[1], where Gabe Newell of Valve talks about his desire to have one office per person and how it didn't work out in practice. Bonus: he mentions Peopleware.

[1] http://youtu.be/t8QEOBgLBQU?t=22m
"As a result, the many networks around the world that perform DNSSEC validation to ensure that customers are getting to the correct sites (versus being redirected to bogus sites for phishing or malware) were blocking customers from getting to the possibly bogus order.hbonow.com!"

The "versus being redirected to bogus sites for phishing or malware" part here is funny. Because that generally happens when some scammer registeres hb0now.com. Not when someone is intercepting your DNS.

And actually, in case of the latter, all bets are off anyways. Because client resolvers DO NOT CHECK DNSSEC.

(Yes, I know you are on your custom configured Linux box or OpenBSD firewall and that DNSSEC works wonderful for you. But the majority of the internet using world with OS X or Windows behind a $15 DSL router or WiFi AP does not.)

Stop. The. DNSSEC. Nonsense.
de Raadt's remarks about virtualization do spring up in my mind.
If you're doing a "tracer bullet"-style method of development where the requirements aren't quite set in stone, MongoDB and other schemaless databases can really save time when it comes to adding basic functionality quickly.

Another use case: if you have an ad-hoc group of developers working on a project in a decentralized fashion, they can each work on local codebases of the project without needing an up-to-date setup script or migration scripts.

I'd maybe even argue that a lot of these "goodbye MongoDB" developer blog posts are sort of unnecessary. MongoDB allows for fast deployment and the convenience of a flexible database at the cost of speed, so eventual migration to a more solid relational database could/should be part of a long-term plan when devs choose to use MongoDB. It's all about using the right tool for the job.
Jon Corbet's been pretty open that LWN's at best barely broken even, if that. Though last I recall his talking about this was a couple of years ago.

I've actually drifted off it in the past few years largely as I'm simply not tracking Linux-related stuff all that closely any more. Though for that, LWN is absolutely excellent. It's certainly seen numerous other contenders buried.
I would love to have this theme in my IntelliJ too.
You should never use "use strict" or "use strong" in production, they're very useful during development but can really only hurt you in production.
Apple is the #3 largest taxpayer in the US, and one of the few companies registered in California instead of Delaware.
Excel already has relations, albeit simple ones, as well as simplistic forms of querying, though filters and pivot tables.

I would argue that the major benefits that a database offers over Excel is data integrity and consistency. I think the lack of that sort of constraint is a major aspect of what drives 'biz' people to spreadsheets.
From the subtley linked 'Husbandry Manual': http://www.aszk.org.au/docs/lhisi.pdf

Section 3.2 (p8)

The population at Melbourne Zoo, being descended from a single pair, appeared to experience increasing symptoms of inbreeding over two generations until four adult males were introduced, descended from a second pair held at Insektus in Sydney, and their genes began to have an influence.

After new males were introduced, no further abnormalities were observed...
ASCII Table to PDF with xtopdf
Chris from Wildbit here (author of the post).

Half of our team is remote. Using physical space for controlling productivity (or lack of) is not a solution. You and the rest of your team should keep each other accountable through performance metrics that are mutually agreed upon. Being a remote team for so long (15 years) has forced us to find alternatives to traditional office babysitting and it has helped us design our new office as well.
Microsoft's Entity Framework and LINQ work pretty much like that, only with nice IDE support.

I'll try to write an example like that when I get home.

Of course, they're not "just SQL", and I do understand where the above comments come from.

And yes, sometimes I have to go look up how to do things I'd do trivially on SQL.
We just launched this as a Kickstarter. It's a simple silicone keyboard cover plus Apple keyboard layout installer. Thanks for any feedback or help getting the word out there. It's a wacky video, but we have been using the prototypes for a while, and for emoji lovers, it's a useful tool!
While the whole thing takes place in a 3D wireframe beehive.
> I applied for CEC (Canada Experience Class), paid >$4k for lawyer fees but application got rejected saying quota is fulfilled

Wow, that's interesting. I didn't know the CEC had a quota.

I applied for (and got) a provincial nominee PR because my company (telco) sponsored me.

Did you meet all the requirements for the CEC? I personally didn't bother with a lawyer, and it wasn't needed in my case.
One apartment complex’s rule: You write a bad review, we fine you $10k
Porn and the patrol car–one cop’s 2 hour-a-day habit
"At 9:14am, he moved his squad car several minutes' drive away to—seriously—Fapp Circle, where he accessed another pornographic website."

Seriously.
Being first is no excuse! Britain (and empire) used to use an older design, the current design was introduced in 1947.

India (and other places) still use the older standard, BS 546. That's also used for things like theatre lighting in the UK.
I like that the default is the opening to "call your girlfriend"
DNSSEC does nothing to prevent information leakage, the opposite in fact.

People compare it to SSL but it's not like SSL. It does NO encryption of the commuications. It's only validation (argubaly the most broken part of SSL).

A better ananlog to SSL would be DNSCrypt, which we've been using now for years, is slowly gaining traction and adoption by others, and provides real privacy from DNS messages from being intercepted or manipulated.
I guess I'm in a real minority here, but I'm pretty happy with open-office.

Some qualifiers:

- The team has a good culture of respecting each other, and we're busy enough not to want to banter too much outside of certain times (e.g., lunch, when we see it already going on, etc.).

- I've got good headphones hooked to a 24-bit-DAC'd USB amp. I don't hear anyone unless I'm trying to.

- My screen's big enough where visual noise isn't an issue.

On the upside:

- Asking someone a quick question is really, really quick.

Downsides of my prior each-their-own-office experiences:

- I sometimes felt a bit lonely.

- I certainly felt disconnected from the rest of my team.

- I was disconnected from the rest of my team - there were always important conversations I would've liked to been part of.

[edited for getting the bullets formatted]
The pics showing what-it-looks-like and what-it-feels-like made me chuckle. Very true.

I got to visit Autodesk in Northern California in mid 1990s. In that office each employee was in an enclosed office.

Down a long hallway were rows of offices with enough room for a desk/chair and 2 chairs in front of the desk for visitors. Wall facing the hallway was glass. Wall between rooms were actual dry walls.

I remember some friends who were even the most junior level engineers were given an office. When they were working late, they could just put down a sleeping bag under their desk and take a nap. None of the shared napping room non-sense.

I think that arrangement is the best.
I was going to say the same. A polyfill will be more complex than, say:

a[0] *= b[0];
a[1] *= b[1];
a[2] *= b[2];
a[3] *= b[3];
If you are listening to headphones loud enough to block out other conversations, you are almost certainly going to damage your hearing.
It's starting to die out in Europe too. There are still enthusiast newcomers. But the vast majority are either working hard in silence or have already moved on.
Sure it's easier to spend with a a wristband.

But i could imagine some smartwatch app(or phone app), that really helps you control spending, even better than cash.

For example, an app that has a list of things you really really want to buy, and whenever you are about to pay for a an impulse buy, you're shown that list, and asked if you prefer to save towards that.
DNSCurve and DNSCrypt are a strong combination.
"the cost of restructuring an office to accommodate more people in different layouts"

From actual experience having been there, we saved money by simply not doing that. We did move cubes and offices on a fairly regular basis such that someone "tortured" by the air conditioner wouldn't suffer for long and likewise I only had a nice office for about a year.

WRT colocated teams, a long time ago I sat kitty corner to a guy who programmed FPGA based ISDN channel PBX cards for a living, and I should care why, exactly, as long as we were good neighbors to each other, which we were? I sat next to the guy who was in charge of OSPF internal routing despite my being a BGP guy and my BGP partner in crime sat fifty feet away, and it didn't really matter much because some of my BGP peers sat two thousand miles away? When I got a call in the middle of the night to fix something, I fixed it, not drive to one of my teammates houses so I can sit next to them before starting work.

Architecture decisions can help. All cubes must have a visitor chair preferably 2 or 3, although people "illegally" stacked manuals or threw coats on their chairs if they wanted to keep people out. A bit of work is necessary to stop people from sneaking up on you by orienting desks facing the cube entrance.

One of the most shocking things I've seen in open plan offices is the visual clutter. Its like working in the dirtiest most distracting looking house I've ever seen. I have junk laying around on my desk, but most open plans look like a tornado struck a Walmart. What a heap.